OSDN Git Service

2006-02-07 Jakub Jelinek <jakub@redhat.com>
[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 DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE EXTRA_CXX_FLAGS glibcxx_thread_h WERROR SECTION_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS LIBICONV SYMVER_FILE port_specific_symbol_files ENABLE_SYMVERS_TRUE ENABLE_SYMVERS_FALSE ENABLE_SYMVERS_GNU_TRUE ENABLE_SYMVERS_GNU_FALSE ENABLE_SYMVERS_GNU_NAMESPACE_TRUE ENABLE_SYMVERS_GNU_NAMESPACE_FALSE ENABLE_SYMVERS_DARWIN_TRUE ENABLE_SYMVERS_DARWIN_FALSE GLIBCXX_LDBL_COMPAT_TRUE GLIBCXX_LDBL_COMPAT_FALSE baseline_dir ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR CPU_DEFINES_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-c99            turns on ISO/IEC 9899:1999 support
873                           [default=yes]
874   --enable-long-long      enable template specializations for 'long long'
875                           [default=yes]
876   --enable-wchar_t        enable template specializations for 'wchar_t'
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   _g_switchUse thread-local storage
891                           [default=yes]
892   --enable-symvers=STYLE  enables symbol versioning of the shared library
893                           [default=yes]
894   --enable-version-specific-runtime-libs
895                           Specify that runtime libraries should be installed
896                           in a compiler-specific directory
897
898 Optional Packages:
899   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
900   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
901   --with-target-subdir=SUBDIR
902                           configuring in a subdirectory
903   --with-cross-host=HOST  configuring with a cross compiler
904   --with-newlib           assume newlib as a system C library
905   --with-gnu-ld           assume the C compiler uses GNU ld default=no
906   --with-pic              try to use only PIC/non-PIC objects default=use both
907   --with-gxx-include-dir=DIR
908                           installation directory for include files
909
910 Some influential environment variables:
911   CC          C compiler command
912   CFLAGS      C compiler flags
913   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
914               nonstandard directory <lib dir>
915   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
916               headers in a nonstandard directory <include dir>
917   CXX         C++ compiler command
918   CXXFLAGS    C++ compiler flags
919   CXXCPP      C++ preprocessor
920   CPP         C preprocessor
921
922 Use these variables to override the choices made by `configure' or to help
923 it to find libraries and programs with nonstandard names/locations.
924
925 _ACEOF
926 fi
927
928 if test "$ac_init_help" = "recursive"; then
929   # If there are subdirs, report their specific --help.
930   ac_popdir=`pwd`
931   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
932     test -d $ac_dir || continue
933     ac_builddir=.
934
935 if test "$ac_dir" != .; then
936   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
937   # A "../" for each directory in $ac_dir_suffix.
938   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
939 else
940   ac_dir_suffix= ac_top_builddir=
941 fi
942
943 case $srcdir in
944   .)  # No --srcdir option.  We are building in place.
945     ac_srcdir=.
946     if test -z "$ac_top_builddir"; then
947        ac_top_srcdir=.
948     else
949        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
950     fi ;;
951   [\\/]* | ?:[\\/]* )  # Absolute path.
952     ac_srcdir=$srcdir$ac_dir_suffix;
953     ac_top_srcdir=$srcdir ;;
954   *) # Relative path.
955     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
956     ac_top_srcdir=$ac_top_builddir$srcdir ;;
957 esac
958
959 # Do not use `cd foo && pwd` to compute absolute paths, because
960 # the directories may not exist.
961 case `pwd` in
962 .) ac_abs_builddir="$ac_dir";;
963 *)
964   case "$ac_dir" in
965   .) ac_abs_builddir=`pwd`;;
966   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
967   *) ac_abs_builddir=`pwd`/"$ac_dir";;
968   esac;;
969 esac
970 case $ac_abs_builddir in
971 .) ac_abs_top_builddir=${ac_top_builddir}.;;
972 *)
973   case ${ac_top_builddir}. in
974   .) ac_abs_top_builddir=$ac_abs_builddir;;
975   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
976   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
977   esac;;
978 esac
979 case $ac_abs_builddir in
980 .) ac_abs_srcdir=$ac_srcdir;;
981 *)
982   case $ac_srcdir in
983   .) ac_abs_srcdir=$ac_abs_builddir;;
984   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
985   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
986   esac;;
987 esac
988 case $ac_abs_builddir in
989 .) ac_abs_top_srcdir=$ac_top_srcdir;;
990 *)
991   case $ac_top_srcdir in
992   .) ac_abs_top_srcdir=$ac_abs_builddir;;
993   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
994   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
995   esac;;
996 esac
997
998     cd $ac_dir
999     # Check for guested configure; otherwise get Cygnus style configure.
1000     if test -f $ac_srcdir/configure.gnu; then
1001       echo
1002       $SHELL $ac_srcdir/configure.gnu  --help=recursive
1003     elif test -f $ac_srcdir/configure; then
1004       echo
1005       $SHELL $ac_srcdir/configure  --help=recursive
1006     elif test -f $ac_srcdir/configure.ac ||
1007            test -f $ac_srcdir/configure.in; then
1008       echo
1009       $ac_configure --help
1010     else
1011       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1012     fi
1013     cd $ac_popdir
1014   done
1015 fi
1016
1017 test -n "$ac_init_help" && exit 0
1018 if $ac_init_version; then
1019   cat <<\_ACEOF
1020 package-unused configure version-unused
1021 generated by GNU Autoconf 2.59
1022
1023 Copyright (C) 2003 Free Software Foundation, Inc.
1024 This configure script is free software; the Free Software Foundation
1025 gives unlimited permission to copy, distribute and modify it.
1026 _ACEOF
1027   exit 0
1028 fi
1029 exec 5>config.log
1030 cat >&5 <<_ACEOF
1031 This file contains any messages produced by compilers while
1032 running configure, to aid debugging if configure makes a mistake.
1033
1034 It was created by package-unused $as_me version-unused, which was
1035 generated by GNU Autoconf 2.59.  Invocation command line was
1036
1037   $ $0 $@
1038
1039 _ACEOF
1040 {
1041 cat <<_ASUNAME
1042 ## --------- ##
1043 ## Platform. ##
1044 ## --------- ##
1045
1046 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1047 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1048 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1049 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1050 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1051
1052 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1053 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1054
1055 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1056 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1057 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1058 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1059 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1060 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1061 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1062
1063 _ASUNAME
1064
1065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1066 for as_dir in $PATH
1067 do
1068   IFS=$as_save_IFS
1069   test -z "$as_dir" && as_dir=.
1070   echo "PATH: $as_dir"
1071 done
1072
1073 } >&5
1074
1075 cat >&5 <<_ACEOF
1076
1077
1078 ## ----------- ##
1079 ## Core tests. ##
1080 ## ----------- ##
1081
1082 _ACEOF
1083
1084
1085 # Keep a trace of the command line.
1086 # Strip out --no-create and --no-recursion so they do not pile up.
1087 # Strip out --silent because we don't want to record it for future runs.
1088 # Also quote any args containing shell meta-characters.
1089 # Make two passes to allow for proper duplicate-argument suppression.
1090 ac_configure_args=
1091 ac_configure_args0=
1092 ac_configure_args1=
1093 ac_sep=
1094 ac_must_keep_next=false
1095 for ac_pass in 1 2
1096 do
1097   for ac_arg
1098   do
1099     case $ac_arg in
1100     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1101     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1102     | -silent | --silent | --silen | --sile | --sil)
1103       continue ;;
1104     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1105       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1106     esac
1107     case $ac_pass in
1108     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1109     2)
1110       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1111       if test $ac_must_keep_next = true; then
1112         ac_must_keep_next=false # Got value, back to normal.
1113       else
1114         case $ac_arg in
1115           *=* | --config-cache | -C | -disable-* | --disable-* \
1116           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1117           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1118           | -with-* | --with-* | -without-* | --without-* | --x)
1119             case "$ac_configure_args0 " in
1120               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1121             esac
1122             ;;
1123           -* ) ac_must_keep_next=true ;;
1124         esac
1125       fi
1126       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1127       # Get rid of the leading space.
1128       ac_sep=" "
1129       ;;
1130     esac
1131   done
1132 done
1133 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1134 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1135
1136 # When interrupted or exit'd, cleanup temporary files, and complete
1137 # config.log.  We remove comments because anyway the quotes in there
1138 # would cause problems or look ugly.
1139 # WARNING: Be sure not to use single quotes in there, as some shells,
1140 # such as our DU 5.0 friend, will then `close' the trap.
1141 trap 'exit_status=$?
1142   # Save into config.log some information that might help in debugging.
1143   {
1144     echo
1145
1146     cat <<\_ASBOX
1147 ## ---------------- ##
1148 ## Cache variables. ##
1149 ## ---------------- ##
1150 _ASBOX
1151     echo
1152     # The following way of writing the cache mishandles newlines in values,
1153 {
1154   (set) 2>&1 |
1155     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1156     *ac_space=\ *)
1157       sed -n \
1158         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1159           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1160       ;;
1161     *)
1162       sed -n \
1163         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1164       ;;
1165     esac;
1166 }
1167     echo
1168
1169     cat <<\_ASBOX
1170 ## ----------------- ##
1171 ## Output variables. ##
1172 ## ----------------- ##
1173 _ASBOX
1174     echo
1175     for ac_var in $ac_subst_vars
1176     do
1177       eval ac_val=$`echo $ac_var`
1178       echo "$ac_var='"'"'$ac_val'"'"'"
1179     done | sort
1180     echo
1181
1182     if test -n "$ac_subst_files"; then
1183       cat <<\_ASBOX
1184 ## ------------- ##
1185 ## Output files. ##
1186 ## ------------- ##
1187 _ASBOX
1188       echo
1189       for ac_var in $ac_subst_files
1190       do
1191         eval ac_val=$`echo $ac_var`
1192         echo "$ac_var='"'"'$ac_val'"'"'"
1193       done | sort
1194       echo
1195     fi
1196
1197     if test -s confdefs.h; then
1198       cat <<\_ASBOX
1199 ## ----------- ##
1200 ## confdefs.h. ##
1201 ## ----------- ##
1202 _ASBOX
1203       echo
1204       sed "/^$/d" confdefs.h | sort
1205       echo
1206     fi
1207     test "$ac_signal" != 0 &&
1208       echo "$as_me: caught signal $ac_signal"
1209     echo "$as_me: exit $exit_status"
1210   } >&5
1211   rm -f core *.core &&
1212   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1213     exit $exit_status
1214      ' 0
1215 for ac_signal in 1 2 13 15; do
1216   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1217 done
1218 ac_signal=0
1219
1220 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1221 rm -rf conftest* confdefs.h
1222 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1223 echo >confdefs.h
1224
1225 # Predefined preprocessor variables.
1226
1227 cat >>confdefs.h <<_ACEOF
1228 #define PACKAGE_NAME "$PACKAGE_NAME"
1229 _ACEOF
1230
1231
1232 cat >>confdefs.h <<_ACEOF
1233 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1234 _ACEOF
1235
1236
1237 cat >>confdefs.h <<_ACEOF
1238 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1239 _ACEOF
1240
1241
1242 cat >>confdefs.h <<_ACEOF
1243 #define PACKAGE_STRING "$PACKAGE_STRING"
1244 _ACEOF
1245
1246
1247 cat >>confdefs.h <<_ACEOF
1248 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1249 _ACEOF
1250
1251
1252 # Let the site file select an alternate cache file if it wants to.
1253 # Prefer explicitly selected file to automatically selected ones.
1254 if test -z "$CONFIG_SITE"; then
1255   if test "x$prefix" != xNONE; then
1256     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1257   else
1258     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1259   fi
1260 fi
1261 for ac_site_file in $CONFIG_SITE; do
1262   if test -r "$ac_site_file"; then
1263     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1264 echo "$as_me: loading site script $ac_site_file" >&6;}
1265     sed 's/^/| /' "$ac_site_file" >&5
1266     . "$ac_site_file"
1267   fi
1268 done
1269
1270 if test -r "$cache_file"; then
1271   # Some versions of bash will fail to source /dev/null (special
1272   # files actually), so we avoid doing that.
1273   if test -f "$cache_file"; then
1274     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1275 echo "$as_me: loading cache $cache_file" >&6;}
1276     case $cache_file in
1277       [\\/]* | ?:[\\/]* ) . $cache_file;;
1278       *)                      . ./$cache_file;;
1279     esac
1280   fi
1281 else
1282   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1283 echo "$as_me: creating cache $cache_file" >&6;}
1284   >$cache_file
1285 fi
1286
1287 # Check that the precious variables saved in the cache have kept the same
1288 # value.
1289 ac_cache_corrupted=false
1290 for ac_var in `(set) 2>&1 |
1291                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1292   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1293   eval ac_new_set=\$ac_env_${ac_var}_set
1294   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1295   eval ac_new_val="\$ac_env_${ac_var}_value"
1296   case $ac_old_set,$ac_new_set in
1297     set,)
1298       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1299 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1300       ac_cache_corrupted=: ;;
1301     ,set)
1302       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1303 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1304       ac_cache_corrupted=: ;;
1305     ,);;
1306     *)
1307       if test "x$ac_old_val" != "x$ac_new_val"; then
1308         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1309 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1310         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1311 echo "$as_me:   former value:  $ac_old_val" >&2;}
1312         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1313 echo "$as_me:   current value: $ac_new_val" >&2;}
1314         ac_cache_corrupted=:
1315       fi;;
1316   esac
1317   # Pass precious variables to config.status.
1318   if test "$ac_new_set" = set; then
1319     case $ac_new_val in
1320     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1321       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1322     *) ac_arg=$ac_var=$ac_new_val ;;
1323     esac
1324     case " $ac_configure_args " in
1325       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1326       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1327     esac
1328   fi
1329 done
1330 if $ac_cache_corrupted; then
1331   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1332 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1333   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1334 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1335    { (exit 1); exit 1; }; }
1336 fi
1337
1338 ac_ext=c
1339 ac_cpp='$CPP $CPPFLAGS'
1340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
1370
1371           ac_config_headers="$ac_config_headers config.h"
1372
1373
1374 # This works around the fact that libtool configuration may change LD
1375 # for this particular configuration, but some shells, instead of
1376 # keeping the changes in LD private, export them just because LD is
1377 # exported.  Only used at the end of this file.
1378 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
1379
1380 # For libtool versioning info, format is CURRENT:REVISION:AGE
1381 libtool_VERSION=6:7:0
1382
1383
1384 # Find the rest of the source tree framework.
1385 # Default to --enable-multilib
1386 # Check whether --enable-multilib or --disable-multilib was given.
1387 if test "${enable_multilib+set}" = set; then
1388   enableval="$enable_multilib"
1389   case "$enableval" in
1390   yes) multilib=yes ;;
1391   no)  multilib=no ;;
1392   *)   { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1393 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1394    { (exit 1); exit 1; }; } ;;
1395  esac
1396 else
1397   multilib=yes
1398 fi;
1399
1400 # We may get other options which we leave undocumented:
1401 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1402 # See config-ml.in if you want the gory details.
1403
1404 if test "$srcdir" = "."; then
1405   if test "$with_target_subdir" != "."; then
1406     multi_basedir="$srcdir/$with_multisrctop../.."
1407   else
1408     multi_basedir="$srcdir/$with_multisrctop.."
1409   fi
1410 else
1411   multi_basedir="$srcdir/.."
1412 fi
1413
1414
1415           ac_config_commands="$ac_config_commands default-1"
1416
1417
1418 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1419 #
1420 # You will slowly go insane if you do not grok the following fact:  when
1421 # building v3 as part of the compiler, the top-level /target/ becomes the
1422 # library's /host/.  configure then causes --target to default to --host,
1423 # exactly like any other package using autoconf.  Therefore, 'target' and
1424 # 'host' will always be the same.  This makes sense both for native and
1425 # cross compilers, just think about it for a little while.  :-)
1426 #
1427 # Also, if v3 is being configured as part of a cross compiler, the top-level
1428 # configure script will pass the "real" host as $with_cross_host.
1429 #
1430 # Do not delete or change the following two lines.  For why, see
1431 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1432 ac_aux_dir=
1433 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1434   if test -f $ac_dir/install-sh; then
1435     ac_aux_dir=$ac_dir
1436     ac_install_sh="$ac_aux_dir/install-sh -c"
1437     break
1438   elif test -f $ac_dir/install.sh; then
1439     ac_aux_dir=$ac_dir
1440     ac_install_sh="$ac_aux_dir/install.sh -c"
1441     break
1442   elif test -f $ac_dir/shtool; then
1443     ac_aux_dir=$ac_dir
1444     ac_install_sh="$ac_aux_dir/shtool install -c"
1445     break
1446   fi
1447 done
1448 if test -z "$ac_aux_dir"; then
1449   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1450 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1451    { (exit 1); exit 1; }; }
1452 fi
1453 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1454 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1455 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1456
1457 # Make sure we can run config.sub.
1458 $ac_config_sub sun4 >/dev/null 2>&1 ||
1459   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1460 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1461    { (exit 1); exit 1; }; }
1462
1463 echo "$as_me:$LINENO: checking build system type" >&5
1464 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1465 if test "${ac_cv_build+set}" = set; then
1466   echo $ECHO_N "(cached) $ECHO_C" >&6
1467 else
1468   ac_cv_build_alias=$build_alias
1469 test -z "$ac_cv_build_alias" &&
1470   ac_cv_build_alias=`$ac_config_guess`
1471 test -z "$ac_cv_build_alias" &&
1472   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1473 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1474    { (exit 1); exit 1; }; }
1475 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1476   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1477 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1478    { (exit 1); exit 1; }; }
1479
1480 fi
1481 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1482 echo "${ECHO_T}$ac_cv_build" >&6
1483 build=$ac_cv_build
1484 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1485 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1486 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1487
1488
1489 echo "$as_me:$LINENO: checking host system type" >&5
1490 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1491 if test "${ac_cv_host+set}" = set; then
1492   echo $ECHO_N "(cached) $ECHO_C" >&6
1493 else
1494   ac_cv_host_alias=$host_alias
1495 test -z "$ac_cv_host_alias" &&
1496   ac_cv_host_alias=$ac_cv_build_alias
1497 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1498   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1499 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1500    { (exit 1); exit 1; }; }
1501
1502 fi
1503 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1504 echo "${ECHO_T}$ac_cv_host" >&6
1505 host=$ac_cv_host
1506 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1507 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1508 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1509
1510
1511 echo "$as_me:$LINENO: checking target system type" >&5
1512 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1513 if test "${ac_cv_target+set}" = set; then
1514   echo $ECHO_N "(cached) $ECHO_C" >&6
1515 else
1516   ac_cv_target_alias=$target_alias
1517 test "x$ac_cv_target_alias" = "x" &&
1518   ac_cv_target_alias=$ac_cv_host_alias
1519 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1520   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1521 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1522    { (exit 1); exit 1; }; }
1523
1524 fi
1525 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1526 echo "${ECHO_T}$ac_cv_target" >&6
1527 target=$ac_cv_target
1528 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1529 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1530 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1531
1532
1533 # The aliases save the names the user supplied, while $host etc.
1534 # will get canonicalized.
1535 test -n "$target_alias" &&
1536   test "$program_prefix$program_suffix$program_transform_name" = \
1537     NONENONEs,x,x, &&
1538   program_prefix=${target_alias}-
1539 target_alias=${target_alias-$host_alias}
1540
1541 # Handy for debugging:
1542 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1543
1544 if test "$build" != "$host"; then
1545   # We are being configured with some form of cross compiler.
1546   GLIBCXX_IS_NATIVE=false
1547   case "$host","$target" in
1548     # Darwin crosses can use the host system's libraries and headers,
1549     # because of the fat library support.  Of course, it must be the
1550     # same version of Darwin on both sides.  Allow the user to
1551     # just say --target=foo-darwin without a version number to mean
1552     # "the version on this system".
1553       *-*-darwin*,*-*-darwin*)
1554         hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1555         targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1556         if test $hostos = $targetos -o $targetos = darwin ; then
1557           GLIBCXX_IS_NATIVE=true
1558         fi
1559         ;;
1560
1561       *)
1562
1563         ;;
1564   esac
1565 else
1566   GLIBCXX_IS_NATIVE=true
1567 fi
1568
1569 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
1570 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1571 #  1.x:  minimum required version
1572 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
1573 #              of other PACKAGE_* variables will, however, and there's nothing
1574 #              we can do about that; they come from AC_INIT).
1575 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
1576 #            file in the top srcdir, etc, etc), so stop complaining.
1577 #  no-dependencies:  turns off auto dependency generation (just for now)
1578 #  -Wall:  turns on all automake warnings...
1579 #  -Wno-portability:  ...except this one, since GNU make is now required.
1580 am__api_version="1.9"
1581 # Find a good install program.  We prefer a C program (faster),
1582 # so one script is as good as another.  But avoid the broken or
1583 # incompatible versions:
1584 # SysV /etc/install, /usr/sbin/install
1585 # SunOS /usr/etc/install
1586 # IRIX /sbin/install
1587 # AIX /bin/install
1588 # AmigaOS /C/install, which installs bootblocks on floppy discs
1589 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1590 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1591 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1592 # OS/2's system install, which has a completely different semantic
1593 # ./install, which can be erroneously created by make from ./install.sh.
1594 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1595 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1596 if test -z "$INSTALL"; then
1597 if test "${ac_cv_path_install+set}" = set; then
1598   echo $ECHO_N "(cached) $ECHO_C" >&6
1599 else
1600   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1601 for as_dir in $PATH
1602 do
1603   IFS=$as_save_IFS
1604   test -z "$as_dir" && as_dir=.
1605   # Account for people who put trailing slashes in PATH elements.
1606 case $as_dir/ in
1607   ./ | .// | /cC/* | \
1608   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1609   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1610   /usr/ucb/* ) ;;
1611   *)
1612     # OSF1 and SCO ODT 3.0 have their own names for install.
1613     # Don't use installbsd from OSF since it installs stuff as root
1614     # by default.
1615     for ac_prog in ginstall scoinst install; do
1616       for ac_exec_ext in '' $ac_executable_extensions; do
1617         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1618           if test $ac_prog = install &&
1619             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1620             # AIX install.  It has an incompatible calling convention.
1621             :
1622           elif test $ac_prog = install &&
1623             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1624             # program-specific install script used by HP pwplus--don't use.
1625             :
1626           else
1627             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1628             break 3
1629           fi
1630         fi
1631       done
1632     done
1633     ;;
1634 esac
1635 done
1636
1637
1638 fi
1639   if test "${ac_cv_path_install+set}" = set; then
1640     INSTALL=$ac_cv_path_install
1641   else
1642     # As a last resort, use the slow shell script.  We don't cache a
1643     # path for INSTALL within a source directory, because that will
1644     # break other packages using the cache if that directory is
1645     # removed, or if the path is relative.
1646     INSTALL=$ac_install_sh
1647   fi
1648 fi
1649 echo "$as_me:$LINENO: result: $INSTALL" >&5
1650 echo "${ECHO_T}$INSTALL" >&6
1651
1652 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1653 # It thinks the first close brace ends the variable substitution.
1654 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1655
1656 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1657
1658 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1659
1660 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1661 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1662 # Just in case
1663 sleep 1
1664 echo timestamp > conftest.file
1665 # Do `set' in a subshell so we don't clobber the current shell's
1666 # arguments.  Must try -L first in case configure is actually a
1667 # symlink; some systems play weird games with the mod time of symlinks
1668 # (eg FreeBSD returns the mod time of the symlink's containing
1669 # directory).
1670 if (
1671    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1672    if test "$*" = "X"; then
1673       # -L didn't work.
1674       set X `ls -t $srcdir/configure conftest.file`
1675    fi
1676    rm -f conftest.file
1677    if test "$*" != "X $srcdir/configure conftest.file" \
1678       && test "$*" != "X conftest.file $srcdir/configure"; then
1679
1680       # If neither matched, then we have a broken ls.  This can happen
1681       # if, for instance, CONFIG_SHELL is bash and it inherits a
1682       # broken ls alias from the environment.  This has actually
1683       # happened.  Such a system could not be considered "sane".
1684       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1685 alias in your environment" >&5
1686 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1687 alias in your environment" >&2;}
1688    { (exit 1); exit 1; }; }
1689    fi
1690
1691    test "$2" = conftest.file
1692    )
1693 then
1694    # Ok.
1695    :
1696 else
1697    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1698 Check your system clock" >&5
1699 echo "$as_me: error: newly created file is older than distributed files!
1700 Check your system clock" >&2;}
1701    { (exit 1); exit 1; }; }
1702 fi
1703 echo "$as_me:$LINENO: result: yes" >&5
1704 echo "${ECHO_T}yes" >&6
1705 test "$program_prefix" != NONE &&
1706   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1707 # Use a double $ so make ignores it.
1708 test "$program_suffix" != NONE &&
1709   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1710 # Double any \ or $.  echo might interpret backslashes.
1711 # By default was `s,x,x', remove it if useless.
1712 cat <<\_ACEOF >conftest.sed
1713 s/[\\$]/&&/g;s/;s,x,x,$//
1714 _ACEOF
1715 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1716 rm conftest.sed
1717
1718 # expand $ac_aux_dir to an absolute path
1719 am_aux_dir=`cd $ac_aux_dir && pwd`
1720
1721 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1722 # Use eval to expand $SHELL
1723 if eval "$MISSING --run true"; then
1724   am_missing_run="$MISSING --run "
1725 else
1726   am_missing_run=
1727   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1728 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1729 fi
1730
1731 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1732   # We used to keeping the `.' as first argument, in order to
1733   # allow $(mkdir_p) to be used without argument.  As in
1734   #   $(mkdir_p) $(somedir)
1735   # where $(somedir) is conditionally defined.  However this is wrong
1736   # for two reasons:
1737   #  1. if the package is installed by a user who cannot write `.'
1738   #     make install will fail,
1739   #  2. the above comment should most certainly read
1740   #     $(mkdir_p) $(DESTDIR)$(somedir)
1741   #     so it does not work when $(somedir) is undefined and
1742   #     $(DESTDIR) is not.
1743   #  To support the latter case, we have to write
1744   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1745   #  so the `.' trick is pointless.
1746   mkdir_p='mkdir -p --'
1747 else
1748   # On NextStep and OpenStep, the `mkdir' command does not
1749   # recognize any option.  It will interpret all options as
1750   # directories to create, and then abort because `.' already
1751   # exists.
1752   for d in ./-p ./--version;
1753   do
1754     test -d $d && rmdir $d
1755   done
1756   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1757   if test -f "$ac_aux_dir/mkinstalldirs"; then
1758     mkdir_p='$(mkinstalldirs)'
1759   else
1760     mkdir_p='$(install_sh) -d'
1761   fi
1762 fi
1763
1764 for ac_prog in gawk mawk nawk awk
1765 do
1766   # Extract the first word of "$ac_prog", so it can be a program name with args.
1767 set dummy $ac_prog; ac_word=$2
1768 echo "$as_me:$LINENO: checking for $ac_word" >&5
1769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1770 if test "${ac_cv_prog_AWK+set}" = set; then
1771   echo $ECHO_N "(cached) $ECHO_C" >&6
1772 else
1773   if test -n "$AWK"; then
1774   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1775 else
1776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1777 for as_dir in $PATH
1778 do
1779   IFS=$as_save_IFS
1780   test -z "$as_dir" && as_dir=.
1781   for ac_exec_ext in '' $ac_executable_extensions; do
1782   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1783     ac_cv_prog_AWK="$ac_prog"
1784     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1785     break 2
1786   fi
1787 done
1788 done
1789
1790 fi
1791 fi
1792 AWK=$ac_cv_prog_AWK
1793 if test -n "$AWK"; then
1794   echo "$as_me:$LINENO: result: $AWK" >&5
1795 echo "${ECHO_T}$AWK" >&6
1796 else
1797   echo "$as_me:$LINENO: result: no" >&5
1798 echo "${ECHO_T}no" >&6
1799 fi
1800
1801   test -n "$AWK" && break
1802 done
1803
1804 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1805 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1806 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1807 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1808   echo $ECHO_N "(cached) $ECHO_C" >&6
1809 else
1810   cat >conftest.make <<\_ACEOF
1811 all:
1812         @echo 'ac_maketemp="$(MAKE)"'
1813 _ACEOF
1814 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1815 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1816 if test -n "$ac_maketemp"; then
1817   eval ac_cv_prog_make_${ac_make}_set=yes
1818 else
1819   eval ac_cv_prog_make_${ac_make}_set=no
1820 fi
1821 rm -f conftest.make
1822 fi
1823 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1824   echo "$as_me:$LINENO: result: yes" >&5
1825 echo "${ECHO_T}yes" >&6
1826   SET_MAKE=
1827 else
1828   echo "$as_me:$LINENO: result: no" >&5
1829 echo "${ECHO_T}no" >&6
1830   SET_MAKE="MAKE=${MAKE-make}"
1831 fi
1832
1833 rm -rf .tst 2>/dev/null
1834 mkdir .tst 2>/dev/null
1835 if test -d .tst; then
1836   am__leading_dot=.
1837 else
1838   am__leading_dot=_
1839 fi
1840 rmdir .tst 2>/dev/null
1841
1842 # test to see if srcdir already configured
1843 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1844    test -f $srcdir/config.status; then
1845   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1846 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1847    { (exit 1); exit 1; }; }
1848 fi
1849
1850 # test whether we have cygpath
1851 if test -z "$CYGPATH_W"; then
1852   if (cygpath --version) >/dev/null 2>/dev/null; then
1853     CYGPATH_W='cygpath -w'
1854   else
1855     CYGPATH_W=echo
1856   fi
1857 fi
1858
1859
1860 # Define the identity of the package.
1861  PACKAGE='libstdc++'
1862  VERSION='version-unused'
1863
1864
1865 # Some tools Automake needs.
1866
1867 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1868
1869
1870 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1871
1872
1873 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1874
1875
1876 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1877
1878
1879 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1880
1881 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1882
1883 # Installed binaries are usually stripped using `strip' when the user
1884 # run `make install-strip'.  However `strip' might not be the right
1885 # tool to use in cross-compilation environments, therefore Automake
1886 # will honor the `STRIP' environment variable to overrule this program.
1887 if test "$cross_compiling" != no; then
1888   if test -n "$ac_tool_prefix"; then
1889   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1890 set dummy ${ac_tool_prefix}strip; ac_word=$2
1891 echo "$as_me:$LINENO: checking for $ac_word" >&5
1892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1893 if test "${ac_cv_prog_STRIP+set}" = set; then
1894   echo $ECHO_N "(cached) $ECHO_C" >&6
1895 else
1896   if test -n "$STRIP"; then
1897   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1898 else
1899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1900 for as_dir in $PATH
1901 do
1902   IFS=$as_save_IFS
1903   test -z "$as_dir" && as_dir=.
1904   for ac_exec_ext in '' $ac_executable_extensions; do
1905   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1906     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1907     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1908     break 2
1909   fi
1910 done
1911 done
1912
1913 fi
1914 fi
1915 STRIP=$ac_cv_prog_STRIP
1916 if test -n "$STRIP"; then
1917   echo "$as_me:$LINENO: result: $STRIP" >&5
1918 echo "${ECHO_T}$STRIP" >&6
1919 else
1920   echo "$as_me:$LINENO: result: no" >&5
1921 echo "${ECHO_T}no" >&6
1922 fi
1923
1924 fi
1925 if test -z "$ac_cv_prog_STRIP"; then
1926   ac_ct_STRIP=$STRIP
1927   # Extract the first word of "strip", so it can be a program name with args.
1928 set dummy strip; ac_word=$2
1929 echo "$as_me:$LINENO: checking for $ac_word" >&5
1930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1931 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1932   echo $ECHO_N "(cached) $ECHO_C" >&6
1933 else
1934   if test -n "$ac_ct_STRIP"; then
1935   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1936 else
1937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1938 for as_dir in $PATH
1939 do
1940   IFS=$as_save_IFS
1941   test -z "$as_dir" && as_dir=.
1942   for ac_exec_ext in '' $ac_executable_extensions; do
1943   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1944     ac_cv_prog_ac_ct_STRIP="strip"
1945     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1946     break 2
1947   fi
1948 done
1949 done
1950
1951   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1952 fi
1953 fi
1954 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1955 if test -n "$ac_ct_STRIP"; then
1956   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1957 echo "${ECHO_T}$ac_ct_STRIP" >&6
1958 else
1959   echo "$as_me:$LINENO: result: no" >&5
1960 echo "${ECHO_T}no" >&6
1961 fi
1962
1963   STRIP=$ac_ct_STRIP
1964 else
1965   STRIP="$ac_cv_prog_STRIP"
1966 fi
1967
1968 fi
1969 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1970
1971 # We need awk for the "check" target.  The system "awk" is bad on
1972 # some platforms.
1973 # Always define AMTAR for backward compatibility.
1974
1975 AMTAR=${AMTAR-"${am_missing_run}tar"}
1976
1977 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988 # Runs configure.host, finds CC, CXX, and assorted other critical bits.  Sets
1989 # up critical shell variables.
1990
1991   # Keep these sync'd with the list in Makefile.am.  The first provides an
1992   # expandable list at autoconf time; the second provides an expandable list
1993   # (i.e., shell variable) at configure time.
1994
1995   SUBDIRS='include libmath libsupc++ src po testsuite'
1996
1997   # These need to be absolute paths, yet at the same time need to
1998   # canonicalize only relative paths, because then amd will not unmount
1999   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
2000   glibcxx_builddir=`${PWDCMD-pwd}`
2001   case $srcdir in
2002     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2003     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2004   esac
2005   toplevel_srcdir=${glibcxx_srcdir}/..
2006
2007
2008
2009
2010   # We use these options to decide which functions to include.  They are
2011   # set from the top level.
2012
2013 # Check whether --with-target-subdir or --without-target-subdir was given.
2014 if test "${with_target_subdir+set}" = set; then
2015   withval="$with_target_subdir"
2016
2017 fi;
2018
2019
2020 # Check whether --with-cross-host or --without-cross-host was given.
2021 if test "${with_cross_host+set}" = set; then
2022   withval="$with_cross_host"
2023
2024 fi;
2025
2026
2027 # Check whether --with-newlib or --without-newlib was given.
2028 if test "${with_newlib+set}" = set; then
2029   withval="$with_newlib"
2030
2031 fi;
2032
2033   # We're almost certainly being configured before anything else which uses
2034   # C++, so all of our AC_PROG_* discoveries will be cached.  It's vital that
2035   # we not cache the value of CXX that we "discover" here, because it's set
2036   # to something unique for us and libjava.  Other target libraries need to
2037   # find CXX for themselves.  We yank the rug out from under the normal AC_*
2038   # process by sneakily renaming the cache variable.  This also lets us debug
2039   # the value of "our" CXX in postmortems.
2040   #
2041   # We must also force CXX to /not/ be a precious variable, otherwise the
2042   # wrong (non-multilib-adjusted) value will be used in multilibs.  This
2043   # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS.  And as a side
2044   # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2045   # that ourselves.  Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2046   #
2047   # -fno-builtin must be present here so that a non-conflicting form of
2048   # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2049
2050
2051
2052
2053   save_CXXFLAGS="$CXXFLAGS"
2054   CXXFLAGS="$CXXFLAGS -fno-builtin"
2055   ac_ext=c
2056 ac_cpp='$CPP $CPPFLAGS'
2057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2060 if test -n "$ac_tool_prefix"; then
2061   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2062 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2063 echo "$as_me:$LINENO: checking for $ac_word" >&5
2064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2065 if test "${ac_cv_prog_CC+set}" = set; then
2066   echo $ECHO_N "(cached) $ECHO_C" >&6
2067 else
2068   if test -n "$CC"; then
2069   ac_cv_prog_CC="$CC" # Let the user override the test.
2070 else
2071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2072 for as_dir in $PATH
2073 do
2074   IFS=$as_save_IFS
2075   test -z "$as_dir" && as_dir=.
2076   for ac_exec_ext in '' $ac_executable_extensions; do
2077   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2078     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2079     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2080     break 2
2081   fi
2082 done
2083 done
2084
2085 fi
2086 fi
2087 CC=$ac_cv_prog_CC
2088 if test -n "$CC"; then
2089   echo "$as_me:$LINENO: result: $CC" >&5
2090 echo "${ECHO_T}$CC" >&6
2091 else
2092   echo "$as_me:$LINENO: result: no" >&5
2093 echo "${ECHO_T}no" >&6
2094 fi
2095
2096 fi
2097 if test -z "$ac_cv_prog_CC"; then
2098   ac_ct_CC=$CC
2099   # Extract the first word of "gcc", so it can be a program name with args.
2100 set dummy gcc; ac_word=$2
2101 echo "$as_me:$LINENO: checking for $ac_word" >&5
2102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2103 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2104   echo $ECHO_N "(cached) $ECHO_C" >&6
2105 else
2106   if test -n "$ac_ct_CC"; then
2107   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2108 else
2109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2110 for as_dir in $PATH
2111 do
2112   IFS=$as_save_IFS
2113   test -z "$as_dir" && as_dir=.
2114   for ac_exec_ext in '' $ac_executable_extensions; do
2115   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2116     ac_cv_prog_ac_ct_CC="gcc"
2117     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2118     break 2
2119   fi
2120 done
2121 done
2122
2123 fi
2124 fi
2125 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2126 if test -n "$ac_ct_CC"; then
2127   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2128 echo "${ECHO_T}$ac_ct_CC" >&6
2129 else
2130   echo "$as_me:$LINENO: result: no" >&5
2131 echo "${ECHO_T}no" >&6
2132 fi
2133
2134   CC=$ac_ct_CC
2135 else
2136   CC="$ac_cv_prog_CC"
2137 fi
2138
2139 if test -z "$CC"; then
2140   if test -n "$ac_tool_prefix"; then
2141   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2142 set dummy ${ac_tool_prefix}cc; ac_word=$2
2143 echo "$as_me:$LINENO: checking for $ac_word" >&5
2144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2145 if test "${ac_cv_prog_CC+set}" = set; then
2146   echo $ECHO_N "(cached) $ECHO_C" >&6
2147 else
2148   if test -n "$CC"; then
2149   ac_cv_prog_CC="$CC" # Let the user override the test.
2150 else
2151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2152 for as_dir in $PATH
2153 do
2154   IFS=$as_save_IFS
2155   test -z "$as_dir" && as_dir=.
2156   for ac_exec_ext in '' $ac_executable_extensions; do
2157   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2158     ac_cv_prog_CC="${ac_tool_prefix}cc"
2159     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2160     break 2
2161   fi
2162 done
2163 done
2164
2165 fi
2166 fi
2167 CC=$ac_cv_prog_CC
2168 if test -n "$CC"; then
2169   echo "$as_me:$LINENO: result: $CC" >&5
2170 echo "${ECHO_T}$CC" >&6
2171 else
2172   echo "$as_me:$LINENO: result: no" >&5
2173 echo "${ECHO_T}no" >&6
2174 fi
2175
2176 fi
2177 if test -z "$ac_cv_prog_CC"; then
2178   ac_ct_CC=$CC
2179   # Extract the first word of "cc", so it can be a program name with args.
2180 set dummy cc; ac_word=$2
2181 echo "$as_me:$LINENO: checking for $ac_word" >&5
2182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2183 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2184   echo $ECHO_N "(cached) $ECHO_C" >&6
2185 else
2186   if test -n "$ac_ct_CC"; then
2187   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2188 else
2189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2190 for as_dir in $PATH
2191 do
2192   IFS=$as_save_IFS
2193   test -z "$as_dir" && as_dir=.
2194   for ac_exec_ext in '' $ac_executable_extensions; do
2195   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2196     ac_cv_prog_ac_ct_CC="cc"
2197     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2198     break 2
2199   fi
2200 done
2201 done
2202
2203 fi
2204 fi
2205 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2206 if test -n "$ac_ct_CC"; then
2207   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2208 echo "${ECHO_T}$ac_ct_CC" >&6
2209 else
2210   echo "$as_me:$LINENO: result: no" >&5
2211 echo "${ECHO_T}no" >&6
2212 fi
2213
2214   CC=$ac_ct_CC
2215 else
2216   CC="$ac_cv_prog_CC"
2217 fi
2218
2219 fi
2220 if test -z "$CC"; then
2221   # Extract the first word of "cc", so it can be a program name with args.
2222 set dummy cc; ac_word=$2
2223 echo "$as_me:$LINENO: checking for $ac_word" >&5
2224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2225 if test "${ac_cv_prog_CC+set}" = set; then
2226   echo $ECHO_N "(cached) $ECHO_C" >&6
2227 else
2228   if test -n "$CC"; then
2229   ac_cv_prog_CC="$CC" # Let the user override the test.
2230 else
2231   ac_prog_rejected=no
2232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2233 for as_dir in $PATH
2234 do
2235   IFS=$as_save_IFS
2236   test -z "$as_dir" && as_dir=.
2237   for ac_exec_ext in '' $ac_executable_extensions; do
2238   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2239     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2240        ac_prog_rejected=yes
2241        continue
2242      fi
2243     ac_cv_prog_CC="cc"
2244     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2245     break 2
2246   fi
2247 done
2248 done
2249
2250 if test $ac_prog_rejected = yes; then
2251   # We found a bogon in the path, so make sure we never use it.
2252   set dummy $ac_cv_prog_CC
2253   shift
2254   if test $# != 0; then
2255     # We chose a different compiler from the bogus one.
2256     # However, it has the same basename, so the bogon will be chosen
2257     # first if we set CC to just the basename; use the full file name.
2258     shift
2259     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2260   fi
2261 fi
2262 fi
2263 fi
2264 CC=$ac_cv_prog_CC
2265 if test -n "$CC"; then
2266   echo "$as_me:$LINENO: result: $CC" >&5
2267 echo "${ECHO_T}$CC" >&6
2268 else
2269   echo "$as_me:$LINENO: result: no" >&5
2270 echo "${ECHO_T}no" >&6
2271 fi
2272
2273 fi
2274 if test -z "$CC"; then
2275   if test -n "$ac_tool_prefix"; then
2276   for ac_prog in cl
2277   do
2278     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2279 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2280 echo "$as_me:$LINENO: checking for $ac_word" >&5
2281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2282 if test "${ac_cv_prog_CC+set}" = set; then
2283   echo $ECHO_N "(cached) $ECHO_C" >&6
2284 else
2285   if test -n "$CC"; then
2286   ac_cv_prog_CC="$CC" # Let the user override the test.
2287 else
2288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2289 for as_dir in $PATH
2290 do
2291   IFS=$as_save_IFS
2292   test -z "$as_dir" && as_dir=.
2293   for ac_exec_ext in '' $ac_executable_extensions; do
2294   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2295     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2296     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2297     break 2
2298   fi
2299 done
2300 done
2301
2302 fi
2303 fi
2304 CC=$ac_cv_prog_CC
2305 if test -n "$CC"; then
2306   echo "$as_me:$LINENO: result: $CC" >&5
2307 echo "${ECHO_T}$CC" >&6
2308 else
2309   echo "$as_me:$LINENO: result: no" >&5
2310 echo "${ECHO_T}no" >&6
2311 fi
2312
2313     test -n "$CC" && break
2314   done
2315 fi
2316 if test -z "$CC"; then
2317   ac_ct_CC=$CC
2318   for ac_prog in cl
2319 do
2320   # Extract the first word of "$ac_prog", so it can be a program name with args.
2321 set dummy $ac_prog; ac_word=$2
2322 echo "$as_me:$LINENO: checking for $ac_word" >&5
2323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2324 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2325   echo $ECHO_N "(cached) $ECHO_C" >&6
2326 else
2327   if test -n "$ac_ct_CC"; then
2328   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2329 else
2330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2331 for as_dir in $PATH
2332 do
2333   IFS=$as_save_IFS
2334   test -z "$as_dir" && as_dir=.
2335   for ac_exec_ext in '' $ac_executable_extensions; do
2336   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2337     ac_cv_prog_ac_ct_CC="$ac_prog"
2338     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2339     break 2
2340   fi
2341 done
2342 done
2343
2344 fi
2345 fi
2346 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2347 if test -n "$ac_ct_CC"; then
2348   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2349 echo "${ECHO_T}$ac_ct_CC" >&6
2350 else
2351   echo "$as_me:$LINENO: result: no" >&5
2352 echo "${ECHO_T}no" >&6
2353 fi
2354
2355   test -n "$ac_ct_CC" && break
2356 done
2357
2358   CC=$ac_ct_CC
2359 fi
2360
2361 fi
2362
2363
2364 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2365 See \`config.log' for more details." >&5
2366 echo "$as_me: error: no acceptable C compiler found in \$PATH
2367 See \`config.log' for more details." >&2;}
2368    { (exit 1); exit 1; }; }
2369
2370 # Provide some information about the compiler.
2371 echo "$as_me:$LINENO:" \
2372      "checking for C compiler version" >&5
2373 ac_compiler=`set X $ac_compile; echo $2`
2374 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2375   (eval $ac_compiler --version </dev/null >&5) 2>&5
2376   ac_status=$?
2377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2378   (exit $ac_status); }
2379 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2380   (eval $ac_compiler -v </dev/null >&5) 2>&5
2381   ac_status=$?
2382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383   (exit $ac_status); }
2384 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2385   (eval $ac_compiler -V </dev/null >&5) 2>&5
2386   ac_status=$?
2387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2388   (exit $ac_status); }
2389
2390 cat >conftest.$ac_ext <<_ACEOF
2391 /* confdefs.h.  */
2392 _ACEOF
2393 cat confdefs.h >>conftest.$ac_ext
2394 cat >>conftest.$ac_ext <<_ACEOF
2395 /* end confdefs.h.  */
2396
2397 int
2398 main ()
2399 {
2400
2401   ;
2402   return 0;
2403 }
2404 _ACEOF
2405 # FIXME: Cleanup?
2406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2407   (eval $ac_link) 2>&5
2408   ac_status=$?
2409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2410   (exit $ac_status); }; then
2411   gcc_no_link=no
2412 else
2413   gcc_no_link=yes
2414 fi
2415
2416 if test x$gcc_no_link = xyes; then
2417   # Setting cross_compile will disable run tests; it will
2418   # also disable AC_CHECK_FILE but that's generally
2419   # correct if we can't link.
2420   cross_compiling=yes
2421   EXEEXT=
2422 else
2423   cat >conftest.$ac_ext <<_ACEOF
2424 /* confdefs.h.  */
2425 _ACEOF
2426 cat confdefs.h >>conftest.$ac_ext
2427 cat >>conftest.$ac_ext <<_ACEOF
2428 /* end confdefs.h.  */
2429
2430 int
2431 main ()
2432 {
2433
2434   ;
2435   return 0;
2436 }
2437 _ACEOF
2438 ac_clean_files_save=$ac_clean_files
2439 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2440 # Try to create an executable without -o first, disregard a.out.
2441 # It will help us diagnose broken compilers, and finding out an intuition
2442 # of exeext.
2443 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2444 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2445 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2446 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2447   (eval $ac_link_default) 2>&5
2448   ac_status=$?
2449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2450   (exit $ac_status); }; then
2451   # Find the output, starting from the most likely.  This scheme is
2452 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2453 # resort.
2454
2455 # Be careful to initialize this variable, since it used to be cached.
2456 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2457 ac_cv_exeext=
2458 # b.out is created by i960 compilers.
2459 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2460 do
2461   test -f "$ac_file" || continue
2462   case $ac_file in
2463     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2464         ;;
2465     conftest.$ac_ext )
2466         # This is the source file.
2467         ;;
2468     [ab].out )
2469         # We found the default executable, but exeext='' is most
2470         # certainly right.
2471         break;;
2472     *.* )
2473         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2474         # FIXME: I believe we export ac_cv_exeext for Libtool,
2475         # but it would be cool to find out if it's true.  Does anybody
2476         # maintain Libtool? --akim.
2477         export ac_cv_exeext
2478         break;;
2479     * )
2480         break;;
2481   esac
2482 done
2483 else
2484   echo "$as_me: failed program was:" >&5
2485 sed 's/^/| /' conftest.$ac_ext >&5
2486
2487 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2488 See \`config.log' for more details." >&5
2489 echo "$as_me: error: C compiler cannot create executables
2490 See \`config.log' for more details." >&2;}
2491    { (exit 77); exit 77; }; }
2492 fi
2493
2494 ac_exeext=$ac_cv_exeext
2495 echo "$as_me:$LINENO: result: $ac_file" >&5
2496 echo "${ECHO_T}$ac_file" >&6
2497
2498 # Check the compiler produces executables we can run.  If not, either
2499 # the compiler is broken, or we cross compile.
2500 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2501 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2502 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2503 # If not cross compiling, check that we can run a simple program.
2504 if test "$cross_compiling" != yes; then
2505   if { ac_try='./$ac_file'
2506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2507   (eval $ac_try) 2>&5
2508   ac_status=$?
2509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2510   (exit $ac_status); }; }; then
2511     cross_compiling=no
2512   else
2513     if test "$cross_compiling" = maybe; then
2514         cross_compiling=yes
2515     else
2516         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2517 If you meant to cross compile, use \`--host'.
2518 See \`config.log' for more details." >&5
2519 echo "$as_me: error: cannot run C compiled programs.
2520 If you meant to cross compile, use \`--host'.
2521 See \`config.log' for more details." >&2;}
2522    { (exit 1); exit 1; }; }
2523     fi
2524   fi
2525 fi
2526 echo "$as_me:$LINENO: result: yes" >&5
2527 echo "${ECHO_T}yes" >&6
2528
2529 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2530 ac_clean_files=$ac_clean_files_save
2531 # Check the compiler produces executables we can run.  If not, either
2532 # the compiler is broken, or we cross compile.
2533 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2534 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2535 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2536 echo "${ECHO_T}$cross_compiling" >&6
2537
2538 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2539 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2541   (eval $ac_link) 2>&5
2542   ac_status=$?
2543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2544   (exit $ac_status); }; then
2545   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2546 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2547 # work properly (i.e., refer to `conftest.exe'), while it won't with
2548 # `rm'.
2549 for ac_file in conftest.exe conftest conftest.*; do
2550   test -f "$ac_file" || continue
2551   case $ac_file in
2552     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2553     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2554           export ac_cv_exeext
2555           break;;
2556     * ) break;;
2557   esac
2558 done
2559 else
2560   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2561 See \`config.log' for more details." >&5
2562 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2563 See \`config.log' for more details." >&2;}
2564    { (exit 1); exit 1; }; }
2565 fi
2566
2567 rm -f conftest$ac_cv_exeext
2568 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2569 echo "${ECHO_T}$ac_cv_exeext" >&6
2570
2571 rm -f conftest.$ac_ext
2572 EXEEXT=$ac_cv_exeext
2573 ac_exeext=$EXEEXT
2574 fi
2575 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2576 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2577 if test "${ac_cv_objext+set}" = set; then
2578   echo $ECHO_N "(cached) $ECHO_C" >&6
2579 else
2580   cat >conftest.$ac_ext <<_ACEOF
2581 /* confdefs.h.  */
2582 _ACEOF
2583 cat confdefs.h >>conftest.$ac_ext
2584 cat >>conftest.$ac_ext <<_ACEOF
2585 /* end confdefs.h.  */
2586
2587 int
2588 main ()
2589 {
2590
2591   ;
2592   return 0;
2593 }
2594 _ACEOF
2595 rm -f conftest.o conftest.obj
2596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2597   (eval $ac_compile) 2>&5
2598   ac_status=$?
2599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2600   (exit $ac_status); }; then
2601   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2602   case $ac_file in
2603     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2604     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2605        break;;
2606   esac
2607 done
2608 else
2609   echo "$as_me: failed program was:" >&5
2610 sed 's/^/| /' conftest.$ac_ext >&5
2611
2612 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2613 See \`config.log' for more details." >&5
2614 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2615 See \`config.log' for more details." >&2;}
2616    { (exit 1); exit 1; }; }
2617 fi
2618
2619 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2620 fi
2621 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2622 echo "${ECHO_T}$ac_cv_objext" >&6
2623 OBJEXT=$ac_cv_objext
2624 ac_objext=$OBJEXT
2625 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2626 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2627 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2628   echo $ECHO_N "(cached) $ECHO_C" >&6
2629 else
2630   cat >conftest.$ac_ext <<_ACEOF
2631 /* confdefs.h.  */
2632 _ACEOF
2633 cat confdefs.h >>conftest.$ac_ext
2634 cat >>conftest.$ac_ext <<_ACEOF
2635 /* end confdefs.h.  */
2636
2637 int
2638 main ()
2639 {
2640 #ifndef __GNUC__
2641        choke me
2642 #endif
2643
2644   ;
2645   return 0;
2646 }
2647 _ACEOF
2648 rm -f conftest.$ac_objext
2649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2650   (eval $ac_compile) 2>conftest.er1
2651   ac_status=$?
2652   grep -v '^ *+' conftest.er1 >conftest.err
2653   rm -f conftest.er1
2654   cat conftest.err >&5
2655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2656   (exit $ac_status); } &&
2657          { ac_try='test -z "$ac_c_werror_flag"
2658                          || test ! -s conftest.err'
2659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2660   (eval $ac_try) 2>&5
2661   ac_status=$?
2662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2663   (exit $ac_status); }; } &&
2664          { ac_try='test -s conftest.$ac_objext'
2665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2666   (eval $ac_try) 2>&5
2667   ac_status=$?
2668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2669   (exit $ac_status); }; }; then
2670   ac_compiler_gnu=yes
2671 else
2672   echo "$as_me: failed program was:" >&5
2673 sed 's/^/| /' conftest.$ac_ext >&5
2674
2675 ac_compiler_gnu=no
2676 fi
2677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2678 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2679
2680 fi
2681 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2682 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2683 GCC=`test $ac_compiler_gnu = yes && echo yes`
2684 ac_test_CFLAGS=${CFLAGS+set}
2685 ac_save_CFLAGS=$CFLAGS
2686 CFLAGS="-g"
2687 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2688 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2689 if test "${ac_cv_prog_cc_g+set}" = set; then
2690   echo $ECHO_N "(cached) $ECHO_C" >&6
2691 else
2692   cat >conftest.$ac_ext <<_ACEOF
2693 /* confdefs.h.  */
2694 _ACEOF
2695 cat confdefs.h >>conftest.$ac_ext
2696 cat >>conftest.$ac_ext <<_ACEOF
2697 /* end confdefs.h.  */
2698
2699 int
2700 main ()
2701 {
2702
2703   ;
2704   return 0;
2705 }
2706 _ACEOF
2707 rm -f conftest.$ac_objext
2708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2709   (eval $ac_compile) 2>conftest.er1
2710   ac_status=$?
2711   grep -v '^ *+' conftest.er1 >conftest.err
2712   rm -f conftest.er1
2713   cat conftest.err >&5
2714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2715   (exit $ac_status); } &&
2716          { ac_try='test -z "$ac_c_werror_flag"
2717                          || test ! -s conftest.err'
2718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2719   (eval $ac_try) 2>&5
2720   ac_status=$?
2721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2722   (exit $ac_status); }; } &&
2723          { ac_try='test -s conftest.$ac_objext'
2724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2725   (eval $ac_try) 2>&5
2726   ac_status=$?
2727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2728   (exit $ac_status); }; }; then
2729   ac_cv_prog_cc_g=yes
2730 else
2731   echo "$as_me: failed program was:" >&5
2732 sed 's/^/| /' conftest.$ac_ext >&5
2733
2734 ac_cv_prog_cc_g=no
2735 fi
2736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2737 fi
2738 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2739 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2740 if test "$ac_test_CFLAGS" = set; then
2741   CFLAGS=$ac_save_CFLAGS
2742 elif test $ac_cv_prog_cc_g = yes; then
2743   if test "$GCC" = yes; then
2744     CFLAGS="-g -O2"
2745   else
2746     CFLAGS="-g"
2747   fi
2748 else
2749   if test "$GCC" = yes; then
2750     CFLAGS="-O2"
2751   else
2752     CFLAGS=
2753   fi
2754 fi
2755 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2756 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2757 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2758   echo $ECHO_N "(cached) $ECHO_C" >&6
2759 else
2760   ac_cv_prog_cc_stdc=no
2761 ac_save_CC=$CC
2762 cat >conftest.$ac_ext <<_ACEOF
2763 /* confdefs.h.  */
2764 _ACEOF
2765 cat confdefs.h >>conftest.$ac_ext
2766 cat >>conftest.$ac_ext <<_ACEOF
2767 /* end confdefs.h.  */
2768 #include <stdarg.h>
2769 #include <stdio.h>
2770 #include <sys/types.h>
2771 #include <sys/stat.h>
2772 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2773 struct buf { int x; };
2774 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2775 static char *e (p, i)
2776      char **p;
2777      int i;
2778 {
2779   return p[i];
2780 }
2781 static char *f (char * (*g) (char **, int), char **p, ...)
2782 {
2783   char *s;
2784   va_list v;
2785   va_start (v,p);
2786   s = g (p, va_arg (v,int));
2787   va_end (v);
2788   return s;
2789 }
2790
2791 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2792    function prototypes and stuff, but not '\xHH' hex character constants.
2793    These don't provoke an error unfortunately, instead are silently treated
2794    as 'x'.  The following induces an error, until -std1 is added to get
2795    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2796    array size at least.  It's necessary to write '\x00'==0 to get something
2797    that's true only with -std1.  */
2798 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2799
2800 int test (int i, double x);
2801 struct s1 {int (*f) (int a);};
2802 struct s2 {int (*f) (double a);};
2803 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2804 int argc;
2805 char **argv;
2806 int
2807 main ()
2808 {
2809 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2810   ;
2811   return 0;
2812 }
2813 _ACEOF
2814 # Don't try gcc -ansi; that turns off useful extensions and
2815 # breaks some systems' header files.
2816 # AIX                   -qlanglvl=ansi
2817 # Ultrix and OSF/1      -std1
2818 # HP-UX 10.20 and later -Ae
2819 # HP-UX older versions  -Aa -D_HPUX_SOURCE
2820 # SVR4                  -Xc -D__EXTENSIONS__
2821 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2822 do
2823   CC="$ac_save_CC $ac_arg"
2824   rm -f conftest.$ac_objext
2825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2826   (eval $ac_compile) 2>conftest.er1
2827   ac_status=$?
2828   grep -v '^ *+' conftest.er1 >conftest.err
2829   rm -f conftest.er1
2830   cat conftest.err >&5
2831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832   (exit $ac_status); } &&
2833          { ac_try='test -z "$ac_c_werror_flag"
2834                          || test ! -s conftest.err'
2835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2836   (eval $ac_try) 2>&5
2837   ac_status=$?
2838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2839   (exit $ac_status); }; } &&
2840          { ac_try='test -s conftest.$ac_objext'
2841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2842   (eval $ac_try) 2>&5
2843   ac_status=$?
2844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845   (exit $ac_status); }; }; then
2846   ac_cv_prog_cc_stdc=$ac_arg
2847 break
2848 else
2849   echo "$as_me: failed program was:" >&5
2850 sed 's/^/| /' conftest.$ac_ext >&5
2851
2852 fi
2853 rm -f conftest.err conftest.$ac_objext
2854 done
2855 rm -f conftest.$ac_ext conftest.$ac_objext
2856 CC=$ac_save_CC
2857
2858 fi
2859
2860 case "x$ac_cv_prog_cc_stdc" in
2861   x|xno)
2862     echo "$as_me:$LINENO: result: none needed" >&5
2863 echo "${ECHO_T}none needed" >&6 ;;
2864   *)
2865     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2866 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2867     CC="$CC $ac_cv_prog_cc_stdc" ;;
2868 esac
2869
2870 # Some people use a C++ compiler to compile C.  Since we use `exit',
2871 # in C++ we need to declare it.  In case someone uses the same compiler
2872 # for both compiling C and C++ we need to have the C++ compiler decide
2873 # the declaration of exit, since it's the most demanding environment.
2874 cat >conftest.$ac_ext <<_ACEOF
2875 #ifndef __cplusplus
2876   choke me
2877 #endif
2878 _ACEOF
2879 rm -f conftest.$ac_objext
2880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2881   (eval $ac_compile) 2>conftest.er1
2882   ac_status=$?
2883   grep -v '^ *+' conftest.er1 >conftest.err
2884   rm -f conftest.er1
2885   cat conftest.err >&5
2886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887   (exit $ac_status); } &&
2888          { ac_try='test -z "$ac_c_werror_flag"
2889                          || test ! -s conftest.err'
2890   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2891   (eval $ac_try) 2>&5
2892   ac_status=$?
2893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2894   (exit $ac_status); }; } &&
2895          { ac_try='test -s conftest.$ac_objext'
2896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2897   (eval $ac_try) 2>&5
2898   ac_status=$?
2899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2900   (exit $ac_status); }; }; then
2901   for ac_declaration in \
2902    '' \
2903    'extern "C" void std::exit (int) throw (); using std::exit;' \
2904    'extern "C" void std::exit (int); using std::exit;' \
2905    'extern "C" void exit (int) throw ();' \
2906    'extern "C" void exit (int);' \
2907    'void exit (int);'
2908 do
2909   cat >conftest.$ac_ext <<_ACEOF
2910 /* confdefs.h.  */
2911 _ACEOF
2912 cat confdefs.h >>conftest.$ac_ext
2913 cat >>conftest.$ac_ext <<_ACEOF
2914 /* end confdefs.h.  */
2915 $ac_declaration
2916 #include <stdlib.h>
2917 int
2918 main ()
2919 {
2920 exit (42);
2921   ;
2922   return 0;
2923 }
2924 _ACEOF
2925 rm -f conftest.$ac_objext
2926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2927   (eval $ac_compile) 2>conftest.er1
2928   ac_status=$?
2929   grep -v '^ *+' conftest.er1 >conftest.err
2930   rm -f conftest.er1
2931   cat conftest.err >&5
2932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933   (exit $ac_status); } &&
2934          { ac_try='test -z "$ac_c_werror_flag"
2935                          || test ! -s conftest.err'
2936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2937   (eval $ac_try) 2>&5
2938   ac_status=$?
2939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2940   (exit $ac_status); }; } &&
2941          { ac_try='test -s conftest.$ac_objext'
2942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2943   (eval $ac_try) 2>&5
2944   ac_status=$?
2945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2946   (exit $ac_status); }; }; then
2947   :
2948 else
2949   echo "$as_me: failed program was:" >&5
2950 sed 's/^/| /' conftest.$ac_ext >&5
2951
2952 continue
2953 fi
2954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2955   cat >conftest.$ac_ext <<_ACEOF
2956 /* confdefs.h.  */
2957 _ACEOF
2958 cat confdefs.h >>conftest.$ac_ext
2959 cat >>conftest.$ac_ext <<_ACEOF
2960 /* end confdefs.h.  */
2961 $ac_declaration
2962 int
2963 main ()
2964 {
2965 exit (42);
2966   ;
2967   return 0;
2968 }
2969 _ACEOF
2970 rm -f conftest.$ac_objext
2971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2972   (eval $ac_compile) 2>conftest.er1
2973   ac_status=$?
2974   grep -v '^ *+' conftest.er1 >conftest.err
2975   rm -f conftest.er1
2976   cat conftest.err >&5
2977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978   (exit $ac_status); } &&
2979          { ac_try='test -z "$ac_c_werror_flag"
2980                          || test ! -s conftest.err'
2981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2982   (eval $ac_try) 2>&5
2983   ac_status=$?
2984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2985   (exit $ac_status); }; } &&
2986          { ac_try='test -s conftest.$ac_objext'
2987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2988   (eval $ac_try) 2>&5
2989   ac_status=$?
2990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2991   (exit $ac_status); }; }; then
2992   break
2993 else
2994   echo "$as_me: failed program was:" >&5
2995 sed 's/^/| /' conftest.$ac_ext >&5
2996
2997 fi
2998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2999 done
3000 rm -f conftest*
3001 if test -n "$ac_declaration"; then
3002   echo '#ifdef __cplusplus' >>confdefs.h
3003   echo $ac_declaration      >>confdefs.h
3004   echo '#endif'             >>confdefs.h
3005 fi
3006
3007 else
3008   echo "$as_me: failed program was:" >&5
3009 sed 's/^/| /' conftest.$ac_ext >&5
3010
3011 fi
3012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3013 ac_ext=c
3014 ac_cpp='$CPP $CPPFLAGS'
3015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3018
3019   ac_ext=cc
3020 ac_cpp='$CXXCPP $CPPFLAGS'
3021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3024 if test -n "$ac_tool_prefix"; then
3025   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3026   do
3027     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3028 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3029 echo "$as_me:$LINENO: checking for $ac_word" >&5
3030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3031 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3032   echo $ECHO_N "(cached) $ECHO_C" >&6
3033 else
3034   if test -n "$CXX"; then
3035   glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3036 else
3037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3038 for as_dir in $PATH
3039 do
3040   IFS=$as_save_IFS
3041   test -z "$as_dir" && as_dir=.
3042   for ac_exec_ext in '' $ac_executable_extensions; do
3043   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3044     glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3045     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3046     break 2
3047   fi
3048 done
3049 done
3050
3051 fi
3052 fi
3053 CXX=$glibcxx_cv_prog_CXX
3054 if test -n "$CXX"; then
3055   echo "$as_me:$LINENO: result: $CXX" >&5
3056 echo "${ECHO_T}$CXX" >&6
3057 else
3058   echo "$as_me:$LINENO: result: no" >&5
3059 echo "${ECHO_T}no" >&6
3060 fi
3061
3062     test -n "$CXX" && break
3063   done
3064 fi
3065 if test -z "$CXX"; then
3066   ac_ct_CXX=$CXX
3067   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3068 do
3069   # Extract the first word of "$ac_prog", so it can be a program name with args.
3070 set dummy $ac_prog; ac_word=$2
3071 echo "$as_me:$LINENO: checking for $ac_word" >&5
3072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3073 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3074   echo $ECHO_N "(cached) $ECHO_C" >&6
3075 else
3076   if test -n "$ac_ct_CXX"; then
3077   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3078 else
3079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3080 for as_dir in $PATH
3081 do
3082   IFS=$as_save_IFS
3083   test -z "$as_dir" && as_dir=.
3084   for ac_exec_ext in '' $ac_executable_extensions; do
3085   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3086     ac_cv_prog_ac_ct_CXX="$ac_prog"
3087     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3088     break 2
3089   fi
3090 done
3091 done
3092
3093 fi
3094 fi
3095 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3096 if test -n "$ac_ct_CXX"; then
3097   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3098 echo "${ECHO_T}$ac_ct_CXX" >&6
3099 else
3100   echo "$as_me:$LINENO: result: no" >&5
3101 echo "${ECHO_T}no" >&6
3102 fi
3103
3104   test -n "$ac_ct_CXX" && break
3105 done
3106 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3107
3108   CXX=$ac_ct_CXX
3109 fi
3110
3111
3112 # Provide some information about the compiler.
3113 echo "$as_me:$LINENO:" \
3114      "checking for C++ compiler version" >&5
3115 ac_compiler=`set X $ac_compile; echo $2`
3116 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3117   (eval $ac_compiler --version </dev/null >&5) 2>&5
3118   ac_status=$?
3119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3120   (exit $ac_status); }
3121 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3122   (eval $ac_compiler -v </dev/null >&5) 2>&5
3123   ac_status=$?
3124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3125   (exit $ac_status); }
3126 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3127   (eval $ac_compiler -V </dev/null >&5) 2>&5
3128   ac_status=$?
3129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3130   (exit $ac_status); }
3131
3132 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3133 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3134 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3135   echo $ECHO_N "(cached) $ECHO_C" >&6
3136 else
3137   cat >conftest.$ac_ext <<_ACEOF
3138 /* confdefs.h.  */
3139 _ACEOF
3140 cat confdefs.h >>conftest.$ac_ext
3141 cat >>conftest.$ac_ext <<_ACEOF
3142 /* end confdefs.h.  */
3143
3144 int
3145 main ()
3146 {
3147 #ifndef __GNUC__
3148        choke me
3149 #endif
3150
3151   ;
3152   return 0;
3153 }
3154 _ACEOF
3155 rm -f conftest.$ac_objext
3156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3157   (eval $ac_compile) 2>conftest.er1
3158   ac_status=$?
3159   grep -v '^ *+' conftest.er1 >conftest.err
3160   rm -f conftest.er1
3161   cat conftest.err >&5
3162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3163   (exit $ac_status); } &&
3164          { ac_try='test -z "$ac_cxx_werror_flag"
3165                          || test ! -s conftest.err'
3166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3167   (eval $ac_try) 2>&5
3168   ac_status=$?
3169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3170   (exit $ac_status); }; } &&
3171          { ac_try='test -s conftest.$ac_objext'
3172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3173   (eval $ac_try) 2>&5
3174   ac_status=$?
3175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3176   (exit $ac_status); }; }; then
3177   ac_compiler_gnu=yes
3178 else
3179   echo "$as_me: failed program was:" >&5
3180 sed 's/^/| /' conftest.$ac_ext >&5
3181
3182 ac_compiler_gnu=no
3183 fi
3184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3185 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3186
3187 fi
3188 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3189 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3190 GXX=`test $ac_compiler_gnu = yes && echo yes`
3191 ac_test_CXXFLAGS=${CXXFLAGS+set}
3192 ac_save_CXXFLAGS=$CXXFLAGS
3193 CXXFLAGS="-g"
3194 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3195 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3196 if test "${ac_cv_prog_cxx_g+set}" = set; then
3197   echo $ECHO_N "(cached) $ECHO_C" >&6
3198 else
3199   cat >conftest.$ac_ext <<_ACEOF
3200 /* confdefs.h.  */
3201 _ACEOF
3202 cat confdefs.h >>conftest.$ac_ext
3203 cat >>conftest.$ac_ext <<_ACEOF
3204 /* end confdefs.h.  */
3205
3206 int
3207 main ()
3208 {
3209
3210   ;
3211   return 0;
3212 }
3213 _ACEOF
3214 rm -f conftest.$ac_objext
3215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3216   (eval $ac_compile) 2>conftest.er1
3217   ac_status=$?
3218   grep -v '^ *+' conftest.er1 >conftest.err
3219   rm -f conftest.er1
3220   cat conftest.err >&5
3221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3222   (exit $ac_status); } &&
3223          { ac_try='test -z "$ac_cxx_werror_flag"
3224                          || test ! -s conftest.err'
3225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3226   (eval $ac_try) 2>&5
3227   ac_status=$?
3228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3229   (exit $ac_status); }; } &&
3230          { ac_try='test -s conftest.$ac_objext'
3231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3232   (eval $ac_try) 2>&5
3233   ac_status=$?
3234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3235   (exit $ac_status); }; }; then
3236   ac_cv_prog_cxx_g=yes
3237 else
3238   echo "$as_me: failed program was:" >&5
3239 sed 's/^/| /' conftest.$ac_ext >&5
3240
3241 ac_cv_prog_cxx_g=no
3242 fi
3243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3244 fi
3245 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3246 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3247 if test "$ac_test_CXXFLAGS" = set; then
3248   CXXFLAGS=$ac_save_CXXFLAGS
3249 elif test $ac_cv_prog_cxx_g = yes; then
3250   if test "$GXX" = yes; then
3251     CXXFLAGS="-g -O2"
3252   else
3253     CXXFLAGS="-g"
3254   fi
3255 else
3256   if test "$GXX" = yes; then
3257     CXXFLAGS="-O2"
3258   else
3259     CXXFLAGS=
3260   fi
3261 fi
3262 for ac_declaration in \
3263    '' \
3264    'extern "C" void std::exit (int) throw (); using std::exit;' \
3265    'extern "C" void std::exit (int); using std::exit;' \
3266    'extern "C" void exit (int) throw ();' \
3267    'extern "C" void exit (int);' \
3268    'void exit (int);'
3269 do
3270   cat >conftest.$ac_ext <<_ACEOF
3271 /* confdefs.h.  */
3272 _ACEOF
3273 cat confdefs.h >>conftest.$ac_ext
3274 cat >>conftest.$ac_ext <<_ACEOF
3275 /* end confdefs.h.  */
3276 $ac_declaration
3277 #include <stdlib.h>
3278 int
3279 main ()
3280 {
3281 exit (42);
3282   ;
3283   return 0;
3284 }
3285 _ACEOF
3286 rm -f conftest.$ac_objext
3287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3288   (eval $ac_compile) 2>conftest.er1
3289   ac_status=$?
3290   grep -v '^ *+' conftest.er1 >conftest.err
3291   rm -f conftest.er1
3292   cat conftest.err >&5
3293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3294   (exit $ac_status); } &&
3295          { ac_try='test -z "$ac_cxx_werror_flag"
3296                          || test ! -s conftest.err'
3297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3298   (eval $ac_try) 2>&5
3299   ac_status=$?
3300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3301   (exit $ac_status); }; } &&
3302          { ac_try='test -s conftest.$ac_objext'
3303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3304   (eval $ac_try) 2>&5
3305   ac_status=$?
3306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3307   (exit $ac_status); }; }; then
3308   :
3309 else
3310   echo "$as_me: failed program was:" >&5
3311 sed 's/^/| /' conftest.$ac_ext >&5
3312
3313 continue
3314 fi
3315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3316   cat >conftest.$ac_ext <<_ACEOF
3317 /* confdefs.h.  */
3318 _ACEOF
3319 cat confdefs.h >>conftest.$ac_ext
3320 cat >>conftest.$ac_ext <<_ACEOF
3321 /* end confdefs.h.  */
3322 $ac_declaration
3323 int
3324 main ()
3325 {
3326 exit (42);
3327   ;
3328   return 0;
3329 }
3330 _ACEOF
3331 rm -f conftest.$ac_objext
3332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3333   (eval $ac_compile) 2>conftest.er1
3334   ac_status=$?
3335   grep -v '^ *+' conftest.er1 >conftest.err
3336   rm -f conftest.er1
3337   cat conftest.err >&5
3338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3339   (exit $ac_status); } &&
3340          { ac_try='test -z "$ac_cxx_werror_flag"
3341                          || test ! -s conftest.err'
3342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3343   (eval $ac_try) 2>&5
3344   ac_status=$?
3345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3346   (exit $ac_status); }; } &&
3347          { ac_try='test -s conftest.$ac_objext'
3348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3349   (eval $ac_try) 2>&5
3350   ac_status=$?
3351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3352   (exit $ac_status); }; }; then
3353   break
3354 else
3355   echo "$as_me: failed program was:" >&5
3356 sed 's/^/| /' conftest.$ac_ext >&5
3357
3358 fi
3359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3360 done
3361 rm -f conftest*
3362 if test -n "$ac_declaration"; then
3363   echo '#ifdef __cplusplus' >>confdefs.h
3364   echo $ac_declaration      >>confdefs.h
3365   echo '#endif'             >>confdefs.h
3366 fi
3367
3368 ac_ext=c
3369 ac_cpp='$CPP $CPPFLAGS'
3370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3373
3374   CXXFLAGS="$save_CXXFLAGS"
3375
3376
3377
3378
3379   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3380   # available).  Uncomment the next line to force a particular method.
3381   echo "$as_me:$LINENO: checking whether ln -s works" >&5
3382 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3383 LN_S=$as_ln_s
3384 if test "$LN_S" = "ln -s"; then
3385   echo "$as_me:$LINENO: result: yes" >&5
3386 echo "${ECHO_T}yes" >&6
3387 else
3388   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3389 echo "${ECHO_T}no, using $LN_S" >&6
3390 fi
3391
3392   #LN_S='cp -p'
3393
3394   if test -n "$ac_tool_prefix"; then
3395   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3396 set dummy ${ac_tool_prefix}as; ac_word=$2
3397 echo "$as_me:$LINENO: checking for $ac_word" >&5
3398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3399 if test "${ac_cv_prog_AS+set}" = set; then
3400   echo $ECHO_N "(cached) $ECHO_C" >&6
3401 else
3402   if test -n "$AS"; then
3403   ac_cv_prog_AS="$AS" # Let the user override the test.
3404 else
3405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3406 for as_dir in $PATH
3407 do
3408   IFS=$as_save_IFS
3409   test -z "$as_dir" && as_dir=.
3410   for ac_exec_ext in '' $ac_executable_extensions; do
3411   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3412     ac_cv_prog_AS="${ac_tool_prefix}as"
3413     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3414     break 2
3415   fi
3416 done
3417 done
3418
3419 fi
3420 fi
3421 AS=$ac_cv_prog_AS
3422 if test -n "$AS"; then
3423   echo "$as_me:$LINENO: result: $AS" >&5
3424 echo "${ECHO_T}$AS" >&6
3425 else
3426   echo "$as_me:$LINENO: result: no" >&5
3427 echo "${ECHO_T}no" >&6
3428 fi
3429
3430 fi
3431 if test -z "$ac_cv_prog_AS"; then
3432   ac_ct_AS=$AS
3433   # Extract the first word of "as", so it can be a program name with args.
3434 set dummy as; ac_word=$2
3435 echo "$as_me:$LINENO: checking for $ac_word" >&5
3436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3437 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3438   echo $ECHO_N "(cached) $ECHO_C" >&6
3439 else
3440   if test -n "$ac_ct_AS"; then
3441   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3442 else
3443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3444 for as_dir in $PATH
3445 do
3446   IFS=$as_save_IFS
3447   test -z "$as_dir" && as_dir=.
3448   for ac_exec_ext in '' $ac_executable_extensions; do
3449   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3450     ac_cv_prog_ac_ct_AS="as"
3451     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3452     break 2
3453   fi
3454 done
3455 done
3456
3457 fi
3458 fi
3459 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3460 if test -n "$ac_ct_AS"; then
3461   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3462 echo "${ECHO_T}$ac_ct_AS" >&6
3463 else
3464   echo "$as_me:$LINENO: result: no" >&5
3465 echo "${ECHO_T}no" >&6
3466 fi
3467
3468   AS=$ac_ct_AS
3469 else
3470   AS="$ac_cv_prog_AS"
3471 fi
3472
3473   if test -n "$ac_tool_prefix"; then
3474   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3475 set dummy ${ac_tool_prefix}ar; ac_word=$2
3476 echo "$as_me:$LINENO: checking for $ac_word" >&5
3477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3478 if test "${ac_cv_prog_AR+set}" = set; then
3479   echo $ECHO_N "(cached) $ECHO_C" >&6
3480 else
3481   if test -n "$AR"; then
3482   ac_cv_prog_AR="$AR" # Let the user override the test.
3483 else
3484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3485 for as_dir in $PATH
3486 do
3487   IFS=$as_save_IFS
3488   test -z "$as_dir" && as_dir=.
3489   for ac_exec_ext in '' $ac_executable_extensions; do
3490   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3491     ac_cv_prog_AR="${ac_tool_prefix}ar"
3492     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3493     break 2
3494   fi
3495 done
3496 done
3497
3498 fi
3499 fi
3500 AR=$ac_cv_prog_AR
3501 if test -n "$AR"; then
3502   echo "$as_me:$LINENO: result: $AR" >&5
3503 echo "${ECHO_T}$AR" >&6
3504 else
3505   echo "$as_me:$LINENO: result: no" >&5
3506 echo "${ECHO_T}no" >&6
3507 fi
3508
3509 fi
3510 if test -z "$ac_cv_prog_AR"; then
3511   ac_ct_AR=$AR
3512   # Extract the first word of "ar", so it can be a program name with args.
3513 set dummy ar; ac_word=$2
3514 echo "$as_me:$LINENO: checking for $ac_word" >&5
3515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3516 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3517   echo $ECHO_N "(cached) $ECHO_C" >&6
3518 else
3519   if test -n "$ac_ct_AR"; then
3520   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3521 else
3522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3523 for as_dir in $PATH
3524 do
3525   IFS=$as_save_IFS
3526   test -z "$as_dir" && as_dir=.
3527   for ac_exec_ext in '' $ac_executable_extensions; do
3528   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3529     ac_cv_prog_ac_ct_AR="ar"
3530     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3531     break 2
3532   fi
3533 done
3534 done
3535
3536 fi
3537 fi
3538 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3539 if test -n "$ac_ct_AR"; then
3540   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3541 echo "${ECHO_T}$ac_ct_AR" >&6
3542 else
3543   echo "$as_me:$LINENO: result: no" >&5
3544 echo "${ECHO_T}no" >&6
3545 fi
3546
3547   AR=$ac_ct_AR
3548 else
3549   AR="$ac_cv_prog_AR"
3550 fi
3551
3552   if test -n "$ac_tool_prefix"; then
3553   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3554 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3555 echo "$as_me:$LINENO: checking for $ac_word" >&5
3556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3557 if test "${ac_cv_prog_RANLIB+set}" = set; then
3558   echo $ECHO_N "(cached) $ECHO_C" >&6
3559 else
3560   if test -n "$RANLIB"; then
3561   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3562 else
3563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3564 for as_dir in $PATH
3565 do
3566   IFS=$as_save_IFS
3567   test -z "$as_dir" && as_dir=.
3568   for ac_exec_ext in '' $ac_executable_extensions; do
3569   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3570     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3571     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3572     break 2
3573   fi
3574 done
3575 done
3576
3577 fi
3578 fi
3579 RANLIB=$ac_cv_prog_RANLIB
3580 if test -n "$RANLIB"; then
3581   echo "$as_me:$LINENO: result: $RANLIB" >&5
3582 echo "${ECHO_T}$RANLIB" >&6
3583 else
3584   echo "$as_me:$LINENO: result: no" >&5
3585 echo "${ECHO_T}no" >&6
3586 fi
3587
3588 fi
3589 if test -z "$ac_cv_prog_RANLIB"; then
3590   ac_ct_RANLIB=$RANLIB
3591   # Extract the first word of "ranlib", so it can be a program name with args.
3592 set dummy ranlib; ac_word=$2
3593 echo "$as_me:$LINENO: checking for $ac_word" >&5
3594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3595 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3596   echo $ECHO_N "(cached) $ECHO_C" >&6
3597 else
3598   if test -n "$ac_ct_RANLIB"; then
3599   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3600 else
3601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3602 for as_dir in $PATH
3603 do
3604   IFS=$as_save_IFS
3605   test -z "$as_dir" && as_dir=.
3606   for ac_exec_ext in '' $ac_executable_extensions; do
3607   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3608     ac_cv_prog_ac_ct_RANLIB="ranlib"
3609     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3610     break 2
3611   fi
3612 done
3613 done
3614
3615   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3616 fi
3617 fi
3618 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3619 if test -n "$ac_ct_RANLIB"; then
3620   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3621 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3622 else
3623   echo "$as_me:$LINENO: result: no" >&5
3624 echo "${ECHO_T}no" >&6
3625 fi
3626
3627   RANLIB=$ac_ct_RANLIB
3628 else
3629   RANLIB="$ac_cv_prog_RANLIB"
3630 fi
3631
3632
3633   echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3634 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3635     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3636 if test "${enable_maintainer_mode+set}" = set; then
3637   enableval="$enable_maintainer_mode"
3638   USE_MAINTAINER_MODE=$enableval
3639 else
3640   USE_MAINTAINER_MODE=no
3641 fi;
3642   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3643 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3644
3645
3646 if test $USE_MAINTAINER_MODE = yes; then
3647   MAINTAINER_MODE_TRUE=
3648   MAINTAINER_MODE_FALSE='#'
3649 else
3650   MAINTAINER_MODE_TRUE='#'
3651   MAINTAINER_MODE_FALSE=
3652 fi
3653
3654   MAINT=$MAINTAINER_MODE_TRUE
3655
3656
3657
3658   # Set up safe default values for all subsequent AM_CONDITIONAL tests
3659   # which are themselves conditionally expanded.
3660   ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3661   ## other macros from doing the same.  This should be automated.)  -pme
3662   need_libmath=no
3663
3664   # Find platform-specific directories containing configuration info.
3665   # Also possibly modify flags used elsewhere, as needed by the platform.
3666
3667   . $glibcxx_srcdir/configure.host
3668   { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3669 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3670   { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3671 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3672
3673
3674
3675
3676 # Check whether --enable-shared or --disable-shared was given.
3677 if test "${enable_shared+set}" = set; then
3678   enableval="$enable_shared"
3679   p=${PACKAGE-default}
3680 case $enableval in
3681 yes) enable_shared=yes ;;
3682 no) enable_shared=no ;;
3683 *)
3684   enable_shared=no
3685   # Look at the argument we got.  We use all the common list separators.
3686   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3687   for pkg in $enableval; do
3688     if test "X$pkg" = "X$p"; then
3689       enable_shared=yes
3690     fi
3691   done
3692   IFS="$ac_save_ifs"
3693   ;;
3694 esac
3695 else
3696   enable_shared=yes
3697 fi;
3698 # Check whether --enable-static or --disable-static was given.
3699 if test "${enable_static+set}" = set; then
3700   enableval="$enable_static"
3701   p=${PACKAGE-default}
3702 case $enableval in
3703 yes) enable_static=yes ;;
3704 no) enable_static=no ;;
3705 *)
3706   enable_static=no
3707   # Look at the argument we got.  We use all the common list separators.
3708   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3709   for pkg in $enableval; do
3710     if test "X$pkg" = "X$p"; then
3711       enable_static=yes
3712     fi
3713   done
3714   IFS="$ac_save_ifs"
3715   ;;
3716 esac
3717 else
3718   enable_static=yes
3719 fi;
3720 # Check whether --enable-fast-install or --disable-fast-install was given.
3721 if test "${enable_fast_install+set}" = set; then
3722   enableval="$enable_fast_install"
3723   p=${PACKAGE-default}
3724 case $enableval in
3725 yes) enable_fast_install=yes ;;
3726 no) enable_fast_install=no ;;
3727 *)
3728   enable_fast_install=no
3729   # Look at the argument we got.  We use all the common list separators.
3730   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3731   for pkg in $enableval; do
3732     if test "X$pkg" = "X$p"; then
3733       enable_fast_install=yes
3734     fi
3735   done
3736   IFS="$ac_save_ifs"
3737   ;;
3738 esac
3739 else
3740   enable_fast_install=yes
3741 fi;
3742
3743 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3744 if test "${with_gnu_ld+set}" = set; then
3745   withval="$with_gnu_ld"
3746   test "$withval" = no || with_gnu_ld=yes
3747 else
3748   with_gnu_ld=no
3749 fi;
3750 ac_prog=ld
3751 if test "$GCC" = yes; then
3752   # Check if gcc -print-prog-name=ld gives a path.
3753   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3754 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3755   case $host in
3756   *-*-mingw*)
3757     # gcc leaves a trailing carriage return which upsets mingw
3758     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3759   *)
3760     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3761   esac
3762   case $ac_prog in
3763     # Accept absolute paths.
3764     [\\/]* | [A-Za-z]:[\\/]*)
3765       re_direlt='/[^/][^/]*/\.\./'
3766       # Canonicalize the path of ld
3767       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3768       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3769         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3770       done
3771       test -z "$LD" && LD="$ac_prog"
3772       ;;
3773   "")
3774     # If it fails, then pretend we aren't using GCC.
3775     ac_prog=ld
3776     ;;
3777   *)
3778     # If it is relative, then search for the first ld in PATH.
3779     with_gnu_ld=unknown
3780     ;;
3781   esac
3782 elif test "$with_gnu_ld" = yes; then
3783   echo "$as_me:$LINENO: checking for GNU ld" >&5
3784 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3785 else
3786   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3787 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3788 fi
3789 if test "${lt_cv_path_LD+set}" = set; then
3790   echo $ECHO_N "(cached) $ECHO_C" >&6
3791 else
3792   if test -z "$LD"; then
3793   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3794   for ac_dir in $PATH; do
3795     test -z "$ac_dir" && ac_dir=.
3796     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3797       lt_cv_path_LD="$ac_dir/$ac_prog"
3798       # Check to see if the program is GNU ld.  I'd rather use --version,
3799       # but apparently some GNU ld's only accept -v.
3800       # Break only if it was the GNU/non-GNU ld that we prefer.
3801       if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3802         test "$with_gnu_ld" != no && break
3803       else
3804         test "$with_gnu_ld" != yes && break
3805       fi
3806     fi
3807   done
3808   IFS="$ac_save_ifs"
3809 else
3810   lt_cv_path_LD="$LD" # Let the user override the test with a path.
3811 fi
3812 fi
3813
3814 LD="$lt_cv_path_LD"
3815 if test -n "$LD"; then
3816   echo "$as_me:$LINENO: result: $LD" >&5
3817 echo "${ECHO_T}$LD" >&6
3818 else
3819   echo "$as_me:$LINENO: result: no" >&5
3820 echo "${ECHO_T}no" >&6
3821 fi
3822 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3823 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3824    { (exit 1); exit 1; }; }
3825 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3826 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3827 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3828   echo $ECHO_N "(cached) $ECHO_C" >&6
3829 else
3830   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3831 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3832   lt_cv_prog_gnu_ld=yes
3833 else
3834   lt_cv_prog_gnu_ld=no
3835 fi
3836 fi
3837 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3838 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3839 with_gnu_ld=$lt_cv_prog_gnu_ld
3840
3841
3842 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3843 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3844 if test "${lt_cv_ld_reload_flag+set}" = set; then
3845   echo $ECHO_N "(cached) $ECHO_C" >&6
3846 else
3847   lt_cv_ld_reload_flag='-r'
3848 fi
3849 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3850 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3851 reload_flag=$lt_cv_ld_reload_flag
3852 test -n "$reload_flag" && reload_flag=" $reload_flag"
3853
3854 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3855 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3856 if test "${lt_cv_path_NM+set}" = set; then
3857   echo $ECHO_N "(cached) $ECHO_C" >&6
3858 else
3859   if test -n "$NM"; then
3860   # Let the user override the test.
3861   lt_cv_path_NM="$NM"
3862 else
3863   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3864   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3865     test -z "$ac_dir" && ac_dir=.
3866     tmp_nm=$ac_dir/${ac_tool_prefix}nm
3867     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3868       # Check to see if the nm accepts a BSD-compat flag.
3869       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3870       #   nm: unknown option "B" ignored
3871       # Tru64's nm complains that /dev/null is an invalid object file
3872       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3873         lt_cv_path_NM="$tmp_nm -B"
3874         break
3875       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3876         lt_cv_path_NM="$tmp_nm -p"
3877         break
3878       else
3879         lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3880         continue # so that we can try to find one that supports BSD flags
3881       fi
3882     fi
3883   done
3884   IFS="$ac_save_ifs"
3885   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3886 fi
3887 fi
3888
3889 NM="$lt_cv_path_NM"
3890 echo "$as_me:$LINENO: result: $NM" >&5
3891 echo "${ECHO_T}$NM" >&6
3892
3893 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3894 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3895 if test "${lt_cv_deplibs_check_method+set}" = set; then
3896   echo $ECHO_N "(cached) $ECHO_C" >&6
3897 else
3898   lt_cv_file_magic_cmd='$MAGIC_CMD'
3899 lt_cv_file_magic_test_file=
3900 lt_cv_deplibs_check_method='unknown'
3901 # Need to set the preceding variable on all platforms that support
3902 # interlibrary dependencies.
3903 # 'none' -- dependencies not supported.
3904 # `unknown' -- same as none, but documents that we really don't know.
3905 # 'pass_all' -- all dependencies passed with no checks.
3906 # 'test_compile' -- check by making test program.
3907 # 'file_magic [regex]' -- check by looking for files in library path
3908 # which responds to the $file_magic_cmd with a given egrep regex.
3909 # If you have `file' or equivalent on your system and you're not sure
3910 # whether `pass_all' will *always* work, you probably want this one.
3911
3912 case $host_os in
3913 aix*)
3914   lt_cv_deplibs_check_method=pass_all
3915   ;;
3916
3917 beos*)
3918   lt_cv_deplibs_check_method=pass_all
3919   ;;
3920
3921 bsdi4*)
3922   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3923   lt_cv_file_magic_cmd='/usr/bin/file -L'
3924   lt_cv_file_magic_test_file=/shlib/libc.so
3925   ;;
3926
3927 cygwin* | mingw* |pw32*)
3928   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3929   lt_cv_file_magic_cmd='$OBJDUMP -f'
3930   ;;
3931
3932 darwin* | rhapsody*)
3933   # this will be overwritten by pass_all, but leave it in just in case
3934   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3935   lt_cv_file_magic_cmd='/usr/bin/file -L'
3936   case "$host_os" in
3937   rhapsody* | darwin1.012)
3938     lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3939     ;;
3940   *) # Darwin 1.3 on
3941     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3942     ;;
3943   esac
3944   lt_cv_deplibs_check_method=pass_all
3945   ;;
3946
3947 freebsd* | kfreebsd*-gnu)
3948   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3949     case $host_cpu in
3950     i*86 )
3951       # Not sure whether the presence of OpenBSD here was a mistake.
3952       # Let's accept both of them until this is cleared up.
3953       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3954       lt_cv_file_magic_cmd=/usr/bin/file
3955       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3956       ;;
3957     esac
3958   else
3959     lt_cv_deplibs_check_method=pass_all
3960   fi
3961   ;;
3962
3963 gnu*)
3964   lt_cv_deplibs_check_method=pass_all
3965   ;;
3966
3967 hpux10.20*|hpux11*)
3968   case $host_cpu in
3969   hppa*)
3970     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3971     lt_cv_file_magic_cmd=/usr/bin/file
3972     lt_cv_file_magic_test_file=/usr/lib/libc.sl
3973     ;;
3974   ia64*)
3975     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3976     lt_cv_file_magic_cmd=/usr/bin/file
3977     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3978     ;;
3979   esac
3980   ;;
3981
3982 irix5* | irix6*)
3983   case $host_os in
3984   irix5*)
3985     # this will be overridden with pass_all, but let us keep it just in case
3986     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3987     ;;
3988   *)
3989     case $LD in
3990     *-32|*"-32 ") libmagic=32-bit;;
3991     *-n32|*"-n32 ") libmagic=N32;;
3992     *-64|*"-64 ") libmagic=64-bit;;
3993     *) libmagic=never-match;;
3994     esac
3995     # this will be overridden with pass_all, but let us keep it just in case
3996     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3997     ;;
3998   esac
3999   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4000   lt_cv_deplibs_check_method=pass_all
4001   ;;
4002
4003 # This must be Linux ELF.
4004 linux-gnu*)
4005   lt_cv_deplibs_check_method=pass_all
4006   ;;
4007
4008 netbsd* | knetbsd*-gnu)
4009   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4010     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4011   else
4012     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4013   fi
4014   ;;
4015
4016 newsos6)
4017   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4018   lt_cv_file_magic_cmd=/usr/bin/file
4019   lt_cv_file_magic_test_file=/usr/lib/libnls.so
4020   ;;
4021
4022 osf3* | osf4* | osf5*)
4023   # this will be overridden with pass_all, but let us keep it just in case
4024   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4025   lt_cv_file_magic_test_file=/shlib/libc.so
4026   lt_cv_deplibs_check_method=pass_all
4027   ;;
4028
4029 sco3.2v5*)
4030   lt_cv_deplibs_check_method=pass_all
4031   ;;
4032
4033 solaris*)
4034   lt_cv_deplibs_check_method=pass_all
4035   lt_cv_file_magic_test_file=/lib/libc.so
4036   ;;
4037
4038 sysv5uw[78]* | sysv4*uw2*)
4039   lt_cv_deplibs_check_method=pass_all
4040   ;;
4041
4042 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4043   case $host_vendor in
4044   ncr)
4045     lt_cv_deplibs_check_method=pass_all
4046     ;;
4047   motorola)
4048     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]'
4049     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4050     ;;
4051   esac
4052   ;;
4053 esac
4054
4055 fi
4056 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4057 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4058 file_magic_cmd=$lt_cv_file_magic_cmd
4059 deplibs_check_method=$lt_cv_deplibs_check_method
4060
4061
4062
4063
4064
4065 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4066
4067 # find the maximum length of command line arguments
4068 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4069 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4070 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4071   echo $ECHO_N "(cached) $ECHO_C" >&6
4072 else
4073     i=0
4074   teststring="ABCD"
4075
4076   case $build_os in
4077   msdosdjgpp*)
4078     # On DJGPP, this test can blow up pretty badly due to problems in libc
4079     # (any single argument exceeding 2000 bytes causes a buffer overrun
4080     # during glob expansion).  Even if it were fixed, the result of this
4081     # check would be larger than it should be.
4082     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4083     ;;
4084
4085   cygwin* | mingw*)
4086     # On Win9x/ME, this test blows up -- it succeeds, but takes
4087     # about 5 minutes as the teststring grows exponentially.
4088     # Worse, since 9x/ME are not pre-emptively multitasking,
4089     # you end up with a "frozen" computer, even though with patience
4090     # the test eventually succeeds (with a max line length of 256k).
4091     # Instead, let's just punt: use the minimum linelength reported by
4092     # all of the supported platforms: 8192 (on NT/2K/XP).
4093     lt_cv_sys_max_cmd_len=8192;
4094     ;;
4095
4096   amigaos*)
4097     # On AmigaOS with pdksh, this test takes hours, literally.
4098     # So we just punt and use a minimum line length of 8192.
4099     lt_cv_sys_max_cmd_len=8192;
4100     ;;
4101
4102   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4103     # This has been around since 386BSD, at least.  Likely further.
4104     if test -x /sbin/sysctl; then
4105       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4106     elif test -x /usr/sbin/sysctl; then
4107       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4108     else
4109       lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
4110     fi
4111     # And add a safety zone
4112     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4113     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4114     ;;
4115   esac
4116
4117 fi
4118
4119 if test -n "$lt_cv_sys_max_cmd_len" ; then
4120   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4121 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4122 else
4123   echo "$as_me:$LINENO: result: none" >&5
4124 echo "${ECHO_T}none" >&6
4125 fi
4126
4127
4128 # Only perform the check for file, if the check method requires it
4129 case $deplibs_check_method in
4130 file_magic*)
4131   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4132     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4133 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4134 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4135   echo $ECHO_N "(cached) $ECHO_C" >&6
4136 else
4137   case $MAGIC_CMD in
4138   /*)
4139   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4140   ;;
4141   ?:/*)
4142   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4143   ;;
4144   *)
4145   ac_save_MAGIC_CMD="$MAGIC_CMD"
4146   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
4147   ac_dummy="/usr/bin:$PATH"
4148   for ac_dir in $ac_dummy; do
4149     test -z "$ac_dir" && ac_dir=.
4150     if test -f $ac_dir/${ac_tool_prefix}file; then
4151       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4152       if test -n "$file_magic_test_file"; then
4153         case $deplibs_check_method in
4154         "file_magic "*)
4155           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4156           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4157           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4158             egrep "$file_magic_regex" > /dev/null; then
4159             :
4160           else
4161             cat <<EOF 1>&2
4162
4163 *** Warning: the command libtool uses to detect shared libraries,
4164 *** $file_magic_cmd, produces output that libtool cannot recognize.
4165 *** The result is that libtool may fail to recognize shared libraries
4166 *** as such.  This will affect the creation of libtool libraries that
4167 *** depend on shared libraries, but programs linked with such libtool
4168 *** libraries will work regardless of this problem.  Nevertheless, you
4169 *** may want to report the problem to your system manager and/or to
4170 *** bug-libtool@gnu.org
4171
4172 EOF
4173           fi ;;
4174         esac
4175       fi
4176       break
4177     fi
4178   done
4179   IFS="$ac_save_ifs"
4180   MAGIC_CMD="$ac_save_MAGIC_CMD"
4181   ;;
4182 esac
4183 fi
4184
4185 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4186 if test -n "$MAGIC_CMD"; then
4187   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4188 echo "${ECHO_T}$MAGIC_CMD" >&6
4189 else
4190   echo "$as_me:$LINENO: result: no" >&5
4191 echo "${ECHO_T}no" >&6
4192 fi
4193
4194 if test -z "$lt_cv_path_MAGIC_CMD"; then
4195   if test -n "$ac_tool_prefix"; then
4196     echo "$as_me:$LINENO: checking for file" >&5
4197 echo $ECHO_N "checking for file... $ECHO_C" >&6
4198 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4199   echo $ECHO_N "(cached) $ECHO_C" >&6
4200 else
4201   case $MAGIC_CMD in
4202   /*)
4203   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4204   ;;
4205   ?:/*)
4206   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4207   ;;
4208   *)
4209   ac_save_MAGIC_CMD="$MAGIC_CMD"
4210   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
4211   ac_dummy="/usr/bin:$PATH"
4212   for ac_dir in $ac_dummy; do
4213     test -z "$ac_dir" && ac_dir=.
4214     if test -f $ac_dir/file; then
4215       lt_cv_path_MAGIC_CMD="$ac_dir/file"
4216       if test -n "$file_magic_test_file"; then
4217         case $deplibs_check_method in
4218         "file_magic "*)
4219           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4220           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4221           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4222             egrep "$file_magic_regex" > /dev/null; then
4223             :
4224           else
4225             cat <<EOF 1>&2
4226
4227 *** Warning: the command libtool uses to detect shared libraries,
4228 *** $file_magic_cmd, produces output that libtool cannot recognize.
4229 *** The result is that libtool may fail to recognize shared libraries
4230 *** as such.  This will affect the creation of libtool libraries that
4231 *** depend on shared libraries, but programs linked with such libtool
4232 *** libraries will work regardless of this problem.  Nevertheless, you
4233 *** may want to report the problem to your system manager and/or to
4234 *** bug-libtool@gnu.org
4235
4236 EOF
4237           fi ;;
4238         esac
4239       fi
4240       break
4241     fi
4242   done
4243   IFS="$ac_save_ifs"
4244   MAGIC_CMD="$ac_save_MAGIC_CMD"
4245   ;;
4246 esac
4247 fi
4248
4249 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4250 if test -n "$MAGIC_CMD"; then
4251   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4252 echo "${ECHO_T}$MAGIC_CMD" >&6
4253 else
4254   echo "$as_me:$LINENO: result: no" >&5
4255 echo "${ECHO_T}no" >&6
4256 fi
4257
4258   else
4259     MAGIC_CMD=:
4260   fi
4261 fi
4262
4263   fi
4264   ;;
4265 esac
4266
4267 if test -n "$ac_tool_prefix"; then
4268   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4269 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4270 echo "$as_me:$LINENO: checking for $ac_word" >&5
4271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4272 if test "${ac_cv_prog_RANLIB+set}" = set; then
4273   echo $ECHO_N "(cached) $ECHO_C" >&6
4274 else
4275   if test -n "$RANLIB"; then
4276   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4277 else
4278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4279 for as_dir in $PATH
4280 do
4281   IFS=$as_save_IFS
4282   test -z "$as_dir" && as_dir=.
4283   for ac_exec_ext in '' $ac_executable_extensions; do
4284   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4285     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4286     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4287     break 2
4288   fi
4289 done
4290 done
4291
4292 fi
4293 fi
4294 RANLIB=$ac_cv_prog_RANLIB
4295 if test -n "$RANLIB"; then
4296   echo "$as_me:$LINENO: result: $RANLIB" >&5
4297 echo "${ECHO_T}$RANLIB" >&6
4298 else
4299   echo "$as_me:$LINENO: result: no" >&5
4300 echo "${ECHO_T}no" >&6
4301 fi
4302
4303 fi
4304 if test -z "$ac_cv_prog_RANLIB"; then
4305   ac_ct_RANLIB=$RANLIB
4306   # Extract the first word of "ranlib", so it can be a program name with args.
4307 set dummy ranlib; ac_word=$2
4308 echo "$as_me:$LINENO: checking for $ac_word" >&5
4309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4310 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4311   echo $ECHO_N "(cached) $ECHO_C" >&6
4312 else
4313   if test -n "$ac_ct_RANLIB"; then
4314   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4315 else
4316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4317 for as_dir in $PATH
4318 do
4319   IFS=$as_save_IFS
4320   test -z "$as_dir" && as_dir=.
4321   for ac_exec_ext in '' $ac_executable_extensions; do
4322   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4323     ac_cv_prog_ac_ct_RANLIB="ranlib"
4324     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4325     break 2
4326   fi
4327 done
4328 done
4329
4330   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4331 fi
4332 fi
4333 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4334 if test -n "$ac_ct_RANLIB"; then
4335   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4336 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4337 else
4338   echo "$as_me:$LINENO: result: no" >&5
4339 echo "${ECHO_T}no" >&6
4340 fi
4341
4342   RANLIB=$ac_ct_RANLIB
4343 else
4344   RANLIB="$ac_cv_prog_RANLIB"
4345 fi
4346
4347 if test -n "$ac_tool_prefix"; then
4348   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4349 set dummy ${ac_tool_prefix}strip; ac_word=$2
4350 echo "$as_me:$LINENO: checking for $ac_word" >&5
4351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4352 if test "${ac_cv_prog_STRIP+set}" = set; then
4353   echo $ECHO_N "(cached) $ECHO_C" >&6
4354 else
4355   if test -n "$STRIP"; then
4356   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4357 else
4358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4359 for as_dir in $PATH
4360 do
4361   IFS=$as_save_IFS
4362   test -z "$as_dir" && as_dir=.
4363   for ac_exec_ext in '' $ac_executable_extensions; do
4364   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4365     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4366     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4367     break 2
4368   fi
4369 done
4370 done
4371
4372 fi
4373 fi
4374 STRIP=$ac_cv_prog_STRIP
4375 if test -n "$STRIP"; then
4376   echo "$as_me:$LINENO: result: $STRIP" >&5
4377 echo "${ECHO_T}$STRIP" >&6
4378 else
4379   echo "$as_me:$LINENO: result: no" >&5
4380 echo "${ECHO_T}no" >&6
4381 fi
4382
4383 fi
4384 if test -z "$ac_cv_prog_STRIP"; then
4385   ac_ct_STRIP=$STRIP
4386   # Extract the first word of "strip", so it can be a program name with args.
4387 set dummy strip; ac_word=$2
4388 echo "$as_me:$LINENO: checking for $ac_word" >&5
4389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4390 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4391   echo $ECHO_N "(cached) $ECHO_C" >&6
4392 else
4393   if test -n "$ac_ct_STRIP"; then
4394   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4395 else
4396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4397 for as_dir in $PATH
4398 do
4399   IFS=$as_save_IFS
4400   test -z "$as_dir" && as_dir=.
4401   for ac_exec_ext in '' $ac_executable_extensions; do
4402   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4403     ac_cv_prog_ac_ct_STRIP="strip"
4404     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4405     break 2
4406   fi
4407 done
4408 done
4409
4410   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4411 fi
4412 fi
4413 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4414 if test -n "$ac_ct_STRIP"; then
4415   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4416 echo "${ECHO_T}$ac_ct_STRIP" >&6
4417 else
4418   echo "$as_me:$LINENO: result: no" >&5
4419 echo "${ECHO_T}no" >&6
4420 fi
4421
4422   STRIP=$ac_ct_STRIP
4423 else
4424   STRIP="$ac_cv_prog_STRIP"
4425 fi
4426
4427
4428 # Check for any special flags to pass to ltconfig.
4429 libtool_flags="--cache-file=$cache_file"
4430 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4431 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4432 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4433 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4434 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4435
4436
4437 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4438 if test "${enable_libtool_lock+set}" = set; then
4439   enableval="$enable_libtool_lock"
4440
4441 fi;
4442 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4443 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4444
4445
4446 # Check whether --with-pic or --without-pic was given.
4447 if test "${with_pic+set}" = set; then
4448   withval="$with_pic"
4449   pic_mode="$withval"
4450 else
4451   pic_mode=default
4452 fi;
4453 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4454 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4455
4456 # Some flags need to be propagated to the compiler or linker for good
4457 # libtool support.
4458 case $host in
4459 *-*-irix6*)
4460   # Find out which ABI we are using.
4461   echo '#line 4461 "configure"' > conftest.$ac_ext
4462   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4463   (eval $ac_compile) 2>&5
4464   ac_status=$?
4465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4466   (exit $ac_status); }; then
4467    if test "$lt_cv_prog_gnu_ld" = yes; then
4468     case `/usr/bin/file conftest.$ac_objext` in
4469     *32-bit*)
4470       LD="${LD-ld} -melf32bsmip"
4471       ;;
4472     *N32*)
4473       LD="${LD-ld} -melf32bmipn32"
4474       ;;
4475     *64-bit*)
4476       LD="${LD-ld} -melf64bmip"
4477       ;;
4478     esac
4479    else
4480     case `/usr/bin/file conftest.$ac_objext` in
4481     *32-bit*)
4482       LD="${LD-ld} -32"
4483       ;;
4484     *N32*)
4485       LD="${LD-ld} -n32"
4486       ;;
4487     *64-bit*)
4488       LD="${LD-ld} -64"
4489       ;;
4490     esac
4491    fi
4492   fi
4493   rm -rf conftest*
4494   ;;
4495
4496 ia64-*-hpux*)
4497   # Find out which ABI we are using.
4498   echo 'int i;' > conftest.$ac_ext
4499   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4500   (eval $ac_compile) 2>&5
4501   ac_status=$?
4502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4503   (exit $ac_status); }; then
4504     case "`/usr/bin/file conftest.o`" in
4505     *ELF-32*)
4506       HPUX_IA64_MODE="32"
4507       ;;
4508     *ELF-64*)
4509       HPUX_IA64_MODE="64"
4510       ;;
4511     esac
4512   fi
4513   rm -rf conftest*
4514   ;;
4515
4516 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4517   # Find out which ABI we are using.
4518   echo 'int i;' > conftest.$ac_ext
4519   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4520   (eval $ac_compile) 2>&5
4521   ac_status=$?
4522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4523   (exit $ac_status); }; then
4524     case "`/usr/bin/file conftest.o`" in
4525     *32-bit*)
4526       case $host in
4527         x86_64-*linux*)
4528           LD="${LD-ld} -m elf_i386"
4529           ;;
4530         ppc64-*linux*|powerpc64-*linux*)
4531           LD="${LD-ld} -m elf32ppclinux"
4532           ;;
4533         s390x-*linux*)
4534           LD="${LD-ld} -m elf_s390"
4535           ;;
4536         sparc64-*linux*)
4537           LD="${LD-ld} -m elf32_sparc"
4538           ;;
4539       esac
4540       ;;
4541     *64-bit*)
4542       case $host in
4543         x86_64-*linux*)
4544           LD="${LD-ld} -m elf_x86_64"
4545           ;;
4546         ppc*-*linux*|powerpc*-*linux*)
4547           LD="${LD-ld} -m elf64ppc"
4548           ;;
4549         s390*-*linux*)
4550           LD="${LD-ld} -m elf64_s390"
4551           ;;
4552         sparc*-*linux*)
4553           LD="${LD-ld} -m elf64_sparc"
4554           ;;
4555       esac
4556       ;;
4557     esac
4558   fi
4559   rm -rf conftest*
4560   ;;
4561
4562 *-*-sco3.2v5*)
4563   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4564   SAVE_CFLAGS="$CFLAGS"
4565   CFLAGS="$CFLAGS -belf"
4566   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4567 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4568 if test "${lt_cv_cc_needs_belf+set}" = set; then
4569   echo $ECHO_N "(cached) $ECHO_C" >&6
4570 else
4571
4572
4573      ac_ext=c
4574 ac_cpp='$CPP $CPPFLAGS'
4575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4578
4579      if test x$gcc_no_link = xyes; then
4580   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4582    { (exit 1); exit 1; }; }
4583 fi
4584 cat >conftest.$ac_ext <<_ACEOF
4585 /* confdefs.h.  */
4586 _ACEOF
4587 cat confdefs.h >>conftest.$ac_ext
4588 cat >>conftest.$ac_ext <<_ACEOF
4589 /* end confdefs.h.  */
4590
4591 int
4592 main ()
4593 {
4594
4595   ;
4596   return 0;
4597 }
4598 _ACEOF
4599 rm -f conftest.$ac_objext conftest$ac_exeext
4600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4601   (eval $ac_link) 2>conftest.er1
4602   ac_status=$?
4603   grep -v '^ *+' conftest.er1 >conftest.err
4604   rm -f conftest.er1
4605   cat conftest.err >&5
4606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4607   (exit $ac_status); } &&
4608          { ac_try='test -z "$ac_c_werror_flag"
4609                          || test ! -s conftest.err'
4610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4611   (eval $ac_try) 2>&5
4612   ac_status=$?
4613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4614   (exit $ac_status); }; } &&
4615          { ac_try='test -s conftest$ac_exeext'
4616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4617   (eval $ac_try) 2>&5
4618   ac_status=$?
4619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4620   (exit $ac_status); }; }; then
4621   lt_cv_cc_needs_belf=yes
4622 else
4623   echo "$as_me: failed program was:" >&5
4624 sed 's/^/| /' conftest.$ac_ext >&5
4625
4626 lt_cv_cc_needs_belf=no
4627 fi
4628 rm -f conftest.err conftest.$ac_objext \
4629       conftest$ac_exeext conftest.$ac_ext
4630      ac_ext=c
4631 ac_cpp='$CPP $CPPFLAGS'
4632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4635
4636 fi
4637 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4638 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4639   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4640     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4641     CFLAGS="$SAVE_CFLAGS"
4642   fi
4643   ;;
4644
4645
4646 esac
4647
4648
4649 # Save cache, so that ltconfig can load it
4650 cat >confcache <<\_ACEOF
4651 # This file is a shell script that caches the results of configure
4652 # tests run on this system so they can be shared between configure
4653 # scripts and configure runs, see configure's option --config-cache.
4654 # It is not useful on other systems.  If it contains results you don't
4655 # want to keep, you may remove or edit it.
4656 #
4657 # config.status only pays attention to the cache file if you give it
4658 # the --recheck option to rerun configure.
4659 #
4660 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4661 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4662 # following values.
4663
4664 _ACEOF
4665
4666 # The following way of writing the cache mishandles newlines in values,
4667 # but we know of no workaround that is simple, portable, and efficient.
4668 # So, don't put newlines in cache variables' values.
4669 # Ultrix sh set writes to stderr and can't be redirected directly,
4670 # and sets the high bit in the cache file unless we assign to the vars.
4671 {
4672   (set) 2>&1 |
4673     case `(ac_space=' '; set | grep ac_space) 2>&1` in
4674     *ac_space=\ *)
4675       # `set' does not quote correctly, so add quotes (double-quote
4676       # substitution turns \\\\ into \\, and sed turns \\ into \).
4677       sed -n \
4678         "s/'/'\\\\''/g;
4679           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4680       ;;
4681     *)
4682       # `set' quotes correctly as required by POSIX, so do not add quotes.
4683       sed -n \
4684         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4685       ;;
4686     esac;
4687 } |
4688   sed '
4689      t clear
4690      : clear
4691      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4692      t end
4693      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4694      : end' >>confcache
4695 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4696   if test -w $cache_file; then
4697     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4698     cat confcache >$cache_file
4699   else
4700     echo "not updating unwritable cache $cache_file"
4701   fi
4702 fi
4703 rm -f confcache
4704
4705 # Actually configure libtool.  ac_aux_dir is where install-sh is found.
4706 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4707 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4708 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4709 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4710 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4711 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4712 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4713 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4714 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4715 echo "$as_me: error: libtool configure failed" >&2;}
4716    { (exit 1); exit 1; }; }
4717
4718 # Reload cache, that may have been modified by ltconfig
4719 if test -r "$cache_file"; then
4720   # Some versions of bash will fail to source /dev/null (special
4721   # files actually), so we avoid doing that.
4722   if test -f "$cache_file"; then
4723     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4724 echo "$as_me: loading cache $cache_file" >&6;}
4725     case $cache_file in
4726       [\\/]* | ?:[\\/]* ) . $cache_file;;
4727       *)                      . ./$cache_file;;
4728     esac
4729   fi
4730 else
4731   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4732 echo "$as_me: creating cache $cache_file" >&6;}
4733   >$cache_file
4734 fi
4735
4736
4737 # This can be used to rebuild libtool when needed
4738 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4739
4740 # Always use our own libtool.
4741 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4742
4743 # Redirect the config.log output again, so that the ltconfig log is not
4744 # clobbered by the next message.
4745 exec 5>>./config.log
4746
4747 ac_ext=cc
4748 ac_cpp='$CXXCPP $CPPFLAGS'
4749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4752 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4753 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4754 if test -z "$CXXCPP"; then
4755   if test "${ac_cv_prog_CXXCPP+set}" = set; then
4756   echo $ECHO_N "(cached) $ECHO_C" >&6
4757 else
4758       # Double quotes because CXXCPP needs to be expanded
4759     for CXXCPP in "$CXX -E" "/lib/cpp"
4760     do
4761       ac_preproc_ok=false
4762 for ac_cxx_preproc_warn_flag in '' yes
4763 do
4764   # Use a header file that comes with gcc, so configuring glibc
4765   # with a fresh cross-compiler works.
4766   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4767   # <limits.h> exists even on freestanding compilers.
4768   # On the NeXT, cc -E runs the code through the compiler's parser,
4769   # not just through cpp. "Syntax error" is here to catch this case.
4770   cat >conftest.$ac_ext <<_ACEOF
4771 /* confdefs.h.  */
4772 _ACEOF
4773 cat confdefs.h >>conftest.$ac_ext
4774 cat >>conftest.$ac_ext <<_ACEOF
4775 /* end confdefs.h.  */
4776 #ifdef __STDC__
4777 # include <limits.h>
4778 #else
4779 # include <assert.h>
4780 #endif
4781                      Syntax error
4782 _ACEOF
4783 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4784   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4785   ac_status=$?
4786   grep -v '^ *+' conftest.er1 >conftest.err
4787   rm -f conftest.er1
4788   cat conftest.err >&5
4789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4790   (exit $ac_status); } >/dev/null; then
4791   if test -s conftest.err; then
4792     ac_cpp_err=$ac_cxx_preproc_warn_flag
4793     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4794   else
4795     ac_cpp_err=
4796   fi
4797 else
4798   ac_cpp_err=yes
4799 fi
4800 if test -z "$ac_cpp_err"; then
4801   :
4802 else
4803   echo "$as_me: failed program was:" >&5
4804 sed 's/^/| /' conftest.$ac_ext >&5
4805
4806   # Broken: fails on valid input.
4807 continue
4808 fi
4809 rm -f conftest.err conftest.$ac_ext
4810
4811   # OK, works on sane cases.  Now check whether non-existent headers
4812   # can be detected and how.
4813   cat >conftest.$ac_ext <<_ACEOF
4814 /* confdefs.h.  */
4815 _ACEOF
4816 cat confdefs.h >>conftest.$ac_ext
4817 cat >>conftest.$ac_ext <<_ACEOF
4818 /* end confdefs.h.  */
4819 #include <ac_nonexistent.h>
4820 _ACEOF
4821 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4822   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4823   ac_status=$?
4824   grep -v '^ *+' conftest.er1 >conftest.err
4825   rm -f conftest.er1
4826   cat conftest.err >&5
4827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828   (exit $ac_status); } >/dev/null; then
4829   if test -s conftest.err; then
4830     ac_cpp_err=$ac_cxx_preproc_warn_flag
4831     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4832   else
4833     ac_cpp_err=
4834   fi
4835 else
4836   ac_cpp_err=yes
4837 fi
4838 if test -z "$ac_cpp_err"; then
4839   # Broken: success on invalid input.
4840 continue
4841 else
4842   echo "$as_me: failed program was:" >&5
4843 sed 's/^/| /' conftest.$ac_ext >&5
4844
4845   # Passes both tests.
4846 ac_preproc_ok=:
4847 break
4848 fi
4849 rm -f conftest.err conftest.$ac_ext
4850
4851 done
4852 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4853 rm -f conftest.err conftest.$ac_ext
4854 if $ac_preproc_ok; then
4855   break
4856 fi
4857
4858     done
4859     ac_cv_prog_CXXCPP=$CXXCPP
4860
4861 fi
4862   CXXCPP=$ac_cv_prog_CXXCPP
4863 else
4864   ac_cv_prog_CXXCPP=$CXXCPP
4865 fi
4866 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4867 echo "${ECHO_T}$CXXCPP" >&6
4868 ac_preproc_ok=false
4869 for ac_cxx_preproc_warn_flag in '' yes
4870 do
4871   # Use a header file that comes with gcc, so configuring glibc
4872   # with a fresh cross-compiler works.
4873   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4874   # <limits.h> exists even on freestanding compilers.
4875   # On the NeXT, cc -E runs the code through the compiler's parser,
4876   # not just through cpp. "Syntax error" is here to catch this case.
4877   cat >conftest.$ac_ext <<_ACEOF
4878 /* confdefs.h.  */
4879 _ACEOF
4880 cat confdefs.h >>conftest.$ac_ext
4881 cat >>conftest.$ac_ext <<_ACEOF
4882 /* end confdefs.h.  */
4883 #ifdef __STDC__
4884 # include <limits.h>
4885 #else
4886 # include <assert.h>
4887 #endif
4888                      Syntax error
4889 _ACEOF
4890 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4891   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4892   ac_status=$?
4893   grep -v '^ *+' conftest.er1 >conftest.err
4894   rm -f conftest.er1
4895   cat conftest.err >&5
4896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4897   (exit $ac_status); } >/dev/null; then
4898   if test -s conftest.err; then
4899     ac_cpp_err=$ac_cxx_preproc_warn_flag
4900     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4901   else
4902     ac_cpp_err=
4903   fi
4904 else
4905   ac_cpp_err=yes
4906 fi
4907 if test -z "$ac_cpp_err"; then
4908   :
4909 else
4910   echo "$as_me: failed program was:" >&5
4911 sed 's/^/| /' conftest.$ac_ext >&5
4912
4913   # Broken: fails on valid input.
4914 continue
4915 fi
4916 rm -f conftest.err conftest.$ac_ext
4917
4918   # OK, works on sane cases.  Now check whether non-existent headers
4919   # can be detected and how.
4920   cat >conftest.$ac_ext <<_ACEOF
4921 /* confdefs.h.  */
4922 _ACEOF
4923 cat confdefs.h >>conftest.$ac_ext
4924 cat >>conftest.$ac_ext <<_ACEOF
4925 /* end confdefs.h.  */
4926 #include <ac_nonexistent.h>
4927 _ACEOF
4928 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4929   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4930   ac_status=$?
4931   grep -v '^ *+' conftest.er1 >conftest.err
4932   rm -f conftest.er1
4933   cat conftest.err >&5
4934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4935   (exit $ac_status); } >/dev/null; then
4936   if test -s conftest.err; then
4937     ac_cpp_err=$ac_cxx_preproc_warn_flag
4938     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4939   else
4940     ac_cpp_err=
4941   fi
4942 else
4943   ac_cpp_err=yes
4944 fi
4945 if test -z "$ac_cpp_err"; then
4946   # Broken: success on invalid input.
4947 continue
4948 else
4949   echo "$as_me: failed program was:" >&5
4950 sed 's/^/| /' conftest.$ac_ext >&5
4951
4952   # Passes both tests.
4953 ac_preproc_ok=:
4954 break
4955 fi
4956 rm -f conftest.err conftest.$ac_ext
4957
4958 done
4959 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4960 rm -f conftest.err conftest.$ac_ext
4961 if $ac_preproc_ok; then
4962   :
4963 else
4964   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4965 See \`config.log' for more details." >&5
4966 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4967 See \`config.log' for more details." >&2;}
4968    { (exit 1); exit 1; }; }
4969 fi
4970
4971 ac_ext=c
4972 ac_cpp='$CPP $CPPFLAGS'
4973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4976
4977
4978
4979 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4980 lt_save_CC="$CC"
4981 lt_save_CFLAGS="$CFLAGS"
4982 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4983 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4984 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4985 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4986 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4987 deplibs_check_method="$deplibs_check_method" \
4988 file_magic_cmd="$file_magic_cmd" \
4989 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4990 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4991 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4992 echo "$as_me: error: libtool tag configuration failed" >&2;}
4993    { (exit 1); exit 1; }; }
4994 CC="$lt_save_CC"
4995 CFLAGS="$lt_save_CFLAGS"
4996
4997 # Redirect the config.log output again, so that the ltconfig log is not
4998 # clobbered by the next message.
4999 exec 5>>./config.log
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009 # Possibly disable most of the library.
5010 ## TODO: Consider skipping unncessary tests altogether in this case, rather
5011 ## than just ignoring the results.  Faster /and/ more correct, win win.
5012
5013   # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
5014 if test "${enable_hosted_libstdcxx+set}" = set; then
5015   enableval="$enable_hosted_libstdcxx"
5016
5017 else
5018   case "$host" in
5019         arm*-*-symbianelf*)
5020             enable_hosted_libstdcxx=no
5021             ;;
5022         *)
5023             enable_hosted_libstdcxx=yes
5024             ;;
5025      esac
5026 fi;
5027   if test "$enable_hosted_libstdcxx" = no; then
5028     { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
5029 echo "$as_me: Only freestanding libraries will be built" >&6;}
5030     is_hosted=no
5031     hosted_define=0
5032     enable_abi_check=no
5033     enable_libstdcxx_pch=no
5034   else
5035     is_hosted=yes
5036     hosted_define=1
5037   fi
5038
5039
5040 cat >>confdefs.h <<_ACEOF
5041 #define _GLIBCXX_HOSTED $hosted_define
5042 _ACEOF
5043
5044
5045
5046 # Check for compiler support that doesn't require linking.
5047
5048   echo "$as_me:$LINENO: checking for exception model to use" >&5
5049 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
5050
5051
5052   ac_ext=cc
5053 ac_cpp='$CXXCPP $CPPFLAGS'
5054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5057
5058    # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
5059 if test "${enable_sjlj_exceptions+set}" = set; then
5060   enableval="$enable_sjlj_exceptions"
5061
5062       case "$enableval" in
5063        yes|no|auto) ;;
5064        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
5065 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
5066    { (exit 1); exit 1; }; } ;;
5067                           esac
5068
5069 else
5070   enable_sjlj_exceptions=auto
5071 fi;
5072
5073
5074   if test $enable_sjlj_exceptions = auto; then
5075     # Botheration.  Now we've got to detect the exception model.  Link tests
5076     # against libgcc.a are problematic since we've not been given proper -L
5077     # bits for single-tree newlib and libgloss.
5078     #
5079     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
5080     cat > conftest.$ac_ext << EOF
5081 #line 5081 "configure"
5082 struct S { ~S(); };
5083 void bar();
5084 void foo()
5085 {
5086   S s;
5087   bar();
5088 }
5089 EOF
5090     old_CXXFLAGS="$CXXFLAGS"
5091     CXXFLAGS=-S
5092     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5093   (eval $ac_compile) 2>&5
5094   ac_status=$?
5095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5096   (exit $ac_status); }; then
5097       if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
5098         enable_sjlj_exceptions=yes
5099       elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
5100         enable_sjlj_exceptions=no
5101       elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
5102         enable_sjlj_exceptions=no
5103       fi
5104     fi
5105     CXXFLAGS="$old_CXXFLAGS"
5106     rm -f conftest*
5107   fi
5108
5109   # This is a tad weird, for hysterical raisins.  We have to map
5110   # enable/disable to two different models.
5111   case $enable_sjlj_exceptions in
5112     yes)
5113
5114 cat >>confdefs.h <<\_ACEOF
5115 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
5116 _ACEOF
5117
5118       ac_exception_model_name=sjlj
5119       ;;
5120     no)
5121       ac_exception_model_name="call frame"
5122       ;;
5123     *)
5124       { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5125 echo "$as_me: error: unable to detect exception model" >&2;}
5126    { (exit 1); exit 1; }; }
5127       ;;
5128   esac
5129  ac_ext=c
5130 ac_cpp='$CPP $CPPFLAGS'
5131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5134
5135  echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5136 echo "${ECHO_T}$ac_exception_model_name" >&6
5137
5138
5139    # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
5140 if test "${enable_libstdcxx_pch+set}" = set; then
5141   enableval="$enable_libstdcxx_pch"
5142
5143       case "$enableval" in
5144        yes|no) ;;
5145        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
5146 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
5147    { (exit 1); exit 1; }; } ;;
5148       esac
5149
5150 else
5151   enable_libstdcxx_pch=$is_hosted
5152 fi;
5153
5154   if test $enable_libstdcxx_pch = yes; then
5155     echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
5156 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
5157 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
5158   echo $ECHO_N "(cached) $ECHO_C" >&6
5159 else
5160   ac_save_CXXFLAGS="$CXXFLAGS"
5161        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
5162
5163
5164        ac_ext=cc
5165 ac_cpp='$CXXCPP $CPPFLAGS'
5166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5169
5170        echo '#include <math.h>' > conftest.h
5171        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
5172                           -o conftest.h.gch 1>&5 2>&1 &&
5173                 echo '#error "pch failed"' > conftest.h &&
5174           echo '#include "conftest.h"' > conftest.cc &&
5175                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5176        then
5177          glibcxx_cv_prog_CXX_pch=yes
5178        else
5179          glibcxx_cv_prog_CXX_pch=no
5180        fi
5181        rm -f conftest*
5182        CXXFLAGS=$ac_save_CXXFLAGS
5183        ac_ext=c
5184 ac_cpp='$CPP $CPPFLAGS'
5185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5188
5189
5190 fi
5191 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5192 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5193     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5194   fi
5195
5196   echo "$as_me:$LINENO: checking for enabled PCH" >&5
5197 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
5198   echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
5199 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
5200
5201
5202   if test $enable_libstdcxx_pch = yes; then
5203     glibcxx_PCHFLAGS="-include bits/stdc++.h"
5204   else
5205     glibcxx_PCHFLAGS=""
5206   fi
5207
5208
5209
5210 # Enable all the variable C++ runtime options.
5211
5212   echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5213 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5214    # Check whether --enable-cstdio or --disable-cstdio was given.
5215 if test "${enable_cstdio+set}" = set; then
5216   enableval="$enable_cstdio"
5217
5218       case "$enableval" in
5219        stdio) ;;
5220        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5221 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5222    { (exit 1); exit 1; }; } ;;
5223                           esac
5224
5225 else
5226   enable_cstdio=stdio
5227 fi;
5228
5229
5230   # Now that libio has been removed, you can have any color you want as long
5231   # as it's black.  This is one big no-op until other packages are added, but
5232   # showing the framework never hurts.
5233   case ${enable_cstdio} in
5234     stdio)
5235       CSTDIO_H=config/io/c_io_stdio.h
5236       BASIC_FILE_H=config/io/basic_file_stdio.h
5237       BASIC_FILE_CC=config/io/basic_file_stdio.cc
5238       echo "$as_me:$LINENO: result: stdio" >&5
5239 echo "${ECHO_T}stdio" >&6
5240       ;;
5241   esac
5242
5243
5244
5245
5246
5247 ac_ext=c
5248 ac_cpp='$CPP $CPPFLAGS'
5249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5252 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5253 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5254 # On Suns, sometimes $CPP names a directory.
5255 if test -n "$CPP" && test -d "$CPP"; then
5256   CPP=
5257 fi
5258 if test -z "$CPP"; then
5259   if test "${ac_cv_prog_CPP+set}" = set; then
5260   echo $ECHO_N "(cached) $ECHO_C" >&6
5261 else
5262       # Double quotes because CPP needs to be expanded
5263     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5264     do
5265       ac_preproc_ok=false
5266 for ac_c_preproc_warn_flag in '' yes
5267 do
5268   # Use a header file that comes with gcc, so configuring glibc
5269   # with a fresh cross-compiler works.
5270   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5271   # <limits.h> exists even on freestanding compilers.
5272   # On the NeXT, cc -E runs the code through the compiler's parser,
5273   # not just through cpp. "Syntax error" is here to catch this case.
5274   cat >conftest.$ac_ext <<_ACEOF
5275 /* confdefs.h.  */
5276 _ACEOF
5277 cat confdefs.h >>conftest.$ac_ext
5278 cat >>conftest.$ac_ext <<_ACEOF
5279 /* end confdefs.h.  */
5280 #ifdef __STDC__
5281 # include <limits.h>
5282 #else
5283 # include <assert.h>
5284 #endif
5285                      Syntax error
5286 _ACEOF
5287 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5288   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5289   ac_status=$?
5290   grep -v '^ *+' conftest.er1 >conftest.err
5291   rm -f conftest.er1
5292   cat conftest.err >&5
5293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5294   (exit $ac_status); } >/dev/null; then
5295   if test -s conftest.err; then
5296     ac_cpp_err=$ac_c_preproc_warn_flag
5297     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5298   else
5299     ac_cpp_err=
5300   fi
5301 else
5302   ac_cpp_err=yes
5303 fi
5304 if test -z "$ac_cpp_err"; then
5305   :
5306 else
5307   echo "$as_me: failed program was:" >&5
5308 sed 's/^/| /' conftest.$ac_ext >&5
5309
5310   # Broken: fails on valid input.
5311 continue
5312 fi
5313 rm -f conftest.err conftest.$ac_ext
5314
5315   # OK, works on sane cases.  Now check whether non-existent headers
5316   # can be detected and how.
5317   cat >conftest.$ac_ext <<_ACEOF
5318 /* confdefs.h.  */
5319 _ACEOF
5320 cat confdefs.h >>conftest.$ac_ext
5321 cat >>conftest.$ac_ext <<_ACEOF
5322 /* end confdefs.h.  */
5323 #include <ac_nonexistent.h>
5324 _ACEOF
5325 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5326   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5327   ac_status=$?
5328   grep -v '^ *+' conftest.er1 >conftest.err
5329   rm -f conftest.er1
5330   cat conftest.err >&5
5331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5332   (exit $ac_status); } >/dev/null; then
5333   if test -s conftest.err; then
5334     ac_cpp_err=$ac_c_preproc_warn_flag
5335     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5336   else
5337     ac_cpp_err=
5338   fi
5339 else
5340   ac_cpp_err=yes
5341 fi
5342 if test -z "$ac_cpp_err"; then
5343   # Broken: success on invalid input.
5344 continue
5345 else
5346   echo "$as_me: failed program was:" >&5
5347 sed 's/^/| /' conftest.$ac_ext >&5
5348
5349   # Passes both tests.
5350 ac_preproc_ok=:
5351 break
5352 fi
5353 rm -f conftest.err conftest.$ac_ext
5354
5355 done
5356 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5357 rm -f conftest.err conftest.$ac_ext
5358 if $ac_preproc_ok; then
5359   break
5360 fi
5361
5362     done
5363     ac_cv_prog_CPP=$CPP
5364
5365 fi
5366   CPP=$ac_cv_prog_CPP
5367 else
5368   ac_cv_prog_CPP=$CPP
5369 fi
5370 echo "$as_me:$LINENO: result: $CPP" >&5
5371 echo "${ECHO_T}$CPP" >&6
5372 ac_preproc_ok=false
5373 for ac_c_preproc_warn_flag in '' yes
5374 do
5375   # Use a header file that comes with gcc, so configuring glibc
5376   # with a fresh cross-compiler works.
5377   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5378   # <limits.h> exists even on freestanding compilers.
5379   # On the NeXT, cc -E runs the code through the compiler's parser,
5380   # not just through cpp. "Syntax error" is here to catch this case.
5381   cat >conftest.$ac_ext <<_ACEOF
5382 /* confdefs.h.  */
5383 _ACEOF
5384 cat confdefs.h >>conftest.$ac_ext
5385 cat >>conftest.$ac_ext <<_ACEOF
5386 /* end confdefs.h.  */
5387 #ifdef __STDC__
5388 # include <limits.h>
5389 #else
5390 # include <assert.h>
5391 #endif
5392                      Syntax error
5393 _ACEOF
5394 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5395   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5396   ac_status=$?
5397   grep -v '^ *+' conftest.er1 >conftest.err
5398   rm -f conftest.er1
5399   cat conftest.err >&5
5400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5401   (exit $ac_status); } >/dev/null; then
5402   if test -s conftest.err; then
5403     ac_cpp_err=$ac_c_preproc_warn_flag
5404     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5405   else
5406     ac_cpp_err=
5407   fi
5408 else
5409   ac_cpp_err=yes
5410 fi
5411 if test -z "$ac_cpp_err"; then
5412   :
5413 else
5414   echo "$as_me: failed program was:" >&5
5415 sed 's/^/| /' conftest.$ac_ext >&5
5416
5417   # Broken: fails on valid input.
5418 continue
5419 fi
5420 rm -f conftest.err conftest.$ac_ext
5421
5422   # OK, works on sane cases.  Now check whether non-existent headers
5423   # can be detected and how.
5424   cat >conftest.$ac_ext <<_ACEOF
5425 /* confdefs.h.  */
5426 _ACEOF
5427 cat confdefs.h >>conftest.$ac_ext
5428 cat >>conftest.$ac_ext <<_ACEOF
5429 /* end confdefs.h.  */
5430 #include <ac_nonexistent.h>
5431 _ACEOF
5432 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5433   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5434   ac_status=$?
5435   grep -v '^ *+' conftest.er1 >conftest.err
5436   rm -f conftest.er1
5437   cat conftest.err >&5
5438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5439   (exit $ac_status); } >/dev/null; then
5440   if test -s conftest.err; then
5441     ac_cpp_err=$ac_c_preproc_warn_flag
5442     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5443   else
5444     ac_cpp_err=
5445   fi
5446 else
5447   ac_cpp_err=yes
5448 fi
5449 if test -z "$ac_cpp_err"; then
5450   # Broken: success on invalid input.
5451 continue
5452 else
5453   echo "$as_me: failed program was:" >&5
5454 sed 's/^/| /' conftest.$ac_ext >&5
5455
5456   # Passes both tests.
5457 ac_preproc_ok=:
5458 break
5459 fi
5460 rm -f conftest.err conftest.$ac_ext
5461
5462 done
5463 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5464 rm -f conftest.err conftest.$ac_ext
5465 if $ac_preproc_ok; then
5466   :
5467 else
5468   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5469 See \`config.log' for more details." >&5
5470 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5471 See \`config.log' for more details." >&2;}
5472    { (exit 1); exit 1; }; }
5473 fi
5474
5475 ac_ext=c
5476 ac_cpp='$CPP $CPPFLAGS'
5477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5480
5481
5482 echo "$as_me:$LINENO: checking for egrep" >&5
5483 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5484 if test "${ac_cv_prog_egrep+set}" = set; then
5485   echo $ECHO_N "(cached) $ECHO_C" >&6
5486 else
5487   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5488     then ac_cv_prog_egrep='grep -E'
5489     else ac_cv_prog_egrep='egrep'
5490     fi
5491 fi
5492 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5493 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5494  EGREP=$ac_cv_prog_egrep
5495
5496
5497 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5498 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5499 if test "${ac_cv_header_stdc+set}" = set; then
5500   echo $ECHO_N "(cached) $ECHO_C" >&6
5501 else
5502   cat >conftest.$ac_ext <<_ACEOF
5503 /* confdefs.h.  */
5504 _ACEOF
5505 cat confdefs.h >>conftest.$ac_ext
5506 cat >>conftest.$ac_ext <<_ACEOF
5507 /* end confdefs.h.  */
5508 #include <stdlib.h>
5509 #include <stdarg.h>
5510 #include <string.h>
5511 #include <float.h>
5512
5513 int
5514 main ()
5515 {
5516
5517   ;
5518   return 0;
5519 }
5520 _ACEOF
5521 rm -f conftest.$ac_objext
5522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5523   (eval $ac_compile) 2>conftest.er1
5524   ac_status=$?
5525   grep -v '^ *+' conftest.er1 >conftest.err
5526   rm -f conftest.er1
5527   cat conftest.err >&5
5528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5529   (exit $ac_status); } &&
5530          { ac_try='test -z "$ac_c_werror_flag"
5531                          || test ! -s conftest.err'
5532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5533   (eval $ac_try) 2>&5
5534   ac_status=$?
5535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5536   (exit $ac_status); }; } &&
5537          { ac_try='test -s conftest.$ac_objext'
5538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5539   (eval $ac_try) 2>&5
5540   ac_status=$?
5541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5542   (exit $ac_status); }; }; then
5543   ac_cv_header_stdc=yes
5544 else
5545   echo "$as_me: failed program was:" >&5
5546 sed 's/^/| /' conftest.$ac_ext >&5
5547
5548 ac_cv_header_stdc=no
5549 fi
5550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5551
5552 if test $ac_cv_header_stdc = yes; then
5553   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5554   cat >conftest.$ac_ext <<_ACEOF
5555 /* confdefs.h.  */
5556 _ACEOF
5557 cat confdefs.h >>conftest.$ac_ext
5558 cat >>conftest.$ac_ext <<_ACEOF
5559 /* end confdefs.h.  */
5560 #include <string.h>
5561
5562 _ACEOF
5563 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5564   $EGREP "memchr" >/dev/null 2>&1; then
5565   :
5566 else
5567   ac_cv_header_stdc=no
5568 fi
5569 rm -f conftest*
5570
5571 fi
5572
5573 if test $ac_cv_header_stdc = yes; then
5574   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5575   cat >conftest.$ac_ext <<_ACEOF
5576 /* confdefs.h.  */
5577 _ACEOF
5578 cat confdefs.h >>conftest.$ac_ext
5579 cat >>conftest.$ac_ext <<_ACEOF
5580 /* end confdefs.h.  */
5581 #include <stdlib.h>
5582
5583 _ACEOF
5584 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5585   $EGREP "free" >/dev/null 2>&1; then
5586   :
5587 else
5588   ac_cv_header_stdc=no
5589 fi
5590 rm -f conftest*
5591
5592 fi
5593
5594 if test $ac_cv_header_stdc = yes; then
5595   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5596   if test "$cross_compiling" = yes; then
5597   :
5598 else
5599   cat >conftest.$ac_ext <<_ACEOF
5600 /* confdefs.h.  */
5601 _ACEOF
5602 cat confdefs.h >>conftest.$ac_ext
5603 cat >>conftest.$ac_ext <<_ACEOF
5604 /* end confdefs.h.  */
5605 #include <ctype.h>
5606 #if ((' ' & 0x0FF) == 0x020)
5607 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5608 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5609 #else
5610 # define ISLOWER(c) \
5611                    (('a' <= (c) && (c) <= 'i') \
5612                      || ('j' <= (c) && (c) <= 'r') \
5613                      || ('s' <= (c) && (c) <= 'z'))
5614 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5615 #endif
5616
5617 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5618 int
5619 main ()
5620 {
5621   int i;
5622   for (i = 0; i < 256; i++)
5623     if (XOR (islower (i), ISLOWER (i))
5624         || toupper (i) != TOUPPER (i))
5625       exit(2);
5626   exit (0);
5627 }
5628 _ACEOF
5629 rm -f conftest$ac_exeext
5630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5631   (eval $ac_link) 2>&5
5632   ac_status=$?
5633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5634   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5636   (eval $ac_try) 2>&5
5637   ac_status=$?
5638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5639   (exit $ac_status); }; }; then
5640   :
5641 else
5642   echo "$as_me: program exited with status $ac_status" >&5
5643 echo "$as_me: failed program was:" >&5
5644 sed 's/^/| /' conftest.$ac_ext >&5
5645
5646 ( exit $ac_status )
5647 ac_cv_header_stdc=no
5648 fi
5649 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5650 fi
5651 fi
5652 fi
5653 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5654 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5655 if test $ac_cv_header_stdc = yes; then
5656
5657 cat >>confdefs.h <<\_ACEOF
5658 #define STDC_HEADERS 1
5659 _ACEOF
5660
5661 fi
5662
5663 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5674                   inttypes.h stdint.h unistd.h
5675 do
5676 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5677 echo "$as_me:$LINENO: checking for $ac_header" >&5
5678 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5679 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5680   echo $ECHO_N "(cached) $ECHO_C" >&6
5681 else
5682   cat >conftest.$ac_ext <<_ACEOF
5683 /* confdefs.h.  */
5684 _ACEOF
5685 cat confdefs.h >>conftest.$ac_ext
5686 cat >>conftest.$ac_ext <<_ACEOF
5687 /* end confdefs.h.  */
5688 $ac_includes_default
5689
5690 #include <$ac_header>
5691 _ACEOF
5692 rm -f conftest.$ac_objext
5693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5694   (eval $ac_compile) 2>conftest.er1
5695   ac_status=$?
5696   grep -v '^ *+' conftest.er1 >conftest.err
5697   rm -f conftest.er1
5698   cat conftest.err >&5
5699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5700   (exit $ac_status); } &&
5701          { ac_try='test -z "$ac_c_werror_flag"
5702                          || test ! -s conftest.err'
5703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5704   (eval $ac_try) 2>&5
5705   ac_status=$?
5706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5707   (exit $ac_status); }; } &&
5708          { ac_try='test -s conftest.$ac_objext'
5709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5710   (eval $ac_try) 2>&5
5711   ac_status=$?
5712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5713   (exit $ac_status); }; }; then
5714   eval "$as_ac_Header=yes"
5715 else
5716   echo "$as_me: failed program was:" >&5
5717 sed 's/^/| /' conftest.$ac_ext >&5
5718
5719 eval "$as_ac_Header=no"
5720 fi
5721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5722 fi
5723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5724 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5725 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5726   cat >>confdefs.h <<_ACEOF
5727 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5728 _ACEOF
5729
5730 fi
5731
5732 done
5733
5734
5735
5736   echo "$as_me:$LINENO: checking for C locale to use" >&5
5737 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5738    # Check whether --enable-clocale or --disable-clocale was given.
5739 if test "${enable_clocale+set}" = set; then
5740   enableval="$enable_clocale"
5741
5742       case "$enableval" in
5743        generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5744        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5745 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5746    { (exit 1); exit 1; }; } ;;
5747                           esac
5748
5749 else
5750   enable_clocale=auto
5751 fi;
5752
5753
5754   # If they didn't use this option switch, or if they specified --enable
5755   # with no specific model, we'll have to look for one.  If they
5756   # specified --disable (???), do likewise.
5757   if test $enable_clocale = no || test $enable_clocale = yes; then
5758      enable_clocale=auto
5759   fi
5760
5761   # Either a known package, or "auto"
5762   enable_clocale_flag=$enable_clocale
5763
5764   # Probe for locale support if no specific model is specified.
5765   # Default to "generic".
5766   if test $enable_clocale_flag = auto; then
5767     case ${target_os} in
5768       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
5769         cat >conftest.$ac_ext <<_ACEOF
5770 /* confdefs.h.  */
5771 _ACEOF
5772 cat confdefs.h >>conftest.$ac_ext
5773 cat >>conftest.$ac_ext <<_ACEOF
5774 /* end confdefs.h.  */
5775
5776         #include <features.h>
5777         #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5778           _GLIBCXX_ok
5779         #endif
5780
5781 _ACEOF
5782 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5783   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5784   enable_clocale_flag=gnu
5785 else
5786   enable_clocale_flag=generic
5787 fi
5788 rm -f conftest*
5789
5790
5791         # Test for bugs early in glibc-2.2.x series
5792           if test $enable_clocale_flag = gnu; then
5793           if test "$cross_compiling" = yes; then
5794   enable_clocale_flag=generic
5795 else
5796   cat >conftest.$ac_ext <<_ACEOF
5797 /* confdefs.h.  */
5798 _ACEOF
5799 cat confdefs.h >>conftest.$ac_ext
5800 cat >>conftest.$ac_ext <<_ACEOF
5801 /* end confdefs.h.  */
5802
5803           #define _GNU_SOURCE 1
5804           #include <locale.h>
5805           #include <string.h>
5806           #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5807           extern __typeof(newlocale) __newlocale;
5808           extern __typeof(duplocale) __duplocale;
5809           extern __typeof(strcoll_l) __strcoll_l;
5810           #endif
5811           int main()
5812           {
5813               const char __one[] = "Äuglein Augmen";
5814               const char __two[] = "Äuglein";
5815               int i;
5816               int j;
5817               __locale_t        loc;
5818                __locale_t        loc_dup;
5819               loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5820               loc_dup = __duplocale(loc);
5821               i = __strcoll_l(__one, __two, loc);
5822               j = __strcoll_l(__one, __two, loc_dup);
5823               return 0;
5824           }
5825
5826 _ACEOF
5827 rm -f conftest$ac_exeext
5828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5829   (eval $ac_link) 2>&5
5830   ac_status=$?
5831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5832   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5834   (eval $ac_try) 2>&5
5835   ac_status=$?
5836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5837   (exit $ac_status); }; }; then
5838   enable_clocale_flag=gnu
5839 else
5840   echo "$as_me: program exited with status $ac_status" >&5
5841 echo "$as_me: failed program was:" >&5
5842 sed 's/^/| /' conftest.$ac_ext >&5
5843
5844 ( exit $ac_status )
5845 enable_clocale_flag=generic
5846 fi
5847 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5848 fi
5849           fi
5850
5851         # ... at some point put __strxfrm_l tests in as well.
5852         ;;
5853       darwin* | freebsd*)
5854         enable_clocale_flag=darwin
5855         ;;
5856       *)
5857         enable_clocale_flag=generic
5858         ;;
5859     esac
5860   fi
5861
5862   # Deal with gettext issues.  Default to not using it (=no) until we detect
5863   # support for it later.  Let the user turn it off via --e/d, but let that
5864   # default to on for easier handling.
5865   USE_NLS=no
5866   # Check whether --enable-nls or --disable-nls was given.
5867 if test "${enable_nls+set}" = set; then
5868   enableval="$enable_nls"
5869
5870 else
5871   enable_nls=yes
5872 fi;
5873
5874   # Set configure bits for specified locale package
5875   case ${enable_clocale_flag} in
5876     generic)
5877       echo "$as_me:$LINENO: result: generic" >&5
5878 echo "${ECHO_T}generic" >&6
5879
5880       CLOCALE_H=config/locale/generic/c_locale.h
5881       CLOCALE_CC=config/locale/generic/c_locale.cc
5882       CCODECVT_CC=config/locale/generic/codecvt_members.cc
5883       CCOLLATE_CC=config/locale/generic/collate_members.cc
5884       CCTYPE_CC=config/locale/generic/ctype_members.cc
5885       CMESSAGES_H=config/locale/generic/messages_members.h
5886       CMESSAGES_CC=config/locale/generic/messages_members.cc
5887       CMONEY_CC=config/locale/generic/monetary_members.cc
5888       CNUMERIC_CC=config/locale/generic/numeric_members.cc
5889       CTIME_H=config/locale/generic/time_members.h
5890       CTIME_CC=config/locale/generic/time_members.cc
5891       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5892       ;;
5893     darwin)
5894       echo "$as_me:$LINENO: result: darwin or freebsd" >&5
5895 echo "${ECHO_T}darwin or freebsd" >&6
5896
5897       CLOCALE_H=config/locale/generic/c_locale.h
5898       CLOCALE_CC=config/locale/generic/c_locale.cc
5899       CCODECVT_CC=config/locale/generic/codecvt_members.cc
5900       CCOLLATE_CC=config/locale/generic/collate_members.cc
5901       CCTYPE_CC=config/locale/darwin/ctype_members.cc
5902       CMESSAGES_H=config/locale/generic/messages_members.h
5903       CMESSAGES_CC=config/locale/generic/messages_members.cc
5904       CMONEY_CC=config/locale/generic/monetary_members.cc
5905       CNUMERIC_CC=config/locale/generic/numeric_members.cc
5906       CTIME_H=config/locale/generic/time_members.h
5907       CTIME_CC=config/locale/generic/time_members.cc
5908       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5909       ;;
5910
5911     gnu)
5912       echo "$as_me:$LINENO: result: gnu" >&5
5913 echo "${ECHO_T}gnu" >&6
5914
5915       # Declare intention to use gettext, and add support for specific
5916       # languages.
5917       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5918       ALL_LINGUAS="de fr"
5919
5920       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5921       # Extract the first word of "msgfmt", so it can be a program name with args.
5922 set dummy msgfmt; ac_word=$2
5923 echo "$as_me:$LINENO: checking for $ac_word" >&5
5924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5925 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5926   echo $ECHO_N "(cached) $ECHO_C" >&6
5927 else
5928   if test -n "$check_msgfmt"; then
5929   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5930 else
5931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5932 for as_dir in $PATH
5933 do
5934   IFS=$as_save_IFS
5935   test -z "$as_dir" && as_dir=.
5936   for ac_exec_ext in '' $ac_executable_extensions; do
5937   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5938     ac_cv_prog_check_msgfmt="yes"
5939     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5940     break 2
5941   fi
5942 done
5943 done
5944
5945   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5946 fi
5947 fi
5948 check_msgfmt=$ac_cv_prog_check_msgfmt
5949 if test -n "$check_msgfmt"; then
5950   echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5951 echo "${ECHO_T}$check_msgfmt" >&6
5952 else
5953   echo "$as_me:$LINENO: result: no" >&5
5954 echo "${ECHO_T}no" >&6
5955 fi
5956
5957       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5958         USE_NLS=yes
5959       fi
5960       # Export the build objects.
5961       for ling in $ALL_LINGUAS; do \
5962         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5963         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5964       done
5965
5966
5967
5968       CLOCALE_H=config/locale/gnu/c_locale.h
5969       CLOCALE_CC=config/locale/gnu/c_locale.cc
5970       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5971       CCOLLATE_CC=config/locale/gnu/collate_members.cc
5972       CCTYPE_CC=config/locale/gnu/ctype_members.cc
5973       CMESSAGES_H=config/locale/gnu/messages_members.h
5974       CMESSAGES_CC=config/locale/gnu/messages_members.cc
5975       CMONEY_CC=config/locale/gnu/monetary_members.cc
5976       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
5977       CTIME_H=config/locale/gnu/time_members.h
5978       CTIME_CC=config/locale/gnu/time_members.cc
5979       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
5980       ;;
5981     ieee_1003.1-2001)
5982       echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
5983 echo "${ECHO_T}IEEE 1003.1" >&6
5984
5985       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
5986       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
5987       CCODECVT_CC=config/locale/generic/codecvt_members.cc
5988       CCOLLATE_CC=config/locale/generic/collate_members.cc
5989       CCTYPE_CC=config/locale/generic/ctype_members.cc
5990       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
5991       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
5992       CMONEY_CC=config/locale/generic/monetary_members.cc
5993       CNUMERIC_CC=config/locale/generic/numeric_members.cc
5994       CTIME_H=config/locale/generic/time_members.h
5995       CTIME_CC=config/locale/generic/time_members.cc
5996       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5997       ;;
5998   esac
5999
6000   # This is where the testsuite looks for locale catalogs, using the
6001   # -DLOCALEDIR define during testsuite compilation.
6002   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
6003
6004
6005   # A standalone libintl (e.g., GNU libintl) may be in use.
6006   if test $USE_NLS = yes; then
6007
6008 for ac_header in libintl.h
6009 do
6010 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6011 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6012   echo "$as_me:$LINENO: checking for $ac_header" >&5
6013 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6014 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6015   echo $ECHO_N "(cached) $ECHO_C" >&6
6016 fi
6017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6018 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6019 else
6020   # Is the header compilable?
6021 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6022 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6023 cat >conftest.$ac_ext <<_ACEOF
6024 /* confdefs.h.  */
6025 _ACEOF
6026 cat confdefs.h >>conftest.$ac_ext
6027 cat >>conftest.$ac_ext <<_ACEOF
6028 /* end confdefs.h.  */
6029 $ac_includes_default
6030 #include <$ac_header>
6031 _ACEOF
6032 rm -f conftest.$ac_objext
6033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6034   (eval $ac_compile) 2>conftest.er1
6035   ac_status=$?
6036   grep -v '^ *+' conftest.er1 >conftest.err
6037   rm -f conftest.er1
6038   cat conftest.err >&5
6039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6040   (exit $ac_status); } &&
6041          { ac_try='test -z "$ac_c_werror_flag"
6042                          || test ! -s conftest.err'
6043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6044   (eval $ac_try) 2>&5
6045   ac_status=$?
6046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6047   (exit $ac_status); }; } &&
6048          { ac_try='test -s conftest.$ac_objext'
6049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6050   (eval $ac_try) 2>&5
6051   ac_status=$?
6052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6053   (exit $ac_status); }; }; then
6054   ac_header_compiler=yes
6055 else
6056   echo "$as_me: failed program was:" >&5
6057 sed 's/^/| /' conftest.$ac_ext >&5
6058
6059 ac_header_compiler=no
6060 fi
6061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6062 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6063 echo "${ECHO_T}$ac_header_compiler" >&6
6064
6065 # Is the header present?
6066 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6067 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6068 cat >conftest.$ac_ext <<_ACEOF
6069 /* confdefs.h.  */
6070 _ACEOF
6071 cat confdefs.h >>conftest.$ac_ext
6072 cat >>conftest.$ac_ext <<_ACEOF
6073 /* end confdefs.h.  */
6074 #include <$ac_header>
6075 _ACEOF
6076 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6077   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6078   ac_status=$?
6079   grep -v '^ *+' conftest.er1 >conftest.err
6080   rm -f conftest.er1
6081   cat conftest.err >&5
6082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6083   (exit $ac_status); } >/dev/null; then
6084   if test -s conftest.err; then
6085     ac_cpp_err=$ac_c_preproc_warn_flag
6086     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6087   else
6088     ac_cpp_err=
6089   fi
6090 else
6091   ac_cpp_err=yes
6092 fi
6093 if test -z "$ac_cpp_err"; then
6094   ac_header_preproc=yes
6095 else
6096   echo "$as_me: failed program was:" >&5
6097 sed 's/^/| /' conftest.$ac_ext >&5
6098
6099   ac_header_preproc=no
6100 fi
6101 rm -f conftest.err conftest.$ac_ext
6102 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6103 echo "${ECHO_T}$ac_header_preproc" >&6
6104
6105 # So?  What about this header?
6106 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6107   yes:no: )
6108     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6109 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6110     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6111 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6112     ac_header_preproc=yes
6113     ;;
6114   no:yes:* )
6115     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6116 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6117     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6118 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6119     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6120 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6121     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6122 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6123     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6124 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6125     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6126 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6127     (
6128       cat <<\_ASBOX
6129 ## ----------------------------------------- ##
6130 ## Report this to the package-unused lists.  ##
6131 ## ----------------------------------------- ##
6132 _ASBOX
6133     ) |
6134       sed "s/^/$as_me: WARNING:     /" >&2
6135     ;;
6136 esac
6137 echo "$as_me:$LINENO: checking for $ac_header" >&5
6138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6140   echo $ECHO_N "(cached) $ECHO_C" >&6
6141 else
6142   eval "$as_ac_Header=\$ac_header_preproc"
6143 fi
6144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6145 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6146
6147 fi
6148 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6149   cat >>confdefs.h <<_ACEOF
6150 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6151 _ACEOF
6152
6153 else
6154   USE_NLS=no
6155 fi
6156
6157 done
6158
6159     echo "$as_me:$LINENO: checking for library containing gettext" >&5
6160 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
6161 if test "${ac_cv_search_gettext+set}" = set; then
6162   echo $ECHO_N "(cached) $ECHO_C" >&6
6163 else
6164   ac_func_search_save_LIBS=$LIBS
6165 ac_cv_search_gettext=no
6166 if test x$gcc_no_link = xyes; then
6167   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6169    { (exit 1); exit 1; }; }
6170 fi
6171 cat >conftest.$ac_ext <<_ACEOF
6172 /* confdefs.h.  */
6173 _ACEOF
6174 cat confdefs.h >>conftest.$ac_ext
6175 cat >>conftest.$ac_ext <<_ACEOF
6176 /* end confdefs.h.  */
6177
6178 /* Override any gcc2 internal prototype to avoid an error.  */
6179 #ifdef __cplusplus
6180 extern "C"
6181 #endif
6182 /* We use char because int might match the return type of a gcc2
6183    builtin and then its argument prototype would still apply.  */
6184 char gettext ();
6185 int
6186 main ()
6187 {
6188 gettext ();
6189   ;
6190   return 0;
6191 }
6192 _ACEOF
6193 rm -f conftest.$ac_objext conftest$ac_exeext
6194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6195   (eval $ac_link) 2>conftest.er1
6196   ac_status=$?
6197   grep -v '^ *+' conftest.er1 >conftest.err
6198   rm -f conftest.er1
6199   cat conftest.err >&5
6200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6201   (exit $ac_status); } &&
6202          { ac_try='test -z "$ac_c_werror_flag"
6203                          || test ! -s conftest.err'
6204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6205   (eval $ac_try) 2>&5
6206   ac_status=$?
6207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6208   (exit $ac_status); }; } &&
6209          { ac_try='test -s conftest$ac_exeext'
6210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6211   (eval $ac_try) 2>&5
6212   ac_status=$?
6213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6214   (exit $ac_status); }; }; then
6215   ac_cv_search_gettext="none required"
6216 else
6217   echo "$as_me: failed program was:" >&5
6218 sed 's/^/| /' conftest.$ac_ext >&5
6219
6220 fi
6221 rm -f conftest.err conftest.$ac_objext \
6222       conftest$ac_exeext conftest.$ac_ext
6223 if test "$ac_cv_search_gettext" = no; then
6224   for ac_lib in intl; do
6225     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
6226     if test x$gcc_no_link = xyes; then
6227   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6229    { (exit 1); exit 1; }; }
6230 fi
6231 cat >conftest.$ac_ext <<_ACEOF
6232 /* confdefs.h.  */
6233 _ACEOF
6234 cat confdefs.h >>conftest.$ac_ext
6235 cat >>conftest.$ac_ext <<_ACEOF
6236 /* end confdefs.h.  */
6237
6238 /* Override any gcc2 internal prototype to avoid an error.  */
6239 #ifdef __cplusplus
6240 extern "C"
6241 #endif
6242 /* We use char because int might match the return type of a gcc2
6243    builtin and then its argument prototype would still apply.  */
6244 char gettext ();
6245 int
6246 main ()
6247 {
6248 gettext ();
6249   ;
6250   return 0;
6251 }
6252 _ACEOF
6253 rm -f conftest.$ac_objext conftest$ac_exeext
6254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6255   (eval $ac_link) 2>conftest.er1
6256   ac_status=$?
6257   grep -v '^ *+' conftest.er1 >conftest.err
6258   rm -f conftest.er1
6259   cat conftest.err >&5
6260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6261   (exit $ac_status); } &&
6262          { ac_try='test -z "$ac_c_werror_flag"
6263                          || test ! -s conftest.err'
6264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6265   (eval $ac_try) 2>&5
6266   ac_status=$?
6267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6268   (exit $ac_status); }; } &&
6269          { ac_try='test -s conftest$ac_exeext'
6270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6271   (eval $ac_try) 2>&5
6272   ac_status=$?
6273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6274   (exit $ac_status); }; }; then
6275   ac_cv_search_gettext="-l$ac_lib"
6276 break
6277 else
6278   echo "$as_me: failed program was:" >&5
6279 sed 's/^/| /' conftest.$ac_ext >&5
6280
6281 fi
6282 rm -f conftest.err conftest.$ac_objext \
6283       conftest$ac_exeext conftest.$ac_ext
6284   done
6285 fi
6286 LIBS=$ac_func_search_save_LIBS
6287 fi
6288 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6289 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6290 if test "$ac_cv_search_gettext" != no; then
6291   test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6292
6293 else
6294   USE_NLS=no
6295 fi
6296
6297   fi
6298   if test $USE_NLS = yes; then
6299
6300 cat >>confdefs.h <<\_ACEOF
6301 #define _GLIBCXX_USE_NLS 1
6302 _ACEOF
6303
6304   fi
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321   echo "$as_me:$LINENO: checking for std::allocator base class" >&5
6322 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
6323    # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
6324 if test "${enable_libstdcxx_allocator+set}" = set; then
6325   enableval="$enable_libstdcxx_allocator"
6326
6327       case "$enableval" in
6328        new|malloc|mt|bitmap|pool|yes|no|auto) ;;
6329        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
6330 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
6331    { (exit 1); exit 1; }; } ;;
6332                           esac
6333
6334 else
6335   enable_libstdcxx_allocator=auto
6336 fi;
6337
6338
6339   # If they didn't use this option switch, or if they specified --enable
6340   # with no specific model, we'll have to look for one.  If they
6341   # specified --disable (???), do likewise.
6342   if test $enable_libstdcxx_allocator = no ||
6343      test $enable_libstdcxx_allocator = yes;
6344   then
6345      enable_libstdcxx_allocator=auto
6346   fi
6347
6348   # Either a known package, or "auto". Auto implies the default choice
6349   # for a particular platform.
6350   enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
6351
6352   # Probe for host-specific support if no specific model is specified.
6353   # Default to "new".
6354   if test $enable_libstdcxx_allocator_flag = auto; then
6355     case ${target_os} in
6356       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
6357         enable_libstdcxx_allocator_flag=new
6358         ;;
6359       *)
6360         enable_libstdcxx_allocator_flag=new
6361         ;;
6362     esac
6363   fi
6364   echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
6365 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
6366
6367
6368   # Set configure bits for specified locale package
6369   case ${enable_libstdcxx_allocator_flag} in
6370     bitmap)
6371       ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
6372       ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
6373       ;;
6374     malloc)
6375       ALLOCATOR_H=config/allocator/malloc_allocator_base.h
6376       ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
6377       ;;
6378     mt)
6379       ALLOCATOR_H=config/allocator/mt_allocator_base.h
6380       ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
6381       ;;
6382     new)
6383       ALLOCATOR_H=config/allocator/new_allocator_base.h
6384       ALLOCATOR_NAME=__gnu_cxx::new_allocator
6385       ;;
6386     pool)
6387       ALLOCATOR_H=config/allocator/pool_allocator_base.h
6388       ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
6389       ;;
6390   esac
6391
6392
6393
6394
6395
6396    # Check whether --enable-cheaders or --disable-cheaders was given.
6397 if test "${enable_cheaders+set}" = set; then
6398   enableval="$enable_cheaders"
6399
6400       case "$enableval" in
6401        c|c_std) ;;
6402        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6403 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6404    { (exit 1); exit 1; }; } ;;
6405                           esac
6406
6407 else
6408   enable_cheaders=$c_model
6409 fi;
6410
6411   { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6412 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6413
6414   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6415
6416
6417
6418
6419
6420
6421
6422
6423    # Check whether --enable-c99 or --disable-c99 was given.
6424 if test "${enable_c99+set}" = set; then
6425   enableval="$enable_c99"
6426
6427       case "$enableval" in
6428        yes|no) ;;
6429        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
6430 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
6431    { (exit 1); exit 1; }; } ;;
6432       esac
6433
6434 else
6435   enable_c99=yes
6436 fi;
6437
6438
6439   # Test wchar.h for mbstate_t, which is needed for char_traits and fpos
6440   # even if C99 support is turned off.
6441
6442 for ac_header in wchar.h
6443 do
6444 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6446   echo "$as_me:$LINENO: checking for $ac_header" >&5
6447 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6448 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6449   echo $ECHO_N "(cached) $ECHO_C" >&6
6450 fi
6451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6452 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6453 else
6454   # Is the header compilable?
6455 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6456 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6457 cat >conftest.$ac_ext <<_ACEOF
6458 /* confdefs.h.  */
6459 _ACEOF
6460 cat confdefs.h >>conftest.$ac_ext
6461 cat >>conftest.$ac_ext <<_ACEOF
6462 /* end confdefs.h.  */
6463 $ac_includes_default
6464 #include <$ac_header>
6465 _ACEOF
6466 rm -f conftest.$ac_objext
6467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6468   (eval $ac_compile) 2>conftest.er1
6469   ac_status=$?
6470   grep -v '^ *+' conftest.er1 >conftest.err
6471   rm -f conftest.er1
6472   cat conftest.err >&5
6473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6474   (exit $ac_status); } &&
6475          { ac_try='test -z "$ac_c_werror_flag"
6476                          || test ! -s conftest.err'
6477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6478   (eval $ac_try) 2>&5
6479   ac_status=$?
6480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6481   (exit $ac_status); }; } &&
6482          { ac_try='test -s conftest.$ac_objext'
6483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6484   (eval $ac_try) 2>&5
6485   ac_status=$?
6486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6487   (exit $ac_status); }; }; then
6488   ac_header_compiler=yes
6489 else
6490   echo "$as_me: failed program was:" >&5
6491 sed 's/^/| /' conftest.$ac_ext >&5
6492
6493 ac_header_compiler=no
6494 fi
6495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6496 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6497 echo "${ECHO_T}$ac_header_compiler" >&6
6498
6499 # Is the header present?
6500 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6501 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6502 cat >conftest.$ac_ext <<_ACEOF
6503 /* confdefs.h.  */
6504 _ACEOF
6505 cat confdefs.h >>conftest.$ac_ext
6506 cat >>conftest.$ac_ext <<_ACEOF
6507 /* end confdefs.h.  */
6508 #include <$ac_header>
6509 _ACEOF
6510 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6511   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6512   ac_status=$?
6513   grep -v '^ *+' conftest.er1 >conftest.err
6514   rm -f conftest.er1
6515   cat conftest.err >&5
6516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6517   (exit $ac_status); } >/dev/null; then
6518   if test -s conftest.err; then
6519     ac_cpp_err=$ac_c_preproc_warn_flag
6520     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6521   else
6522     ac_cpp_err=
6523   fi
6524 else
6525   ac_cpp_err=yes
6526 fi
6527 if test -z "$ac_cpp_err"; then
6528   ac_header_preproc=yes
6529 else
6530   echo "$as_me: failed program was:" >&5
6531 sed 's/^/| /' conftest.$ac_ext >&5
6532
6533   ac_header_preproc=no
6534 fi
6535 rm -f conftest.err conftest.$ac_ext
6536 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6537 echo "${ECHO_T}$ac_header_preproc" >&6
6538
6539 # So?  What about this header?
6540 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6541   yes:no: )
6542     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6543 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6544     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6545 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6546     ac_header_preproc=yes
6547     ;;
6548   no:yes:* )
6549     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6550 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6551     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6552 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6553     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6554 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6555     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6556 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6557     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6558 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6559     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6560 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6561     (
6562       cat <<\_ASBOX
6563 ## ----------------------------------------- ##
6564 ## Report this to the package-unused lists.  ##
6565 ## ----------------------------------------- ##
6566 _ASBOX
6567     ) |
6568       sed "s/^/$as_me: WARNING:     /" >&2
6569     ;;
6570 esac
6571 echo "$as_me:$LINENO: checking for $ac_header" >&5
6572 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6573 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6574   echo $ECHO_N "(cached) $ECHO_C" >&6
6575 else
6576   eval "$as_ac_Header=\$ac_header_preproc"
6577 fi
6578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6579 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6580
6581 fi
6582 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6583   cat >>confdefs.h <<_ACEOF
6584 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6585 _ACEOF
6586  ac_has_wchar_h=yes
6587 else
6588   ac_has_wchar_h=no
6589 fi
6590
6591 done
6592
6593   echo "$as_me:$LINENO: checking for mbstate_t" >&5
6594 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
6595   cat >conftest.$ac_ext <<_ACEOF
6596 /* confdefs.h.  */
6597 _ACEOF
6598 cat confdefs.h >>conftest.$ac_ext
6599 cat >>conftest.$ac_ext <<_ACEOF
6600 /* end confdefs.h.  */
6601 #include <wchar.h>
6602 int
6603 main ()
6604 {
6605 mbstate_t teststate;
6606   ;
6607   return 0;
6608 }
6609 _ACEOF
6610 rm -f conftest.$ac_objext
6611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6612   (eval $ac_compile) 2>conftest.er1
6613   ac_status=$?
6614   grep -v '^ *+' conftest.er1 >conftest.err
6615   rm -f conftest.er1
6616   cat conftest.err >&5
6617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6618   (exit $ac_status); } &&
6619          { ac_try='test -z "$ac_c_werror_flag"
6620                          || test ! -s conftest.err'
6621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6622   (eval $ac_try) 2>&5
6623   ac_status=$?
6624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6625   (exit $ac_status); }; } &&
6626          { ac_try='test -s conftest.$ac_objext'
6627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6628   (eval $ac_try) 2>&5
6629   ac_status=$?
6630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6631   (exit $ac_status); }; }; then
6632   have_mbstate_t=yes
6633 else
6634   echo "$as_me: failed program was:" >&5
6635 sed 's/^/| /' conftest.$ac_ext >&5
6636
6637 have_mbstate_t=no
6638 fi
6639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6640   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
6641 echo "${ECHO_T}$have_mbstate_t" >&6
6642   if test x"$have_mbstate_t" = xyes; then
6643
6644 cat >>confdefs.h <<\_ACEOF
6645 #define HAVE_MBSTATE_T 1
6646 _ACEOF
6647
6648   fi
6649
6650   if test x"$enable_c99" = x"yes"; then
6651
6652
6653
6654   ac_ext=cc
6655 ac_cpp='$CXXCPP $CPPFLAGS'
6656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6659
6660
6661   # Check for the existence of <math.h> functions used if C99 is enabled.
6662   echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
6663 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
6664   if test "${ac_c99_math+set}" = set; then
6665   echo $ECHO_N "(cached) $ECHO_C" >&6
6666 else
6667
6668   cat >conftest.$ac_ext <<_ACEOF
6669 /* confdefs.h.  */
6670 _ACEOF
6671 cat confdefs.h >>conftest.$ac_ext
6672 cat >>conftest.$ac_ext <<_ACEOF
6673 /* end confdefs.h.  */
6674 #include <math.h>
6675 int
6676 main ()
6677 {
6678 fpclassify(0.0);
6679                   isfinite(0.0);
6680                   isinf(0.0);
6681                   isnan(0.0);
6682                   isnormal(0.0);
6683                   signbit(0.0);
6684                   isgreater(0.0,0.0);
6685                   isgreaterequal(0.0,0.0);
6686                   isless(0.0,0.0);
6687                   islessequal(0.0,0.0);
6688                   islessgreater(0.0,0.0);
6689                   islessgreater(0.0,0.0);
6690                   isunordered(0.0,0.0);
6691
6692   ;
6693   return 0;
6694 }
6695 _ACEOF
6696 rm -f conftest.$ac_objext
6697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6698   (eval $ac_compile) 2>conftest.er1
6699   ac_status=$?
6700   grep -v '^ *+' conftest.er1 >conftest.err
6701   rm -f conftest.er1
6702   cat conftest.err >&5
6703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6704   (exit $ac_status); } &&
6705          { ac_try='test -z "$ac_cxx_werror_flag"
6706                          || test ! -s conftest.err'
6707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6708   (eval $ac_try) 2>&5
6709   ac_status=$?
6710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6711   (exit $ac_status); }; } &&
6712          { ac_try='test -s conftest.$ac_objext'
6713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6714   (eval $ac_try) 2>&5
6715   ac_status=$?
6716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6717   (exit $ac_status); }; }; then
6718   ac_c99_math=yes
6719 else
6720   echo "$as_me: failed program was:" >&5
6721 sed 's/^/| /' conftest.$ac_ext >&5
6722
6723 ac_c99_math=no
6724 fi
6725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6726
6727 fi
6728
6729   echo "$as_me:$LINENO: result: $ac_c99_math" >&5
6730 echo "${ECHO_T}$ac_c99_math" >&6
6731   if test x"$ac_c99_math" = x"yes"; then
6732
6733 cat >>confdefs.h <<\_ACEOF
6734 #define _GLIBCXX_USE_C99_MATH 1
6735 _ACEOF
6736
6737   fi
6738
6739   # Check for the existence of <complex.h> complex math functions.
6740   # This is necessary even though libstdc++ uses the builtin versions
6741   # of these functions, because if the builtin cannot be used, a reference
6742   # to the library function is emitted.
6743
6744 for ac_header in complex.h
6745 do
6746 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6747 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6748   echo "$as_me:$LINENO: checking for $ac_header" >&5
6749 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6750 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6751   echo $ECHO_N "(cached) $ECHO_C" >&6
6752 fi
6753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6754 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6755 else
6756   # Is the header compilable?
6757 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6758 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6759 cat >conftest.$ac_ext <<_ACEOF
6760 /* confdefs.h.  */
6761 _ACEOF
6762 cat confdefs.h >>conftest.$ac_ext
6763 cat >>conftest.$ac_ext <<_ACEOF
6764 /* end confdefs.h.  */
6765 $ac_includes_default
6766 #include <$ac_header>
6767 _ACEOF
6768 rm -f conftest.$ac_objext
6769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6770   (eval $ac_compile) 2>conftest.er1
6771   ac_status=$?
6772   grep -v '^ *+' conftest.er1 >conftest.err
6773   rm -f conftest.er1
6774   cat conftest.err >&5
6775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6776   (exit $ac_status); } &&
6777          { ac_try='test -z "$ac_cxx_werror_flag"
6778                          || test ! -s conftest.err'
6779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6780   (eval $ac_try) 2>&5
6781   ac_status=$?
6782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6783   (exit $ac_status); }; } &&
6784          { ac_try='test -s conftest.$ac_objext'
6785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6786   (eval $ac_try) 2>&5
6787   ac_status=$?
6788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6789   (exit $ac_status); }; }; then
6790   ac_header_compiler=yes
6791 else
6792   echo "$as_me: failed program was:" >&5
6793 sed 's/^/| /' conftest.$ac_ext >&5
6794
6795 ac_header_compiler=no
6796 fi
6797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6798 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6799 echo "${ECHO_T}$ac_header_compiler" >&6
6800
6801 # Is the header present?
6802 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6803 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6804 cat >conftest.$ac_ext <<_ACEOF
6805 /* confdefs.h.  */
6806 _ACEOF
6807 cat confdefs.h >>conftest.$ac_ext
6808 cat >>conftest.$ac_ext <<_ACEOF
6809 /* end confdefs.h.  */
6810 #include <$ac_header>
6811 _ACEOF
6812 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6813   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6814   ac_status=$?
6815   grep -v '^ *+' conftest.er1 >conftest.err
6816   rm -f conftest.er1
6817   cat conftest.err >&5
6818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6819   (exit $ac_status); } >/dev/null; then
6820   if test -s conftest.err; then
6821     ac_cpp_err=$ac_cxx_preproc_warn_flag
6822     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6823   else
6824     ac_cpp_err=
6825   fi
6826 else
6827   ac_cpp_err=yes
6828 fi
6829 if test -z "$ac_cpp_err"; then
6830   ac_header_preproc=yes
6831 else
6832   echo "$as_me: failed program was:" >&5
6833 sed 's/^/| /' conftest.$ac_ext >&5
6834
6835   ac_header_preproc=no
6836 fi
6837 rm -f conftest.err conftest.$ac_ext
6838 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6839 echo "${ECHO_T}$ac_header_preproc" >&6
6840
6841 # So?  What about this header?
6842 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6843   yes:no: )
6844     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6845 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6846     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6847 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6848     ac_header_preproc=yes
6849     ;;
6850   no:yes:* )
6851     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6852 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6853     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6854 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6855     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6856 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6857     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6858 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6859     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6860 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6861     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6862 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6863     (
6864       cat <<\_ASBOX
6865 ## ----------------------------------------- ##
6866 ## Report this to the package-unused lists.  ##
6867 ## ----------------------------------------- ##
6868 _ASBOX
6869     ) |
6870       sed "s/^/$as_me: WARNING:     /" >&2
6871     ;;
6872 esac
6873 echo "$as_me:$LINENO: checking for $ac_header" >&5
6874 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6875 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6876   echo $ECHO_N "(cached) $ECHO_C" >&6
6877 else
6878   eval "$as_ac_Header=\$ac_header_preproc"
6879 fi
6880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6881 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6882
6883 fi
6884 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6885   cat >>confdefs.h <<_ACEOF
6886 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6887 _ACEOF
6888  ac_has_complex_h=yes
6889 else
6890   ac_has_complex_h=no
6891 fi
6892
6893 done
6894
6895   ac_c99_complex=no;
6896   if test x"$ac_has_complex_h" = x"yes"; then
6897     echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
6898 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
6899     cat >conftest.$ac_ext <<_ACEOF
6900 /* confdefs.h.  */
6901 _ACEOF
6902 cat confdefs.h >>conftest.$ac_ext
6903 cat >>conftest.$ac_ext <<_ACEOF
6904 /* end confdefs.h.  */
6905 #include <complex.h>
6906 int
6907 main ()
6908 {
6909 typedef __complex__ float float_type; float_type tmpf;
6910                     cabsf(tmpf);
6911                     cargf(tmpf);
6912                     ccosf(tmpf);
6913                     ccoshf(tmpf);
6914                     cexpf(tmpf);
6915                     clogf(tmpf);
6916                     csinf(tmpf);
6917                     csinhf(tmpf);
6918                     csqrtf(tmpf);
6919                     ctanf(tmpf);
6920                     ctanhf(tmpf);
6921                     cpowf(tmpf, tmpf);
6922                     typedef __complex__ double double_type; double_type tmpd;
6923                     cabs(tmpd);
6924                     carg(tmpd);
6925                     ccos(tmpd);
6926                     ccosh(tmpd);
6927                     cexp(tmpd);
6928                     clog(tmpd);
6929                     csin(tmpd);
6930                     csinh(tmpd);
6931                     csqrt(tmpd);
6932                     ctan(tmpd);
6933                     ctanh(tmpd);
6934                     cpow(tmpd, tmpd);
6935                     typedef __complex__ long double ld_type; ld_type tmpld;
6936                     cabsl(tmpld);
6937                     cargl(tmpld);
6938                     ccosl(tmpld);
6939                     ccoshl(tmpld);
6940                     cexpl(tmpld);
6941                     clogl(tmpld);
6942                     csinl(tmpld);
6943                     csinhl(tmpld);
6944                     csqrtl(tmpld);
6945                     ctanl(tmpld);
6946                     ctanhl(tmpld);
6947                     cpowl(tmpld, tmpld);
6948
6949   ;
6950   return 0;
6951 }
6952 _ACEOF
6953 rm -f conftest.$ac_objext
6954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6955   (eval $ac_compile) 2>conftest.er1
6956   ac_status=$?
6957   grep -v '^ *+' conftest.er1 >conftest.err
6958   rm -f conftest.er1
6959   cat conftest.err >&5
6960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6961   (exit $ac_status); } &&
6962          { ac_try='test -z "$ac_cxx_werror_flag"
6963                          || test ! -s conftest.err'
6964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6965   (eval $ac_try) 2>&5
6966   ac_status=$?
6967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6968   (exit $ac_status); }; } &&
6969          { ac_try='test -s conftest.$ac_objext'
6970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6971   (eval $ac_try) 2>&5
6972   ac_status=$?
6973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6974   (exit $ac_status); }; }; then
6975   ac_c99_complex=yes
6976 else
6977   echo "$as_me: failed program was:" >&5
6978 sed 's/^/| /' conftest.$ac_ext >&5
6979
6980 ac_c99_complex=no
6981 fi
6982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6983   fi
6984   echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
6985 echo "${ECHO_T}$ac_c99_complex" >&6
6986   if test x"$ac_c99_complex" = x"yes"; then
6987
6988 cat >>confdefs.h <<\_ACEOF
6989 #define _GLIBCXX_USE_C99_COMPLEX 1
6990 _ACEOF
6991
6992   fi
6993
6994   # Check for the existence in <stdio.h> of vscanf, et. al.
6995   echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
6996 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
6997   if test "${ac_c99_stdio+set}" = set; then
6998   echo $ECHO_N "(cached) $ECHO_C" >&6
6999 else
7000
7001   cat >conftest.$ac_ext <<_ACEOF
7002 /* confdefs.h.  */
7003 _ACEOF
7004 cat confdefs.h >>conftest.$ac_ext
7005 cat >>conftest.$ac_ext <<_ACEOF
7006 /* end confdefs.h.  */
7007 #include <stdio.h>
7008                   #include <stdarg.h>
7009                   void foo(char* fmt, ...)
7010                   {
7011                     va_list args; va_start(args, fmt);
7012                     vfscanf(stderr, "%i", args);
7013                     vscanf("%i", args);
7014                     vsnprintf(fmt, 0, "%i", args);
7015                     vsscanf(fmt, "%i", args);
7016                   }
7017 int
7018 main ()
7019 {
7020 snprintf("12", 0, "%i");
7021   ;
7022   return 0;
7023 }
7024 _ACEOF
7025 rm -f conftest.$ac_objext
7026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7027   (eval $ac_compile) 2>conftest.er1
7028   ac_status=$?
7029   grep -v '^ *+' conftest.er1 >conftest.err
7030   rm -f conftest.er1
7031   cat conftest.err >&5
7032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7033   (exit $ac_status); } &&
7034          { ac_try='test -z "$ac_cxx_werror_flag"
7035                          || test ! -s conftest.err'
7036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7037   (eval $ac_try) 2>&5
7038   ac_status=$?
7039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7040   (exit $ac_status); }; } &&
7041          { ac_try='test -s conftest.$ac_objext'
7042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7043   (eval $ac_try) 2>&5
7044   ac_status=$?
7045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7046   (exit $ac_status); }; }; then
7047   ac_c99_stdio=yes
7048 else
7049   echo "$as_me: failed program was:" >&5
7050 sed 's/^/| /' conftest.$ac_ext >&5
7051
7052 ac_c99_stdio=no
7053 fi
7054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7055
7056 fi
7057
7058   echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
7059 echo "${ECHO_T}$ac_c99_stdio" >&6
7060
7061   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
7062   echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
7063 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
7064   if test "${ac_c99_stdlib+set}" = set; then
7065   echo $ECHO_N "(cached) $ECHO_C" >&6
7066 else
7067
7068   cat >conftest.$ac_ext <<_ACEOF
7069 /* confdefs.h.  */
7070 _ACEOF
7071 cat confdefs.h >>conftest.$ac_ext
7072 cat >>conftest.$ac_ext <<_ACEOF
7073 /* end confdefs.h.  */
7074 #include <stdlib.h>
7075 int
7076 main ()
7077 {
7078 char* tmp;
7079                   strtof("gnu", &tmp);
7080                   strtold("gnu", &tmp);
7081                   strtoll("gnu", &tmp, 10);
7082                   strtoull("gnu", &tmp, 10);
7083                   llabs(10);
7084                   lldiv(10,1);
7085                   atoll("10");
7086                   _Exit(0);
7087                   lldiv_t mydivt;
7088   ;
7089   return 0;
7090 }
7091 _ACEOF
7092 rm -f conftest.$ac_objext
7093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7094   (eval $ac_compile) 2>conftest.er1
7095   ac_status=$?
7096   grep -v '^ *+' conftest.er1 >conftest.err
7097   rm -f conftest.er1
7098   cat conftest.err >&5
7099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7100   (exit $ac_status); } &&
7101          { ac_try='test -z "$ac_cxx_werror_flag"
7102                          || test ! -s conftest.err'
7103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7104   (eval $ac_try) 2>&5
7105   ac_status=$?
7106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7107   (exit $ac_status); }; } &&
7108          { ac_try='test -s conftest.$ac_objext'
7109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7110   (eval $ac_try) 2>&5
7111   ac_status=$?
7112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7113   (exit $ac_status); }; }; then
7114   ac_c99_stdlib=yes
7115 else
7116   echo "$as_me: failed program was:" >&5
7117 sed 's/^/| /' conftest.$ac_ext >&5
7118
7119 ac_c99_stdlib=no
7120 fi
7121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7122
7123 fi
7124
7125   echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7126 echo "${ECHO_T}$ac_c99_stdlib" >&6
7127
7128   # Check for the existence in <wchar.h> of wcstoull, WEOF, etc.
7129
7130 for ac_header in wctype.h
7131 do
7132 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7133 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7134   echo "$as_me:$LINENO: checking for $ac_header" >&5
7135 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7136 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7137   echo $ECHO_N "(cached) $ECHO_C" >&6
7138 fi
7139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7140 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7141 else
7142   # Is the header compilable?
7143 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7144 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7145 cat >conftest.$ac_ext <<_ACEOF
7146 /* confdefs.h.  */
7147 _ACEOF
7148 cat confdefs.h >>conftest.$ac_ext
7149 cat >>conftest.$ac_ext <<_ACEOF
7150 /* end confdefs.h.  */
7151 $ac_includes_default
7152 #include <$ac_header>
7153 _ACEOF
7154 rm -f conftest.$ac_objext
7155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7156   (eval $ac_compile) 2>conftest.er1
7157   ac_status=$?
7158   grep -v '^ *+' conftest.er1 >conftest.err
7159   rm -f conftest.er1
7160   cat conftest.err >&5
7161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7162   (exit $ac_status); } &&
7163          { ac_try='test -z "$ac_cxx_werror_flag"
7164                          || test ! -s conftest.err'
7165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7166   (eval $ac_try) 2>&5
7167   ac_status=$?
7168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7169   (exit $ac_status); }; } &&
7170          { ac_try='test -s conftest.$ac_objext'
7171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7172   (eval $ac_try) 2>&5
7173   ac_status=$?
7174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7175   (exit $ac_status); }; }; then
7176   ac_header_compiler=yes
7177 else
7178   echo "$as_me: failed program was:" >&5
7179 sed 's/^/| /' conftest.$ac_ext >&5
7180
7181 ac_header_compiler=no
7182 fi
7183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7184 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7185 echo "${ECHO_T}$ac_header_compiler" >&6
7186
7187 # Is the header present?
7188 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7189 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7190 cat >conftest.$ac_ext <<_ACEOF
7191 /* confdefs.h.  */
7192 _ACEOF
7193 cat confdefs.h >>conftest.$ac_ext
7194 cat >>conftest.$ac_ext <<_ACEOF
7195 /* end confdefs.h.  */
7196 #include <$ac_header>
7197 _ACEOF
7198 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7199   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7200   ac_status=$?
7201   grep -v '^ *+' conftest.er1 >conftest.err
7202   rm -f conftest.er1
7203   cat conftest.err >&5
7204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7205   (exit $ac_status); } >/dev/null; then
7206   if test -s conftest.err; then
7207     ac_cpp_err=$ac_cxx_preproc_warn_flag
7208     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7209   else
7210     ac_cpp_err=
7211   fi
7212 else
7213   ac_cpp_err=yes
7214 fi
7215 if test -z "$ac_cpp_err"; then
7216   ac_header_preproc=yes
7217 else
7218   echo "$as_me: failed program was:" >&5
7219 sed 's/^/| /' conftest.$ac_ext >&5
7220
7221   ac_header_preproc=no
7222 fi
7223 rm -f conftest.err conftest.$ac_ext
7224 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7225 echo "${ECHO_T}$ac_header_preproc" >&6
7226
7227 # So?  What about this header?
7228 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7229   yes:no: )
7230     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7231 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7232     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7233 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7234     ac_header_preproc=yes
7235     ;;
7236   no:yes:* )
7237     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7238 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7239     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7240 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7241     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7242 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7243     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7244 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7245     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7246 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7247     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7248 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7249     (
7250       cat <<\_ASBOX
7251 ## ----------------------------------------- ##
7252 ## Report this to the package-unused lists.  ##
7253 ## ----------------------------------------- ##
7254 _ASBOX
7255     ) |
7256       sed "s/^/$as_me: WARNING:     /" >&2
7257     ;;
7258 esac
7259 echo "$as_me:$LINENO: checking for $ac_header" >&5
7260 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7261 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7262   echo $ECHO_N "(cached) $ECHO_C" >&6
7263 else
7264   eval "$as_ac_Header=\$ac_header_preproc"
7265 fi
7266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7267 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7268
7269 fi
7270 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7271   cat >>confdefs.h <<_ACEOF
7272 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7273 _ACEOF
7274  ac_has_wctype_h=yes
7275 else
7276   ac_has_wctype_h=no
7277 fi
7278
7279 done
7280
7281   ac_c99_wchar=no;
7282   if test x"$ac_has_wchar_h" = xyes &&
7283      test x"$ac_has_wctype_h" = xyes; then
7284     cat >conftest.$ac_ext <<_ACEOF
7285 /* confdefs.h.  */
7286 _ACEOF
7287 cat confdefs.h >>conftest.$ac_ext
7288 cat >>conftest.$ac_ext <<_ACEOF
7289 /* end confdefs.h.  */
7290 #include <wchar.h>
7291                     #include <stddef.h>
7292                     wint_t i;
7293                     long l = WEOF;
7294                     long j = WCHAR_MIN;
7295                     long k = WCHAR_MAX;
7296                     namespace test
7297                     {
7298                       using ::btowc;
7299                       using ::fgetwc;
7300                       using ::fgetws;
7301                       using ::fputwc;
7302                       using ::fputws;
7303                       using ::fwide;
7304                       using ::fwprintf;
7305                       using ::fwscanf;
7306                       using ::getwc;
7307                       using ::getwchar;
7308                       using ::mbrlen;
7309                       using ::mbrtowc;
7310                       using ::mbsinit;
7311                       using ::mbsrtowcs;
7312                       using ::putwc;
7313                       using ::putwchar;
7314                       using ::swprintf;
7315                       using ::swscanf;
7316                       using ::ungetwc;
7317                       using ::vfwprintf;
7318                       using ::vswprintf;
7319                       using ::vwprintf;
7320                       using ::wcrtomb;
7321                       using ::wcscat;
7322                       using ::wcschr;
7323                       using ::wcscmp;
7324                       using ::wcscoll;
7325                       using ::wcscpy;
7326                       using ::wcscspn;
7327                       using ::wcsftime;
7328                       using ::wcslen;
7329                       using ::wcsncat;
7330                       using ::wcsncmp;
7331                       using ::wcsncpy;
7332                       using ::wcspbrk;
7333                       using ::wcsrchr;
7334                       using ::wcsrtombs;
7335                       using ::wcsspn;
7336                       using ::wcsstr;
7337                       using ::wcstod;
7338                       using ::wcstok;
7339                       using ::wcstol;
7340                       using ::wcstold;
7341                       using ::wcstoll;
7342                       using ::wcstoul;
7343                       using ::wcstoull;
7344                       using ::wcsxfrm;
7345                       using ::wctob;
7346                       using ::wmemchr;
7347                       using ::wmemcmp;
7348                       using ::wmemcpy;
7349                       using ::wmemmove;
7350                       using ::wmemset;
7351                       using ::wprintf;
7352                       using ::wscanf;
7353                     }
7354
7355 int
7356 main ()
7357 {
7358
7359   ;
7360   return 0;
7361 }
7362 _ACEOF
7363 rm -f conftest.$ac_objext
7364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7365   (eval $ac_compile) 2>conftest.er1
7366   ac_status=$?
7367   grep -v '^ *+' conftest.er1 >conftest.err
7368   rm -f conftest.er1
7369   cat conftest.err >&5
7370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7371   (exit $ac_status); } &&
7372          { ac_try='test -z "$ac_cxx_werror_flag"
7373                          || test ! -s conftest.err'
7374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7375   (eval $ac_try) 2>&5
7376   ac_status=$?
7377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7378   (exit $ac_status); }; } &&
7379          { ac_try='test -s conftest.$ac_objext'
7380   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7381   (eval $ac_try) 2>&5
7382   ac_status=$?
7383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7384   (exit $ac_status); }; }; then
7385   ac_c99_wchar=yes
7386 else
7387   echo "$as_me: failed program was:" >&5
7388 sed 's/^/| /' conftest.$ac_ext >&5
7389
7390 ac_c99_wchar=no
7391 fi
7392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7393
7394     # Checks for wide character functions that may not be present.
7395     # Injection of these is wrapped with guard macros.
7396     # NB: only put functions here, instead of immediately above, if
7397     # absolutely necessary.
7398     cat >conftest.$ac_ext <<_ACEOF
7399 /* confdefs.h.  */
7400 _ACEOF
7401 cat confdefs.h >>conftest.$ac_ext
7402 cat >>conftest.$ac_ext <<_ACEOF
7403 /* end confdefs.h.  */
7404 #include <wchar.h>
7405                     namespace test { using ::vfwscanf; }
7406 int
7407 main ()
7408 {
7409
7410   ;
7411   return 0;
7412 }
7413 _ACEOF
7414 rm -f conftest.$ac_objext
7415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7416   (eval $ac_compile) 2>conftest.er1
7417   ac_status=$?
7418   grep -v '^ *+' conftest.er1 >conftest.err
7419   rm -f conftest.er1
7420   cat conftest.err >&5
7421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7422   (exit $ac_status); } &&
7423          { ac_try='test -z "$ac_cxx_werror_flag"
7424                          || test ! -s conftest.err'
7425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7426   (eval $ac_try) 2>&5
7427   ac_status=$?
7428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7429   (exit $ac_status); }; } &&
7430          { ac_try='test -s conftest.$ac_objext'
7431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7432   (eval $ac_try) 2>&5
7433   ac_status=$?
7434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7435   (exit $ac_status); }; }; then
7436
7437 cat >>confdefs.h <<\_ACEOF
7438 #define HAVE_VFWSCANF 1
7439 _ACEOF
7440
7441 else
7442   echo "$as_me: failed program was:" >&5
7443 sed 's/^/| /' conftest.$ac_ext >&5
7444
7445 fi
7446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7447
7448     cat >conftest.$ac_ext <<_ACEOF
7449 /* confdefs.h.  */
7450 _ACEOF
7451 cat confdefs.h >>conftest.$ac_ext
7452 cat >>conftest.$ac_ext <<_ACEOF
7453 /* end confdefs.h.  */
7454 #include <wchar.h>
7455                     namespace test { using ::vswscanf; }
7456 int
7457 main ()
7458 {
7459
7460   ;
7461   return 0;
7462 }
7463 _ACEOF
7464 rm -f conftest.$ac_objext
7465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7466   (eval $ac_compile) 2>conftest.er1
7467   ac_status=$?
7468   grep -v '^ *+' conftest.er1 >conftest.err
7469   rm -f conftest.er1
7470   cat conftest.err >&5
7471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7472   (exit $ac_status); } &&
7473          { ac_try='test -z "$ac_cxx_werror_flag"
7474                          || test ! -s conftest.err'
7475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7476   (eval $ac_try) 2>&5
7477   ac_status=$?
7478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7479   (exit $ac_status); }; } &&
7480          { ac_try='test -s conftest.$ac_objext'
7481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7482   (eval $ac_try) 2>&5
7483   ac_status=$?
7484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7485   (exit $ac_status); }; }; then
7486
7487 cat >>confdefs.h <<\_ACEOF
7488 #define HAVE_VSWSCANF 1
7489 _ACEOF
7490
7491 else
7492   echo "$as_me: failed program was:" >&5
7493 sed 's/^/| /' conftest.$ac_ext >&5
7494
7495 fi
7496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7497
7498     cat >conftest.$ac_ext <<_ACEOF
7499 /* confdefs.h.  */
7500 _ACEOF
7501 cat confdefs.h >>conftest.$ac_ext
7502 cat >>conftest.$ac_ext <<_ACEOF
7503 /* end confdefs.h.  */
7504 #include <wchar.h>
7505                     namespace test { using ::vwscanf; }
7506 int
7507 main ()
7508 {
7509
7510   ;
7511   return 0;
7512 }
7513 _ACEOF
7514 rm -f conftest.$ac_objext
7515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7516   (eval $ac_compile) 2>conftest.er1
7517   ac_status=$?
7518   grep -v '^ *+' conftest.er1 >conftest.err
7519   rm -f conftest.er1
7520   cat conftest.err >&5
7521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7522   (exit $ac_status); } &&
7523          { ac_try='test -z "$ac_cxx_werror_flag"
7524                          || test ! -s conftest.err'
7525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7526   (eval $ac_try) 2>&5
7527   ac_status=$?
7528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7529   (exit $ac_status); }; } &&
7530          { ac_try='test -s conftest.$ac_objext'
7531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7532   (eval $ac_try) 2>&5
7533   ac_status=$?
7534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7535   (exit $ac_status); }; }; then
7536
7537 cat >>confdefs.h <<\_ACEOF
7538 #define HAVE_VWSCANF 1
7539 _ACEOF
7540
7541 else
7542   echo "$as_me: failed program was:" >&5
7543 sed 's/^/| /' conftest.$ac_ext >&5
7544
7545 fi
7546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7547
7548     cat >conftest.$ac_ext <<_ACEOF
7549 /* confdefs.h.  */
7550 _ACEOF
7551 cat confdefs.h >>conftest.$ac_ext
7552 cat >>conftest.$ac_ext <<_ACEOF
7553 /* end confdefs.h.  */
7554 #include <wchar.h>
7555                     namespace test { using ::wcstof; }
7556 int
7557 main ()
7558 {
7559
7560   ;
7561   return 0;
7562 }
7563 _ACEOF
7564 rm -f conftest.$ac_objext
7565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7566   (eval $ac_compile) 2>conftest.er1
7567   ac_status=$?
7568   grep -v '^ *+' conftest.er1 >conftest.err
7569   rm -f conftest.er1
7570   cat conftest.err >&5
7571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7572   (exit $ac_status); } &&
7573          { ac_try='test -z "$ac_cxx_werror_flag"
7574                          || test ! -s conftest.err'
7575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7576   (eval $ac_try) 2>&5
7577   ac_status=$?
7578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7579   (exit $ac_status); }; } &&
7580          { ac_try='test -s conftest.$ac_objext'
7581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7582   (eval $ac_try) 2>&5
7583   ac_status=$?
7584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7585   (exit $ac_status); }; }; then
7586
7587 cat >>confdefs.h <<\_ACEOF
7588 #define HAVE_WCSTOF 1
7589 _ACEOF
7590
7591 else
7592   echo "$as_me: failed program was:" >&5
7593 sed 's/^/| /' conftest.$ac_ext >&5
7594
7595 fi
7596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7597
7598     cat >conftest.$ac_ext <<_ACEOF
7599 /* confdefs.h.  */
7600 _ACEOF
7601 cat confdefs.h >>conftest.$ac_ext
7602 cat >>conftest.$ac_ext <<_ACEOF
7603 /* end confdefs.h.  */
7604 #include <wctype.h>
7605 int
7606 main ()
7607 {
7608  wint_t t; int i = iswblank(t);
7609   ;
7610   return 0;
7611 }
7612 _ACEOF
7613 rm -f conftest.$ac_objext
7614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7615   (eval $ac_compile) 2>conftest.er1
7616   ac_status=$?
7617   grep -v '^ *+' conftest.er1 >conftest.err
7618   rm -f conftest.er1
7619   cat conftest.err >&5
7620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7621   (exit $ac_status); } &&
7622          { ac_try='test -z "$ac_cxx_werror_flag"
7623                          || test ! -s conftest.err'
7624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7625   (eval $ac_try) 2>&5
7626   ac_status=$?
7627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7628   (exit $ac_status); }; } &&
7629          { ac_try='test -s conftest.$ac_objext'
7630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7631   (eval $ac_try) 2>&5
7632   ac_status=$?
7633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7634   (exit $ac_status); }; }; then
7635
7636 cat >>confdefs.h <<\_ACEOF
7637 #define HAVE_ISWBLANK 1
7638 _ACEOF
7639
7640 else
7641   echo "$as_me: failed program was:" >&5
7642 sed 's/^/| /' conftest.$ac_ext >&5
7643
7644 fi
7645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7646
7647     echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
7648 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
7649     echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7650 echo "${ECHO_T}$ac_c99_wchar" >&6
7651   fi
7652
7653   # Option parsed, now set things appropriately.
7654   if test x"$ac_c99_math" = x"no" ||
7655      test x"$ac_c99_complex" = x"no" ||
7656      test x"$ac_c99_stdio" = x"no" ||
7657      test x"$ac_c99_stdlib" = x"no" ||
7658      test x"$ac_c99_wchar" = x"no"; then
7659     enable_c99=no;
7660   else
7661
7662 cat >>confdefs.h <<\_ACEOF
7663 #define _GLIBCXX_USE_C99 1
7664 _ACEOF
7665
7666   fi
7667
7668   ac_ext=c
7669 ac_cpp='$CPP $CPPFLAGS'
7670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7673
7674   fi
7675
7676   echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
7677 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
7678   echo "$as_me:$LINENO: result: $enable_c99" >&5
7679 echo "${ECHO_T}$enable_c99" >&6
7680
7681
7682    # Check whether --enable-long-long or --disable-long-long was given.
7683 if test "${enable_long_long+set}" = set; then
7684   enableval="$enable_long_long"
7685
7686       case "$enableval" in
7687        yes|no) ;;
7688        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
7689 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
7690    { (exit 1); exit 1; }; } ;;
7691       esac
7692
7693 else
7694   enable_long_long=yes
7695 fi;
7696
7697   if test $enable_long_long = yes; then
7698
7699 cat >>confdefs.h <<\_ACEOF
7700 #define _GLIBCXX_USE_LONG_LONG 1
7701 _ACEOF
7702
7703   fi
7704   echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
7705 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
7706   echo "$as_me:$LINENO: result: $enable_long_long" >&5
7707 echo "${ECHO_T}$enable_long_long" >&6
7708
7709
7710    # Check whether --enable-wchar_t or --disable-wchar_t was given.
7711 if test "${enable_wchar_t+set}" = set; then
7712   enableval="$enable_wchar_t"
7713
7714       case "$enableval" in
7715        yes|no) ;;
7716        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
7717 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
7718    { (exit 1); exit 1; }; } ;;
7719       esac
7720
7721 else
7722   enable_wchar_t=yes
7723 fi;
7724
7725   if test x"$ac_c99_wchar" = x"yes" && test x"$enable_wchar_t" = x"yes"; then
7726
7727 cat >>confdefs.h <<\_ACEOF
7728 #define _GLIBCXX_USE_WCHAR_T 1
7729 _ACEOF
7730
7731   fi
7732   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
7733 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
7734   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
7735 echo "${ECHO_T}$enable_wchar_t" >&6
7736
7737
7738    # Check whether --enable-concept-checks or --disable-concept-checks was given.
7739 if test "${enable_concept_checks+set}" = set; then
7740   enableval="$enable_concept_checks"
7741
7742       case "$enableval" in
7743        yes|no) ;;
7744        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7745 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7746    { (exit 1); exit 1; }; } ;;
7747       esac
7748
7749 else
7750   enable_concept_checks=no
7751 fi;
7752
7753   if test $enable_concept_checks = yes; then
7754
7755 cat >>confdefs.h <<\_ACEOF
7756 #define _GLIBCXX_CONCEPT_CHECKS 1
7757 _ACEOF
7758
7759   fi
7760
7761
7762    # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7763 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7764   enableval="$enable_libstdcxx_debug_flags"
7765   case "x$enable_libstdcxx_debug_flags" in
7766       xno | x)    enable_libstdcxx_debug_flags= ;;
7767       x-*)        ;;
7768       *)          { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7769 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7770    { (exit 1); exit 1; }; } ;;
7771      esac
7772 else
7773   enable_libstdcxx_debug_flags="-g3 -O0"
7774 fi;
7775
7776
7777   # Option parsed, now set things appropriately
7778   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7779
7780
7781   { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7782 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7783
7784
7785   echo "$as_me:$LINENO: checking for additional debug build" >&5
7786 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7787    # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7788 if test "${enable_libstdcxx_debug+set}" = set; then
7789   enableval="$enable_libstdcxx_debug"
7790
7791       case "$enableval" in
7792        yes|no) ;;
7793        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7794 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7795    { (exit 1); exit 1; }; } ;;
7796       esac
7797
7798 else
7799   enable_libstdcxx_debug=no
7800 fi;
7801
7802   echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7803 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7804
7805
7806   echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7807 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7808    # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7809 if test "${enable_cxx_flags+set}" = set; then
7810   enableval="$enable_cxx_flags"
7811   case "x$enable_cxx_flags" in
7812       xno | x)   enable_cxx_flags= ;;
7813       x-*)       ;;
7814       *)         { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7815 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7816    { (exit 1); exit 1; }; } ;;
7817      esac
7818 else
7819   enable_cxx_flags=
7820 fi;
7821
7822
7823   # Run through flags (either default or command-line) and set anything
7824   # extra (e.g., #defines) that must accompany particular g++ options.
7825   if test -n "$enable_cxx_flags"; then
7826     for f in $enable_cxx_flags; do
7827       case "$f" in
7828         -fhonor-std)  ;;
7829         -*)  ;;
7830         *)   # and we're trying to pass /what/ exactly?
7831              { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7832 echo "$as_me: error: compiler flags start with a -" >&2;}
7833    { (exit 1); exit 1; }; } ;;
7834       esac
7835     done
7836   fi
7837
7838   EXTRA_CXX_FLAGS="$enable_cxx_flags"
7839   echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7840 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7841
7842
7843
7844    # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
7845 if test "${enable_fully_dynamic_string+set}" = set; then
7846   enableval="$enable_fully_dynamic_string"
7847
7848       case "$enableval" in
7849        yes|no) ;;
7850        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
7851 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
7852    { (exit 1); exit 1; }; } ;;
7853       esac
7854
7855 else
7856   enable_fully_dynamic_string=no
7857 fi;
7858
7859   if test $enable_fully_dynamic_string = yes; then
7860
7861 cat >>confdefs.h <<\_ACEOF
7862 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
7863 _ACEOF
7864
7865   fi
7866
7867
7868 # No surprises, no surprises...
7869
7870   echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7871 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7872   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7873   echo "$as_me:$LINENO: result: $target_thread_file" >&5
7874 echo "${ECHO_T}$target_thread_file" >&6
7875
7876   if test $target_thread_file != single; then
7877
7878 cat >>confdefs.h <<\_ACEOF
7879 #define HAVE_GTHR_DEFAULT 1
7880 _ACEOF
7881
7882   fi
7883
7884   glibcxx_thread_h=gthr-$target_thread_file.h
7885
7886     gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
7887   if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
7888     enable_thread=yes
7889   else
7890    enable_thread=no
7891   fi
7892
7893
7894
7895 if test $atomicity_dir = cpu/generic ; then
7896   { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
7897 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
7898   if test $target_thread_file = single; then
7899     { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
7900 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
7901     { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
7902 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
7903   else
7904     { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
7905 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
7906     { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
7907 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
7908   fi
7909 fi
7910
7911
7912 if $GLIBCXX_IS_NATIVE; then
7913
7914   # We can do more elaborate tests that assume a working linker.
7915   CANADIAN=no
7916
7917   # Check for available headers.
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
7934   machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
7935   sys/types.h sys/ipc.h sys/sem.h
7936 do
7937 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7938 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7939   echo "$as_me:$LINENO: checking for $ac_header" >&5
7940 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7941 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7942   echo $ECHO_N "(cached) $ECHO_C" >&6
7943 fi
7944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7945 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7946 else
7947   # Is the header compilable?
7948 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7949 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7950 cat >conftest.$ac_ext <<_ACEOF
7951 /* confdefs.h.  */
7952 _ACEOF
7953 cat confdefs.h >>conftest.$ac_ext
7954 cat >>conftest.$ac_ext <<_ACEOF
7955 /* end confdefs.h.  */
7956 $ac_includes_default
7957 #include <$ac_header>
7958 _ACEOF
7959 rm -f conftest.$ac_objext
7960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7961   (eval $ac_compile) 2>conftest.er1
7962   ac_status=$?
7963   grep -v '^ *+' conftest.er1 >conftest.err
7964   rm -f conftest.er1
7965   cat conftest.err >&5
7966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7967   (exit $ac_status); } &&
7968          { ac_try='test -z "$ac_c_werror_flag"
7969                          || test ! -s conftest.err'
7970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7971   (eval $ac_try) 2>&5
7972   ac_status=$?
7973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7974   (exit $ac_status); }; } &&
7975          { ac_try='test -s conftest.$ac_objext'
7976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7977   (eval $ac_try) 2>&5
7978   ac_status=$?
7979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7980   (exit $ac_status); }; }; then
7981   ac_header_compiler=yes
7982 else
7983   echo "$as_me: failed program was:" >&5
7984 sed 's/^/| /' conftest.$ac_ext >&5
7985
7986 ac_header_compiler=no
7987 fi
7988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7989 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7990 echo "${ECHO_T}$ac_header_compiler" >&6
7991
7992 # Is the header present?
7993 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7994 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7995 cat >conftest.$ac_ext <<_ACEOF
7996 /* confdefs.h.  */
7997 _ACEOF
7998 cat confdefs.h >>conftest.$ac_ext
7999 cat >>conftest.$ac_ext <<_ACEOF
8000 /* end confdefs.h.  */
8001 #include <$ac_header>
8002 _ACEOF
8003 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8004   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8005   ac_status=$?
8006   grep -v '^ *+' conftest.er1 >conftest.err
8007   rm -f conftest.er1
8008   cat conftest.err >&5
8009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8010   (exit $ac_status); } >/dev/null; then
8011   if test -s conftest.err; then
8012     ac_cpp_err=$ac_c_preproc_warn_flag
8013     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8014   else
8015     ac_cpp_err=
8016   fi
8017 else
8018   ac_cpp_err=yes
8019 fi
8020 if test -z "$ac_cpp_err"; then
8021   ac_header_preproc=yes
8022 else
8023   echo "$as_me: failed program was:" >&5
8024 sed 's/^/| /' conftest.$ac_ext >&5
8025
8026   ac_header_preproc=no
8027 fi
8028 rm -f conftest.err conftest.$ac_ext
8029 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8030 echo "${ECHO_T}$ac_header_preproc" >&6
8031
8032 # So?  What about this header?
8033 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8034   yes:no: )
8035     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8036 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8037     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8038 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8039     ac_header_preproc=yes
8040     ;;
8041   no:yes:* )
8042     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8043 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8044     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
8045 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
8046     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8047 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8048     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
8049 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
8050     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8051 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8052     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8053 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8054     (
8055       cat <<\_ASBOX
8056 ## ----------------------------------------- ##
8057 ## Report this to the package-unused lists.  ##
8058 ## ----------------------------------------- ##
8059 _ASBOX
8060     ) |
8061       sed "s/^/$as_me: WARNING:     /" >&2
8062     ;;
8063 esac
8064 echo "$as_me:$LINENO: checking for $ac_header" >&5
8065 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8066 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8067   echo $ECHO_N "(cached) $ECHO_C" >&6
8068 else
8069   eval "$as_ac_Header=\$ac_header_preproc"
8070 fi
8071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8072 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8073
8074 fi
8075 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8076   cat >>confdefs.h <<_ACEOF
8077 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8078 _ACEOF
8079
8080 fi
8081
8082 done
8083
8084
8085
8086   # All these tests are for C++; save the language and the compiler flags.
8087   # The CXXFLAGS thing is suspicious, but based on similar bits previously
8088   # found in GLIBCXX_CONFIGURE.
8089
8090
8091   ac_ext=cc
8092 ac_cpp='$CXXCPP $CPPFLAGS'
8093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8096
8097   ac_test_CXXFLAGS="${CXXFLAGS+set}"
8098   ac_save_CXXFLAGS="$CXXFLAGS"
8099
8100   # Check for maintainer-mode bits.
8101   if test x"$USE_MAINTAINER_MODE" = xno; then
8102     WERROR=''
8103   else
8104     WERROR='-Werror'
8105   fi
8106
8107   # Check for -ffunction-sections -fdata-sections
8108   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8109 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
8110   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8111   cat >conftest.$ac_ext <<_ACEOF
8112 /* confdefs.h.  */
8113 _ACEOF
8114 cat confdefs.h >>conftest.$ac_ext
8115 cat >>conftest.$ac_ext <<_ACEOF
8116 /* end confdefs.h.  */
8117
8118 int
8119 main ()
8120 {
8121 int foo;
8122   ;
8123   return 0;
8124 }
8125 _ACEOF
8126 rm -f conftest.$ac_objext
8127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8128   (eval $ac_compile) 2>conftest.er1
8129   ac_status=$?
8130   grep -v '^ *+' conftest.er1 >conftest.err
8131   rm -f conftest.er1
8132   cat conftest.err >&5
8133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8134   (exit $ac_status); } &&
8135          { ac_try='test -z "$ac_cxx_werror_flag"
8136                          || test ! -s conftest.err'
8137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8138   (eval $ac_try) 2>&5
8139   ac_status=$?
8140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8141   (exit $ac_status); }; } &&
8142          { ac_try='test -s conftest.$ac_objext'
8143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8144   (eval $ac_try) 2>&5
8145   ac_status=$?
8146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8147   (exit $ac_status); }; }; then
8148   ac_fdsections=yes
8149 else
8150   echo "$as_me: failed program was:" >&5
8151 sed 's/^/| /' conftest.$ac_ext >&5
8152
8153 ac_fdsections=no
8154 fi
8155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8156   if test "$ac_test_CXXFLAGS" = set; then
8157     CXXFLAGS="$ac_save_CXXFLAGS"
8158   else
8159     # this is the suspicious part
8160     CXXFLAGS=''
8161   fi
8162   if test x"$ac_fdsections" = x"yes"; then
8163     SECTION_FLAGS='-ffunction-sections -fdata-sections'
8164   fi
8165   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
8166 echo "${ECHO_T}$ac_fdsections" >&6
8167
8168   ac_ext=c
8169 ac_cpp='$CPP $CPPFLAGS'
8170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8173
8174
8175
8176
8177
8178   # If we're not using GNU ld, then there's no point in even trying these
8179   # tests.  Check for that first.  We should have already tested for gld
8180   # by now (in libtool), but require it now just to be safe...
8181   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8182   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8183
8184
8185
8186   # The name set by libtool depends on the version of libtool.  Shame on us
8187   # for depending on an impl detail, but c'est la vie.  Older versions used
8188   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8189   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8190   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
8191   # set (hence we're using an older libtool), then set it.
8192   if test x${with_gnu_ld+set} != xset; then
8193     if test x${ac_cv_prog_gnu_ld+set} != xset; then
8194       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
8195       with_gnu_ld=no
8196     else
8197       with_gnu_ld=$ac_cv_prog_gnu_ld
8198     fi
8199   fi
8200
8201   # Start by getting the version number.  I think the libtool test already
8202   # does some of this, but throws away the result.
8203   echo "$as_me:$LINENO: checking for ld version" >&5
8204 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
8205
8206   ldver=`$LD --version 2>/dev/null | head -1 | \
8207          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8208
8209   glibcxx_gnu_ld_version=`echo $ldver | \
8210          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8211   echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
8212 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
8213
8214   # Set --gc-sections.
8215   glibcxx_gcsections_min_ld=21602
8216   if test x"$with_gnu_ld" = x"yes" &&
8217         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
8218
8219     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
8220     # NB: This flag only works reliably after 2.16.1. Configure tests
8221     # for this are difficult, so hard wire a value that should work.
8222
8223     # All these tests are for C++, but run with the "C" compiler driver.
8224     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
8225     ac_test_CFLAGS="${CFLAGS+set}"
8226     ac_save_CFLAGS="$CFLAGS"
8227     CFLAGS='-x c++ -Wl,--gc-sections'
8228
8229     # Check for -Wl,--gc-sections
8230     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
8231 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
8232     if test x$gcc_no_link = xyes; then
8233   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8235    { (exit 1); exit 1; }; }
8236 fi
8237 cat >conftest.$ac_ext <<_ACEOF
8238 /* confdefs.h.  */
8239 _ACEOF
8240 cat confdefs.h >>conftest.$ac_ext
8241 cat >>conftest.$ac_ext <<_ACEOF
8242 /* end confdefs.h.  */
8243  int one(void) { return 1; }
8244      int two(void) { return 2; }
8245
8246 int
8247 main ()
8248 {
8249  two();
8250   ;
8251   return 0;
8252 }
8253 _ACEOF
8254 rm -f conftest.$ac_objext conftest$ac_exeext
8255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8256   (eval $ac_link) 2>conftest.er1
8257   ac_status=$?
8258   grep -v '^ *+' conftest.er1 >conftest.err
8259   rm -f conftest.er1
8260   cat conftest.err >&5
8261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8262   (exit $ac_status); } &&
8263          { ac_try='test -z "$ac_c_werror_flag"
8264                          || test ! -s conftest.err'
8265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8266   (eval $ac_try) 2>&5
8267   ac_status=$?
8268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8269   (exit $ac_status); }; } &&
8270          { ac_try='test -s conftest$ac_exeext'
8271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8272   (eval $ac_try) 2>&5
8273   ac_status=$?
8274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8275   (exit $ac_status); }; }; then
8276   ac_gcsections=yes
8277 else
8278   echo "$as_me: failed program was:" >&5
8279 sed 's/^/| /' conftest.$ac_ext >&5
8280
8281 ac_gcsections=no
8282 fi
8283 rm -f conftest.err conftest.$ac_objext \
8284       conftest$ac_exeext conftest.$ac_ext
8285     if test "$ac_gcsections" = "yes"; then
8286       rm -f conftest.c
8287       touch conftest.c
8288       if $CC -c conftest.c; then
8289         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
8290            grep "Warning: gc-sections option ignored" > /dev/null; then
8291           ac_gcsections=no
8292         fi
8293       fi
8294       rm -f conftest.c conftest.o conftest
8295     fi
8296     if test "$ac_gcsections" = "yes"; then
8297       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8298     fi
8299     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
8300 echo "${ECHO_T}$ac_gcsections" >&6
8301
8302     if test "$ac_test_CFLAGS" = set; then
8303       CFLAGS="$ac_save_CFLAGS"
8304     else
8305       # this is the suspicious part
8306       CFLAGS=''
8307     fi
8308   fi
8309
8310   # Set -z,relro.
8311   # Note this is only for shared objects.
8312   ac_ld_relro=no
8313   if test x"$with_gnu_ld" = x"yes"; then
8314     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
8315 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
8316     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
8317     if test -n "$cxx_z_relo"; then
8318       OPT_LDFLAGS="-Wl,-z,relro"
8319       ac_ld_relro=yes
8320     fi
8321     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
8322 echo "${ECHO_T}$ac_ld_relro" >&6
8323   fi
8324
8325   # Set linker optimization flags.
8326   if test x"$with_gnu_ld" = x"yes"; then
8327     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8328   fi
8329
8330
8331
8332
8333
8334   ac_test_CXXFLAGS="${CXXFLAGS+set}"
8335   ac_save_CXXFLAGS="$CXXFLAGS"
8336   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
8337
8338     echo "$as_me:$LINENO: checking for sin in -lm" >&5
8339 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8340 if test "${ac_cv_lib_m_sin+set}" = set; then
8341   echo $ECHO_N "(cached) $ECHO_C" >&6
8342 else
8343   ac_check_lib_save_LIBS=$LIBS
8344 LIBS="-lm  $LIBS"
8345 if test x$gcc_no_link = xyes; then
8346   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8348    { (exit 1); exit 1; }; }
8349 fi
8350 cat >conftest.$ac_ext <<_ACEOF
8351 /* confdefs.h.  */
8352 _ACEOF
8353 cat confdefs.h >>conftest.$ac_ext
8354 cat >>conftest.$ac_ext <<_ACEOF
8355 /* end confdefs.h.  */
8356
8357 /* Override any gcc2 internal prototype to avoid an error.  */
8358 #ifdef __cplusplus
8359 extern "C"
8360 #endif
8361 /* We use char because int might match the return type of a gcc2
8362    builtin and then its argument prototype would still apply.  */
8363 char sin ();
8364 int
8365 main ()
8366 {
8367 sin ();
8368   ;
8369   return 0;
8370 }
8371 _ACEOF
8372 rm -f conftest.$ac_objext conftest$ac_exeext
8373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8374   (eval $ac_link) 2>conftest.er1
8375   ac_status=$?
8376   grep -v '^ *+' conftest.er1 >conftest.err
8377   rm -f conftest.er1
8378   cat conftest.err >&5
8379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8380   (exit $ac_status); } &&
8381          { ac_try='test -z "$ac_c_werror_flag"
8382                          || test ! -s conftest.err'
8383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8384   (eval $ac_try) 2>&5
8385   ac_status=$?
8386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8387   (exit $ac_status); }; } &&
8388          { ac_try='test -s conftest$ac_exeext'
8389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8390   (eval $ac_try) 2>&5
8391   ac_status=$?
8392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8393   (exit $ac_status); }; }; then
8394   ac_cv_lib_m_sin=yes
8395 else
8396   echo "$as_me: failed program was:" >&5
8397 sed 's/^/| /' conftest.$ac_ext >&5
8398
8399 ac_cv_lib_m_sin=no
8400 fi
8401 rm -f conftest.err conftest.$ac_objext \
8402       conftest$ac_exeext conftest.$ac_ext
8403 LIBS=$ac_check_lib_save_LIBS
8404 fi
8405 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8406 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8407 if test $ac_cv_lib_m_sin = yes; then
8408   libm="-lm"
8409 fi
8410
8411   ac_save_LIBS="$LIBS"
8412   LIBS="$LIBS $libm"
8413
8414
8415
8416   echo "$as_me:$LINENO: checking for isinf declaration" >&5
8417 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
8418   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
8419     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
8420   echo $ECHO_N "(cached) $ECHO_C" >&6
8421 else
8422
8423
8424
8425       ac_ext=cc
8426 ac_cpp='$CXXCPP $CPPFLAGS'
8427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8430
8431       cat >conftest.$ac_ext <<_ACEOF
8432 /* confdefs.h.  */
8433 _ACEOF
8434 cat confdefs.h >>conftest.$ac_ext
8435 cat >>conftest.$ac_ext <<_ACEOF
8436 /* end confdefs.h.  */
8437 #include <math.h>
8438                       #ifdef HAVE_IEEEFP_H
8439                       #include <ieeefp.h>
8440                       #endif
8441
8442 int
8443 main ()
8444 {
8445  isinf(0);
8446   ;
8447   return 0;
8448 }
8449 _ACEOF
8450 rm -f conftest.$ac_objext
8451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8452   (eval $ac_compile) 2>conftest.er1
8453   ac_status=$?
8454   grep -v '^ *+' conftest.er1 >conftest.err
8455   rm -f conftest.er1
8456   cat conftest.err >&5
8457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8458   (exit $ac_status); } &&
8459          { ac_try='test -z "$ac_cxx_werror_flag"
8460                          || test ! -s conftest.err'
8461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8462   (eval $ac_try) 2>&5
8463   ac_status=$?
8464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8465   (exit $ac_status); }; } &&
8466          { ac_try='test -s conftest.$ac_objext'
8467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8468   (eval $ac_try) 2>&5
8469   ac_status=$?
8470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8471   (exit $ac_status); }; }; then
8472   glibcxx_cv_func_isinf_use=yes
8473 else
8474   echo "$as_me: failed program was:" >&5
8475 sed 's/^/| /' conftest.$ac_ext >&5
8476
8477 glibcxx_cv_func_isinf_use=no
8478 fi
8479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8480       ac_ext=c
8481 ac_cpp='$CPP $CPPFLAGS'
8482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8485
8486
8487 fi
8488
8489   fi
8490   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
8491 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
8492
8493   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
8494
8495 for ac_func in isinf
8496 do
8497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8498 echo "$as_me:$LINENO: checking for $ac_func" >&5
8499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8500 if eval "test \"\${$as_ac_var+set}\" = set"; then
8501   echo $ECHO_N "(cached) $ECHO_C" >&6
8502 else
8503   if test x$gcc_no_link = xyes; then
8504   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8506    { (exit 1); exit 1; }; }
8507 fi
8508 cat >conftest.$ac_ext <<_ACEOF
8509 /* confdefs.h.  */
8510 _ACEOF
8511 cat confdefs.h >>conftest.$ac_ext
8512 cat >>conftest.$ac_ext <<_ACEOF
8513 /* end confdefs.h.  */
8514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8515    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8516 #define $ac_func innocuous_$ac_func
8517
8518 /* System header to define __stub macros and hopefully few prototypes,
8519     which can conflict with char $ac_func (); below.
8520     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8521     <limits.h> exists even on freestanding compilers.  */
8522
8523 #ifdef __STDC__
8524 # include <limits.h>
8525 #else
8526 # include <assert.h>
8527 #endif
8528
8529 #undef $ac_func
8530
8531 /* Override any gcc2 internal prototype to avoid an error.  */
8532 #ifdef __cplusplus
8533 extern "C"
8534 {
8535 #endif
8536 /* We use char because int might match the return type of a gcc2
8537    builtin and then its argument prototype would still apply.  */
8538 char $ac_func ();
8539 /* The GNU C library defines this for functions which it implements
8540     to always fail with ENOSYS.  Some functions are actually named
8541     something starting with __ and the normal name is an alias.  */
8542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8543 choke me
8544 #else
8545 char (*f) () = $ac_func;
8546 #endif
8547 #ifdef __cplusplus
8548 }
8549 #endif
8550
8551 int
8552 main ()
8553 {
8554 return f != $ac_func;
8555   ;
8556   return 0;
8557 }
8558 _ACEOF
8559 rm -f conftest.$ac_objext conftest$ac_exeext
8560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8561   (eval $ac_link) 2>conftest.er1
8562   ac_status=$?
8563   grep -v '^ *+' conftest.er1 >conftest.err
8564   rm -f conftest.er1
8565   cat conftest.err >&5
8566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8567   (exit $ac_status); } &&
8568          { ac_try='test -z "$ac_c_werror_flag"
8569                          || test ! -s conftest.err'
8570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8571   (eval $ac_try) 2>&5
8572   ac_status=$?
8573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8574   (exit $ac_status); }; } &&
8575          { ac_try='test -s conftest$ac_exeext'
8576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8577   (eval $ac_try) 2>&5
8578   ac_status=$?
8579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8580   (exit $ac_status); }; }; then
8581   eval "$as_ac_var=yes"
8582 else
8583   echo "$as_me: failed program was:" >&5
8584 sed 's/^/| /' conftest.$ac_ext >&5
8585
8586 eval "$as_ac_var=no"
8587 fi
8588 rm -f conftest.err conftest.$ac_objext \
8589       conftest$ac_exeext conftest.$ac_ext
8590 fi
8591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8592 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8593 if test `eval echo '${'$as_ac_var'}'` = yes; then
8594   cat >>confdefs.h <<_ACEOF
8595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8596 _ACEOF
8597
8598 fi
8599 done
8600
8601   else
8602
8603   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8604 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8605   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8606     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8607   echo $ECHO_N "(cached) $ECHO_C" >&6
8608 else
8609
8610
8611
8612       ac_ext=cc
8613 ac_cpp='$CXXCPP $CPPFLAGS'
8614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8617
8618       cat >conftest.$ac_ext <<_ACEOF
8619 /* confdefs.h.  */
8620 _ACEOF
8621 cat confdefs.h >>conftest.$ac_ext
8622 cat >>conftest.$ac_ext <<_ACEOF
8623 /* end confdefs.h.  */
8624 #include <math.h>
8625                       #ifdef HAVE_IEEEFP_H
8626                       #include <ieeefp.h>
8627                       #endif
8628
8629 int
8630 main ()
8631 {
8632  _isinf(0);
8633   ;
8634   return 0;
8635 }
8636 _ACEOF
8637 rm -f conftest.$ac_objext
8638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8639   (eval $ac_compile) 2>conftest.er1
8640   ac_status=$?
8641   grep -v '^ *+' conftest.er1 >conftest.err
8642   rm -f conftest.er1
8643   cat conftest.err >&5
8644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8645   (exit $ac_status); } &&
8646          { ac_try='test -z "$ac_cxx_werror_flag"
8647                          || test ! -s conftest.err'
8648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8649   (eval $ac_try) 2>&5
8650   ac_status=$?
8651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8652   (exit $ac_status); }; } &&
8653          { ac_try='test -s conftest.$ac_objext'
8654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8655   (eval $ac_try) 2>&5
8656   ac_status=$?
8657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8658   (exit $ac_status); }; }; then
8659   glibcxx_cv_func__isinf_use=yes
8660 else
8661   echo "$as_me: failed program was:" >&5
8662 sed 's/^/| /' conftest.$ac_ext >&5
8663
8664 glibcxx_cv_func__isinf_use=no
8665 fi
8666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8667       ac_ext=c
8668 ac_cpp='$CPP $CPPFLAGS'
8669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8672
8673
8674 fi
8675
8676   fi
8677   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8678 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8679
8680     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8681
8682 for ac_func in _isinf
8683 do
8684 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8685 echo "$as_me:$LINENO: checking for $ac_func" >&5
8686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8687 if eval "test \"\${$as_ac_var+set}\" = set"; then
8688   echo $ECHO_N "(cached) $ECHO_C" >&6
8689 else
8690   if test x$gcc_no_link = xyes; then
8691   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8693    { (exit 1); exit 1; }; }
8694 fi
8695 cat >conftest.$ac_ext <<_ACEOF
8696 /* confdefs.h.  */
8697 _ACEOF
8698 cat confdefs.h >>conftest.$ac_ext
8699 cat >>conftest.$ac_ext <<_ACEOF
8700 /* end confdefs.h.  */
8701 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8702    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8703 #define $ac_func innocuous_$ac_func
8704
8705 /* System header to define __stub macros and hopefully few prototypes,
8706     which can conflict with char $ac_func (); below.
8707     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8708     <limits.h> exists even on freestanding compilers.  */
8709
8710 #ifdef __STDC__
8711 # include <limits.h>
8712 #else
8713 # include <assert.h>
8714 #endif
8715
8716 #undef $ac_func
8717
8718 /* Override any gcc2 internal prototype to avoid an error.  */
8719 #ifdef __cplusplus
8720 extern "C"
8721 {
8722 #endif
8723 /* We use char because int might match the return type of a gcc2
8724    builtin and then its argument prototype would still apply.  */
8725 char $ac_func ();
8726 /* The GNU C library defines this for functions which it implements
8727     to always fail with ENOSYS.  Some functions are actually named
8728     something starting with __ and the normal name is an alias.  */
8729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8730 choke me
8731 #else
8732 char (*f) () = $ac_func;
8733 #endif
8734 #ifdef __cplusplus
8735 }
8736 #endif
8737
8738 int
8739 main ()
8740 {
8741 return f != $ac_func;
8742   ;
8743   return 0;
8744 }
8745 _ACEOF
8746 rm -f conftest.$ac_objext conftest$ac_exeext
8747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8748   (eval $ac_link) 2>conftest.er1
8749   ac_status=$?
8750   grep -v '^ *+' conftest.er1 >conftest.err
8751   rm -f conftest.er1
8752   cat conftest.err >&5
8753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8754   (exit $ac_status); } &&
8755          { ac_try='test -z "$ac_c_werror_flag"
8756                          || test ! -s conftest.err'
8757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8758   (eval $ac_try) 2>&5
8759   ac_status=$?
8760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8761   (exit $ac_status); }; } &&
8762          { ac_try='test -s conftest$ac_exeext'
8763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8764   (eval $ac_try) 2>&5
8765   ac_status=$?
8766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8767   (exit $ac_status); }; }; then
8768   eval "$as_ac_var=yes"
8769 else
8770   echo "$as_me: failed program was:" >&5
8771 sed 's/^/| /' conftest.$ac_ext >&5
8772
8773 eval "$as_ac_var=no"
8774 fi
8775 rm -f conftest.err conftest.$ac_objext \
8776       conftest$ac_exeext conftest.$ac_ext
8777 fi
8778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8779 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8780 if test `eval echo '${'$as_ac_var'}'` = yes; then
8781   cat >>confdefs.h <<_ACEOF
8782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8783 _ACEOF
8784
8785 fi
8786 done
8787
8788     fi
8789   fi
8790
8791
8792
8793
8794
8795
8796   echo "$as_me:$LINENO: checking for isnan declaration" >&5
8797 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8798   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8799     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8800   echo $ECHO_N "(cached) $ECHO_C" >&6
8801 else
8802
8803
8804
8805       ac_ext=cc
8806 ac_cpp='$CXXCPP $CPPFLAGS'
8807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8810
8811       cat >conftest.$ac_ext <<_ACEOF
8812 /* confdefs.h.  */
8813 _ACEOF
8814 cat confdefs.h >>conftest.$ac_ext
8815 cat >>conftest.$ac_ext <<_ACEOF
8816 /* end confdefs.h.  */
8817 #include <math.h>
8818                       #ifdef HAVE_IEEEFP_H
8819                       #include <ieeefp.h>
8820                       #endif
8821
8822 int
8823 main ()
8824 {
8825  isnan(0);
8826   ;
8827   return 0;
8828 }
8829 _ACEOF
8830 rm -f conftest.$ac_objext
8831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8832   (eval $ac_compile) 2>conftest.er1
8833   ac_status=$?
8834   grep -v '^ *+' conftest.er1 >conftest.err
8835   rm -f conftest.er1
8836   cat conftest.err >&5
8837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8838   (exit $ac_status); } &&
8839          { ac_try='test -z "$ac_cxx_werror_flag"
8840                          || test ! -s conftest.err'
8841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8842   (eval $ac_try) 2>&5
8843   ac_status=$?
8844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8845   (exit $ac_status); }; } &&
8846          { ac_try='test -s conftest.$ac_objext'
8847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8848   (eval $ac_try) 2>&5
8849   ac_status=$?
8850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8851   (exit $ac_status); }; }; then
8852   glibcxx_cv_func_isnan_use=yes
8853 else
8854   echo "$as_me: failed program was:" >&5
8855 sed 's/^/| /' conftest.$ac_ext >&5
8856
8857 glibcxx_cv_func_isnan_use=no
8858 fi
8859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8860       ac_ext=c
8861 ac_cpp='$CPP $CPPFLAGS'
8862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8865
8866
8867 fi
8868
8869   fi
8870   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8871 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8872
8873   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
8874
8875 for ac_func in isnan
8876 do
8877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8878 echo "$as_me:$LINENO: checking for $ac_func" >&5
8879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8880 if eval "test \"\${$as_ac_var+set}\" = set"; then
8881   echo $ECHO_N "(cached) $ECHO_C" >&6
8882 else
8883   if test x$gcc_no_link = xyes; then
8884   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8886    { (exit 1); exit 1; }; }
8887 fi
8888 cat >conftest.$ac_ext <<_ACEOF
8889 /* confdefs.h.  */
8890 _ACEOF
8891 cat confdefs.h >>conftest.$ac_ext
8892 cat >>conftest.$ac_ext <<_ACEOF
8893 /* end confdefs.h.  */
8894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8895    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8896 #define $ac_func innocuous_$ac_func
8897
8898 /* System header to define __stub macros and hopefully few prototypes,
8899     which can conflict with char $ac_func (); below.
8900     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8901     <limits.h> exists even on freestanding compilers.  */
8902
8903 #ifdef __STDC__
8904 # include <limits.h>
8905 #else
8906 # include <assert.h>
8907 #endif
8908
8909 #undef $ac_func
8910
8911 /* Override any gcc2 internal prototype to avoid an error.  */
8912 #ifdef __cplusplus
8913 extern "C"
8914 {
8915 #endif
8916 /* We use char because int might match the return type of a gcc2
8917    builtin and then its argument prototype would still apply.  */
8918 char $ac_func ();
8919 /* The GNU C library defines this for functions which it implements
8920     to always fail with ENOSYS.  Some functions are actually named
8921     something starting with __ and the normal name is an alias.  */
8922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8923 choke me
8924 #else
8925 char (*f) () = $ac_func;
8926 #endif
8927 #ifdef __cplusplus
8928 }
8929 #endif
8930
8931 int
8932 main ()
8933 {
8934 return f != $ac_func;
8935   ;
8936   return 0;
8937 }
8938 _ACEOF
8939 rm -f conftest.$ac_objext conftest$ac_exeext
8940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8941   (eval $ac_link) 2>conftest.er1
8942   ac_status=$?
8943   grep -v '^ *+' conftest.er1 >conftest.err
8944   rm -f conftest.er1
8945   cat conftest.err >&5
8946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8947   (exit $ac_status); } &&
8948          { ac_try='test -z "$ac_c_werror_flag"
8949                          || test ! -s conftest.err'
8950   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8951   (eval $ac_try) 2>&5
8952   ac_status=$?
8953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8954   (exit $ac_status); }; } &&
8955          { ac_try='test -s conftest$ac_exeext'
8956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8957   (eval $ac_try) 2>&5
8958   ac_status=$?
8959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8960   (exit $ac_status); }; }; then
8961   eval "$as_ac_var=yes"
8962 else
8963   echo "$as_me: failed program was:" >&5
8964 sed 's/^/| /' conftest.$ac_ext >&5
8965
8966 eval "$as_ac_var=no"
8967 fi
8968 rm -f conftest.err conftest.$ac_objext \
8969       conftest$ac_exeext conftest.$ac_ext
8970 fi
8971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8973 if test `eval echo '${'$as_ac_var'}'` = yes; then
8974   cat >>confdefs.h <<_ACEOF
8975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8976 _ACEOF
8977
8978 fi
8979 done
8980
8981   else
8982
8983   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
8984 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
8985   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
8986     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
8987   echo $ECHO_N "(cached) $ECHO_C" >&6
8988 else
8989
8990
8991
8992       ac_ext=cc
8993 ac_cpp='$CXXCPP $CPPFLAGS'
8994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8997
8998       cat >conftest.$ac_ext <<_ACEOF
8999 /* confdefs.h.  */
9000 _ACEOF
9001 cat confdefs.h >>conftest.$ac_ext
9002 cat >>conftest.$ac_ext <<_ACEOF
9003 /* end confdefs.h.  */
9004 #include <math.h>
9005                       #ifdef HAVE_IEEEFP_H
9006                       #include <ieeefp.h>
9007                       #endif
9008
9009 int
9010 main ()
9011 {
9012  _isnan(0);
9013   ;
9014   return 0;
9015 }
9016 _ACEOF
9017 rm -f conftest.$ac_objext
9018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9019   (eval $ac_compile) 2>conftest.er1
9020   ac_status=$?
9021   grep -v '^ *+' conftest.er1 >conftest.err
9022   rm -f conftest.er1
9023   cat conftest.err >&5
9024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9025   (exit $ac_status); } &&
9026          { ac_try='test -z "$ac_cxx_werror_flag"
9027                          || test ! -s conftest.err'
9028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9029   (eval $ac_try) 2>&5
9030   ac_status=$?
9031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9032   (exit $ac_status); }; } &&
9033          { ac_try='test -s conftest.$ac_objext'
9034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9035   (eval $ac_try) 2>&5
9036   ac_status=$?
9037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9038   (exit $ac_status); }; }; then
9039   glibcxx_cv_func__isnan_use=yes
9040 else
9041   echo "$as_me: failed program was:" >&5
9042 sed 's/^/| /' conftest.$ac_ext >&5
9043
9044 glibcxx_cv_func__isnan_use=no
9045 fi
9046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9047       ac_ext=c
9048 ac_cpp='$CPP $CPPFLAGS'
9049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9052
9053
9054 fi
9055
9056   fi
9057   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
9058 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
9059
9060     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
9061
9062 for ac_func in _isnan
9063 do
9064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9065 echo "$as_me:$LINENO: checking for $ac_func" >&5
9066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9067 if eval "test \"\${$as_ac_var+set}\" = set"; then
9068   echo $ECHO_N "(cached) $ECHO_C" >&6
9069 else
9070   if test x$gcc_no_link = xyes; then
9071   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9072 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9073    { (exit 1); exit 1; }; }
9074 fi
9075 cat >conftest.$ac_ext <<_ACEOF
9076 /* confdefs.h.  */
9077 _ACEOF
9078 cat confdefs.h >>conftest.$ac_ext
9079 cat >>conftest.$ac_ext <<_ACEOF
9080 /* end confdefs.h.  */
9081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9082    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9083 #define $ac_func innocuous_$ac_func
9084
9085 /* System header to define __stub macros and hopefully few prototypes,
9086     which can conflict with char $ac_func (); below.
9087     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9088     <limits.h> exists even on freestanding compilers.  */
9089
9090 #ifdef __STDC__
9091 # include <limits.h>
9092 #else
9093 # include <assert.h>
9094 #endif
9095
9096 #undef $ac_func
9097
9098 /* Override any gcc2 internal prototype to avoid an error.  */
9099 #ifdef __cplusplus
9100 extern "C"
9101 {
9102 #endif
9103 /* We use char because int might match the return type of a gcc2
9104    builtin and then its argument prototype would still apply.  */
9105 char $ac_func ();
9106 /* The GNU C library defines this for functions which it implements
9107     to always fail with ENOSYS.  Some functions are actually named
9108     something starting with __ and the normal name is an alias.  */
9109 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9110 choke me
9111 #else
9112 char (*f) () = $ac_func;
9113 #endif
9114 #ifdef __cplusplus
9115 }
9116 #endif
9117
9118 int
9119 main ()
9120 {
9121 return f != $ac_func;
9122   ;
9123   return 0;
9124 }
9125 _ACEOF
9126 rm -f conftest.$ac_objext conftest$ac_exeext
9127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9128   (eval $ac_link) 2>conftest.er1
9129   ac_status=$?
9130   grep -v '^ *+' conftest.er1 >conftest.err
9131   rm -f conftest.er1
9132   cat conftest.err >&5
9133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9134   (exit $ac_status); } &&
9135          { ac_try='test -z "$ac_c_werror_flag"
9136                          || test ! -s conftest.err'
9137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9138   (eval $ac_try) 2>&5
9139   ac_status=$?
9140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9141   (exit $ac_status); }; } &&
9142          { ac_try='test -s conftest$ac_exeext'
9143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9144   (eval $ac_try) 2>&5
9145   ac_status=$?
9146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9147   (exit $ac_status); }; }; then
9148   eval "$as_ac_var=yes"
9149 else
9150   echo "$as_me: failed program was:" >&5
9151 sed 's/^/| /' conftest.$ac_ext >&5
9152
9153 eval "$as_ac_var=no"
9154 fi
9155 rm -f conftest.err conftest.$ac_objext \
9156       conftest$ac_exeext conftest.$ac_ext
9157 fi
9158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9160 if test `eval echo '${'$as_ac_var'}'` = yes; then
9161   cat >>confdefs.h <<_ACEOF
9162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9163 _ACEOF
9164
9165 fi
9166 done
9167
9168     fi
9169   fi
9170
9171
9172
9173
9174
9175
9176   echo "$as_me:$LINENO: checking for finite declaration" >&5
9177 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
9178   if test x${glibcxx_cv_func_finite_use+set} != xset; then
9179     if test "${glibcxx_cv_func_finite_use+set}" = set; then
9180   echo $ECHO_N "(cached) $ECHO_C" >&6
9181 else
9182
9183
9184
9185       ac_ext=cc
9186 ac_cpp='$CXXCPP $CPPFLAGS'
9187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9190
9191       cat >conftest.$ac_ext <<_ACEOF
9192 /* confdefs.h.  */
9193 _ACEOF
9194 cat confdefs.h >>conftest.$ac_ext
9195 cat >>conftest.$ac_ext <<_ACEOF
9196 /* end confdefs.h.  */
9197 #include <math.h>
9198                       #ifdef HAVE_IEEEFP_H
9199                       #include <ieeefp.h>
9200                       #endif
9201
9202 int
9203 main ()
9204 {
9205  finite(0);
9206   ;
9207   return 0;
9208 }
9209 _ACEOF
9210 rm -f conftest.$ac_objext
9211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9212   (eval $ac_compile) 2>conftest.er1
9213   ac_status=$?
9214   grep -v '^ *+' conftest.er1 >conftest.err
9215   rm -f conftest.er1
9216   cat conftest.err >&5
9217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9218   (exit $ac_status); } &&
9219          { ac_try='test -z "$ac_cxx_werror_flag"
9220                          || test ! -s conftest.err'
9221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9222   (eval $ac_try) 2>&5
9223   ac_status=$?
9224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9225   (exit $ac_status); }; } &&
9226          { ac_try='test -s conftest.$ac_objext'
9227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9228   (eval $ac_try) 2>&5
9229   ac_status=$?
9230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9231   (exit $ac_status); }; }; then
9232   glibcxx_cv_func_finite_use=yes
9233 else
9234   echo "$as_me: failed program was:" >&5
9235 sed 's/^/| /' conftest.$ac_ext >&5
9236
9237 glibcxx_cv_func_finite_use=no
9238 fi
9239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9240       ac_ext=c
9241 ac_cpp='$CPP $CPPFLAGS'
9242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9245
9246
9247 fi
9248
9249   fi
9250   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
9251 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
9252
9253   if test x$glibcxx_cv_func_finite_use = x"yes"; then
9254
9255 for ac_func in finite
9256 do
9257 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9258 echo "$as_me:$LINENO: checking for $ac_func" >&5
9259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9260 if eval "test \"\${$as_ac_var+set}\" = set"; then
9261   echo $ECHO_N "(cached) $ECHO_C" >&6
9262 else
9263   if test x$gcc_no_link = xyes; then
9264   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9266    { (exit 1); exit 1; }; }
9267 fi
9268 cat >conftest.$ac_ext <<_ACEOF
9269 /* confdefs.h.  */
9270 _ACEOF
9271 cat confdefs.h >>conftest.$ac_ext
9272 cat >>conftest.$ac_ext <<_ACEOF
9273 /* end confdefs.h.  */
9274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9275    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9276 #define $ac_func innocuous_$ac_func
9277
9278 /* System header to define __stub macros and hopefully few prototypes,
9279     which can conflict with char $ac_func (); below.
9280     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9281     <limits.h> exists even on freestanding compilers.  */
9282
9283 #ifdef __STDC__
9284 # include <limits.h>
9285 #else
9286 # include <assert.h>
9287 #endif
9288
9289 #undef $ac_func
9290
9291 /* Override any gcc2 internal prototype to avoid an error.  */
9292 #ifdef __cplusplus
9293 extern "C"
9294 {
9295 #endif
9296 /* We use char because int might match the return type of a gcc2
9297    builtin and then its argument prototype would still apply.  */
9298 char $ac_func ();
9299 /* The GNU C library defines this for functions which it implements
9300     to always fail with ENOSYS.  Some functions are actually named
9301     something starting with __ and the normal name is an alias.  */
9302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9303 choke me
9304 #else
9305 char (*f) () = $ac_func;
9306 #endif
9307 #ifdef __cplusplus
9308 }
9309 #endif
9310
9311 int
9312 main ()
9313 {
9314 return f != $ac_func;
9315   ;
9316   return 0;
9317 }
9318 _ACEOF
9319 rm -f conftest.$ac_objext conftest$ac_exeext
9320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9321   (eval $ac_link) 2>conftest.er1
9322   ac_status=$?
9323   grep -v '^ *+' conftest.er1 >conftest.err
9324   rm -f conftest.er1
9325   cat conftest.err >&5
9326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9327   (exit $ac_status); } &&
9328          { ac_try='test -z "$ac_c_werror_flag"
9329                          || test ! -s conftest.err'
9330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9331   (eval $ac_try) 2>&5
9332   ac_status=$?
9333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9334   (exit $ac_status); }; } &&
9335          { ac_try='test -s conftest$ac_exeext'
9336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9337   (eval $ac_try) 2>&5
9338   ac_status=$?
9339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9340   (exit $ac_status); }; }; then
9341   eval "$as_ac_var=yes"
9342 else
9343   echo "$as_me: failed program was:" >&5
9344 sed 's/^/| /' conftest.$ac_ext >&5
9345
9346 eval "$as_ac_var=no"
9347 fi
9348 rm -f conftest.err conftest.$ac_objext \
9349       conftest$ac_exeext conftest.$ac_ext
9350 fi
9351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9353 if test `eval echo '${'$as_ac_var'}'` = yes; then
9354   cat >>confdefs.h <<_ACEOF
9355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9356 _ACEOF
9357
9358 fi
9359 done
9360
9361   else
9362
9363   echo "$as_me:$LINENO: checking for _finite declaration" >&5
9364 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
9365   if test x${glibcxx_cv_func__finite_use+set} != xset; then
9366     if test "${glibcxx_cv_func__finite_use+set}" = set; then
9367   echo $ECHO_N "(cached) $ECHO_C" >&6
9368 else
9369
9370
9371
9372       ac_ext=cc
9373 ac_cpp='$CXXCPP $CPPFLAGS'
9374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9377
9378       cat >conftest.$ac_ext <<_ACEOF
9379 /* confdefs.h.  */
9380 _ACEOF
9381 cat confdefs.h >>conftest.$ac_ext
9382 cat >>conftest.$ac_ext <<_ACEOF
9383 /* end confdefs.h.  */
9384 #include <math.h>
9385                       #ifdef HAVE_IEEEFP_H
9386                       #include <ieeefp.h>
9387                       #endif
9388
9389 int
9390 main ()
9391 {
9392  _finite(0);
9393   ;
9394   return 0;
9395 }
9396 _ACEOF
9397 rm -f conftest.$ac_objext
9398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9399   (eval $ac_compile) 2>conftest.er1
9400   ac_status=$?
9401   grep -v '^ *+' conftest.er1 >conftest.err
9402   rm -f conftest.er1
9403   cat conftest.err >&5
9404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9405   (exit $ac_status); } &&
9406          { ac_try='test -z "$ac_cxx_werror_flag"
9407                          || test ! -s conftest.err'
9408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9409   (eval $ac_try) 2>&5
9410   ac_status=$?
9411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9412   (exit $ac_status); }; } &&
9413          { ac_try='test -s conftest.$ac_objext'
9414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9415   (eval $ac_try) 2>&5
9416   ac_status=$?
9417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9418   (exit $ac_status); }; }; then
9419   glibcxx_cv_func__finite_use=yes
9420 else
9421   echo "$as_me: failed program was:" >&5
9422 sed 's/^/| /' conftest.$ac_ext >&5
9423
9424 glibcxx_cv_func__finite_use=no
9425 fi
9426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9427       ac_ext=c
9428 ac_cpp='$CPP $CPPFLAGS'
9429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9432
9433
9434 fi
9435
9436   fi
9437   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
9438 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
9439
9440     if test x$glibcxx_cv_func__finite_use = x"yes"; then
9441
9442 for ac_func in _finite
9443 do
9444 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9445 echo "$as_me:$LINENO: checking for $ac_func" >&5
9446 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9447 if eval "test \"\${$as_ac_var+set}\" = set"; then
9448   echo $ECHO_N "(cached) $ECHO_C" >&6
9449 else
9450   if test x$gcc_no_link = xyes; then
9451   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9453    { (exit 1); exit 1; }; }
9454 fi
9455 cat >conftest.$ac_ext <<_ACEOF
9456 /* confdefs.h.  */
9457 _ACEOF
9458 cat confdefs.h >>conftest.$ac_ext
9459 cat >>conftest.$ac_ext <<_ACEOF
9460 /* end confdefs.h.  */
9461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9462    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9463 #define $ac_func innocuous_$ac_func
9464
9465 /* System header to define __stub macros and hopefully few prototypes,
9466     which can conflict with char $ac_func (); below.
9467     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9468     <limits.h> exists even on freestanding compilers.  */
9469
9470 #ifdef __STDC__
9471 # include <limits.h>
9472 #else
9473 # include <assert.h>
9474 #endif
9475
9476 #undef $ac_func
9477
9478 /* Override any gcc2 internal prototype to avoid an error.  */
9479 #ifdef __cplusplus
9480 extern "C"
9481 {
9482 #endif
9483 /* We use char because int might match the return type of a gcc2
9484    builtin and then its argument prototype would still apply.  */
9485 char $ac_func ();
9486 /* The GNU C library defines this for functions which it implements
9487     to always fail with ENOSYS.  Some functions are actually named
9488     something starting with __ and the normal name is an alias.  */
9489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9490 choke me
9491 #else
9492 char (*f) () = $ac_func;
9493 #endif
9494 #ifdef __cplusplus
9495 }
9496 #endif
9497
9498 int
9499 main ()
9500 {
9501 return f != $ac_func;
9502   ;
9503   return 0;
9504 }
9505 _ACEOF
9506 rm -f conftest.$ac_objext conftest$ac_exeext
9507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9508   (eval $ac_link) 2>conftest.er1
9509   ac_status=$?
9510   grep -v '^ *+' conftest.er1 >conftest.err
9511   rm -f conftest.er1
9512   cat conftest.err >&5
9513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9514   (exit $ac_status); } &&
9515          { ac_try='test -z "$ac_c_werror_flag"
9516                          || test ! -s conftest.err'
9517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9518   (eval $ac_try) 2>&5
9519   ac_status=$?
9520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9521   (exit $ac_status); }; } &&
9522          { ac_try='test -s conftest$ac_exeext'
9523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9524   (eval $ac_try) 2>&5
9525   ac_status=$?
9526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9527   (exit $ac_status); }; }; then
9528   eval "$as_ac_var=yes"
9529 else
9530   echo "$as_me: failed program was:" >&5
9531 sed 's/^/| /' conftest.$ac_ext >&5
9532
9533 eval "$as_ac_var=no"
9534 fi
9535 rm -f conftest.err conftest.$ac_objext \
9536       conftest$ac_exeext conftest.$ac_ext
9537 fi
9538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9539 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9540 if test `eval echo '${'$as_ac_var'}'` = yes; then
9541   cat >>confdefs.h <<_ACEOF
9542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9543 _ACEOF
9544
9545 fi
9546 done
9547
9548     fi
9549   fi
9550
9551
9552
9553
9554
9555
9556   echo "$as_me:$LINENO: checking for copysign declaration" >&5
9557 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
9558   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
9559     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
9560   echo $ECHO_N "(cached) $ECHO_C" >&6
9561 else
9562
9563
9564
9565       ac_ext=cc
9566 ac_cpp='$CXXCPP $CPPFLAGS'
9567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9570
9571       cat >conftest.$ac_ext <<_ACEOF
9572 /* confdefs.h.  */
9573 _ACEOF
9574 cat confdefs.h >>conftest.$ac_ext
9575 cat >>conftest.$ac_ext <<_ACEOF
9576 /* end confdefs.h.  */
9577 #include <math.h>
9578 int
9579 main ()
9580 {
9581  copysign(0, 0);
9582   ;
9583   return 0;
9584 }
9585 _ACEOF
9586 rm -f conftest.$ac_objext
9587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9588   (eval $ac_compile) 2>conftest.er1
9589   ac_status=$?
9590   grep -v '^ *+' conftest.er1 >conftest.err
9591   rm -f conftest.er1
9592   cat conftest.err >&5
9593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9594   (exit $ac_status); } &&
9595          { ac_try='test -z "$ac_cxx_werror_flag"
9596                          || test ! -s conftest.err'
9597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9598   (eval $ac_try) 2>&5
9599   ac_status=$?
9600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9601   (exit $ac_status); }; } &&
9602          { ac_try='test -s conftest.$ac_objext'
9603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9604   (eval $ac_try) 2>&5
9605   ac_status=$?
9606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9607   (exit $ac_status); }; }; then
9608   glibcxx_cv_func_copysign_use=yes
9609 else
9610   echo "$as_me: failed program was:" >&5
9611 sed 's/^/| /' conftest.$ac_ext >&5
9612
9613 glibcxx_cv_func_copysign_use=no
9614 fi
9615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9616       ac_ext=c
9617 ac_cpp='$CPP $CPPFLAGS'
9618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9621
9622
9623 fi
9624
9625   fi
9626   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
9627 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
9628
9629   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
9630
9631 for ac_func in copysign
9632 do
9633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9634 echo "$as_me:$LINENO: checking for $ac_func" >&5
9635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9636 if eval "test \"\${$as_ac_var+set}\" = set"; then
9637   echo $ECHO_N "(cached) $ECHO_C" >&6
9638 else
9639   if test x$gcc_no_link = xyes; then
9640   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9642    { (exit 1); exit 1; }; }
9643 fi
9644 cat >conftest.$ac_ext <<_ACEOF
9645 /* confdefs.h.  */
9646 _ACEOF
9647 cat confdefs.h >>conftest.$ac_ext
9648 cat >>conftest.$ac_ext <<_ACEOF
9649 /* end confdefs.h.  */
9650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9651    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9652 #define $ac_func innocuous_$ac_func
9653
9654 /* System header to define __stub macros and hopefully few prototypes,
9655     which can conflict with char $ac_func (); below.
9656     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9657     <limits.h> exists even on freestanding compilers.  */
9658
9659 #ifdef __STDC__
9660 # include <limits.h>
9661 #else
9662 # include <assert.h>
9663 #endif
9664
9665 #undef $ac_func
9666
9667 /* Override any gcc2 internal prototype to avoid an error.  */
9668 #ifdef __cplusplus
9669 extern "C"
9670 {
9671 #endif
9672 /* We use char because int might match the return type of a gcc2
9673    builtin and then its argument prototype would still apply.  */
9674 char $ac_func ();
9675 /* The GNU C library defines this for functions which it implements
9676     to always fail with ENOSYS.  Some functions are actually named
9677     something starting with __ and the normal name is an alias.  */
9678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9679 choke me
9680 #else
9681 char (*f) () = $ac_func;
9682 #endif
9683 #ifdef __cplusplus
9684 }
9685 #endif
9686
9687 int
9688 main ()
9689 {
9690 return f != $ac_func;
9691   ;
9692   return 0;
9693 }
9694 _ACEOF
9695 rm -f conftest.$ac_objext conftest$ac_exeext
9696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9697   (eval $ac_link) 2>conftest.er1
9698   ac_status=$?
9699   grep -v '^ *+' conftest.er1 >conftest.err
9700   rm -f conftest.er1
9701   cat conftest.err >&5
9702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9703   (exit $ac_status); } &&
9704          { ac_try='test -z "$ac_c_werror_flag"
9705                          || test ! -s conftest.err'
9706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9707   (eval $ac_try) 2>&5
9708   ac_status=$?
9709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9710   (exit $ac_status); }; } &&
9711          { ac_try='test -s conftest$ac_exeext'
9712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9713   (eval $ac_try) 2>&5
9714   ac_status=$?
9715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9716   (exit $ac_status); }; }; then
9717   eval "$as_ac_var=yes"
9718 else
9719   echo "$as_me: failed program was:" >&5
9720 sed 's/^/| /' conftest.$ac_ext >&5
9721
9722 eval "$as_ac_var=no"
9723 fi
9724 rm -f conftest.err conftest.$ac_objext \
9725       conftest$ac_exeext conftest.$ac_ext
9726 fi
9727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9729 if test `eval echo '${'$as_ac_var'}'` = yes; then
9730   cat >>confdefs.h <<_ACEOF
9731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9732 _ACEOF
9733
9734 fi
9735 done
9736
9737   else
9738
9739   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9740 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9741   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9742     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9743   echo $ECHO_N "(cached) $ECHO_C" >&6
9744 else
9745
9746
9747
9748       ac_ext=cc
9749 ac_cpp='$CXXCPP $CPPFLAGS'
9750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9753
9754       cat >conftest.$ac_ext <<_ACEOF
9755 /* confdefs.h.  */
9756 _ACEOF
9757 cat confdefs.h >>conftest.$ac_ext
9758 cat >>conftest.$ac_ext <<_ACEOF
9759 /* end confdefs.h.  */
9760 #include <math.h>
9761 int
9762 main ()
9763 {
9764  _copysign(0, 0);
9765   ;
9766   return 0;
9767 }
9768 _ACEOF
9769 rm -f conftest.$ac_objext
9770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9771   (eval $ac_compile) 2>conftest.er1
9772   ac_status=$?
9773   grep -v '^ *+' conftest.er1 >conftest.err
9774   rm -f conftest.er1
9775   cat conftest.err >&5
9776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9777   (exit $ac_status); } &&
9778          { ac_try='test -z "$ac_cxx_werror_flag"
9779                          || test ! -s conftest.err'
9780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9781   (eval $ac_try) 2>&5
9782   ac_status=$?
9783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9784   (exit $ac_status); }; } &&
9785          { ac_try='test -s conftest.$ac_objext'
9786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9787   (eval $ac_try) 2>&5
9788   ac_status=$?
9789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9790   (exit $ac_status); }; }; then
9791   glibcxx_cv_func__copysign_use=yes
9792 else
9793   echo "$as_me: failed program was:" >&5
9794 sed 's/^/| /' conftest.$ac_ext >&5
9795
9796 glibcxx_cv_func__copysign_use=no
9797 fi
9798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9799       ac_ext=c
9800 ac_cpp='$CPP $CPPFLAGS'
9801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9804
9805
9806 fi
9807
9808   fi
9809   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9810 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9811
9812     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9813
9814 for ac_func in _copysign
9815 do
9816 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9817 echo "$as_me:$LINENO: checking for $ac_func" >&5
9818 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9819 if eval "test \"\${$as_ac_var+set}\" = set"; then
9820   echo $ECHO_N "(cached) $ECHO_C" >&6
9821 else
9822   if test x$gcc_no_link = xyes; then
9823   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9825    { (exit 1); exit 1; }; }
9826 fi
9827 cat >conftest.$ac_ext <<_ACEOF
9828 /* confdefs.h.  */
9829 _ACEOF
9830 cat confdefs.h >>conftest.$ac_ext
9831 cat >>conftest.$ac_ext <<_ACEOF
9832 /* end confdefs.h.  */
9833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9834    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9835 #define $ac_func innocuous_$ac_func
9836
9837 /* System header to define __stub macros and hopefully few prototypes,
9838     which can conflict with char $ac_func (); below.
9839     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9840     <limits.h> exists even on freestanding compilers.  */
9841
9842 #ifdef __STDC__
9843 # include <limits.h>
9844 #else
9845 # include <assert.h>
9846 #endif
9847
9848 #undef $ac_func
9849
9850 /* Override any gcc2 internal prototype to avoid an error.  */
9851 #ifdef __cplusplus
9852 extern "C"
9853 {
9854 #endif
9855 /* We use char because int might match the return type of a gcc2
9856    builtin and then its argument prototype would still apply.  */
9857 char $ac_func ();
9858 /* The GNU C library defines this for functions which it implements
9859     to always fail with ENOSYS.  Some functions are actually named
9860     something starting with __ and the normal name is an alias.  */
9861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9862 choke me
9863 #else
9864 char (*f) () = $ac_func;
9865 #endif
9866 #ifdef __cplusplus
9867 }
9868 #endif
9869
9870 int
9871 main ()
9872 {
9873 return f != $ac_func;
9874   ;
9875   return 0;
9876 }
9877 _ACEOF
9878 rm -f conftest.$ac_objext conftest$ac_exeext
9879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9880   (eval $ac_link) 2>conftest.er1
9881   ac_status=$?
9882   grep -v '^ *+' conftest.er1 >conftest.err
9883   rm -f conftest.er1
9884   cat conftest.err >&5
9885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9886   (exit $ac_status); } &&
9887          { ac_try='test -z "$ac_c_werror_flag"
9888                          || test ! -s conftest.err'
9889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9890   (eval $ac_try) 2>&5
9891   ac_status=$?
9892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9893   (exit $ac_status); }; } &&
9894          { ac_try='test -s conftest$ac_exeext'
9895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9896   (eval $ac_try) 2>&5
9897   ac_status=$?
9898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9899   (exit $ac_status); }; }; then
9900   eval "$as_ac_var=yes"
9901 else
9902   echo "$as_me: failed program was:" >&5
9903 sed 's/^/| /' conftest.$ac_ext >&5
9904
9905 eval "$as_ac_var=no"
9906 fi
9907 rm -f conftest.err conftest.$ac_objext \
9908       conftest$ac_exeext conftest.$ac_ext
9909 fi
9910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9911 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9912 if test `eval echo '${'$as_ac_var'}'` = yes; then
9913   cat >>confdefs.h <<_ACEOF
9914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9915 _ACEOF
9916
9917 fi
9918 done
9919
9920     fi
9921   fi
9922
9923
9924
9925
9926
9927
9928   echo "$as_me:$LINENO: checking for sincos declaration" >&5
9929 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
9930   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
9931     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
9932   echo $ECHO_N "(cached) $ECHO_C" >&6
9933 else
9934
9935
9936
9937       ac_ext=cc
9938 ac_cpp='$CXXCPP $CPPFLAGS'
9939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9942
9943       cat >conftest.$ac_ext <<_ACEOF
9944 /* confdefs.h.  */
9945 _ACEOF
9946 cat confdefs.h >>conftest.$ac_ext
9947 cat >>conftest.$ac_ext <<_ACEOF
9948 /* end confdefs.h.  */
9949 #include <math.h>
9950 int
9951 main ()
9952 {
9953  sincos(0, 0, 0);
9954   ;
9955   return 0;
9956 }
9957 _ACEOF
9958 rm -f conftest.$ac_objext
9959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9960   (eval $ac_compile) 2>conftest.er1
9961   ac_status=$?
9962   grep -v '^ *+' conftest.er1 >conftest.err
9963   rm -f conftest.er1
9964   cat conftest.err >&5
9965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9966   (exit $ac_status); } &&
9967          { ac_try='test -z "$ac_cxx_werror_flag"
9968                          || test ! -s conftest.err'
9969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9970   (eval $ac_try) 2>&5
9971   ac_status=$?
9972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9973   (exit $ac_status); }; } &&
9974          { ac_try='test -s conftest.$ac_objext'
9975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9976   (eval $ac_try) 2>&5
9977   ac_status=$?
9978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9979   (exit $ac_status); }; }; then
9980   glibcxx_cv_func_sincos_use=yes
9981 else
9982   echo "$as_me: failed program was:" >&5
9983 sed 's/^/| /' conftest.$ac_ext >&5
9984
9985 glibcxx_cv_func_sincos_use=no
9986 fi
9987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9988       ac_ext=c
9989 ac_cpp='$CPP $CPPFLAGS'
9990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9993
9994
9995 fi
9996
9997   fi
9998   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
9999 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
10000
10001   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
10002
10003 for ac_func in sincos
10004 do
10005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10006 echo "$as_me:$LINENO: checking for $ac_func" >&5
10007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10008 if eval "test \"\${$as_ac_var+set}\" = set"; then
10009   echo $ECHO_N "(cached) $ECHO_C" >&6
10010 else
10011   if test x$gcc_no_link = xyes; then
10012   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10014    { (exit 1); exit 1; }; }
10015 fi
10016 cat >conftest.$ac_ext <<_ACEOF
10017 /* confdefs.h.  */
10018 _ACEOF
10019 cat confdefs.h >>conftest.$ac_ext
10020 cat >>conftest.$ac_ext <<_ACEOF
10021 /* end confdefs.h.  */
10022 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10023    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10024 #define $ac_func innocuous_$ac_func
10025
10026 /* System header to define __stub macros and hopefully few prototypes,
10027     which can conflict with char $ac_func (); below.
10028     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10029     <limits.h> exists even on freestanding compilers.  */
10030
10031 #ifdef __STDC__
10032 # include <limits.h>
10033 #else
10034 # include <assert.h>
10035 #endif
10036
10037 #undef $ac_func
10038
10039 /* Override any gcc2 internal prototype to avoid an error.  */
10040 #ifdef __cplusplus
10041 extern "C"
10042 {
10043 #endif
10044 /* We use char because int might match the return type of a gcc2
10045    builtin and then its argument prototype would still apply.  */
10046 char $ac_func ();
10047 /* The GNU C library defines this for functions which it implements
10048     to always fail with ENOSYS.  Some functions are actually named
10049     something starting with __ and the normal name is an alias.  */
10050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10051 choke me
10052 #else
10053 char (*f) () = $ac_func;
10054 #endif
10055 #ifdef __cplusplus
10056 }
10057 #endif
10058
10059 int
10060 main ()
10061 {
10062 return f != $ac_func;
10063   ;
10064   return 0;
10065 }
10066 _ACEOF
10067 rm -f conftest.$ac_objext conftest$ac_exeext
10068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10069   (eval $ac_link) 2>conftest.er1
10070   ac_status=$?
10071   grep -v '^ *+' conftest.er1 >conftest.err
10072   rm -f conftest.er1
10073   cat conftest.err >&5
10074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10075   (exit $ac_status); } &&
10076          { ac_try='test -z "$ac_c_werror_flag"
10077                          || test ! -s conftest.err'
10078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10079   (eval $ac_try) 2>&5
10080   ac_status=$?
10081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10082   (exit $ac_status); }; } &&
10083          { ac_try='test -s conftest$ac_exeext'
10084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10085   (eval $ac_try) 2>&5
10086   ac_status=$?
10087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10088   (exit $ac_status); }; }; then
10089   eval "$as_ac_var=yes"
10090 else
10091   echo "$as_me: failed program was:" >&5
10092 sed 's/^/| /' conftest.$ac_ext >&5
10093
10094 eval "$as_ac_var=no"
10095 fi
10096 rm -f conftest.err conftest.$ac_objext \
10097       conftest$ac_exeext conftest.$ac_ext
10098 fi
10099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10100 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10101 if test `eval echo '${'$as_ac_var'}'` = yes; then
10102   cat >>confdefs.h <<_ACEOF
10103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10104 _ACEOF
10105
10106 fi
10107 done
10108
10109   else
10110
10111   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
10112 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
10113   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
10114     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
10115   echo $ECHO_N "(cached) $ECHO_C" >&6
10116 else
10117
10118
10119
10120       ac_ext=cc
10121 ac_cpp='$CXXCPP $CPPFLAGS'
10122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10125
10126       cat >conftest.$ac_ext <<_ACEOF
10127 /* confdefs.h.  */
10128 _ACEOF
10129 cat confdefs.h >>conftest.$ac_ext
10130 cat >>conftest.$ac_ext <<_ACEOF
10131 /* end confdefs.h.  */
10132 #include <math.h>
10133 int
10134 main ()
10135 {
10136  _sincos(0, 0, 0);
10137   ;
10138   return 0;
10139 }
10140 _ACEOF
10141 rm -f conftest.$ac_objext
10142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10143   (eval $ac_compile) 2>conftest.er1
10144   ac_status=$?
10145   grep -v '^ *+' conftest.er1 >conftest.err
10146   rm -f conftest.er1
10147   cat conftest.err >&5
10148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10149   (exit $ac_status); } &&
10150          { ac_try='test -z "$ac_cxx_werror_flag"
10151                          || test ! -s conftest.err'
10152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10153   (eval $ac_try) 2>&5
10154   ac_status=$?
10155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10156   (exit $ac_status); }; } &&
10157          { ac_try='test -s conftest.$ac_objext'
10158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10159   (eval $ac_try) 2>&5
10160   ac_status=$?
10161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10162   (exit $ac_status); }; }; then
10163   glibcxx_cv_func__sincos_use=yes
10164 else
10165   echo "$as_me: failed program was:" >&5
10166 sed 's/^/| /' conftest.$ac_ext >&5
10167
10168 glibcxx_cv_func__sincos_use=no
10169 fi
10170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10171       ac_ext=c
10172 ac_cpp='$CPP $CPPFLAGS'
10173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10176
10177
10178 fi
10179
10180   fi
10181   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
10182 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
10183
10184     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
10185
10186 for ac_func in _sincos
10187 do
10188 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10189 echo "$as_me:$LINENO: checking for $ac_func" >&5
10190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10191 if eval "test \"\${$as_ac_var+set}\" = set"; then
10192   echo $ECHO_N "(cached) $ECHO_C" >&6
10193 else
10194   if test x$gcc_no_link = xyes; then
10195   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10197    { (exit 1); exit 1; }; }
10198 fi
10199 cat >conftest.$ac_ext <<_ACEOF
10200 /* confdefs.h.  */
10201 _ACEOF
10202 cat confdefs.h >>conftest.$ac_ext
10203 cat >>conftest.$ac_ext <<_ACEOF
10204 /* end confdefs.h.  */
10205 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10206    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10207 #define $ac_func innocuous_$ac_func
10208
10209 /* System header to define __stub macros and hopefully few prototypes,
10210     which can conflict with char $ac_func (); below.
10211     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10212     <limits.h> exists even on freestanding compilers.  */
10213
10214 #ifdef __STDC__
10215 # include <limits.h>
10216 #else
10217 # include <assert.h>
10218 #endif
10219
10220 #undef $ac_func
10221
10222 /* Override any gcc2 internal prototype to avoid an error.  */
10223 #ifdef __cplusplus
10224 extern "C"
10225 {
10226 #endif
10227 /* We use char because int might match the return type of a gcc2
10228    builtin and then its argument prototype would still apply.  */
10229 char $ac_func ();
10230 /* The GNU C library defines this for functions which it implements
10231     to always fail with ENOSYS.  Some functions are actually named
10232     something starting with __ and the normal name is an alias.  */
10233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10234 choke me
10235 #else
10236 char (*f) () = $ac_func;
10237 #endif
10238 #ifdef __cplusplus
10239 }
10240 #endif
10241
10242 int
10243 main ()
10244 {
10245 return f != $ac_func;
10246   ;
10247   return 0;
10248 }
10249 _ACEOF
10250 rm -f conftest.$ac_objext conftest$ac_exeext
10251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10252   (eval $ac_link) 2>conftest.er1
10253   ac_status=$?
10254   grep -v '^ *+' conftest.er1 >conftest.err
10255   rm -f conftest.er1
10256   cat conftest.err >&5
10257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10258   (exit $ac_status); } &&
10259          { ac_try='test -z "$ac_c_werror_flag"
10260                          || test ! -s conftest.err'
10261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10262   (eval $ac_try) 2>&5
10263   ac_status=$?
10264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10265   (exit $ac_status); }; } &&
10266          { ac_try='test -s conftest$ac_exeext'
10267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10268   (eval $ac_try) 2>&5
10269   ac_status=$?
10270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10271   (exit $ac_status); }; }; then
10272   eval "$as_ac_var=yes"
10273 else
10274   echo "$as_me: failed program was:" >&5
10275 sed 's/^/| /' conftest.$ac_ext >&5
10276
10277 eval "$as_ac_var=no"
10278 fi
10279 rm -f conftest.err conftest.$ac_objext \
10280       conftest$ac_exeext conftest.$ac_ext
10281 fi
10282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10284 if test `eval echo '${'$as_ac_var'}'` = yes; then
10285   cat >>confdefs.h <<_ACEOF
10286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10287 _ACEOF
10288
10289 fi
10290 done
10291
10292     fi
10293   fi
10294
10295
10296
10297
10298
10299
10300   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
10301 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
10302   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
10303     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
10304   echo $ECHO_N "(cached) $ECHO_C" >&6
10305 else
10306
10307
10308
10309       ac_ext=cc
10310 ac_cpp='$CXXCPP $CPPFLAGS'
10311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10314
10315       cat >conftest.$ac_ext <<_ACEOF
10316 /* confdefs.h.  */
10317 _ACEOF
10318 cat confdefs.h >>conftest.$ac_ext
10319 cat >>conftest.$ac_ext <<_ACEOF
10320 /* end confdefs.h.  */
10321 #include <math.h>
10322                       #ifdef HAVE_IEEEFP_H
10323                       #include <ieeefp.h>
10324                       #endif
10325
10326 int
10327 main ()
10328 {
10329  fpclass(0);
10330   ;
10331   return 0;
10332 }
10333 _ACEOF
10334 rm -f conftest.$ac_objext
10335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10336   (eval $ac_compile) 2>conftest.er1
10337   ac_status=$?
10338   grep -v '^ *+' conftest.er1 >conftest.err
10339   rm -f conftest.er1
10340   cat conftest.err >&5
10341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10342   (exit $ac_status); } &&
10343          { ac_try='test -z "$ac_cxx_werror_flag"
10344                          || test ! -s conftest.err'
10345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10346   (eval $ac_try) 2>&5
10347   ac_status=$?
10348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10349   (exit $ac_status); }; } &&
10350          { ac_try='test -s conftest.$ac_objext'
10351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10352   (eval $ac_try) 2>&5
10353   ac_status=$?
10354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10355   (exit $ac_status); }; }; then
10356   glibcxx_cv_func_fpclass_use=yes
10357 else
10358   echo "$as_me: failed program was:" >&5
10359 sed 's/^/| /' conftest.$ac_ext >&5
10360
10361 glibcxx_cv_func_fpclass_use=no
10362 fi
10363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10364       ac_ext=c
10365 ac_cpp='$CPP $CPPFLAGS'
10366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10369
10370
10371 fi
10372
10373   fi
10374   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
10375 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
10376
10377   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
10378
10379 for ac_func in fpclass
10380 do
10381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10382 echo "$as_me:$LINENO: checking for $ac_func" >&5
10383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10384 if eval "test \"\${$as_ac_var+set}\" = set"; then
10385   echo $ECHO_N "(cached) $ECHO_C" >&6
10386 else
10387   if test x$gcc_no_link = xyes; then
10388   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10390    { (exit 1); exit 1; }; }
10391 fi
10392 cat >conftest.$ac_ext <<_ACEOF
10393 /* confdefs.h.  */
10394 _ACEOF
10395 cat confdefs.h >>conftest.$ac_ext
10396 cat >>conftest.$ac_ext <<_ACEOF
10397 /* end confdefs.h.  */
10398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10399    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10400 #define $ac_func innocuous_$ac_func
10401
10402 /* System header to define __stub macros and hopefully few prototypes,
10403     which can conflict with char $ac_func (); below.
10404     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10405     <limits.h> exists even on freestanding compilers.  */
10406
10407 #ifdef __STDC__
10408 # include <limits.h>
10409 #else
10410 # include <assert.h>
10411 #endif
10412
10413 #undef $ac_func
10414
10415 /* Override any gcc2 internal prototype to avoid an error.  */
10416 #ifdef __cplusplus
10417 extern "C"
10418 {
10419 #endif
10420 /* We use char because int might match the return type of a gcc2
10421    builtin and then its argument prototype would still apply.  */
10422 char $ac_func ();
10423 /* The GNU C library defines this for functions which it implements
10424     to always fail with ENOSYS.  Some functions are actually named
10425     something starting with __ and the normal name is an alias.  */
10426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10427 choke me
10428 #else
10429 char (*f) () = $ac_func;
10430 #endif
10431 #ifdef __cplusplus
10432 }
10433 #endif
10434
10435 int
10436 main ()
10437 {
10438 return f != $ac_func;
10439   ;
10440   return 0;
10441 }
10442 _ACEOF
10443 rm -f conftest.$ac_objext conftest$ac_exeext
10444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10445   (eval $ac_link) 2>conftest.er1
10446   ac_status=$?
10447   grep -v '^ *+' conftest.er1 >conftest.err
10448   rm -f conftest.er1
10449   cat conftest.err >&5
10450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10451   (exit $ac_status); } &&
10452          { ac_try='test -z "$ac_c_werror_flag"
10453                          || test ! -s conftest.err'
10454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10455   (eval $ac_try) 2>&5
10456   ac_status=$?
10457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10458   (exit $ac_status); }; } &&
10459          { ac_try='test -s conftest$ac_exeext'
10460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10461   (eval $ac_try) 2>&5
10462   ac_status=$?
10463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10464   (exit $ac_status); }; }; then
10465   eval "$as_ac_var=yes"
10466 else
10467   echo "$as_me: failed program was:" >&5
10468 sed 's/^/| /' conftest.$ac_ext >&5
10469
10470 eval "$as_ac_var=no"
10471 fi
10472 rm -f conftest.err conftest.$ac_objext \
10473       conftest$ac_exeext conftest.$ac_ext
10474 fi
10475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10477 if test `eval echo '${'$as_ac_var'}'` = yes; then
10478   cat >>confdefs.h <<_ACEOF
10479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10480 _ACEOF
10481
10482 fi
10483 done
10484
10485   else
10486
10487   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
10488 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
10489   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
10490     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
10491   echo $ECHO_N "(cached) $ECHO_C" >&6
10492 else
10493
10494
10495
10496       ac_ext=cc
10497 ac_cpp='$CXXCPP $CPPFLAGS'
10498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10501
10502       cat >conftest.$ac_ext <<_ACEOF
10503 /* confdefs.h.  */
10504 _ACEOF
10505 cat confdefs.h >>conftest.$ac_ext
10506 cat >>conftest.$ac_ext <<_ACEOF
10507 /* end confdefs.h.  */
10508 #include <math.h>
10509                       #ifdef HAVE_IEEEFP_H
10510                       #include <ieeefp.h>
10511                       #endif
10512
10513 int
10514 main ()
10515 {
10516  _fpclass(0);
10517   ;
10518   return 0;
10519 }
10520 _ACEOF
10521 rm -f conftest.$ac_objext
10522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10523   (eval $ac_compile) 2>conftest.er1
10524   ac_status=$?
10525   grep -v '^ *+' conftest.er1 >conftest.err
10526   rm -f conftest.er1
10527   cat conftest.err >&5
10528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10529   (exit $ac_status); } &&
10530          { ac_try='test -z "$ac_cxx_werror_flag"
10531                          || test ! -s conftest.err'
10532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10533   (eval $ac_try) 2>&5
10534   ac_status=$?
10535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10536   (exit $ac_status); }; } &&
10537          { ac_try='test -s conftest.$ac_objext'
10538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10539   (eval $ac_try) 2>&5
10540   ac_status=$?
10541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10542   (exit $ac_status); }; }; then
10543   glibcxx_cv_func__fpclass_use=yes
10544 else
10545   echo "$as_me: failed program was:" >&5
10546 sed 's/^/| /' conftest.$ac_ext >&5
10547
10548 glibcxx_cv_func__fpclass_use=no
10549 fi
10550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10551       ac_ext=c
10552 ac_cpp='$CPP $CPPFLAGS'
10553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10556
10557
10558 fi
10559
10560   fi
10561   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
10562 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
10563
10564     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
10565
10566 for ac_func in _fpclass
10567 do
10568 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10569 echo "$as_me:$LINENO: checking for $ac_func" >&5
10570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10571 if eval "test \"\${$as_ac_var+set}\" = set"; then
10572   echo $ECHO_N "(cached) $ECHO_C" >&6
10573 else
10574   if test x$gcc_no_link = xyes; then
10575   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10577    { (exit 1); exit 1; }; }
10578 fi
10579 cat >conftest.$ac_ext <<_ACEOF
10580 /* confdefs.h.  */
10581 _ACEOF
10582 cat confdefs.h >>conftest.$ac_ext
10583 cat >>conftest.$ac_ext <<_ACEOF
10584 /* end confdefs.h.  */
10585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10586    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10587 #define $ac_func innocuous_$ac_func
10588
10589 /* System header to define __stub macros and hopefully few prototypes,
10590     which can conflict with char $ac_func (); below.
10591     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10592     <limits.h> exists even on freestanding compilers.  */
10593
10594 #ifdef __STDC__
10595 # include <limits.h>
10596 #else
10597 # include <assert.h>
10598 #endif
10599
10600 #undef $ac_func
10601
10602 /* Override any gcc2 internal prototype to avoid an error.  */
10603 #ifdef __cplusplus
10604 extern "C"
10605 {
10606 #endif
10607 /* We use char because int might match the return type of a gcc2
10608    builtin and then its argument prototype would still apply.  */
10609 char $ac_func ();
10610 /* The GNU C library defines this for functions which it implements
10611     to always fail with ENOSYS.  Some functions are actually named
10612     something starting with __ and the normal name is an alias.  */
10613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10614 choke me
10615 #else
10616 char (*f) () = $ac_func;
10617 #endif
10618 #ifdef __cplusplus
10619 }
10620 #endif
10621
10622 int
10623 main ()
10624 {
10625 return f != $ac_func;
10626   ;
10627   return 0;
10628 }
10629 _ACEOF
10630 rm -f conftest.$ac_objext conftest$ac_exeext
10631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10632   (eval $ac_link) 2>conftest.er1
10633   ac_status=$?
10634   grep -v '^ *+' conftest.er1 >conftest.err
10635   rm -f conftest.er1
10636   cat conftest.err >&5
10637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10638   (exit $ac_status); } &&
10639          { ac_try='test -z "$ac_c_werror_flag"
10640                          || test ! -s conftest.err'
10641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10642   (eval $ac_try) 2>&5
10643   ac_status=$?
10644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10645   (exit $ac_status); }; } &&
10646          { ac_try='test -s conftest$ac_exeext'
10647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10648   (eval $ac_try) 2>&5
10649   ac_status=$?
10650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10651   (exit $ac_status); }; }; then
10652   eval "$as_ac_var=yes"
10653 else
10654   echo "$as_me: failed program was:" >&5
10655 sed 's/^/| /' conftest.$ac_ext >&5
10656
10657 eval "$as_ac_var=no"
10658 fi
10659 rm -f conftest.err conftest.$ac_objext \
10660       conftest$ac_exeext conftest.$ac_ext
10661 fi
10662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10663 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10664 if test `eval echo '${'$as_ac_var'}'` = yes; then
10665   cat >>confdefs.h <<_ACEOF
10666 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10667 _ACEOF
10668
10669 fi
10670 done
10671
10672     fi
10673   fi
10674
10675
10676
10677
10678
10679
10680   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
10681 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
10682   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
10683     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
10684   echo $ECHO_N "(cached) $ECHO_C" >&6
10685 else
10686
10687
10688
10689       ac_ext=cc
10690 ac_cpp='$CXXCPP $CPPFLAGS'
10691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10694
10695       cat >conftest.$ac_ext <<_ACEOF
10696 /* confdefs.h.  */
10697 _ACEOF
10698 cat confdefs.h >>conftest.$ac_ext
10699 cat >>conftest.$ac_ext <<_ACEOF
10700 /* end confdefs.h.  */
10701 #include <math.h>
10702                       #ifdef HAVE_IEEEFP_H
10703                       #include <ieeefp.h>
10704                       #endif
10705
10706 int
10707 main ()
10708 {
10709  qfpclass(0);
10710   ;
10711   return 0;
10712 }
10713 _ACEOF
10714 rm -f conftest.$ac_objext
10715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10716   (eval $ac_compile) 2>conftest.er1
10717   ac_status=$?
10718   grep -v '^ *+' conftest.er1 >conftest.err
10719   rm -f conftest.er1
10720   cat conftest.err >&5
10721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10722   (exit $ac_status); } &&
10723          { ac_try='test -z "$ac_cxx_werror_flag"
10724                          || test ! -s conftest.err'
10725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10726   (eval $ac_try) 2>&5
10727   ac_status=$?
10728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10729   (exit $ac_status); }; } &&
10730          { ac_try='test -s conftest.$ac_objext'
10731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10732   (eval $ac_try) 2>&5
10733   ac_status=$?
10734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10735   (exit $ac_status); }; }; then
10736   glibcxx_cv_func_qfpclass_use=yes
10737 else
10738   echo "$as_me: failed program was:" >&5
10739 sed 's/^/| /' conftest.$ac_ext >&5
10740
10741 glibcxx_cv_func_qfpclass_use=no
10742 fi
10743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10744       ac_ext=c
10745 ac_cpp='$CPP $CPPFLAGS'
10746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10749
10750
10751 fi
10752
10753   fi
10754   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
10755 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
10756
10757   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
10758
10759 for ac_func in qfpclass
10760 do
10761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10762 echo "$as_me:$LINENO: checking for $ac_func" >&5
10763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10764 if eval "test \"\${$as_ac_var+set}\" = set"; then
10765   echo $ECHO_N "(cached) $ECHO_C" >&6
10766 else
10767   if test x$gcc_no_link = xyes; then
10768   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10770    { (exit 1); exit 1; }; }
10771 fi
10772 cat >conftest.$ac_ext <<_ACEOF
10773 /* confdefs.h.  */
10774 _ACEOF
10775 cat confdefs.h >>conftest.$ac_ext
10776 cat >>conftest.$ac_ext <<_ACEOF
10777 /* end confdefs.h.  */
10778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10779    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10780 #define $ac_func innocuous_$ac_func
10781
10782 /* System header to define __stub macros and hopefully few prototypes,
10783     which can conflict with char $ac_func (); below.
10784     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10785     <limits.h> exists even on freestanding compilers.  */
10786
10787 #ifdef __STDC__
10788 # include <limits.h>
10789 #else
10790 # include <assert.h>
10791 #endif
10792
10793 #undef $ac_func
10794
10795 /* Override any gcc2 internal prototype to avoid an error.  */
10796 #ifdef __cplusplus
10797 extern "C"
10798 {
10799 #endif
10800 /* We use char because int might match the return type of a gcc2
10801    builtin and then its argument prototype would still apply.  */
10802 char $ac_func ();
10803 /* The GNU C library defines this for functions which it implements
10804     to always fail with ENOSYS.  Some functions are actually named
10805     something starting with __ and the normal name is an alias.  */
10806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10807 choke me
10808 #else
10809 char (*f) () = $ac_func;
10810 #endif
10811 #ifdef __cplusplus
10812 }
10813 #endif
10814
10815 int
10816 main ()
10817 {
10818 return f != $ac_func;
10819   ;
10820   return 0;
10821 }
10822 _ACEOF
10823 rm -f conftest.$ac_objext conftest$ac_exeext
10824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10825   (eval $ac_link) 2>conftest.er1
10826   ac_status=$?
10827   grep -v '^ *+' conftest.er1 >conftest.err
10828   rm -f conftest.er1
10829   cat conftest.err >&5
10830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10831   (exit $ac_status); } &&
10832          { ac_try='test -z "$ac_c_werror_flag"
10833                          || test ! -s conftest.err'
10834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10835   (eval $ac_try) 2>&5
10836   ac_status=$?
10837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10838   (exit $ac_status); }; } &&
10839          { ac_try='test -s conftest$ac_exeext'
10840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10841   (eval $ac_try) 2>&5
10842   ac_status=$?
10843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10844   (exit $ac_status); }; }; then
10845   eval "$as_ac_var=yes"
10846 else
10847   echo "$as_me: failed program was:" >&5
10848 sed 's/^/| /' conftest.$ac_ext >&5
10849
10850 eval "$as_ac_var=no"
10851 fi
10852 rm -f conftest.err conftest.$ac_objext \
10853       conftest$ac_exeext conftest.$ac_ext
10854 fi
10855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10857 if test `eval echo '${'$as_ac_var'}'` = yes; then
10858   cat >>confdefs.h <<_ACEOF
10859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10860 _ACEOF
10861
10862 fi
10863 done
10864
10865   else
10866
10867   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
10868 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
10869   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
10870     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
10871   echo $ECHO_N "(cached) $ECHO_C" >&6
10872 else
10873
10874
10875
10876       ac_ext=cc
10877 ac_cpp='$CXXCPP $CPPFLAGS'
10878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10881
10882       cat >conftest.$ac_ext <<_ACEOF
10883 /* confdefs.h.  */
10884 _ACEOF
10885 cat confdefs.h >>conftest.$ac_ext
10886 cat >>conftest.$ac_ext <<_ACEOF
10887 /* end confdefs.h.  */
10888 #include <math.h>
10889                       #ifdef HAVE_IEEEFP_H
10890                       #include <ieeefp.h>
10891                       #endif
10892
10893 int
10894 main ()
10895 {
10896  _qfpclass(0);
10897   ;
10898   return 0;
10899 }
10900 _ACEOF
10901 rm -f conftest.$ac_objext
10902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10903   (eval $ac_compile) 2>conftest.er1
10904   ac_status=$?
10905   grep -v '^ *+' conftest.er1 >conftest.err
10906   rm -f conftest.er1
10907   cat conftest.err >&5
10908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10909   (exit $ac_status); } &&
10910          { ac_try='test -z "$ac_cxx_werror_flag"
10911                          || test ! -s conftest.err'
10912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10913   (eval $ac_try) 2>&5
10914   ac_status=$?
10915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10916   (exit $ac_status); }; } &&
10917          { ac_try='test -s conftest.$ac_objext'
10918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10919   (eval $ac_try) 2>&5
10920   ac_status=$?
10921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10922   (exit $ac_status); }; }; then
10923   glibcxx_cv_func__qfpclass_use=yes
10924 else
10925   echo "$as_me: failed program was:" >&5
10926 sed 's/^/| /' conftest.$ac_ext >&5
10927
10928 glibcxx_cv_func__qfpclass_use=no
10929 fi
10930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10931       ac_ext=c
10932 ac_cpp='$CPP $CPPFLAGS'
10933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10936
10937
10938 fi
10939
10940   fi
10941   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
10942 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
10943
10944     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
10945
10946 for ac_func in _qfpclass
10947 do
10948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10949 echo "$as_me:$LINENO: checking for $ac_func" >&5
10950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10951 if eval "test \"\${$as_ac_var+set}\" = set"; then
10952   echo $ECHO_N "(cached) $ECHO_C" >&6
10953 else
10954   if test x$gcc_no_link = xyes; then
10955   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10957    { (exit 1); exit 1; }; }
10958 fi
10959 cat >conftest.$ac_ext <<_ACEOF
10960 /* confdefs.h.  */
10961 _ACEOF
10962 cat confdefs.h >>conftest.$ac_ext
10963 cat >>conftest.$ac_ext <<_ACEOF
10964 /* end confdefs.h.  */
10965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10966    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10967 #define $ac_func innocuous_$ac_func
10968
10969 /* System header to define __stub macros and hopefully few prototypes,
10970     which can conflict with char $ac_func (); below.
10971     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10972     <limits.h> exists even on freestanding compilers.  */
10973
10974 #ifdef __STDC__
10975 # include <limits.h>
10976 #else
10977 # include <assert.h>
10978 #endif
10979
10980 #undef $ac_func
10981
10982 /* Override any gcc2 internal prototype to avoid an error.  */
10983 #ifdef __cplusplus
10984 extern "C"
10985 {
10986 #endif
10987 /* We use char because int might match the return type of a gcc2
10988    builtin and then its argument prototype would still apply.  */
10989 char $ac_func ();
10990 /* The GNU C library defines this for functions which it implements
10991     to always fail with ENOSYS.  Some functions are actually named
10992     something starting with __ and the normal name is an alias.  */
10993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10994 choke me
10995 #else
10996 char (*f) () = $ac_func;
10997 #endif
10998 #ifdef __cplusplus
10999 }
11000 #endif
11001
11002 int
11003 main ()
11004 {
11005 return f != $ac_func;
11006   ;
11007   return 0;
11008 }
11009 _ACEOF
11010 rm -f conftest.$ac_objext conftest$ac_exeext
11011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11012   (eval $ac_link) 2>conftest.er1
11013   ac_status=$?
11014   grep -v '^ *+' conftest.er1 >conftest.err
11015   rm -f conftest.er1
11016   cat conftest.err >&5
11017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11018   (exit $ac_status); } &&
11019          { ac_try='test -z "$ac_c_werror_flag"
11020                          || test ! -s conftest.err'
11021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11022   (eval $ac_try) 2>&5
11023   ac_status=$?
11024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11025   (exit $ac_status); }; } &&
11026          { ac_try='test -s conftest$ac_exeext'
11027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11028   (eval $ac_try) 2>&5
11029   ac_status=$?
11030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11031   (exit $ac_status); }; }; then
11032   eval "$as_ac_var=yes"
11033 else
11034   echo "$as_me: failed program was:" >&5
11035 sed 's/^/| /' conftest.$ac_ext >&5
11036
11037 eval "$as_ac_var=no"
11038 fi
11039 rm -f conftest.err conftest.$ac_objext \
11040       conftest$ac_exeext conftest.$ac_ext
11041 fi
11042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11043 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11044 if test `eval echo '${'$as_ac_var'}'` = yes; then
11045   cat >>confdefs.h <<_ACEOF
11046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11047 _ACEOF
11048
11049 fi
11050 done
11051
11052     fi
11053   fi
11054
11055
11056
11057
11058
11059
11060   echo "$as_me:$LINENO: checking for hypot declaration" >&5
11061 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
11062   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
11063     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
11064   echo $ECHO_N "(cached) $ECHO_C" >&6
11065 else
11066
11067
11068
11069       ac_ext=cc
11070 ac_cpp='$CXXCPP $CPPFLAGS'
11071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11074
11075       cat >conftest.$ac_ext <<_ACEOF
11076 /* confdefs.h.  */
11077 _ACEOF
11078 cat confdefs.h >>conftest.$ac_ext
11079 cat >>conftest.$ac_ext <<_ACEOF
11080 /* end confdefs.h.  */
11081 #include <math.h>
11082 int
11083 main ()
11084 {
11085  hypot(0, 0);
11086   ;
11087   return 0;
11088 }
11089 _ACEOF
11090 rm -f conftest.$ac_objext
11091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11092   (eval $ac_compile) 2>conftest.er1
11093   ac_status=$?
11094   grep -v '^ *+' conftest.er1 >conftest.err
11095   rm -f conftest.er1
11096   cat conftest.err >&5
11097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11098   (exit $ac_status); } &&
11099          { ac_try='test -z "$ac_cxx_werror_flag"
11100                          || test ! -s conftest.err'
11101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11102   (eval $ac_try) 2>&5
11103   ac_status=$?
11104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11105   (exit $ac_status); }; } &&
11106          { ac_try='test -s conftest.$ac_objext'
11107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11108   (eval $ac_try) 2>&5
11109   ac_status=$?
11110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11111   (exit $ac_status); }; }; then
11112   glibcxx_cv_func_hypot_use=yes
11113 else
11114   echo "$as_me: failed program was:" >&5
11115 sed 's/^/| /' conftest.$ac_ext >&5
11116
11117 glibcxx_cv_func_hypot_use=no
11118 fi
11119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11120       ac_ext=c
11121 ac_cpp='$CPP $CPPFLAGS'
11122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11125
11126
11127 fi
11128
11129   fi
11130   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
11131 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
11132
11133   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
11134
11135 for ac_func in hypot
11136 do
11137 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11138 echo "$as_me:$LINENO: checking for $ac_func" >&5
11139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11140 if eval "test \"\${$as_ac_var+set}\" = set"; then
11141   echo $ECHO_N "(cached) $ECHO_C" >&6
11142 else
11143   if test x$gcc_no_link = xyes; then
11144   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11146    { (exit 1); exit 1; }; }
11147 fi
11148 cat >conftest.$ac_ext <<_ACEOF
11149 /* confdefs.h.  */
11150 _ACEOF
11151 cat confdefs.h >>conftest.$ac_ext
11152 cat >>conftest.$ac_ext <<_ACEOF
11153 /* end confdefs.h.  */
11154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11155    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11156 #define $ac_func innocuous_$ac_func
11157
11158 /* System header to define __stub macros and hopefully few prototypes,
11159     which can conflict with char $ac_func (); below.
11160     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11161     <limits.h> exists even on freestanding compilers.  */
11162
11163 #ifdef __STDC__
11164 # include <limits.h>
11165 #else
11166 # include <assert.h>
11167 #endif
11168
11169 #undef $ac_func
11170
11171 /* Override any gcc2 internal prototype to avoid an error.  */
11172 #ifdef __cplusplus
11173 extern "C"
11174 {
11175 #endif
11176 /* We use char because int might match the return type of a gcc2
11177    builtin and then its argument prototype would still apply.  */
11178 char $ac_func ();
11179 /* The GNU C library defines this for functions which it implements
11180     to always fail with ENOSYS.  Some functions are actually named
11181     something starting with __ and the normal name is an alias.  */
11182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11183 choke me
11184 #else
11185 char (*f) () = $ac_func;
11186 #endif
11187 #ifdef __cplusplus
11188 }
11189 #endif
11190
11191 int
11192 main ()
11193 {
11194 return f != $ac_func;
11195   ;
11196   return 0;
11197 }
11198 _ACEOF
11199 rm -f conftest.$ac_objext conftest$ac_exeext
11200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11201   (eval $ac_link) 2>conftest.er1
11202   ac_status=$?
11203   grep -v '^ *+' conftest.er1 >conftest.err
11204   rm -f conftest.er1
11205   cat conftest.err >&5
11206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11207   (exit $ac_status); } &&
11208          { ac_try='test -z "$ac_c_werror_flag"
11209                          || test ! -s conftest.err'
11210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11211   (eval $ac_try) 2>&5
11212   ac_status=$?
11213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11214   (exit $ac_status); }; } &&
11215          { ac_try='test -s conftest$ac_exeext'
11216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11217   (eval $ac_try) 2>&5
11218   ac_status=$?
11219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11220   (exit $ac_status); }; }; then
11221   eval "$as_ac_var=yes"
11222 else
11223   echo "$as_me: failed program was:" >&5
11224 sed 's/^/| /' conftest.$ac_ext >&5
11225
11226 eval "$as_ac_var=no"
11227 fi
11228 rm -f conftest.err conftest.$ac_objext \
11229       conftest$ac_exeext conftest.$ac_ext
11230 fi
11231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11233 if test `eval echo '${'$as_ac_var'}'` = yes; then
11234   cat >>confdefs.h <<_ACEOF
11235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11236 _ACEOF
11237
11238 fi
11239 done
11240
11241   else
11242
11243   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
11244 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
11245   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
11246     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
11247   echo $ECHO_N "(cached) $ECHO_C" >&6
11248 else
11249
11250
11251
11252       ac_ext=cc
11253 ac_cpp='$CXXCPP $CPPFLAGS'
11254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11257
11258       cat >conftest.$ac_ext <<_ACEOF
11259 /* confdefs.h.  */
11260 _ACEOF
11261 cat confdefs.h >>conftest.$ac_ext
11262 cat >>conftest.$ac_ext <<_ACEOF
11263 /* end confdefs.h.  */
11264 #include <math.h>
11265 int
11266 main ()
11267 {
11268  _hypot(0, 0);
11269   ;
11270   return 0;
11271 }
11272 _ACEOF
11273 rm -f conftest.$ac_objext
11274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11275   (eval $ac_compile) 2>conftest.er1
11276   ac_status=$?
11277   grep -v '^ *+' conftest.er1 >conftest.err
11278   rm -f conftest.er1
11279   cat conftest.err >&5
11280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11281   (exit $ac_status); } &&
11282          { ac_try='test -z "$ac_cxx_werror_flag"
11283                          || test ! -s conftest.err'
11284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11285   (eval $ac_try) 2>&5
11286   ac_status=$?
11287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11288   (exit $ac_status); }; } &&
11289          { ac_try='test -s conftest.$ac_objext'
11290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11291   (eval $ac_try) 2>&5
11292   ac_status=$?
11293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11294   (exit $ac_status); }; }; then
11295   glibcxx_cv_func__hypot_use=yes
11296 else
11297   echo "$as_me: failed program was:" >&5
11298 sed 's/^/| /' conftest.$ac_ext >&5
11299
11300 glibcxx_cv_func__hypot_use=no
11301 fi
11302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11303       ac_ext=c
11304 ac_cpp='$CPP $CPPFLAGS'
11305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11308
11309
11310 fi
11311
11312   fi
11313   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
11314 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
11315
11316     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
11317
11318 for ac_func in _hypot
11319 do
11320 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11321 echo "$as_me:$LINENO: checking for $ac_func" >&5
11322 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11323 if eval "test \"\${$as_ac_var+set}\" = set"; then
11324   echo $ECHO_N "(cached) $ECHO_C" >&6
11325 else
11326   if test x$gcc_no_link = xyes; then
11327   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11328 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11329    { (exit 1); exit 1; }; }
11330 fi
11331 cat >conftest.$ac_ext <<_ACEOF
11332 /* confdefs.h.  */
11333 _ACEOF
11334 cat confdefs.h >>conftest.$ac_ext
11335 cat >>conftest.$ac_ext <<_ACEOF
11336 /* end confdefs.h.  */
11337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11338    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11339 #define $ac_func innocuous_$ac_func
11340
11341 /* System header to define __stub macros and hopefully few prototypes,
11342     which can conflict with char $ac_func (); below.
11343     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11344     <limits.h> exists even on freestanding compilers.  */
11345
11346 #ifdef __STDC__
11347 # include <limits.h>
11348 #else
11349 # include <assert.h>
11350 #endif
11351
11352 #undef $ac_func
11353
11354 /* Override any gcc2 internal prototype to avoid an error.  */
11355 #ifdef __cplusplus
11356 extern "C"
11357 {
11358 #endif
11359 /* We use char because int might match the return type of a gcc2
11360    builtin and then its argument prototype would still apply.  */
11361 char $ac_func ();
11362 /* The GNU C library defines this for functions which it implements
11363     to always fail with ENOSYS.  Some functions are actually named
11364     something starting with __ and the normal name is an alias.  */
11365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11366 choke me
11367 #else
11368 char (*f) () = $ac_func;
11369 #endif
11370 #ifdef __cplusplus
11371 }
11372 #endif
11373
11374 int
11375 main ()
11376 {
11377 return f != $ac_func;
11378   ;
11379   return 0;
11380 }
11381 _ACEOF
11382 rm -f conftest.$ac_objext conftest$ac_exeext
11383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11384   (eval $ac_link) 2>conftest.er1
11385   ac_status=$?
11386   grep -v '^ *+' conftest.er1 >conftest.err
11387   rm -f conftest.er1
11388   cat conftest.err >&5
11389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11390   (exit $ac_status); } &&
11391          { ac_try='test -z "$ac_c_werror_flag"
11392                          || test ! -s conftest.err'
11393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11394   (eval $ac_try) 2>&5
11395   ac_status=$?
11396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11397   (exit $ac_status); }; } &&
11398          { ac_try='test -s conftest$ac_exeext'
11399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11400   (eval $ac_try) 2>&5
11401   ac_status=$?
11402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11403   (exit $ac_status); }; }; then
11404   eval "$as_ac_var=yes"
11405 else
11406   echo "$as_me: failed program was:" >&5
11407 sed 's/^/| /' conftest.$ac_ext >&5
11408
11409 eval "$as_ac_var=no"
11410 fi
11411 rm -f conftest.err conftest.$ac_objext \
11412       conftest$ac_exeext conftest.$ac_ext
11413 fi
11414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11415 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11416 if test `eval echo '${'$as_ac_var'}'` = yes; then
11417   cat >>confdefs.h <<_ACEOF
11418 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11419 _ACEOF
11420
11421 fi
11422 done
11423
11424     fi
11425   fi
11426
11427
11428
11429
11430
11431
11432     echo "$as_me:$LINENO: checking for float trig functions" >&5
11433 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
11434   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
11435   echo $ECHO_N "(cached) $ECHO_C" >&6
11436 else
11437
11438
11439
11440     ac_ext=cc
11441 ac_cpp='$CXXCPP $CPPFLAGS'
11442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11445
11446     cat >conftest.$ac_ext <<_ACEOF
11447 /* confdefs.h.  */
11448 _ACEOF
11449 cat confdefs.h >>conftest.$ac_ext
11450 cat >>conftest.$ac_ext <<_ACEOF
11451 /* end confdefs.h.  */
11452 #include <math.h>
11453 int
11454 main ()
11455 {
11456 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
11457   ;
11458   return 0;
11459 }
11460 _ACEOF
11461 rm -f conftest.$ac_objext
11462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11463   (eval $ac_compile) 2>conftest.er1
11464   ac_status=$?
11465   grep -v '^ *+' conftest.er1 >conftest.err
11466   rm -f conftest.er1
11467   cat conftest.err >&5
11468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11469   (exit $ac_status); } &&
11470          { ac_try='test -z "$ac_cxx_werror_flag"
11471                          || test ! -s conftest.err'
11472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11473   (eval $ac_try) 2>&5
11474   ac_status=$?
11475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11476   (exit $ac_status); }; } &&
11477          { ac_try='test -s conftest.$ac_objext'
11478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11479   (eval $ac_try) 2>&5
11480   ac_status=$?
11481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11482   (exit $ac_status); }; }; then
11483   glibcxx_cv_func_float_trig_use=yes
11484 else
11485   echo "$as_me: failed program was:" >&5
11486 sed 's/^/| /' conftest.$ac_ext >&5
11487
11488 glibcxx_cv_func_float_trig_use=no
11489 fi
11490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11491     ac_ext=c
11492 ac_cpp='$CPP $CPPFLAGS'
11493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11496
11497 fi
11498
11499   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
11500 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
11501   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
11512 do
11513 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11514 echo "$as_me:$LINENO: checking for $ac_func" >&5
11515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11516 if eval "test \"\${$as_ac_var+set}\" = set"; then
11517   echo $ECHO_N "(cached) $ECHO_C" >&6
11518 else
11519   if test x$gcc_no_link = xyes; then
11520   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11522    { (exit 1); exit 1; }; }
11523 fi
11524 cat >conftest.$ac_ext <<_ACEOF
11525 /* confdefs.h.  */
11526 _ACEOF
11527 cat confdefs.h >>conftest.$ac_ext
11528 cat >>conftest.$ac_ext <<_ACEOF
11529 /* end confdefs.h.  */
11530 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11531    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11532 #define $ac_func innocuous_$ac_func
11533
11534 /* System header to define __stub macros and hopefully few prototypes,
11535     which can conflict with char $ac_func (); below.
11536     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11537     <limits.h> exists even on freestanding compilers.  */
11538
11539 #ifdef __STDC__
11540 # include <limits.h>
11541 #else
11542 # include <assert.h>
11543 #endif
11544
11545 #undef $ac_func
11546
11547 /* Override any gcc2 internal prototype to avoid an error.  */
11548 #ifdef __cplusplus
11549 extern "C"
11550 {
11551 #endif
11552 /* We use char because int might match the return type of a gcc2
11553    builtin and then its argument prototype would still apply.  */
11554 char $ac_func ();
11555 /* The GNU C library defines this for functions which it implements
11556     to always fail with ENOSYS.  Some functions are actually named
11557     something starting with __ and the normal name is an alias.  */
11558 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11559 choke me
11560 #else
11561 char (*f) () = $ac_func;
11562 #endif
11563 #ifdef __cplusplus
11564 }
11565 #endif
11566
11567 int
11568 main ()
11569 {
11570 return f != $ac_func;
11571   ;
11572   return 0;
11573 }
11574 _ACEOF
11575 rm -f conftest.$ac_objext conftest$ac_exeext
11576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11577   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
11598 else
11599   echo "$as_me: failed program was:" >&5
11600 sed 's/^/| /' conftest.$ac_ext >&5
11601
11602 eval "$as_ac_var=no"
11603 fi
11604 rm -f conftest.err conftest.$ac_objext \
11605       conftest$ac_exeext conftest.$ac_ext
11606 fi
11607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11608 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11609 if test `eval echo '${'$as_ac_var'}'` = yes; then
11610   cat >>confdefs.h <<_ACEOF
11611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11612 _ACEOF
11613
11614 fi
11615 done
11616
11617   else
11618     echo "$as_me:$LINENO: checking for _float trig functions" >&5
11619 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
11620     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
11621   echo $ECHO_N "(cached) $ECHO_C" >&6
11622 else
11623
11624
11625
11626       ac_ext=cc
11627 ac_cpp='$CXXCPP $CPPFLAGS'
11628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11631
11632       cat >conftest.$ac_ext <<_ACEOF
11633 /* confdefs.h.  */
11634 _ACEOF
11635 cat confdefs.h >>conftest.$ac_ext
11636 cat >>conftest.$ac_ext <<_ACEOF
11637 /* end confdefs.h.  */
11638 #include <math.h>
11639 int
11640 main ()
11641 {
11642 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
11643   ;
11644   return 0;
11645 }
11646 _ACEOF
11647 rm -f conftest.$ac_objext
11648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11649   (eval $ac_compile) 2>conftest.er1
11650   ac_status=$?
11651   grep -v '^ *+' conftest.er1 >conftest.err
11652   rm -f conftest.er1
11653   cat conftest.err >&5
11654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11655   (exit $ac_status); } &&
11656          { ac_try='test -z "$ac_cxx_werror_flag"
11657                          || test ! -s conftest.err'
11658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11659   (eval $ac_try) 2>&5
11660   ac_status=$?
11661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11662   (exit $ac_status); }; } &&
11663          { ac_try='test -s conftest.$ac_objext'
11664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11665   (eval $ac_try) 2>&5
11666   ac_status=$?
11667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11668   (exit $ac_status); }; }; then
11669   glibcxx_cv_func__float_trig_use=yes
11670 else
11671   echo "$as_me: failed program was:" >&5
11672 sed 's/^/| /' conftest.$ac_ext >&5
11673
11674 glibcxx_cv_func__float_trig_use=no
11675 fi
11676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11677       ac_ext=c
11678 ac_cpp='$CPP $CPPFLAGS'
11679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11682
11683 fi
11684
11685     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
11686 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
11687     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
11698 do
11699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11700 echo "$as_me:$LINENO: checking for $ac_func" >&5
11701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11702 if eval "test \"\${$as_ac_var+set}\" = set"; then
11703   echo $ECHO_N "(cached) $ECHO_C" >&6
11704 else
11705   if test x$gcc_no_link = xyes; then
11706   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11708    { (exit 1); exit 1; }; }
11709 fi
11710 cat >conftest.$ac_ext <<_ACEOF
11711 /* confdefs.h.  */
11712 _ACEOF
11713 cat confdefs.h >>conftest.$ac_ext
11714 cat >>conftest.$ac_ext <<_ACEOF
11715 /* end confdefs.h.  */
11716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11717    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11718 #define $ac_func innocuous_$ac_func
11719
11720 /* System header to define __stub macros and hopefully few prototypes,
11721     which can conflict with char $ac_func (); below.
11722     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11723     <limits.h> exists even on freestanding compilers.  */
11724
11725 #ifdef __STDC__
11726 # include <limits.h>
11727 #else
11728 # include <assert.h>
11729 #endif
11730
11731 #undef $ac_func
11732
11733 /* Override any gcc2 internal prototype to avoid an error.  */
11734 #ifdef __cplusplus
11735 extern "C"
11736 {
11737 #endif
11738 /* We use char because int might match the return type of a gcc2
11739    builtin and then its argument prototype would still apply.  */
11740 char $ac_func ();
11741 /* The GNU C library defines this for functions which it implements
11742     to always fail with ENOSYS.  Some functions are actually named
11743     something starting with __ and the normal name is an alias.  */
11744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11745 choke me
11746 #else
11747 char (*f) () = $ac_func;
11748 #endif
11749 #ifdef __cplusplus
11750 }
11751 #endif
11752
11753 int
11754 main ()
11755 {
11756 return f != $ac_func;
11757   ;
11758   return 0;
11759 }
11760 _ACEOF
11761 rm -f conftest.$ac_objext conftest$ac_exeext
11762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11763   (eval $ac_link) 2>conftest.er1
11764   ac_status=$?
11765   grep -v '^ *+' conftest.er1 >conftest.err
11766   rm -f conftest.er1
11767   cat conftest.err >&5
11768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11769   (exit $ac_status); } &&
11770          { ac_try='test -z "$ac_c_werror_flag"
11771                          || test ! -s conftest.err'
11772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11773   (eval $ac_try) 2>&5
11774   ac_status=$?
11775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11776   (exit $ac_status); }; } &&
11777          { ac_try='test -s conftest$ac_exeext'
11778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11779   (eval $ac_try) 2>&5
11780   ac_status=$?
11781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11782   (exit $ac_status); }; }; then
11783   eval "$as_ac_var=yes"
11784 else
11785   echo "$as_me: failed program was:" >&5
11786 sed 's/^/| /' conftest.$ac_ext >&5
11787
11788 eval "$as_ac_var=no"
11789 fi
11790 rm -f conftest.err conftest.$ac_objext \
11791       conftest$ac_exeext conftest.$ac_ext
11792 fi
11793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11795 if test `eval echo '${'$as_ac_var'}'` = yes; then
11796   cat >>confdefs.h <<_ACEOF
11797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11798 _ACEOF
11799
11800 fi
11801 done
11802
11803     fi
11804   fi
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819     echo "$as_me:$LINENO: checking for float round functions" >&5
11820 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
11821   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
11822   echo $ECHO_N "(cached) $ECHO_C" >&6
11823 else
11824
11825
11826
11827     ac_ext=cc
11828 ac_cpp='$CXXCPP $CPPFLAGS'
11829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11832
11833     cat >conftest.$ac_ext <<_ACEOF
11834 /* confdefs.h.  */
11835 _ACEOF
11836 cat confdefs.h >>conftest.$ac_ext
11837 cat >>conftest.$ac_ext <<_ACEOF
11838 /* end confdefs.h.  */
11839 #include <math.h>
11840 int
11841 main ()
11842 {
11843 ceilf (0); floorf (0);
11844   ;
11845   return 0;
11846 }
11847 _ACEOF
11848 rm -f conftest.$ac_objext
11849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11850   (eval $ac_compile) 2>conftest.er1
11851   ac_status=$?
11852   grep -v '^ *+' conftest.er1 >conftest.err
11853   rm -f conftest.er1
11854   cat conftest.err >&5
11855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11856   (exit $ac_status); } &&
11857          { ac_try='test -z "$ac_cxx_werror_flag"
11858                          || test ! -s conftest.err'
11859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11860   (eval $ac_try) 2>&5
11861   ac_status=$?
11862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11863   (exit $ac_status); }; } &&
11864          { ac_try='test -s conftest.$ac_objext'
11865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11866   (eval $ac_try) 2>&5
11867   ac_status=$?
11868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11869   (exit $ac_status); }; }; then
11870   glibcxx_cv_func_float_round_use=yes
11871 else
11872   echo "$as_me: failed program was:" >&5
11873 sed 's/^/| /' conftest.$ac_ext >&5
11874
11875 glibcxx_cv_func_float_round_use=no
11876 fi
11877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11878     ac_ext=c
11879 ac_cpp='$CPP $CPPFLAGS'
11880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11883
11884 fi
11885
11886   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
11887 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
11888   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
11889
11890
11891 for ac_func in ceilf floorf
11892 do
11893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11894 echo "$as_me:$LINENO: checking for $ac_func" >&5
11895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11896 if eval "test \"\${$as_ac_var+set}\" = set"; then
11897   echo $ECHO_N "(cached) $ECHO_C" >&6
11898 else
11899   if test x$gcc_no_link = xyes; then
11900   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11902    { (exit 1); exit 1; }; }
11903 fi
11904 cat >conftest.$ac_ext <<_ACEOF
11905 /* confdefs.h.  */
11906 _ACEOF
11907 cat confdefs.h >>conftest.$ac_ext
11908 cat >>conftest.$ac_ext <<_ACEOF
11909 /* end confdefs.h.  */
11910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11911    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11912 #define $ac_func innocuous_$ac_func
11913
11914 /* System header to define __stub macros and hopefully few prototypes,
11915     which can conflict with char $ac_func (); below.
11916     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11917     <limits.h> exists even on freestanding compilers.  */
11918
11919 #ifdef __STDC__
11920 # include <limits.h>
11921 #else
11922 # include <assert.h>
11923 #endif
11924
11925 #undef $ac_func
11926
11927 /* Override any gcc2 internal prototype to avoid an error.  */
11928 #ifdef __cplusplus
11929 extern "C"
11930 {
11931 #endif
11932 /* We use char because int might match the return type of a gcc2
11933    builtin and then its argument prototype would still apply.  */
11934 char $ac_func ();
11935 /* The GNU C library defines this for functions which it implements
11936     to always fail with ENOSYS.  Some functions are actually named
11937     something starting with __ and the normal name is an alias.  */
11938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11939 choke me
11940 #else
11941 char (*f) () = $ac_func;
11942 #endif
11943 #ifdef __cplusplus
11944 }
11945 #endif
11946
11947 int
11948 main ()
11949 {
11950 return f != $ac_func;
11951   ;
11952   return 0;
11953 }
11954 _ACEOF
11955 rm -f conftest.$ac_objext conftest$ac_exeext
11956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11957   (eval $ac_link) 2>conftest.er1
11958   ac_status=$?
11959   grep -v '^ *+' conftest.er1 >conftest.err
11960   rm -f conftest.er1
11961   cat conftest.err >&5
11962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11963   (exit $ac_status); } &&
11964          { ac_try='test -z "$ac_c_werror_flag"
11965                          || test ! -s conftest.err'
11966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11967   (eval $ac_try) 2>&5
11968   ac_status=$?
11969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11970   (exit $ac_status); }; } &&
11971          { ac_try='test -s conftest$ac_exeext'
11972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11973   (eval $ac_try) 2>&5
11974   ac_status=$?
11975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11976   (exit $ac_status); }; }; then
11977   eval "$as_ac_var=yes"
11978 else
11979   echo "$as_me: failed program was:" >&5
11980 sed 's/^/| /' conftest.$ac_ext >&5
11981
11982 eval "$as_ac_var=no"
11983 fi
11984 rm -f conftest.err conftest.$ac_objext \
11985       conftest$ac_exeext conftest.$ac_ext
11986 fi
11987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11989 if test `eval echo '${'$as_ac_var'}'` = yes; then
11990   cat >>confdefs.h <<_ACEOF
11991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11992 _ACEOF
11993
11994 fi
11995 done
11996
11997   else
11998     echo "$as_me:$LINENO: checking for _float round functions" >&5
11999 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
12000     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
12001   echo $ECHO_N "(cached) $ECHO_C" >&6
12002 else
12003
12004
12005
12006       ac_ext=cc
12007 ac_cpp='$CXXCPP $CPPFLAGS'
12008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12011
12012       cat >conftest.$ac_ext <<_ACEOF
12013 /* confdefs.h.  */
12014 _ACEOF
12015 cat confdefs.h >>conftest.$ac_ext
12016 cat >>conftest.$ac_ext <<_ACEOF
12017 /* end confdefs.h.  */
12018 #include <math.h>
12019 int
12020 main ()
12021 {
12022 _ceilf (0); _floorf (0);
12023   ;
12024   return 0;
12025 }
12026 _ACEOF
12027 rm -f conftest.$ac_objext
12028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12029   (eval $ac_compile) 2>conftest.er1
12030   ac_status=$?
12031   grep -v '^ *+' conftest.er1 >conftest.err
12032   rm -f conftest.er1
12033   cat conftest.err >&5
12034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12035   (exit $ac_status); } &&
12036          { ac_try='test -z "$ac_cxx_werror_flag"
12037                          || test ! -s conftest.err'
12038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12039   (eval $ac_try) 2>&5
12040   ac_status=$?
12041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12042   (exit $ac_status); }; } &&
12043          { ac_try='test -s conftest.$ac_objext'
12044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12045   (eval $ac_try) 2>&5
12046   ac_status=$?
12047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12048   (exit $ac_status); }; }; then
12049   glibcxx_cv_func__float_round_use=yes
12050 else
12051   echo "$as_me: failed program was:" >&5
12052 sed 's/^/| /' conftest.$ac_ext >&5
12053
12054 glibcxx_cv_func__float_round_use=no
12055 fi
12056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12057       ac_ext=c
12058 ac_cpp='$CPP $CPPFLAGS'
12059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12062
12063 fi
12064
12065     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
12066 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
12067     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
12068
12069
12070 for ac_func in _ceilf _floorf
12071 do
12072 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12073 echo "$as_me:$LINENO: checking for $ac_func" >&5
12074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12075 if eval "test \"\${$as_ac_var+set}\" = set"; then
12076   echo $ECHO_N "(cached) $ECHO_C" >&6
12077 else
12078   if test x$gcc_no_link = xyes; then
12079   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12081    { (exit 1); exit 1; }; }
12082 fi
12083 cat >conftest.$ac_ext <<_ACEOF
12084 /* confdefs.h.  */
12085 _ACEOF
12086 cat confdefs.h >>conftest.$ac_ext
12087 cat >>conftest.$ac_ext <<_ACEOF
12088 /* end confdefs.h.  */
12089 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12090    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12091 #define $ac_func innocuous_$ac_func
12092
12093 /* System header to define __stub macros and hopefully few prototypes,
12094     which can conflict with char $ac_func (); below.
12095     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12096     <limits.h> exists even on freestanding compilers.  */
12097
12098 #ifdef __STDC__
12099 # include <limits.h>
12100 #else
12101 # include <assert.h>
12102 #endif
12103
12104 #undef $ac_func
12105
12106 /* Override any gcc2 internal prototype to avoid an error.  */
12107 #ifdef __cplusplus
12108 extern "C"
12109 {
12110 #endif
12111 /* We use char because int might match the return type of a gcc2
12112    builtin and then its argument prototype would still apply.  */
12113 char $ac_func ();
12114 /* The GNU C library defines this for functions which it implements
12115     to always fail with ENOSYS.  Some functions are actually named
12116     something starting with __ and the normal name is an alias.  */
12117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12118 choke me
12119 #else
12120 char (*f) () = $ac_func;
12121 #endif
12122 #ifdef __cplusplus
12123 }
12124 #endif
12125
12126 int
12127 main ()
12128 {
12129 return f != $ac_func;
12130   ;
12131   return 0;
12132 }
12133 _ACEOF
12134 rm -f conftest.$ac_objext conftest$ac_exeext
12135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12136   (eval $ac_link) 2>conftest.er1
12137   ac_status=$?
12138   grep -v '^ *+' conftest.er1 >conftest.err
12139   rm -f conftest.er1
12140   cat conftest.err >&5
12141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12142   (exit $ac_status); } &&
12143          { ac_try='test -z "$ac_c_werror_flag"
12144                          || test ! -s conftest.err'
12145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12146   (eval $ac_try) 2>&5
12147   ac_status=$?
12148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12149   (exit $ac_status); }; } &&
12150          { ac_try='test -s conftest$ac_exeext'
12151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12152   (eval $ac_try) 2>&5
12153   ac_status=$?
12154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12155   (exit $ac_status); }; }; then
12156   eval "$as_ac_var=yes"
12157 else
12158   echo "$as_me: failed program was:" >&5
12159 sed 's/^/| /' conftest.$ac_ext >&5
12160
12161 eval "$as_ac_var=no"
12162 fi
12163 rm -f conftest.err conftest.$ac_objext \
12164       conftest$ac_exeext conftest.$ac_ext
12165 fi
12166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12167 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12168 if test `eval echo '${'$as_ac_var'}'` = yes; then
12169   cat >>confdefs.h <<_ACEOF
12170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12171 _ACEOF
12172
12173 fi
12174 done
12175
12176     fi
12177   fi
12178
12179
12180
12181
12182
12183
12184
12185
12186   echo "$as_me:$LINENO: checking for expf declaration" >&5
12187 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
12188   if test x${glibcxx_cv_func_expf_use+set} != xset; then
12189     if test "${glibcxx_cv_func_expf_use+set}" = set; then
12190   echo $ECHO_N "(cached) $ECHO_C" >&6
12191 else
12192
12193
12194
12195       ac_ext=cc
12196 ac_cpp='$CXXCPP $CPPFLAGS'
12197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12200
12201       cat >conftest.$ac_ext <<_ACEOF
12202 /* confdefs.h.  */
12203 _ACEOF
12204 cat confdefs.h >>conftest.$ac_ext
12205 cat >>conftest.$ac_ext <<_ACEOF
12206 /* end confdefs.h.  */
12207 #include <math.h>
12208                       #ifdef HAVE_IEEEFP_H
12209                       #include <ieeefp.h>
12210                       #endif
12211
12212 int
12213 main ()
12214 {
12215  expf(0);
12216   ;
12217   return 0;
12218 }
12219 _ACEOF
12220 rm -f conftest.$ac_objext
12221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12222   (eval $ac_compile) 2>conftest.er1
12223   ac_status=$?
12224   grep -v '^ *+' conftest.er1 >conftest.err
12225   rm -f conftest.er1
12226   cat conftest.err >&5
12227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12228   (exit $ac_status); } &&
12229          { ac_try='test -z "$ac_cxx_werror_flag"
12230                          || test ! -s conftest.err'
12231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12232   (eval $ac_try) 2>&5
12233   ac_status=$?
12234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12235   (exit $ac_status); }; } &&
12236          { ac_try='test -s conftest.$ac_objext'
12237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12238   (eval $ac_try) 2>&5
12239   ac_status=$?
12240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12241   (exit $ac_status); }; }; then
12242   glibcxx_cv_func_expf_use=yes
12243 else
12244   echo "$as_me: failed program was:" >&5
12245 sed 's/^/| /' conftest.$ac_ext >&5
12246
12247 glibcxx_cv_func_expf_use=no
12248 fi
12249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12250       ac_ext=c
12251 ac_cpp='$CPP $CPPFLAGS'
12252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12255
12256
12257 fi
12258
12259   fi
12260   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
12261 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
12262
12263   if test x$glibcxx_cv_func_expf_use = x"yes"; then
12264
12265 for ac_func in expf
12266 do
12267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12268 echo "$as_me:$LINENO: checking for $ac_func" >&5
12269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12270 if eval "test \"\${$as_ac_var+set}\" = set"; then
12271   echo $ECHO_N "(cached) $ECHO_C" >&6
12272 else
12273   if test x$gcc_no_link = xyes; then
12274   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12276    { (exit 1); exit 1; }; }
12277 fi
12278 cat >conftest.$ac_ext <<_ACEOF
12279 /* confdefs.h.  */
12280 _ACEOF
12281 cat confdefs.h >>conftest.$ac_ext
12282 cat >>conftest.$ac_ext <<_ACEOF
12283 /* end confdefs.h.  */
12284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12285    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12286 #define $ac_func innocuous_$ac_func
12287
12288 /* System header to define __stub macros and hopefully few prototypes,
12289     which can conflict with char $ac_func (); below.
12290     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12291     <limits.h> exists even on freestanding compilers.  */
12292
12293 #ifdef __STDC__
12294 # include <limits.h>
12295 #else
12296 # include <assert.h>
12297 #endif
12298
12299 #undef $ac_func
12300
12301 /* Override any gcc2 internal prototype to avoid an error.  */
12302 #ifdef __cplusplus
12303 extern "C"
12304 {
12305 #endif
12306 /* We use char because int might match the return type of a gcc2
12307    builtin and then its argument prototype would still apply.  */
12308 char $ac_func ();
12309 /* The GNU C library defines this for functions which it implements
12310     to always fail with ENOSYS.  Some functions are actually named
12311     something starting with __ and the normal name is an alias.  */
12312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12313 choke me
12314 #else
12315 char (*f) () = $ac_func;
12316 #endif
12317 #ifdef __cplusplus
12318 }
12319 #endif
12320
12321 int
12322 main ()
12323 {
12324 return f != $ac_func;
12325   ;
12326   return 0;
12327 }
12328 _ACEOF
12329 rm -f conftest.$ac_objext conftest$ac_exeext
12330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12331   (eval $ac_link) 2>conftest.er1
12332   ac_status=$?
12333   grep -v '^ *+' conftest.er1 >conftest.err
12334   rm -f conftest.er1
12335   cat conftest.err >&5
12336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12337   (exit $ac_status); } &&
12338          { ac_try='test -z "$ac_c_werror_flag"
12339                          || test ! -s conftest.err'
12340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12341   (eval $ac_try) 2>&5
12342   ac_status=$?
12343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12344   (exit $ac_status); }; } &&
12345          { ac_try='test -s conftest$ac_exeext'
12346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12347   (eval $ac_try) 2>&5
12348   ac_status=$?
12349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12350   (exit $ac_status); }; }; then
12351   eval "$as_ac_var=yes"
12352 else
12353   echo "$as_me: failed program was:" >&5
12354 sed 's/^/| /' conftest.$ac_ext >&5
12355
12356 eval "$as_ac_var=no"
12357 fi
12358 rm -f conftest.err conftest.$ac_objext \
12359       conftest$ac_exeext conftest.$ac_ext
12360 fi
12361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12363 if test `eval echo '${'$as_ac_var'}'` = yes; then
12364   cat >>confdefs.h <<_ACEOF
12365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12366 _ACEOF
12367
12368 fi
12369 done
12370
12371   else
12372
12373   echo "$as_me:$LINENO: checking for _expf declaration" >&5
12374 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
12375   if test x${glibcxx_cv_func__expf_use+set} != xset; then
12376     if test "${glibcxx_cv_func__expf_use+set}" = set; then
12377   echo $ECHO_N "(cached) $ECHO_C" >&6
12378 else
12379
12380
12381
12382       ac_ext=cc
12383 ac_cpp='$CXXCPP $CPPFLAGS'
12384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12387
12388       cat >conftest.$ac_ext <<_ACEOF
12389 /* confdefs.h.  */
12390 _ACEOF
12391 cat confdefs.h >>conftest.$ac_ext
12392 cat >>conftest.$ac_ext <<_ACEOF
12393 /* end confdefs.h.  */
12394 #include <math.h>
12395                       #ifdef HAVE_IEEEFP_H
12396                       #include <ieeefp.h>
12397                       #endif
12398
12399 int
12400 main ()
12401 {
12402  _expf(0);
12403   ;
12404   return 0;
12405 }
12406 _ACEOF
12407 rm -f conftest.$ac_objext
12408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12409   (eval $ac_compile) 2>conftest.er1
12410   ac_status=$?
12411   grep -v '^ *+' conftest.er1 >conftest.err
12412   rm -f conftest.er1
12413   cat conftest.err >&5
12414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12415   (exit $ac_status); } &&
12416          { ac_try='test -z "$ac_cxx_werror_flag"
12417                          || test ! -s conftest.err'
12418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12419   (eval $ac_try) 2>&5
12420   ac_status=$?
12421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12422   (exit $ac_status); }; } &&
12423          { ac_try='test -s conftest.$ac_objext'
12424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12425   (eval $ac_try) 2>&5
12426   ac_status=$?
12427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12428   (exit $ac_status); }; }; then
12429   glibcxx_cv_func__expf_use=yes
12430 else
12431   echo "$as_me: failed program was:" >&5
12432 sed 's/^/| /' conftest.$ac_ext >&5
12433
12434 glibcxx_cv_func__expf_use=no
12435 fi
12436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12437       ac_ext=c
12438 ac_cpp='$CPP $CPPFLAGS'
12439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12442
12443
12444 fi
12445
12446   fi
12447   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
12448 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
12449
12450     if test x$glibcxx_cv_func__expf_use = x"yes"; then
12451
12452 for ac_func in _expf
12453 do
12454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12455 echo "$as_me:$LINENO: checking for $ac_func" >&5
12456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12457 if eval "test \"\${$as_ac_var+set}\" = set"; then
12458   echo $ECHO_N "(cached) $ECHO_C" >&6
12459 else
12460   if test x$gcc_no_link = xyes; then
12461   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12463    { (exit 1); exit 1; }; }
12464 fi
12465 cat >conftest.$ac_ext <<_ACEOF
12466 /* confdefs.h.  */
12467 _ACEOF
12468 cat confdefs.h >>conftest.$ac_ext
12469 cat >>conftest.$ac_ext <<_ACEOF
12470 /* end confdefs.h.  */
12471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12472    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12473 #define $ac_func innocuous_$ac_func
12474
12475 /* System header to define __stub macros and hopefully few prototypes,
12476     which can conflict with char $ac_func (); below.
12477     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12478     <limits.h> exists even on freestanding compilers.  */
12479
12480 #ifdef __STDC__
12481 # include <limits.h>
12482 #else
12483 # include <assert.h>
12484 #endif
12485
12486 #undef $ac_func
12487
12488 /* Override any gcc2 internal prototype to avoid an error.  */
12489 #ifdef __cplusplus
12490 extern "C"
12491 {
12492 #endif
12493 /* We use char because int might match the return type of a gcc2
12494    builtin and then its argument prototype would still apply.  */
12495 char $ac_func ();
12496 /* The GNU C library defines this for functions which it implements
12497     to always fail with ENOSYS.  Some functions are actually named
12498     something starting with __ and the normal name is an alias.  */
12499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12500 choke me
12501 #else
12502 char (*f) () = $ac_func;
12503 #endif
12504 #ifdef __cplusplus
12505 }
12506 #endif
12507
12508 int
12509 main ()
12510 {
12511 return f != $ac_func;
12512   ;
12513   return 0;
12514 }
12515 _ACEOF
12516 rm -f conftest.$ac_objext conftest$ac_exeext
12517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12518   (eval $ac_link) 2>conftest.er1
12519   ac_status=$?
12520   grep -v '^ *+' conftest.er1 >conftest.err
12521   rm -f conftest.er1
12522   cat conftest.err >&5
12523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12524   (exit $ac_status); } &&
12525          { ac_try='test -z "$ac_c_werror_flag"
12526                          || test ! -s conftest.err'
12527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12528   (eval $ac_try) 2>&5
12529   ac_status=$?
12530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12531   (exit $ac_status); }; } &&
12532          { ac_try='test -s conftest$ac_exeext'
12533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12534   (eval $ac_try) 2>&5
12535   ac_status=$?
12536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12537   (exit $ac_status); }; }; then
12538   eval "$as_ac_var=yes"
12539 else
12540   echo "$as_me: failed program was:" >&5
12541 sed 's/^/| /' conftest.$ac_ext >&5
12542
12543 eval "$as_ac_var=no"
12544 fi
12545 rm -f conftest.err conftest.$ac_objext \
12546       conftest$ac_exeext conftest.$ac_ext
12547 fi
12548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12550 if test `eval echo '${'$as_ac_var'}'` = yes; then
12551   cat >>confdefs.h <<_ACEOF
12552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12553 _ACEOF
12554
12555 fi
12556 done
12557
12558     fi
12559   fi
12560
12561
12562
12563
12564
12565
12566   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
12567 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
12568   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12569     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
12570   echo $ECHO_N "(cached) $ECHO_C" >&6
12571 else
12572
12573
12574
12575       ac_ext=cc
12576 ac_cpp='$CXXCPP $CPPFLAGS'
12577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12580
12581       cat >conftest.$ac_ext <<_ACEOF
12582 /* confdefs.h.  */
12583 _ACEOF
12584 cat confdefs.h >>conftest.$ac_ext
12585 cat >>conftest.$ac_ext <<_ACEOF
12586 /* end confdefs.h.  */
12587 #include <math.h>
12588                       #ifdef HAVE_IEEEFP_H
12589                       #include <ieeefp.h>
12590                       #endif
12591
12592 int
12593 main ()
12594 {
12595  isnanf(0);
12596   ;
12597   return 0;
12598 }
12599 _ACEOF
12600 rm -f conftest.$ac_objext
12601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12602   (eval $ac_compile) 2>conftest.er1
12603   ac_status=$?
12604   grep -v '^ *+' conftest.er1 >conftest.err
12605   rm -f conftest.er1
12606   cat conftest.err >&5
12607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12608   (exit $ac_status); } &&
12609          { ac_try='test -z "$ac_cxx_werror_flag"
12610                          || test ! -s conftest.err'
12611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12612   (eval $ac_try) 2>&5
12613   ac_status=$?
12614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12615   (exit $ac_status); }; } &&
12616          { ac_try='test -s conftest.$ac_objext'
12617   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12618   (eval $ac_try) 2>&5
12619   ac_status=$?
12620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12621   (exit $ac_status); }; }; then
12622   glibcxx_cv_func_isnanf_use=yes
12623 else
12624   echo "$as_me: failed program was:" >&5
12625 sed 's/^/| /' conftest.$ac_ext >&5
12626
12627 glibcxx_cv_func_isnanf_use=no
12628 fi
12629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12630       ac_ext=c
12631 ac_cpp='$CPP $CPPFLAGS'
12632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12635
12636
12637 fi
12638
12639   fi
12640   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
12641 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
12642
12643   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12644
12645 for ac_func in isnanf
12646 do
12647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12648 echo "$as_me:$LINENO: checking for $ac_func" >&5
12649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12650 if eval "test \"\${$as_ac_var+set}\" = set"; then
12651   echo $ECHO_N "(cached) $ECHO_C" >&6
12652 else
12653   if test x$gcc_no_link = xyes; then
12654   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12656    { (exit 1); exit 1; }; }
12657 fi
12658 cat >conftest.$ac_ext <<_ACEOF
12659 /* confdefs.h.  */
12660 _ACEOF
12661 cat confdefs.h >>conftest.$ac_ext
12662 cat >>conftest.$ac_ext <<_ACEOF
12663 /* end confdefs.h.  */
12664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12665    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12666 #define $ac_func innocuous_$ac_func
12667
12668 /* System header to define __stub macros and hopefully few prototypes,
12669     which can conflict with char $ac_func (); below.
12670     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12671     <limits.h> exists even on freestanding compilers.  */
12672
12673 #ifdef __STDC__
12674 # include <limits.h>
12675 #else
12676 # include <assert.h>
12677 #endif
12678
12679 #undef $ac_func
12680
12681 /* Override any gcc2 internal prototype to avoid an error.  */
12682 #ifdef __cplusplus
12683 extern "C"
12684 {
12685 #endif
12686 /* We use char because int might match the return type of a gcc2
12687    builtin and then its argument prototype would still apply.  */
12688 char $ac_func ();
12689 /* The GNU C library defines this for functions which it implements
12690     to always fail with ENOSYS.  Some functions are actually named
12691     something starting with __ and the normal name is an alias.  */
12692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12693 choke me
12694 #else
12695 char (*f) () = $ac_func;
12696 #endif
12697 #ifdef __cplusplus
12698 }
12699 #endif
12700
12701 int
12702 main ()
12703 {
12704 return f != $ac_func;
12705   ;
12706   return 0;
12707 }
12708 _ACEOF
12709 rm -f conftest.$ac_objext conftest$ac_exeext
12710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12711   (eval $ac_link) 2>conftest.er1
12712   ac_status=$?
12713   grep -v '^ *+' conftest.er1 >conftest.err
12714   rm -f conftest.er1
12715   cat conftest.err >&5
12716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12717   (exit $ac_status); } &&
12718          { ac_try='test -z "$ac_c_werror_flag"
12719                          || test ! -s conftest.err'
12720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12721   (eval $ac_try) 2>&5
12722   ac_status=$?
12723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12724   (exit $ac_status); }; } &&
12725          { ac_try='test -s conftest$ac_exeext'
12726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12727   (eval $ac_try) 2>&5
12728   ac_status=$?
12729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12730   (exit $ac_status); }; }; then
12731   eval "$as_ac_var=yes"
12732 else
12733   echo "$as_me: failed program was:" >&5
12734 sed 's/^/| /' conftest.$ac_ext >&5
12735
12736 eval "$as_ac_var=no"
12737 fi
12738 rm -f conftest.err conftest.$ac_objext \
12739       conftest$ac_exeext conftest.$ac_ext
12740 fi
12741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12743 if test `eval echo '${'$as_ac_var'}'` = yes; then
12744   cat >>confdefs.h <<_ACEOF
12745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12746 _ACEOF
12747
12748 fi
12749 done
12750
12751   else
12752
12753   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
12754 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
12755   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
12756     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
12757   echo $ECHO_N "(cached) $ECHO_C" >&6
12758 else
12759
12760
12761
12762       ac_ext=cc
12763 ac_cpp='$CXXCPP $CPPFLAGS'
12764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12767
12768       cat >conftest.$ac_ext <<_ACEOF
12769 /* confdefs.h.  */
12770 _ACEOF
12771 cat confdefs.h >>conftest.$ac_ext
12772 cat >>conftest.$ac_ext <<_ACEOF
12773 /* end confdefs.h.  */
12774 #include <math.h>
12775                       #ifdef HAVE_IEEEFP_H
12776                       #include <ieeefp.h>
12777                       #endif
12778
12779 int
12780 main ()
12781 {
12782  _isnanf(0);
12783   ;
12784   return 0;
12785 }
12786 _ACEOF
12787 rm -f conftest.$ac_objext
12788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12789   (eval $ac_compile) 2>conftest.er1
12790   ac_status=$?
12791   grep -v '^ *+' conftest.er1 >conftest.err
12792   rm -f conftest.er1
12793   cat conftest.err >&5
12794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12795   (exit $ac_status); } &&
12796          { ac_try='test -z "$ac_cxx_werror_flag"
12797                          || test ! -s conftest.err'
12798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12799   (eval $ac_try) 2>&5
12800   ac_status=$?
12801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12802   (exit $ac_status); }; } &&
12803          { ac_try='test -s conftest.$ac_objext'
12804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12805   (eval $ac_try) 2>&5
12806   ac_status=$?
12807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12808   (exit $ac_status); }; }; then
12809   glibcxx_cv_func__isnanf_use=yes
12810 else
12811   echo "$as_me: failed program was:" >&5
12812 sed 's/^/| /' conftest.$ac_ext >&5
12813
12814 glibcxx_cv_func__isnanf_use=no
12815 fi
12816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12817       ac_ext=c
12818 ac_cpp='$CPP $CPPFLAGS'
12819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12822
12823
12824 fi
12825
12826   fi
12827   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
12828 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
12829
12830     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
12831
12832 for ac_func in _isnanf
12833 do
12834 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12835 echo "$as_me:$LINENO: checking for $ac_func" >&5
12836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12837 if eval "test \"\${$as_ac_var+set}\" = set"; then
12838   echo $ECHO_N "(cached) $ECHO_C" >&6
12839 else
12840   if test x$gcc_no_link = xyes; then
12841   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12842 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12843    { (exit 1); exit 1; }; }
12844 fi
12845 cat >conftest.$ac_ext <<_ACEOF
12846 /* confdefs.h.  */
12847 _ACEOF
12848 cat confdefs.h >>conftest.$ac_ext
12849 cat >>conftest.$ac_ext <<_ACEOF
12850 /* end confdefs.h.  */
12851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12852    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12853 #define $ac_func innocuous_$ac_func
12854
12855 /* System header to define __stub macros and hopefully few prototypes,
12856     which can conflict with char $ac_func (); below.
12857     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12858     <limits.h> exists even on freestanding compilers.  */
12859
12860 #ifdef __STDC__
12861 # include <limits.h>
12862 #else
12863 # include <assert.h>
12864 #endif
12865
12866 #undef $ac_func
12867
12868 /* Override any gcc2 internal prototype to avoid an error.  */
12869 #ifdef __cplusplus
12870 extern "C"
12871 {
12872 #endif
12873 /* We use char because int might match the return type of a gcc2
12874    builtin and then its argument prototype would still apply.  */
12875 char $ac_func ();
12876 /* The GNU C library defines this for functions which it implements
12877     to always fail with ENOSYS.  Some functions are actually named
12878     something starting with __ and the normal name is an alias.  */
12879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12880 choke me
12881 #else
12882 char (*f) () = $ac_func;
12883 #endif
12884 #ifdef __cplusplus
12885 }
12886 #endif
12887
12888 int
12889 main ()
12890 {
12891 return f != $ac_func;
12892   ;
12893   return 0;
12894 }
12895 _ACEOF
12896 rm -f conftest.$ac_objext conftest$ac_exeext
12897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12898   (eval $ac_link) 2>conftest.er1
12899   ac_status=$?
12900   grep -v '^ *+' conftest.er1 >conftest.err
12901   rm -f conftest.er1
12902   cat conftest.err >&5
12903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12904   (exit $ac_status); } &&
12905          { ac_try='test -z "$ac_c_werror_flag"
12906                          || test ! -s conftest.err'
12907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12908   (eval $ac_try) 2>&5
12909   ac_status=$?
12910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12911   (exit $ac_status); }; } &&
12912          { ac_try='test -s conftest$ac_exeext'
12913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12914   (eval $ac_try) 2>&5
12915   ac_status=$?
12916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12917   (exit $ac_status); }; }; then
12918   eval "$as_ac_var=yes"
12919 else
12920   echo "$as_me: failed program was:" >&5
12921 sed 's/^/| /' conftest.$ac_ext >&5
12922
12923 eval "$as_ac_var=no"
12924 fi
12925 rm -f conftest.err conftest.$ac_objext \
12926       conftest$ac_exeext conftest.$ac_ext
12927 fi
12928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12929 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12930 if test `eval echo '${'$as_ac_var'}'` = yes; then
12931   cat >>confdefs.h <<_ACEOF
12932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12933 _ACEOF
12934
12935 fi
12936 done
12937
12938     fi
12939   fi
12940
12941
12942
12943
12944
12945
12946   echo "$as_me:$LINENO: checking for isinff declaration" >&5
12947 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
12948   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
12949     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
12950   echo $ECHO_N "(cached) $ECHO_C" >&6
12951 else
12952
12953
12954
12955       ac_ext=cc
12956 ac_cpp='$CXXCPP $CPPFLAGS'
12957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12960
12961       cat >conftest.$ac_ext <<_ACEOF
12962 /* confdefs.h.  */
12963 _ACEOF
12964 cat confdefs.h >>conftest.$ac_ext
12965 cat >>conftest.$ac_ext <<_ACEOF
12966 /* end confdefs.h.  */
12967 #include <math.h>
12968                       #ifdef HAVE_IEEEFP_H
12969                       #include <ieeefp.h>
12970                       #endif
12971
12972 int
12973 main ()
12974 {
12975  isinff(0);
12976   ;
12977   return 0;
12978 }
12979 _ACEOF
12980 rm -f conftest.$ac_objext
12981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12982   (eval $ac_compile) 2>conftest.er1
12983   ac_status=$?
12984   grep -v '^ *+' conftest.er1 >conftest.err
12985   rm -f conftest.er1
12986   cat conftest.err >&5
12987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12988   (exit $ac_status); } &&
12989          { ac_try='test -z "$ac_cxx_werror_flag"
12990                          || test ! -s conftest.err'
12991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12992   (eval $ac_try) 2>&5
12993   ac_status=$?
12994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12995   (exit $ac_status); }; } &&
12996          { ac_try='test -s conftest.$ac_objext'
12997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12998   (eval $ac_try) 2>&5
12999   ac_status=$?
13000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13001   (exit $ac_status); }; }; then
13002   glibcxx_cv_func_isinff_use=yes
13003 else
13004   echo "$as_me: failed program was:" >&5
13005 sed 's/^/| /' conftest.$ac_ext >&5
13006
13007 glibcxx_cv_func_isinff_use=no
13008 fi
13009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13010       ac_ext=c
13011 ac_cpp='$CPP $CPPFLAGS'
13012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13015
13016
13017 fi
13018
13019   fi
13020   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
13021 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
13022
13023   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
13024
13025 for ac_func in isinff
13026 do
13027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13028 echo "$as_me:$LINENO: checking for $ac_func" >&5
13029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13030 if eval "test \"\${$as_ac_var+set}\" = set"; then
13031   echo $ECHO_N "(cached) $ECHO_C" >&6
13032 else
13033   if test x$gcc_no_link = xyes; then
13034   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13036    { (exit 1); exit 1; }; }
13037 fi
13038 cat >conftest.$ac_ext <<_ACEOF
13039 /* confdefs.h.  */
13040 _ACEOF
13041 cat confdefs.h >>conftest.$ac_ext
13042 cat >>conftest.$ac_ext <<_ACEOF
13043 /* end confdefs.h.  */
13044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13045    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13046 #define $ac_func innocuous_$ac_func
13047
13048 /* System header to define __stub macros and hopefully few prototypes,
13049     which can conflict with char $ac_func (); below.
13050     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13051     <limits.h> exists even on freestanding compilers.  */
13052
13053 #ifdef __STDC__
13054 # include <limits.h>
13055 #else
13056 # include <assert.h>
13057 #endif
13058
13059 #undef $ac_func
13060
13061 /* Override any gcc2 internal prototype to avoid an error.  */
13062 #ifdef __cplusplus
13063 extern "C"
13064 {
13065 #endif
13066 /* We use char because int might match the return type of a gcc2
13067    builtin and then its argument prototype would still apply.  */
13068 char $ac_func ();
13069 /* The GNU C library defines this for functions which it implements
13070     to always fail with ENOSYS.  Some functions are actually named
13071     something starting with __ and the normal name is an alias.  */
13072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13073 choke me
13074 #else
13075 char (*f) () = $ac_func;
13076 #endif
13077 #ifdef __cplusplus
13078 }
13079 #endif
13080
13081 int
13082 main ()
13083 {
13084 return f != $ac_func;
13085   ;
13086   return 0;
13087 }
13088 _ACEOF
13089 rm -f conftest.$ac_objext conftest$ac_exeext
13090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13091   (eval $ac_link) 2>conftest.er1
13092   ac_status=$?
13093   grep -v '^ *+' conftest.er1 >conftest.err
13094   rm -f conftest.er1
13095   cat conftest.err >&5
13096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13097   (exit $ac_status); } &&
13098          { ac_try='test -z "$ac_c_werror_flag"
13099                          || test ! -s conftest.err'
13100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13101   (eval $ac_try) 2>&5
13102   ac_status=$?
13103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13104   (exit $ac_status); }; } &&
13105          { ac_try='test -s conftest$ac_exeext'
13106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13107   (eval $ac_try) 2>&5
13108   ac_status=$?
13109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13110   (exit $ac_status); }; }; then
13111   eval "$as_ac_var=yes"
13112 else
13113   echo "$as_me: failed program was:" >&5
13114 sed 's/^/| /' conftest.$ac_ext >&5
13115
13116 eval "$as_ac_var=no"
13117 fi
13118 rm -f conftest.err conftest.$ac_objext \
13119       conftest$ac_exeext conftest.$ac_ext
13120 fi
13121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13123 if test `eval echo '${'$as_ac_var'}'` = yes; then
13124   cat >>confdefs.h <<_ACEOF
13125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13126 _ACEOF
13127
13128 fi
13129 done
13130
13131   else
13132
13133   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
13134 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
13135   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
13136     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
13137   echo $ECHO_N "(cached) $ECHO_C" >&6
13138 else
13139
13140
13141
13142       ac_ext=cc
13143 ac_cpp='$CXXCPP $CPPFLAGS'
13144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13147
13148       cat >conftest.$ac_ext <<_ACEOF
13149 /* confdefs.h.  */
13150 _ACEOF
13151 cat confdefs.h >>conftest.$ac_ext
13152 cat >>conftest.$ac_ext <<_ACEOF
13153 /* end confdefs.h.  */
13154 #include <math.h>
13155                       #ifdef HAVE_IEEEFP_H
13156                       #include <ieeefp.h>
13157                       #endif
13158
13159 int
13160 main ()
13161 {
13162  _isinff(0);
13163   ;
13164   return 0;
13165 }
13166 _ACEOF
13167 rm -f conftest.$ac_objext
13168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13169   (eval $ac_compile) 2>conftest.er1
13170   ac_status=$?
13171   grep -v '^ *+' conftest.er1 >conftest.err
13172   rm -f conftest.er1
13173   cat conftest.err >&5
13174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13175   (exit $ac_status); } &&
13176          { ac_try='test -z "$ac_cxx_werror_flag"
13177                          || test ! -s conftest.err'
13178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13179   (eval $ac_try) 2>&5
13180   ac_status=$?
13181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13182   (exit $ac_status); }; } &&
13183          { ac_try='test -s conftest.$ac_objext'
13184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13185   (eval $ac_try) 2>&5
13186   ac_status=$?
13187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13188   (exit $ac_status); }; }; then
13189   glibcxx_cv_func__isinff_use=yes
13190 else
13191   echo "$as_me: failed program was:" >&5
13192 sed 's/^/| /' conftest.$ac_ext >&5
13193
13194 glibcxx_cv_func__isinff_use=no
13195 fi
13196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13197       ac_ext=c
13198 ac_cpp='$CPP $CPPFLAGS'
13199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13202
13203
13204 fi
13205
13206   fi
13207   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
13208 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
13209
13210     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
13211
13212 for ac_func in _isinff
13213 do
13214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13215 echo "$as_me:$LINENO: checking for $ac_func" >&5
13216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13217 if eval "test \"\${$as_ac_var+set}\" = set"; then
13218   echo $ECHO_N "(cached) $ECHO_C" >&6
13219 else
13220   if test x$gcc_no_link = xyes; then
13221   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13223    { (exit 1); exit 1; }; }
13224 fi
13225 cat >conftest.$ac_ext <<_ACEOF
13226 /* confdefs.h.  */
13227 _ACEOF
13228 cat confdefs.h >>conftest.$ac_ext
13229 cat >>conftest.$ac_ext <<_ACEOF
13230 /* end confdefs.h.  */
13231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13232    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13233 #define $ac_func innocuous_$ac_func
13234
13235 /* System header to define __stub macros and hopefully few prototypes,
13236     which can conflict with char $ac_func (); below.
13237     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13238     <limits.h> exists even on freestanding compilers.  */
13239
13240 #ifdef __STDC__
13241 # include <limits.h>
13242 #else
13243 # include <assert.h>
13244 #endif
13245
13246 #undef $ac_func
13247
13248 /* Override any gcc2 internal prototype to avoid an error.  */
13249 #ifdef __cplusplus
13250 extern "C"
13251 {
13252 #endif
13253 /* We use char because int might match the return type of a gcc2
13254    builtin and then its argument prototype would still apply.  */
13255 char $ac_func ();
13256 /* The GNU C library defines this for functions which it implements
13257     to always fail with ENOSYS.  Some functions are actually named
13258     something starting with __ and the normal name is an alias.  */
13259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13260 choke me
13261 #else
13262 char (*f) () = $ac_func;
13263 #endif
13264 #ifdef __cplusplus
13265 }
13266 #endif
13267
13268 int
13269 main ()
13270 {
13271 return f != $ac_func;
13272   ;
13273   return 0;
13274 }
13275 _ACEOF
13276 rm -f conftest.$ac_objext conftest$ac_exeext
13277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13278   (eval $ac_link) 2>conftest.er1
13279   ac_status=$?
13280   grep -v '^ *+' conftest.er1 >conftest.err
13281   rm -f conftest.er1
13282   cat conftest.err >&5
13283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13284   (exit $ac_status); } &&
13285          { ac_try='test -z "$ac_c_werror_flag"
13286                          || test ! -s conftest.err'
13287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13288   (eval $ac_try) 2>&5
13289   ac_status=$?
13290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13291   (exit $ac_status); }; } &&
13292          { ac_try='test -s conftest$ac_exeext'
13293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13294   (eval $ac_try) 2>&5
13295   ac_status=$?
13296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13297   (exit $ac_status); }; }; then
13298   eval "$as_ac_var=yes"
13299 else
13300   echo "$as_me: failed program was:" >&5
13301 sed 's/^/| /' conftest.$ac_ext >&5
13302
13303 eval "$as_ac_var=no"
13304 fi
13305 rm -f conftest.err conftest.$ac_objext \
13306       conftest$ac_exeext conftest.$ac_ext
13307 fi
13308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13310 if test `eval echo '${'$as_ac_var'}'` = yes; then
13311   cat >>confdefs.h <<_ACEOF
13312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13313 _ACEOF
13314
13315 fi
13316 done
13317
13318     fi
13319   fi
13320
13321
13322
13323
13324
13325
13326   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
13327 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
13328   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
13329     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
13330   echo $ECHO_N "(cached) $ECHO_C" >&6
13331 else
13332
13333
13334
13335       ac_ext=cc
13336 ac_cpp='$CXXCPP $CPPFLAGS'
13337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13340
13341       cat >conftest.$ac_ext <<_ACEOF
13342 /* confdefs.h.  */
13343 _ACEOF
13344 cat confdefs.h >>conftest.$ac_ext
13345 cat >>conftest.$ac_ext <<_ACEOF
13346 /* end confdefs.h.  */
13347 #include <math.h>
13348 int
13349 main ()
13350 {
13351  atan2f(0, 0);
13352   ;
13353   return 0;
13354 }
13355 _ACEOF
13356 rm -f conftest.$ac_objext
13357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13358   (eval $ac_compile) 2>conftest.er1
13359   ac_status=$?
13360   grep -v '^ *+' conftest.er1 >conftest.err
13361   rm -f conftest.er1
13362   cat conftest.err >&5
13363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13364   (exit $ac_status); } &&
13365          { ac_try='test -z "$ac_cxx_werror_flag"
13366                          || test ! -s conftest.err'
13367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13368   (eval $ac_try) 2>&5
13369   ac_status=$?
13370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13371   (exit $ac_status); }; } &&
13372          { ac_try='test -s conftest.$ac_objext'
13373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13374   (eval $ac_try) 2>&5
13375   ac_status=$?
13376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13377   (exit $ac_status); }; }; then
13378   glibcxx_cv_func_atan2f_use=yes
13379 else
13380   echo "$as_me: failed program was:" >&5
13381 sed 's/^/| /' conftest.$ac_ext >&5
13382
13383 glibcxx_cv_func_atan2f_use=no
13384 fi
13385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13386       ac_ext=c
13387 ac_cpp='$CPP $CPPFLAGS'
13388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13391
13392
13393 fi
13394
13395   fi
13396   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
13397 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
13398
13399   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
13400
13401 for ac_func in atan2f
13402 do
13403 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13404 echo "$as_me:$LINENO: checking for $ac_func" >&5
13405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13406 if eval "test \"\${$as_ac_var+set}\" = set"; then
13407   echo $ECHO_N "(cached) $ECHO_C" >&6
13408 else
13409   if test x$gcc_no_link = xyes; then
13410   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13412    { (exit 1); exit 1; }; }
13413 fi
13414 cat >conftest.$ac_ext <<_ACEOF
13415 /* confdefs.h.  */
13416 _ACEOF
13417 cat confdefs.h >>conftest.$ac_ext
13418 cat >>conftest.$ac_ext <<_ACEOF
13419 /* end confdefs.h.  */
13420 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13421    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13422 #define $ac_func innocuous_$ac_func
13423
13424 /* System header to define __stub macros and hopefully few prototypes,
13425     which can conflict with char $ac_func (); below.
13426     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13427     <limits.h> exists even on freestanding compilers.  */
13428
13429 #ifdef __STDC__
13430 # include <limits.h>
13431 #else
13432 # include <assert.h>
13433 #endif
13434
13435 #undef $ac_func
13436
13437 /* Override any gcc2 internal prototype to avoid an error.  */
13438 #ifdef __cplusplus
13439 extern "C"
13440 {
13441 #endif
13442 /* We use char because int might match the return type of a gcc2
13443    builtin and then its argument prototype would still apply.  */
13444 char $ac_func ();
13445 /* The GNU C library defines this for functions which it implements
13446     to always fail with ENOSYS.  Some functions are actually named
13447     something starting with __ and the normal name is an alias.  */
13448 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13449 choke me
13450 #else
13451 char (*f) () = $ac_func;
13452 #endif
13453 #ifdef __cplusplus
13454 }
13455 #endif
13456
13457 int
13458 main ()
13459 {
13460 return f != $ac_func;
13461   ;
13462   return 0;
13463 }
13464 _ACEOF
13465 rm -f conftest.$ac_objext conftest$ac_exeext
13466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13467   (eval $ac_link) 2>conftest.er1
13468   ac_status=$?
13469   grep -v '^ *+' conftest.er1 >conftest.err
13470   rm -f conftest.er1
13471   cat conftest.err >&5
13472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13473   (exit $ac_status); } &&
13474          { ac_try='test -z "$ac_c_werror_flag"
13475                          || test ! -s conftest.err'
13476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13477   (eval $ac_try) 2>&5
13478   ac_status=$?
13479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13480   (exit $ac_status); }; } &&
13481          { ac_try='test -s conftest$ac_exeext'
13482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13483   (eval $ac_try) 2>&5
13484   ac_status=$?
13485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13486   (exit $ac_status); }; }; then
13487   eval "$as_ac_var=yes"
13488 else
13489   echo "$as_me: failed program was:" >&5
13490 sed 's/^/| /' conftest.$ac_ext >&5
13491
13492 eval "$as_ac_var=no"
13493 fi
13494 rm -f conftest.err conftest.$ac_objext \
13495       conftest$ac_exeext conftest.$ac_ext
13496 fi
13497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13498 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13499 if test `eval echo '${'$as_ac_var'}'` = yes; then
13500   cat >>confdefs.h <<_ACEOF
13501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13502 _ACEOF
13503
13504 fi
13505 done
13506
13507   else
13508
13509   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
13510 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
13511   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
13512     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
13513   echo $ECHO_N "(cached) $ECHO_C" >&6
13514 else
13515
13516
13517
13518       ac_ext=cc
13519 ac_cpp='$CXXCPP $CPPFLAGS'
13520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13523
13524       cat >conftest.$ac_ext <<_ACEOF
13525 /* confdefs.h.  */
13526 _ACEOF
13527 cat confdefs.h >>conftest.$ac_ext
13528 cat >>conftest.$ac_ext <<_ACEOF
13529 /* end confdefs.h.  */
13530 #include <math.h>
13531 int
13532 main ()
13533 {
13534  _atan2f(0, 0);
13535   ;
13536   return 0;
13537 }
13538 _ACEOF
13539 rm -f conftest.$ac_objext
13540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13541   (eval $ac_compile) 2>conftest.er1
13542   ac_status=$?
13543   grep -v '^ *+' conftest.er1 >conftest.err
13544   rm -f conftest.er1
13545   cat conftest.err >&5
13546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13547   (exit $ac_status); } &&
13548          { ac_try='test -z "$ac_cxx_werror_flag"
13549                          || test ! -s conftest.err'
13550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13551   (eval $ac_try) 2>&5
13552   ac_status=$?
13553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13554   (exit $ac_status); }; } &&
13555          { ac_try='test -s conftest.$ac_objext'
13556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13557   (eval $ac_try) 2>&5
13558   ac_status=$?
13559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13560   (exit $ac_status); }; }; then
13561   glibcxx_cv_func__atan2f_use=yes
13562 else
13563   echo "$as_me: failed program was:" >&5
13564 sed 's/^/| /' conftest.$ac_ext >&5
13565
13566 glibcxx_cv_func__atan2f_use=no
13567 fi
13568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13569       ac_ext=c
13570 ac_cpp='$CPP $CPPFLAGS'
13571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13574
13575
13576 fi
13577
13578   fi
13579   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
13580 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
13581
13582     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13583
13584 for ac_func in _atan2f
13585 do
13586 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13587 echo "$as_me:$LINENO: checking for $ac_func" >&5
13588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13589 if eval "test \"\${$as_ac_var+set}\" = set"; then
13590   echo $ECHO_N "(cached) $ECHO_C" >&6
13591 else
13592   if test x$gcc_no_link = xyes; then
13593   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13595    { (exit 1); exit 1; }; }
13596 fi
13597 cat >conftest.$ac_ext <<_ACEOF
13598 /* confdefs.h.  */
13599 _ACEOF
13600 cat confdefs.h >>conftest.$ac_ext
13601 cat >>conftest.$ac_ext <<_ACEOF
13602 /* end confdefs.h.  */
13603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13604    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13605 #define $ac_func innocuous_$ac_func
13606
13607 /* System header to define __stub macros and hopefully few prototypes,
13608     which can conflict with char $ac_func (); below.
13609     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13610     <limits.h> exists even on freestanding compilers.  */
13611
13612 #ifdef __STDC__
13613 # include <limits.h>
13614 #else
13615 # include <assert.h>
13616 #endif
13617
13618 #undef $ac_func
13619
13620 /* Override any gcc2 internal prototype to avoid an error.  */
13621 #ifdef __cplusplus
13622 extern "C"
13623 {
13624 #endif
13625 /* We use char because int might match the return type of a gcc2
13626    builtin and then its argument prototype would still apply.  */
13627 char $ac_func ();
13628 /* The GNU C library defines this for functions which it implements
13629     to always fail with ENOSYS.  Some functions are actually named
13630     something starting with __ and the normal name is an alias.  */
13631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13632 choke me
13633 #else
13634 char (*f) () = $ac_func;
13635 #endif
13636 #ifdef __cplusplus
13637 }
13638 #endif
13639
13640 int
13641 main ()
13642 {
13643 return f != $ac_func;
13644   ;
13645   return 0;
13646 }
13647 _ACEOF
13648 rm -f conftest.$ac_objext conftest$ac_exeext
13649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13650   (eval $ac_link) 2>conftest.er1
13651   ac_status=$?
13652   grep -v '^ *+' conftest.er1 >conftest.err
13653   rm -f conftest.er1
13654   cat conftest.err >&5
13655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13656   (exit $ac_status); } &&
13657          { ac_try='test -z "$ac_c_werror_flag"
13658                          || test ! -s conftest.err'
13659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13660   (eval $ac_try) 2>&5
13661   ac_status=$?
13662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13663   (exit $ac_status); }; } &&
13664          { ac_try='test -s conftest$ac_exeext'
13665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13666   (eval $ac_try) 2>&5
13667   ac_status=$?
13668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13669   (exit $ac_status); }; }; then
13670   eval "$as_ac_var=yes"
13671 else
13672   echo "$as_me: failed program was:" >&5
13673 sed 's/^/| /' conftest.$ac_ext >&5
13674
13675 eval "$as_ac_var=no"
13676 fi
13677 rm -f conftest.err conftest.$ac_objext \
13678       conftest$ac_exeext conftest.$ac_ext
13679 fi
13680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13681 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13682 if test `eval echo '${'$as_ac_var'}'` = yes; then
13683   cat >>confdefs.h <<_ACEOF
13684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13685 _ACEOF
13686
13687 fi
13688 done
13689
13690     fi
13691   fi
13692
13693
13694
13695
13696
13697
13698   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
13699 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
13700   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
13701     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
13702   echo $ECHO_N "(cached) $ECHO_C" >&6
13703 else
13704
13705
13706
13707       ac_ext=cc
13708 ac_cpp='$CXXCPP $CPPFLAGS'
13709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13712
13713       cat >conftest.$ac_ext <<_ACEOF
13714 /* confdefs.h.  */
13715 _ACEOF
13716 cat confdefs.h >>conftest.$ac_ext
13717 cat >>conftest.$ac_ext <<_ACEOF
13718 /* end confdefs.h.  */
13719 #include <math.h>
13720                       #ifdef HAVE_IEEEFP_H
13721                       #include <ieeefp.h>
13722                       #endif
13723
13724 int
13725 main ()
13726 {
13727  fabsf(0);
13728   ;
13729   return 0;
13730 }
13731 _ACEOF
13732 rm -f conftest.$ac_objext
13733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13734   (eval $ac_compile) 2>conftest.er1
13735   ac_status=$?
13736   grep -v '^ *+' conftest.er1 >conftest.err
13737   rm -f conftest.er1
13738   cat conftest.err >&5
13739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13740   (exit $ac_status); } &&
13741          { ac_try='test -z "$ac_cxx_werror_flag"
13742                          || test ! -s conftest.err'
13743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13744   (eval $ac_try) 2>&5
13745   ac_status=$?
13746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13747   (exit $ac_status); }; } &&
13748          { ac_try='test -s conftest.$ac_objext'
13749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13750   (eval $ac_try) 2>&5
13751   ac_status=$?
13752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13753   (exit $ac_status); }; }; then
13754   glibcxx_cv_func_fabsf_use=yes
13755 else
13756   echo "$as_me: failed program was:" >&5
13757 sed 's/^/| /' conftest.$ac_ext >&5
13758
13759 glibcxx_cv_func_fabsf_use=no
13760 fi
13761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13762       ac_ext=c
13763 ac_cpp='$CPP $CPPFLAGS'
13764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13767
13768
13769 fi
13770
13771   fi
13772   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
13773 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
13774
13775   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
13776
13777 for ac_func in fabsf
13778 do
13779 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13780 echo "$as_me:$LINENO: checking for $ac_func" >&5
13781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13782 if eval "test \"\${$as_ac_var+set}\" = set"; then
13783   echo $ECHO_N "(cached) $ECHO_C" >&6
13784 else
13785   if test x$gcc_no_link = xyes; then
13786   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13788    { (exit 1); exit 1; }; }
13789 fi
13790 cat >conftest.$ac_ext <<_ACEOF
13791 /* confdefs.h.  */
13792 _ACEOF
13793 cat confdefs.h >>conftest.$ac_ext
13794 cat >>conftest.$ac_ext <<_ACEOF
13795 /* end confdefs.h.  */
13796 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13797    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13798 #define $ac_func innocuous_$ac_func
13799
13800 /* System header to define __stub macros and hopefully few prototypes,
13801     which can conflict with char $ac_func (); below.
13802     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13803     <limits.h> exists even on freestanding compilers.  */
13804
13805 #ifdef __STDC__
13806 # include <limits.h>
13807 #else
13808 # include <assert.h>
13809 #endif
13810
13811 #undef $ac_func
13812
13813 /* Override any gcc2 internal prototype to avoid an error.  */
13814 #ifdef __cplusplus
13815 extern "C"
13816 {
13817 #endif
13818 /* We use char because int might match the return type of a gcc2
13819    builtin and then its argument prototype would still apply.  */
13820 char $ac_func ();
13821 /* The GNU C library defines this for functions which it implements
13822     to always fail with ENOSYS.  Some functions are actually named
13823     something starting with __ and the normal name is an alias.  */
13824 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13825 choke me
13826 #else
13827 char (*f) () = $ac_func;
13828 #endif
13829 #ifdef __cplusplus
13830 }
13831 #endif
13832
13833 int
13834 main ()
13835 {
13836 return f != $ac_func;
13837   ;
13838   return 0;
13839 }
13840 _ACEOF
13841 rm -f conftest.$ac_objext conftest$ac_exeext
13842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13843   (eval $ac_link) 2>conftest.er1
13844   ac_status=$?
13845   grep -v '^ *+' conftest.er1 >conftest.err
13846   rm -f conftest.er1
13847   cat conftest.err >&5
13848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13849   (exit $ac_status); } &&
13850          { ac_try='test -z "$ac_c_werror_flag"
13851                          || test ! -s conftest.err'
13852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13853   (eval $ac_try) 2>&5
13854   ac_status=$?
13855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13856   (exit $ac_status); }; } &&
13857          { ac_try='test -s conftest$ac_exeext'
13858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13859   (eval $ac_try) 2>&5
13860   ac_status=$?
13861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13862   (exit $ac_status); }; }; then
13863   eval "$as_ac_var=yes"
13864 else
13865   echo "$as_me: failed program was:" >&5
13866 sed 's/^/| /' conftest.$ac_ext >&5
13867
13868 eval "$as_ac_var=no"
13869 fi
13870 rm -f conftest.err conftest.$ac_objext \
13871       conftest$ac_exeext conftest.$ac_ext
13872 fi
13873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13874 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13875 if test `eval echo '${'$as_ac_var'}'` = yes; then
13876   cat >>confdefs.h <<_ACEOF
13877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13878 _ACEOF
13879
13880 fi
13881 done
13882
13883   else
13884
13885   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
13886 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
13887   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
13888     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
13889   echo $ECHO_N "(cached) $ECHO_C" >&6
13890 else
13891
13892
13893
13894       ac_ext=cc
13895 ac_cpp='$CXXCPP $CPPFLAGS'
13896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13899
13900       cat >conftest.$ac_ext <<_ACEOF
13901 /* confdefs.h.  */
13902 _ACEOF
13903 cat confdefs.h >>conftest.$ac_ext
13904 cat >>conftest.$ac_ext <<_ACEOF
13905 /* end confdefs.h.  */
13906 #include <math.h>
13907                       #ifdef HAVE_IEEEFP_H
13908                       #include <ieeefp.h>
13909                       #endif
13910
13911 int
13912 main ()
13913 {
13914  _fabsf(0);
13915   ;
13916   return 0;
13917 }
13918 _ACEOF
13919 rm -f conftest.$ac_objext
13920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13921   (eval $ac_compile) 2>conftest.er1
13922   ac_status=$?
13923   grep -v '^ *+' conftest.er1 >conftest.err
13924   rm -f conftest.er1
13925   cat conftest.err >&5
13926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13927   (exit $ac_status); } &&
13928          { ac_try='test -z "$ac_cxx_werror_flag"
13929                          || test ! -s conftest.err'
13930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13931   (eval $ac_try) 2>&5
13932   ac_status=$?
13933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13934   (exit $ac_status); }; } &&
13935          { ac_try='test -s conftest.$ac_objext'
13936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13937   (eval $ac_try) 2>&5
13938   ac_status=$?
13939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13940   (exit $ac_status); }; }; then
13941   glibcxx_cv_func__fabsf_use=yes
13942 else
13943   echo "$as_me: failed program was:" >&5
13944 sed 's/^/| /' conftest.$ac_ext >&5
13945
13946 glibcxx_cv_func__fabsf_use=no
13947 fi
13948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13949       ac_ext=c
13950 ac_cpp='$CPP $CPPFLAGS'
13951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13954
13955
13956 fi
13957
13958   fi
13959   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
13960 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
13961
13962     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
13963
13964 for ac_func in _fabsf
13965 do
13966 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13967 echo "$as_me:$LINENO: checking for $ac_func" >&5
13968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13969 if eval "test \"\${$as_ac_var+set}\" = set"; then
13970   echo $ECHO_N "(cached) $ECHO_C" >&6
13971 else
13972   if test x$gcc_no_link = xyes; then
13973   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13975    { (exit 1); exit 1; }; }
13976 fi
13977 cat >conftest.$ac_ext <<_ACEOF
13978 /* confdefs.h.  */
13979 _ACEOF
13980 cat confdefs.h >>conftest.$ac_ext
13981 cat >>conftest.$ac_ext <<_ACEOF
13982 /* end confdefs.h.  */
13983 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13984    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13985 #define $ac_func innocuous_$ac_func
13986
13987 /* System header to define __stub macros and hopefully few prototypes,
13988     which can conflict with char $ac_func (); below.
13989     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13990     <limits.h> exists even on freestanding compilers.  */
13991
13992 #ifdef __STDC__
13993 # include <limits.h>
13994 #else
13995 # include <assert.h>
13996 #endif
13997
13998 #undef $ac_func
13999
14000 /* Override any gcc2 internal prototype to avoid an error.  */
14001 #ifdef __cplusplus
14002 extern "C"
14003 {
14004 #endif
14005 /* We use char because int might match the return type of a gcc2
14006    builtin and then its argument prototype would still apply.  */
14007 char $ac_func ();
14008 /* The GNU C library defines this for functions which it implements
14009     to always fail with ENOSYS.  Some functions are actually named
14010     something starting with __ and the normal name is an alias.  */
14011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14012 choke me
14013 #else
14014 char (*f) () = $ac_func;
14015 #endif
14016 #ifdef __cplusplus
14017 }
14018 #endif
14019
14020 int
14021 main ()
14022 {
14023 return f != $ac_func;
14024   ;
14025   return 0;
14026 }
14027 _ACEOF
14028 rm -f conftest.$ac_objext conftest$ac_exeext
14029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14030   (eval $ac_link) 2>conftest.er1
14031   ac_status=$?
14032   grep -v '^ *+' conftest.er1 >conftest.err
14033   rm -f conftest.er1
14034   cat conftest.err >&5
14035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14036   (exit $ac_status); } &&
14037          { ac_try='test -z "$ac_c_werror_flag"
14038                          || test ! -s conftest.err'
14039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14040   (eval $ac_try) 2>&5
14041   ac_status=$?
14042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14043   (exit $ac_status); }; } &&
14044          { ac_try='test -s conftest$ac_exeext'
14045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14046   (eval $ac_try) 2>&5
14047   ac_status=$?
14048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14049   (exit $ac_status); }; }; then
14050   eval "$as_ac_var=yes"
14051 else
14052   echo "$as_me: failed program was:" >&5
14053 sed 's/^/| /' conftest.$ac_ext >&5
14054
14055 eval "$as_ac_var=no"
14056 fi
14057 rm -f conftest.err conftest.$ac_objext \
14058       conftest$ac_exeext conftest.$ac_ext
14059 fi
14060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14061 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14062 if test `eval echo '${'$as_ac_var'}'` = yes; then
14063   cat >>confdefs.h <<_ACEOF
14064 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14065 _ACEOF
14066
14067 fi
14068 done
14069
14070     fi
14071   fi
14072
14073
14074
14075
14076
14077
14078   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
14079 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
14080   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
14081     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
14082   echo $ECHO_N "(cached) $ECHO_C" >&6
14083 else
14084
14085
14086
14087       ac_ext=cc
14088 ac_cpp='$CXXCPP $CPPFLAGS'
14089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14092
14093       cat >conftest.$ac_ext <<_ACEOF
14094 /* confdefs.h.  */
14095 _ACEOF
14096 cat confdefs.h >>conftest.$ac_ext
14097 cat >>conftest.$ac_ext <<_ACEOF
14098 /* end confdefs.h.  */
14099 #include <math.h>
14100 int
14101 main ()
14102 {
14103  fmodf(0, 0);
14104   ;
14105   return 0;
14106 }
14107 _ACEOF
14108 rm -f conftest.$ac_objext
14109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14110   (eval $ac_compile) 2>conftest.er1
14111   ac_status=$?
14112   grep -v '^ *+' conftest.er1 >conftest.err
14113   rm -f conftest.er1
14114   cat conftest.err >&5
14115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14116   (exit $ac_status); } &&
14117          { ac_try='test -z "$ac_cxx_werror_flag"
14118                          || test ! -s conftest.err'
14119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14120   (eval $ac_try) 2>&5
14121   ac_status=$?
14122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14123   (exit $ac_status); }; } &&
14124          { ac_try='test -s conftest.$ac_objext'
14125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14126   (eval $ac_try) 2>&5
14127   ac_status=$?
14128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14129   (exit $ac_status); }; }; then
14130   glibcxx_cv_func_fmodf_use=yes
14131 else
14132   echo "$as_me: failed program was:" >&5
14133 sed 's/^/| /' conftest.$ac_ext >&5
14134
14135 glibcxx_cv_func_fmodf_use=no
14136 fi
14137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14138       ac_ext=c
14139 ac_cpp='$CPP $CPPFLAGS'
14140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14143
14144
14145 fi
14146
14147   fi
14148   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
14149 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
14150
14151   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
14152
14153 for ac_func in fmodf
14154 do
14155 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14156 echo "$as_me:$LINENO: checking for $ac_func" >&5
14157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14158 if eval "test \"\${$as_ac_var+set}\" = set"; then
14159   echo $ECHO_N "(cached) $ECHO_C" >&6
14160 else
14161   if test x$gcc_no_link = xyes; then
14162   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14164    { (exit 1); exit 1; }; }
14165 fi
14166 cat >conftest.$ac_ext <<_ACEOF
14167 /* confdefs.h.  */
14168 _ACEOF
14169 cat confdefs.h >>conftest.$ac_ext
14170 cat >>conftest.$ac_ext <<_ACEOF
14171 /* end confdefs.h.  */
14172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14173    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14174 #define $ac_func innocuous_$ac_func
14175
14176 /* System header to define __stub macros and hopefully few prototypes,
14177     which can conflict with char $ac_func (); below.
14178     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14179     <limits.h> exists even on freestanding compilers.  */
14180
14181 #ifdef __STDC__
14182 # include <limits.h>
14183 #else
14184 # include <assert.h>
14185 #endif
14186
14187 #undef $ac_func
14188
14189 /* Override any gcc2 internal prototype to avoid an error.  */
14190 #ifdef __cplusplus
14191 extern "C"
14192 {
14193 #endif
14194 /* We use char because int might match the return type of a gcc2
14195    builtin and then its argument prototype would still apply.  */
14196 char $ac_func ();
14197 /* The GNU C library defines this for functions which it implements
14198     to always fail with ENOSYS.  Some functions are actually named
14199     something starting with __ and the normal name is an alias.  */
14200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14201 choke me
14202 #else
14203 char (*f) () = $ac_func;
14204 #endif
14205 #ifdef __cplusplus
14206 }
14207 #endif
14208
14209 int
14210 main ()
14211 {
14212 return f != $ac_func;
14213   ;
14214   return 0;
14215 }
14216 _ACEOF
14217 rm -f conftest.$ac_objext conftest$ac_exeext
14218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14219   (eval $ac_link) 2>conftest.er1
14220   ac_status=$?
14221   grep -v '^ *+' conftest.er1 >conftest.err
14222   rm -f conftest.er1
14223   cat conftest.err >&5
14224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14225   (exit $ac_status); } &&
14226          { ac_try='test -z "$ac_c_werror_flag"
14227                          || test ! -s conftest.err'
14228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14229   (eval $ac_try) 2>&5
14230   ac_status=$?
14231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14232   (exit $ac_status); }; } &&
14233          { ac_try='test -s conftest$ac_exeext'
14234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14235   (eval $ac_try) 2>&5
14236   ac_status=$?
14237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14238   (exit $ac_status); }; }; then
14239   eval "$as_ac_var=yes"
14240 else
14241   echo "$as_me: failed program was:" >&5
14242 sed 's/^/| /' conftest.$ac_ext >&5
14243
14244 eval "$as_ac_var=no"
14245 fi
14246 rm -f conftest.err conftest.$ac_objext \
14247       conftest$ac_exeext conftest.$ac_ext
14248 fi
14249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14251 if test `eval echo '${'$as_ac_var'}'` = yes; then
14252   cat >>confdefs.h <<_ACEOF
14253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14254 _ACEOF
14255
14256 fi
14257 done
14258
14259   else
14260
14261   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
14262 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
14263   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
14264     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
14265   echo $ECHO_N "(cached) $ECHO_C" >&6
14266 else
14267
14268
14269
14270       ac_ext=cc
14271 ac_cpp='$CXXCPP $CPPFLAGS'
14272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14275
14276       cat >conftest.$ac_ext <<_ACEOF
14277 /* confdefs.h.  */
14278 _ACEOF
14279 cat confdefs.h >>conftest.$ac_ext
14280 cat >>conftest.$ac_ext <<_ACEOF
14281 /* end confdefs.h.  */
14282 #include <math.h>
14283 int
14284 main ()
14285 {
14286  _fmodf(0, 0);
14287   ;
14288   return 0;
14289 }
14290 _ACEOF
14291 rm -f conftest.$ac_objext
14292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14293   (eval $ac_compile) 2>conftest.er1
14294   ac_status=$?
14295   grep -v '^ *+' conftest.er1 >conftest.err
14296   rm -f conftest.er1
14297   cat conftest.err >&5
14298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14299   (exit $ac_status); } &&
14300          { ac_try='test -z "$ac_cxx_werror_flag"
14301                          || test ! -s conftest.err'
14302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14303   (eval $ac_try) 2>&5
14304   ac_status=$?
14305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14306   (exit $ac_status); }; } &&
14307          { ac_try='test -s conftest.$ac_objext'
14308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14309   (eval $ac_try) 2>&5
14310   ac_status=$?
14311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14312   (exit $ac_status); }; }; then
14313   glibcxx_cv_func__fmodf_use=yes
14314 else
14315   echo "$as_me: failed program was:" >&5
14316 sed 's/^/| /' conftest.$ac_ext >&5
14317
14318 glibcxx_cv_func__fmodf_use=no
14319 fi
14320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14321       ac_ext=c
14322 ac_cpp='$CPP $CPPFLAGS'
14323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14326
14327
14328 fi
14329
14330   fi
14331   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
14332 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
14333
14334     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
14335
14336 for ac_func in _fmodf
14337 do
14338 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14339 echo "$as_me:$LINENO: checking for $ac_func" >&5
14340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14341 if eval "test \"\${$as_ac_var+set}\" = set"; then
14342   echo $ECHO_N "(cached) $ECHO_C" >&6
14343 else
14344   if test x$gcc_no_link = xyes; then
14345   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14347    { (exit 1); exit 1; }; }
14348 fi
14349 cat >conftest.$ac_ext <<_ACEOF
14350 /* confdefs.h.  */
14351 _ACEOF
14352 cat confdefs.h >>conftest.$ac_ext
14353 cat >>conftest.$ac_ext <<_ACEOF
14354 /* end confdefs.h.  */
14355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14356    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14357 #define $ac_func innocuous_$ac_func
14358
14359 /* System header to define __stub macros and hopefully few prototypes,
14360     which can conflict with char $ac_func (); below.
14361     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14362     <limits.h> exists even on freestanding compilers.  */
14363
14364 #ifdef __STDC__
14365 # include <limits.h>
14366 #else
14367 # include <assert.h>
14368 #endif
14369
14370 #undef $ac_func
14371
14372 /* Override any gcc2 internal prototype to avoid an error.  */
14373 #ifdef __cplusplus
14374 extern "C"
14375 {
14376 #endif
14377 /* We use char because int might match the return type of a gcc2
14378    builtin and then its argument prototype would still apply.  */
14379 char $ac_func ();
14380 /* The GNU C library defines this for functions which it implements
14381     to always fail with ENOSYS.  Some functions are actually named
14382     something starting with __ and the normal name is an alias.  */
14383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14384 choke me
14385 #else
14386 char (*f) () = $ac_func;
14387 #endif
14388 #ifdef __cplusplus
14389 }
14390 #endif
14391
14392 int
14393 main ()
14394 {
14395 return f != $ac_func;
14396   ;
14397   return 0;
14398 }
14399 _ACEOF
14400 rm -f conftest.$ac_objext conftest$ac_exeext
14401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14402   (eval $ac_link) 2>conftest.er1
14403   ac_status=$?
14404   grep -v '^ *+' conftest.er1 >conftest.err
14405   rm -f conftest.er1
14406   cat conftest.err >&5
14407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14408   (exit $ac_status); } &&
14409          { ac_try='test -z "$ac_c_werror_flag"
14410                          || test ! -s conftest.err'
14411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14412   (eval $ac_try) 2>&5
14413   ac_status=$?
14414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14415   (exit $ac_status); }; } &&
14416          { ac_try='test -s conftest$ac_exeext'
14417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14418   (eval $ac_try) 2>&5
14419   ac_status=$?
14420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14421   (exit $ac_status); }; }; then
14422   eval "$as_ac_var=yes"
14423 else
14424   echo "$as_me: failed program was:" >&5
14425 sed 's/^/| /' conftest.$ac_ext >&5
14426
14427 eval "$as_ac_var=no"
14428 fi
14429 rm -f conftest.err conftest.$ac_objext \
14430       conftest$ac_exeext conftest.$ac_ext
14431 fi
14432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14434 if test `eval echo '${'$as_ac_var'}'` = yes; then
14435   cat >>confdefs.h <<_ACEOF
14436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14437 _ACEOF
14438
14439 fi
14440 done
14441
14442     fi
14443   fi
14444
14445
14446
14447
14448
14449
14450   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
14451 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
14452   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
14453     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
14454   echo $ECHO_N "(cached) $ECHO_C" >&6
14455 else
14456
14457
14458
14459       ac_ext=cc
14460 ac_cpp='$CXXCPP $CPPFLAGS'
14461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14464
14465       cat >conftest.$ac_ext <<_ACEOF
14466 /* confdefs.h.  */
14467 _ACEOF
14468 cat confdefs.h >>conftest.$ac_ext
14469 cat >>conftest.$ac_ext <<_ACEOF
14470 /* end confdefs.h.  */
14471 #include <math.h>
14472 int
14473 main ()
14474 {
14475  frexpf(0, 0);
14476   ;
14477   return 0;
14478 }
14479 _ACEOF
14480 rm -f conftest.$ac_objext
14481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14482   (eval $ac_compile) 2>conftest.er1
14483   ac_status=$?
14484   grep -v '^ *+' conftest.er1 >conftest.err
14485   rm -f conftest.er1
14486   cat conftest.err >&5
14487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14488   (exit $ac_status); } &&
14489          { ac_try='test -z "$ac_cxx_werror_flag"
14490                          || test ! -s conftest.err'
14491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14492   (eval $ac_try) 2>&5
14493   ac_status=$?
14494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14495   (exit $ac_status); }; } &&
14496          { ac_try='test -s conftest.$ac_objext'
14497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14498   (eval $ac_try) 2>&5
14499   ac_status=$?
14500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14501   (exit $ac_status); }; }; then
14502   glibcxx_cv_func_frexpf_use=yes
14503 else
14504   echo "$as_me: failed program was:" >&5
14505 sed 's/^/| /' conftest.$ac_ext >&5
14506
14507 glibcxx_cv_func_frexpf_use=no
14508 fi
14509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14510       ac_ext=c
14511 ac_cpp='$CPP $CPPFLAGS'
14512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14515
14516
14517 fi
14518
14519   fi
14520   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
14521 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
14522
14523   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
14524
14525 for ac_func in frexpf
14526 do
14527 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14528 echo "$as_me:$LINENO: checking for $ac_func" >&5
14529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14530 if eval "test \"\${$as_ac_var+set}\" = set"; then
14531   echo $ECHO_N "(cached) $ECHO_C" >&6
14532 else
14533   if test x$gcc_no_link = xyes; then
14534   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14536    { (exit 1); exit 1; }; }
14537 fi
14538 cat >conftest.$ac_ext <<_ACEOF
14539 /* confdefs.h.  */
14540 _ACEOF
14541 cat confdefs.h >>conftest.$ac_ext
14542 cat >>conftest.$ac_ext <<_ACEOF
14543 /* end confdefs.h.  */
14544 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14545    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14546 #define $ac_func innocuous_$ac_func
14547
14548 /* System header to define __stub macros and hopefully few prototypes,
14549     which can conflict with char $ac_func (); below.
14550     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14551     <limits.h> exists even on freestanding compilers.  */
14552
14553 #ifdef __STDC__
14554 # include <limits.h>
14555 #else
14556 # include <assert.h>
14557 #endif
14558
14559 #undef $ac_func
14560
14561 /* Override any gcc2 internal prototype to avoid an error.  */
14562 #ifdef __cplusplus
14563 extern "C"
14564 {
14565 #endif
14566 /* We use char because int might match the return type of a gcc2
14567    builtin and then its argument prototype would still apply.  */
14568 char $ac_func ();
14569 /* The GNU C library defines this for functions which it implements
14570     to always fail with ENOSYS.  Some functions are actually named
14571     something starting with __ and the normal name is an alias.  */
14572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14573 choke me
14574 #else
14575 char (*f) () = $ac_func;
14576 #endif
14577 #ifdef __cplusplus
14578 }
14579 #endif
14580
14581 int
14582 main ()
14583 {
14584 return f != $ac_func;
14585   ;
14586   return 0;
14587 }
14588 _ACEOF
14589 rm -f conftest.$ac_objext conftest$ac_exeext
14590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14591   (eval $ac_link) 2>conftest.er1
14592   ac_status=$?
14593   grep -v '^ *+' conftest.er1 >conftest.err
14594   rm -f conftest.er1
14595   cat conftest.err >&5
14596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14597   (exit $ac_status); } &&
14598          { ac_try='test -z "$ac_c_werror_flag"
14599                          || test ! -s conftest.err'
14600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14601   (eval $ac_try) 2>&5
14602   ac_status=$?
14603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14604   (exit $ac_status); }; } &&
14605          { ac_try='test -s conftest$ac_exeext'
14606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14607   (eval $ac_try) 2>&5
14608   ac_status=$?
14609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14610   (exit $ac_status); }; }; then
14611   eval "$as_ac_var=yes"
14612 else
14613   echo "$as_me: failed program was:" >&5
14614 sed 's/^/| /' conftest.$ac_ext >&5
14615
14616 eval "$as_ac_var=no"
14617 fi
14618 rm -f conftest.err conftest.$ac_objext \
14619       conftest$ac_exeext conftest.$ac_ext
14620 fi
14621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14622 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14623 if test `eval echo '${'$as_ac_var'}'` = yes; then
14624   cat >>confdefs.h <<_ACEOF
14625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14626 _ACEOF
14627
14628 fi
14629 done
14630
14631   else
14632
14633   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
14634 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
14635   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14636     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
14637   echo $ECHO_N "(cached) $ECHO_C" >&6
14638 else
14639
14640
14641
14642       ac_ext=cc
14643 ac_cpp='$CXXCPP $CPPFLAGS'
14644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14647
14648       cat >conftest.$ac_ext <<_ACEOF
14649 /* confdefs.h.  */
14650 _ACEOF
14651 cat confdefs.h >>conftest.$ac_ext
14652 cat >>conftest.$ac_ext <<_ACEOF
14653 /* end confdefs.h.  */
14654 #include <math.h>
14655 int
14656 main ()
14657 {
14658  _frexpf(0, 0);
14659   ;
14660   return 0;
14661 }
14662 _ACEOF
14663 rm -f conftest.$ac_objext
14664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14665   (eval $ac_compile) 2>conftest.er1
14666   ac_status=$?
14667   grep -v '^ *+' conftest.er1 >conftest.err
14668   rm -f conftest.er1
14669   cat conftest.err >&5
14670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14671   (exit $ac_status); } &&
14672          { ac_try='test -z "$ac_cxx_werror_flag"
14673                          || test ! -s conftest.err'
14674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14675   (eval $ac_try) 2>&5
14676   ac_status=$?
14677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14678   (exit $ac_status); }; } &&
14679          { ac_try='test -s conftest.$ac_objext'
14680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14681   (eval $ac_try) 2>&5
14682   ac_status=$?
14683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14684   (exit $ac_status); }; }; then
14685   glibcxx_cv_func__frexpf_use=yes
14686 else
14687   echo "$as_me: failed program was:" >&5
14688 sed 's/^/| /' conftest.$ac_ext >&5
14689
14690 glibcxx_cv_func__frexpf_use=no
14691 fi
14692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14693       ac_ext=c
14694 ac_cpp='$CPP $CPPFLAGS'
14695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14698
14699
14700 fi
14701
14702   fi
14703   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
14704 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
14705
14706     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
14707
14708 for ac_func in _frexpf
14709 do
14710 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14711 echo "$as_me:$LINENO: checking for $ac_func" >&5
14712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14713 if eval "test \"\${$as_ac_var+set}\" = set"; then
14714   echo $ECHO_N "(cached) $ECHO_C" >&6
14715 else
14716   if test x$gcc_no_link = xyes; then
14717   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14719    { (exit 1); exit 1; }; }
14720 fi
14721 cat >conftest.$ac_ext <<_ACEOF
14722 /* confdefs.h.  */
14723 _ACEOF
14724 cat confdefs.h >>conftest.$ac_ext
14725 cat >>conftest.$ac_ext <<_ACEOF
14726 /* end confdefs.h.  */
14727 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14728    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14729 #define $ac_func innocuous_$ac_func
14730
14731 /* System header to define __stub macros and hopefully few prototypes,
14732     which can conflict with char $ac_func (); below.
14733     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14734     <limits.h> exists even on freestanding compilers.  */
14735
14736 #ifdef __STDC__
14737 # include <limits.h>
14738 #else
14739 # include <assert.h>
14740 #endif
14741
14742 #undef $ac_func
14743
14744 /* Override any gcc2 internal prototype to avoid an error.  */
14745 #ifdef __cplusplus
14746 extern "C"
14747 {
14748 #endif
14749 /* We use char because int might match the return type of a gcc2
14750    builtin and then its argument prototype would still apply.  */
14751 char $ac_func ();
14752 /* The GNU C library defines this for functions which it implements
14753     to always fail with ENOSYS.  Some functions are actually named
14754     something starting with __ and the normal name is an alias.  */
14755 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14756 choke me
14757 #else
14758 char (*f) () = $ac_func;
14759 #endif
14760 #ifdef __cplusplus
14761 }
14762 #endif
14763
14764 int
14765 main ()
14766 {
14767 return f != $ac_func;
14768   ;
14769   return 0;
14770 }
14771 _ACEOF
14772 rm -f conftest.$ac_objext conftest$ac_exeext
14773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14774   (eval $ac_link) 2>conftest.er1
14775   ac_status=$?
14776   grep -v '^ *+' conftest.er1 >conftest.err
14777   rm -f conftest.er1
14778   cat conftest.err >&5
14779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14780   (exit $ac_status); } &&
14781          { ac_try='test -z "$ac_c_werror_flag"
14782                          || test ! -s conftest.err'
14783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14784   (eval $ac_try) 2>&5
14785   ac_status=$?
14786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14787   (exit $ac_status); }; } &&
14788          { ac_try='test -s conftest$ac_exeext'
14789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14790   (eval $ac_try) 2>&5
14791   ac_status=$?
14792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14793   (exit $ac_status); }; }; then
14794   eval "$as_ac_var=yes"
14795 else
14796   echo "$as_me: failed program was:" >&5
14797 sed 's/^/| /' conftest.$ac_ext >&5
14798
14799 eval "$as_ac_var=no"
14800 fi
14801 rm -f conftest.err conftest.$ac_objext \
14802       conftest$ac_exeext conftest.$ac_ext
14803 fi
14804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14805 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14806 if test `eval echo '${'$as_ac_var'}'` = yes; then
14807   cat >>confdefs.h <<_ACEOF
14808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14809 _ACEOF
14810
14811 fi
14812 done
14813
14814     fi
14815   fi
14816
14817
14818
14819
14820
14821
14822   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
14823 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
14824   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
14825     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
14826   echo $ECHO_N "(cached) $ECHO_C" >&6
14827 else
14828
14829
14830
14831       ac_ext=cc
14832 ac_cpp='$CXXCPP $CPPFLAGS'
14833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14836
14837       cat >conftest.$ac_ext <<_ACEOF
14838 /* confdefs.h.  */
14839 _ACEOF
14840 cat confdefs.h >>conftest.$ac_ext
14841 cat >>conftest.$ac_ext <<_ACEOF
14842 /* end confdefs.h.  */
14843 #include <math.h>
14844 int
14845 main ()
14846 {
14847  hypotf(0, 0);
14848   ;
14849   return 0;
14850 }
14851 _ACEOF
14852 rm -f conftest.$ac_objext
14853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14854   (eval $ac_compile) 2>conftest.er1
14855   ac_status=$?
14856   grep -v '^ *+' conftest.er1 >conftest.err
14857   rm -f conftest.er1
14858   cat conftest.err >&5
14859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14860   (exit $ac_status); } &&
14861          { ac_try='test -z "$ac_cxx_werror_flag"
14862                          || test ! -s conftest.err'
14863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14864   (eval $ac_try) 2>&5
14865   ac_status=$?
14866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14867   (exit $ac_status); }; } &&
14868          { ac_try='test -s conftest.$ac_objext'
14869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14870   (eval $ac_try) 2>&5
14871   ac_status=$?
14872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14873   (exit $ac_status); }; }; then
14874   glibcxx_cv_func_hypotf_use=yes
14875 else
14876   echo "$as_me: failed program was:" >&5
14877 sed 's/^/| /' conftest.$ac_ext >&5
14878
14879 glibcxx_cv_func_hypotf_use=no
14880 fi
14881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14882       ac_ext=c
14883 ac_cpp='$CPP $CPPFLAGS'
14884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14887
14888
14889 fi
14890
14891   fi
14892   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
14893 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
14894
14895   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
14896
14897 for ac_func in hypotf
14898 do
14899 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14900 echo "$as_me:$LINENO: checking for $ac_func" >&5
14901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14902 if eval "test \"\${$as_ac_var+set}\" = set"; then
14903   echo $ECHO_N "(cached) $ECHO_C" >&6
14904 else
14905   if test x$gcc_no_link = xyes; then
14906   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14908    { (exit 1); exit 1; }; }
14909 fi
14910 cat >conftest.$ac_ext <<_ACEOF
14911 /* confdefs.h.  */
14912 _ACEOF
14913 cat confdefs.h >>conftest.$ac_ext
14914 cat >>conftest.$ac_ext <<_ACEOF
14915 /* end confdefs.h.  */
14916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14917    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14918 #define $ac_func innocuous_$ac_func
14919
14920 /* System header to define __stub macros and hopefully few prototypes,
14921     which can conflict with char $ac_func (); below.
14922     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14923     <limits.h> exists even on freestanding compilers.  */
14924
14925 #ifdef __STDC__
14926 # include <limits.h>
14927 #else
14928 # include <assert.h>
14929 #endif
14930
14931 #undef $ac_func
14932
14933 /* Override any gcc2 internal prototype to avoid an error.  */
14934 #ifdef __cplusplus
14935 extern "C"
14936 {
14937 #endif
14938 /* We use char because int might match the return type of a gcc2
14939    builtin and then its argument prototype would still apply.  */
14940 char $ac_func ();
14941 /* The GNU C library defines this for functions which it implements
14942     to always fail with ENOSYS.  Some functions are actually named
14943     something starting with __ and the normal name is an alias.  */
14944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14945 choke me
14946 #else
14947 char (*f) () = $ac_func;
14948 #endif
14949 #ifdef __cplusplus
14950 }
14951 #endif
14952
14953 int
14954 main ()
14955 {
14956 return f != $ac_func;
14957   ;
14958   return 0;
14959 }
14960 _ACEOF
14961 rm -f conftest.$ac_objext conftest$ac_exeext
14962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14963   (eval $ac_link) 2>conftest.er1
14964   ac_status=$?
14965   grep -v '^ *+' conftest.er1 >conftest.err
14966   rm -f conftest.er1
14967   cat conftest.err >&5
14968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14969   (exit $ac_status); } &&
14970          { ac_try='test -z "$ac_c_werror_flag"
14971                          || test ! -s conftest.err'
14972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14973   (eval $ac_try) 2>&5
14974   ac_status=$?
14975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14976   (exit $ac_status); }; } &&
14977          { ac_try='test -s conftest$ac_exeext'
14978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14979   (eval $ac_try) 2>&5
14980   ac_status=$?
14981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14982   (exit $ac_status); }; }; then
14983   eval "$as_ac_var=yes"
14984 else
14985   echo "$as_me: failed program was:" >&5
14986 sed 's/^/| /' conftest.$ac_ext >&5
14987
14988 eval "$as_ac_var=no"
14989 fi
14990 rm -f conftest.err conftest.$ac_objext \
14991       conftest$ac_exeext conftest.$ac_ext
14992 fi
14993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14995 if test `eval echo '${'$as_ac_var'}'` = yes; then
14996   cat >>confdefs.h <<_ACEOF
14997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14998 _ACEOF
14999
15000 fi
15001 done
15002
15003   else
15004
15005   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
15006 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
15007   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
15008     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
15009   echo $ECHO_N "(cached) $ECHO_C" >&6
15010 else
15011
15012
15013
15014       ac_ext=cc
15015 ac_cpp='$CXXCPP $CPPFLAGS'
15016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15019
15020       cat >conftest.$ac_ext <<_ACEOF
15021 /* confdefs.h.  */
15022 _ACEOF
15023 cat confdefs.h >>conftest.$ac_ext
15024 cat >>conftest.$ac_ext <<_ACEOF
15025 /* end confdefs.h.  */
15026 #include <math.h>
15027 int
15028 main ()
15029 {
15030  _hypotf(0, 0);
15031   ;
15032   return 0;
15033 }
15034 _ACEOF
15035 rm -f conftest.$ac_objext
15036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15037   (eval $ac_compile) 2>conftest.er1
15038   ac_status=$?
15039   grep -v '^ *+' conftest.er1 >conftest.err
15040   rm -f conftest.er1
15041   cat conftest.err >&5
15042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15043   (exit $ac_status); } &&
15044          { ac_try='test -z "$ac_cxx_werror_flag"
15045                          || test ! -s conftest.err'
15046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15047   (eval $ac_try) 2>&5
15048   ac_status=$?
15049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15050   (exit $ac_status); }; } &&
15051          { ac_try='test -s conftest.$ac_objext'
15052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15053   (eval $ac_try) 2>&5
15054   ac_status=$?
15055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15056   (exit $ac_status); }; }; then
15057   glibcxx_cv_func__hypotf_use=yes
15058 else
15059   echo "$as_me: failed program was:" >&5
15060 sed 's/^/| /' conftest.$ac_ext >&5
15061
15062 glibcxx_cv_func__hypotf_use=no
15063 fi
15064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15065       ac_ext=c
15066 ac_cpp='$CPP $CPPFLAGS'
15067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15070
15071
15072 fi
15073
15074   fi
15075   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
15076 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
15077
15078     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
15079
15080 for ac_func in _hypotf
15081 do
15082 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15083 echo "$as_me:$LINENO: checking for $ac_func" >&5
15084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15085 if eval "test \"\${$as_ac_var+set}\" = set"; then
15086   echo $ECHO_N "(cached) $ECHO_C" >&6
15087 else
15088   if test x$gcc_no_link = xyes; then
15089   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15091    { (exit 1); exit 1; }; }
15092 fi
15093 cat >conftest.$ac_ext <<_ACEOF
15094 /* confdefs.h.  */
15095 _ACEOF
15096 cat confdefs.h >>conftest.$ac_ext
15097 cat >>conftest.$ac_ext <<_ACEOF
15098 /* end confdefs.h.  */
15099 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15100    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15101 #define $ac_func innocuous_$ac_func
15102
15103 /* System header to define __stub macros and hopefully few prototypes,
15104     which can conflict with char $ac_func (); below.
15105     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15106     <limits.h> exists even on freestanding compilers.  */
15107
15108 #ifdef __STDC__
15109 # include <limits.h>
15110 #else
15111 # include <assert.h>
15112 #endif
15113
15114 #undef $ac_func
15115
15116 /* Override any gcc2 internal prototype to avoid an error.  */
15117 #ifdef __cplusplus
15118 extern "C"
15119 {
15120 #endif
15121 /* We use char because int might match the return type of a gcc2
15122    builtin and then its argument prototype would still apply.  */
15123 char $ac_func ();
15124 /* The GNU C library defines this for functions which it implements
15125     to always fail with ENOSYS.  Some functions are actually named
15126     something starting with __ and the normal name is an alias.  */
15127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15128 choke me
15129 #else
15130 char (*f) () = $ac_func;
15131 #endif
15132 #ifdef __cplusplus
15133 }
15134 #endif
15135
15136 int
15137 main ()
15138 {
15139 return f != $ac_func;
15140   ;
15141   return 0;
15142 }
15143 _ACEOF
15144 rm -f conftest.$ac_objext conftest$ac_exeext
15145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15146   (eval $ac_link) 2>conftest.er1
15147   ac_status=$?
15148   grep -v '^ *+' conftest.er1 >conftest.err
15149   rm -f conftest.er1
15150   cat conftest.err >&5
15151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15152   (exit $ac_status); } &&
15153          { ac_try='test -z "$ac_c_werror_flag"
15154                          || test ! -s conftest.err'
15155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15156   (eval $ac_try) 2>&5
15157   ac_status=$?
15158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15159   (exit $ac_status); }; } &&
15160          { ac_try='test -s conftest$ac_exeext'
15161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15162   (eval $ac_try) 2>&5
15163   ac_status=$?
15164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15165   (exit $ac_status); }; }; then
15166   eval "$as_ac_var=yes"
15167 else
15168   echo "$as_me: failed program was:" >&5
15169 sed 's/^/| /' conftest.$ac_ext >&5
15170
15171 eval "$as_ac_var=no"
15172 fi
15173 rm -f conftest.err conftest.$ac_objext \
15174       conftest$ac_exeext conftest.$ac_ext
15175 fi
15176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15177 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15178 if test `eval echo '${'$as_ac_var'}'` = yes; then
15179   cat >>confdefs.h <<_ACEOF
15180 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15181 _ACEOF
15182
15183 fi
15184 done
15185
15186     fi
15187   fi
15188
15189
15190
15191
15192
15193
15194   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
15195 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
15196   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
15197     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
15198   echo $ECHO_N "(cached) $ECHO_C" >&6
15199 else
15200
15201
15202
15203       ac_ext=cc
15204 ac_cpp='$CXXCPP $CPPFLAGS'
15205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15208
15209       cat >conftest.$ac_ext <<_ACEOF
15210 /* confdefs.h.  */
15211 _ACEOF
15212 cat confdefs.h >>conftest.$ac_ext
15213 cat >>conftest.$ac_ext <<_ACEOF
15214 /* end confdefs.h.  */
15215 #include <math.h>
15216 int
15217 main ()
15218 {
15219  ldexpf(0, 0);
15220   ;
15221   return 0;
15222 }
15223 _ACEOF
15224 rm -f conftest.$ac_objext
15225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15226   (eval $ac_compile) 2>conftest.er1
15227   ac_status=$?
15228   grep -v '^ *+' conftest.er1 >conftest.err
15229   rm -f conftest.er1
15230   cat conftest.err >&5
15231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15232   (exit $ac_status); } &&
15233          { ac_try='test -z "$ac_cxx_werror_flag"
15234                          || test ! -s conftest.err'
15235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15236   (eval $ac_try) 2>&5
15237   ac_status=$?
15238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15239   (exit $ac_status); }; } &&
15240          { ac_try='test -s conftest.$ac_objext'
15241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15242   (eval $ac_try) 2>&5
15243   ac_status=$?
15244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15245   (exit $ac_status); }; }; then
15246   glibcxx_cv_func_ldexpf_use=yes
15247 else
15248   echo "$as_me: failed program was:" >&5
15249 sed 's/^/| /' conftest.$ac_ext >&5
15250
15251 glibcxx_cv_func_ldexpf_use=no
15252 fi
15253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15254       ac_ext=c
15255 ac_cpp='$CPP $CPPFLAGS'
15256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15259
15260
15261 fi
15262
15263   fi
15264   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
15265 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
15266
15267   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
15268
15269 for ac_func in ldexpf
15270 do
15271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15272 echo "$as_me:$LINENO: checking for $ac_func" >&5
15273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15274 if eval "test \"\${$as_ac_var+set}\" = set"; then
15275   echo $ECHO_N "(cached) $ECHO_C" >&6
15276 else
15277   if test x$gcc_no_link = xyes; then
15278   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15280    { (exit 1); exit 1; }; }
15281 fi
15282 cat >conftest.$ac_ext <<_ACEOF
15283 /* confdefs.h.  */
15284 _ACEOF
15285 cat confdefs.h >>conftest.$ac_ext
15286 cat >>conftest.$ac_ext <<_ACEOF
15287 /* end confdefs.h.  */
15288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15289    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15290 #define $ac_func innocuous_$ac_func
15291
15292 /* System header to define __stub macros and hopefully few prototypes,
15293     which can conflict with char $ac_func (); below.
15294     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15295     <limits.h> exists even on freestanding compilers.  */
15296
15297 #ifdef __STDC__
15298 # include <limits.h>
15299 #else
15300 # include <assert.h>
15301 #endif
15302
15303 #undef $ac_func
15304
15305 /* Override any gcc2 internal prototype to avoid an error.  */
15306 #ifdef __cplusplus
15307 extern "C"
15308 {
15309 #endif
15310 /* We use char because int might match the return type of a gcc2
15311    builtin and then its argument prototype would still apply.  */
15312 char $ac_func ();
15313 /* The GNU C library defines this for functions which it implements
15314     to always fail with ENOSYS.  Some functions are actually named
15315     something starting with __ and the normal name is an alias.  */
15316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15317 choke me
15318 #else
15319 char (*f) () = $ac_func;
15320 #endif
15321 #ifdef __cplusplus
15322 }
15323 #endif
15324
15325 int
15326 main ()
15327 {
15328 return f != $ac_func;
15329   ;
15330   return 0;
15331 }
15332 _ACEOF
15333 rm -f conftest.$ac_objext conftest$ac_exeext
15334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15335   (eval $ac_link) 2>conftest.er1
15336   ac_status=$?
15337   grep -v '^ *+' conftest.er1 >conftest.err
15338   rm -f conftest.er1
15339   cat conftest.err >&5
15340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15341   (exit $ac_status); } &&
15342          { ac_try='test -z "$ac_c_werror_flag"
15343                          || test ! -s conftest.err'
15344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15345   (eval $ac_try) 2>&5
15346   ac_status=$?
15347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15348   (exit $ac_status); }; } &&
15349          { ac_try='test -s conftest$ac_exeext'
15350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15351   (eval $ac_try) 2>&5
15352   ac_status=$?
15353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15354   (exit $ac_status); }; }; then
15355   eval "$as_ac_var=yes"
15356 else
15357   echo "$as_me: failed program was:" >&5
15358 sed 's/^/| /' conftest.$ac_ext >&5
15359
15360 eval "$as_ac_var=no"
15361 fi
15362 rm -f conftest.err conftest.$ac_objext \
15363       conftest$ac_exeext conftest.$ac_ext
15364 fi
15365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15367 if test `eval echo '${'$as_ac_var'}'` = yes; then
15368   cat >>confdefs.h <<_ACEOF
15369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15370 _ACEOF
15371
15372 fi
15373 done
15374
15375   else
15376
15377   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
15378 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
15379   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
15380     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
15381   echo $ECHO_N "(cached) $ECHO_C" >&6
15382 else
15383
15384
15385
15386       ac_ext=cc
15387 ac_cpp='$CXXCPP $CPPFLAGS'
15388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15391
15392       cat >conftest.$ac_ext <<_ACEOF
15393 /* confdefs.h.  */
15394 _ACEOF
15395 cat confdefs.h >>conftest.$ac_ext
15396 cat >>conftest.$ac_ext <<_ACEOF
15397 /* end confdefs.h.  */
15398 #include <math.h>
15399 int
15400 main ()
15401 {
15402  _ldexpf(0, 0);
15403   ;
15404   return 0;
15405 }
15406 _ACEOF
15407 rm -f conftest.$ac_objext
15408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15409   (eval $ac_compile) 2>conftest.er1
15410   ac_status=$?
15411   grep -v '^ *+' conftest.er1 >conftest.err
15412   rm -f conftest.er1
15413   cat conftest.err >&5
15414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15415   (exit $ac_status); } &&
15416          { ac_try='test -z "$ac_cxx_werror_flag"
15417                          || test ! -s conftest.err'
15418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15419   (eval $ac_try) 2>&5
15420   ac_status=$?
15421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15422   (exit $ac_status); }; } &&
15423          { ac_try='test -s conftest.$ac_objext'
15424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15425   (eval $ac_try) 2>&5
15426   ac_status=$?
15427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15428   (exit $ac_status); }; }; then
15429   glibcxx_cv_func__ldexpf_use=yes
15430 else
15431   echo "$as_me: failed program was:" >&5
15432 sed 's/^/| /' conftest.$ac_ext >&5
15433
15434 glibcxx_cv_func__ldexpf_use=no
15435 fi
15436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15437       ac_ext=c
15438 ac_cpp='$CPP $CPPFLAGS'
15439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15442
15443
15444 fi
15445
15446   fi
15447   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
15448 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
15449
15450     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
15451
15452 for ac_func in _ldexpf
15453 do
15454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15455 echo "$as_me:$LINENO: checking for $ac_func" >&5
15456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15457 if eval "test \"\${$as_ac_var+set}\" = set"; then
15458   echo $ECHO_N "(cached) $ECHO_C" >&6
15459 else
15460   if test x$gcc_no_link = xyes; then
15461   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15463    { (exit 1); exit 1; }; }
15464 fi
15465 cat >conftest.$ac_ext <<_ACEOF
15466 /* confdefs.h.  */
15467 _ACEOF
15468 cat confdefs.h >>conftest.$ac_ext
15469 cat >>conftest.$ac_ext <<_ACEOF
15470 /* end confdefs.h.  */
15471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15472    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15473 #define $ac_func innocuous_$ac_func
15474
15475 /* System header to define __stub macros and hopefully few prototypes,
15476     which can conflict with char $ac_func (); below.
15477     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15478     <limits.h> exists even on freestanding compilers.  */
15479
15480 #ifdef __STDC__
15481 # include <limits.h>
15482 #else
15483 # include <assert.h>
15484 #endif
15485
15486 #undef $ac_func
15487
15488 /* Override any gcc2 internal prototype to avoid an error.  */
15489 #ifdef __cplusplus
15490 extern "C"
15491 {
15492 #endif
15493 /* We use char because int might match the return type of a gcc2
15494    builtin and then its argument prototype would still apply.  */
15495 char $ac_func ();
15496 /* The GNU C library defines this for functions which it implements
15497     to always fail with ENOSYS.  Some functions are actually named
15498     something starting with __ and the normal name is an alias.  */
15499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15500 choke me
15501 #else
15502 char (*f) () = $ac_func;
15503 #endif
15504 #ifdef __cplusplus
15505 }
15506 #endif
15507
15508 int
15509 main ()
15510 {
15511 return f != $ac_func;
15512   ;
15513   return 0;
15514 }
15515 _ACEOF
15516 rm -f conftest.$ac_objext conftest$ac_exeext
15517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15518   (eval $ac_link) 2>conftest.er1
15519   ac_status=$?
15520   grep -v '^ *+' conftest.er1 >conftest.err
15521   rm -f conftest.er1
15522   cat conftest.err >&5
15523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15524   (exit $ac_status); } &&
15525          { ac_try='test -z "$ac_c_werror_flag"
15526                          || test ! -s conftest.err'
15527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15528   (eval $ac_try) 2>&5
15529   ac_status=$?
15530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15531   (exit $ac_status); }; } &&
15532          { ac_try='test -s conftest$ac_exeext'
15533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15534   (eval $ac_try) 2>&5
15535   ac_status=$?
15536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537   (exit $ac_status); }; }; then
15538   eval "$as_ac_var=yes"
15539 else
15540   echo "$as_me: failed program was:" >&5
15541 sed 's/^/| /' conftest.$ac_ext >&5
15542
15543 eval "$as_ac_var=no"
15544 fi
15545 rm -f conftest.err conftest.$ac_objext \
15546       conftest$ac_exeext conftest.$ac_ext
15547 fi
15548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15550 if test `eval echo '${'$as_ac_var'}'` = yes; then
15551   cat >>confdefs.h <<_ACEOF
15552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15553 _ACEOF
15554
15555 fi
15556 done
15557
15558     fi
15559   fi
15560
15561
15562
15563
15564
15565
15566   echo "$as_me:$LINENO: checking for logf declaration" >&5
15567 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
15568   if test x${glibcxx_cv_func_logf_use+set} != xset; then
15569     if test "${glibcxx_cv_func_logf_use+set}" = set; then
15570   echo $ECHO_N "(cached) $ECHO_C" >&6
15571 else
15572
15573
15574
15575       ac_ext=cc
15576 ac_cpp='$CXXCPP $CPPFLAGS'
15577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15580
15581       cat >conftest.$ac_ext <<_ACEOF
15582 /* confdefs.h.  */
15583 _ACEOF
15584 cat confdefs.h >>conftest.$ac_ext
15585 cat >>conftest.$ac_ext <<_ACEOF
15586 /* end confdefs.h.  */
15587 #include <math.h>
15588                       #ifdef HAVE_IEEEFP_H
15589                       #include <ieeefp.h>
15590                       #endif
15591
15592 int
15593 main ()
15594 {
15595  logf(0);
15596   ;
15597   return 0;
15598 }
15599 _ACEOF
15600 rm -f conftest.$ac_objext
15601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15602   (eval $ac_compile) 2>conftest.er1
15603   ac_status=$?
15604   grep -v '^ *+' conftest.er1 >conftest.err
15605   rm -f conftest.er1
15606   cat conftest.err >&5
15607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15608   (exit $ac_status); } &&
15609          { ac_try='test -z "$ac_cxx_werror_flag"
15610                          || test ! -s conftest.err'
15611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15612   (eval $ac_try) 2>&5
15613   ac_status=$?
15614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15615   (exit $ac_status); }; } &&
15616          { ac_try='test -s conftest.$ac_objext'
15617   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15618   (eval $ac_try) 2>&5
15619   ac_status=$?
15620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15621   (exit $ac_status); }; }; then
15622   glibcxx_cv_func_logf_use=yes
15623 else
15624   echo "$as_me: failed program was:" >&5
15625 sed 's/^/| /' conftest.$ac_ext >&5
15626
15627 glibcxx_cv_func_logf_use=no
15628 fi
15629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15630       ac_ext=c
15631 ac_cpp='$CPP $CPPFLAGS'
15632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15635
15636
15637 fi
15638
15639   fi
15640   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
15641 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
15642
15643   if test x$glibcxx_cv_func_logf_use = x"yes"; then
15644
15645 for ac_func in logf
15646 do
15647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15648 echo "$as_me:$LINENO: checking for $ac_func" >&5
15649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15650 if eval "test \"\${$as_ac_var+set}\" = set"; then
15651   echo $ECHO_N "(cached) $ECHO_C" >&6
15652 else
15653   if test x$gcc_no_link = xyes; then
15654   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15656    { (exit 1); exit 1; }; }
15657 fi
15658 cat >conftest.$ac_ext <<_ACEOF
15659 /* confdefs.h.  */
15660 _ACEOF
15661 cat confdefs.h >>conftest.$ac_ext
15662 cat >>conftest.$ac_ext <<_ACEOF
15663 /* end confdefs.h.  */
15664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15665    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15666 #define $ac_func innocuous_$ac_func
15667
15668 /* System header to define __stub macros and hopefully few prototypes,
15669     which can conflict with char $ac_func (); below.
15670     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15671     <limits.h> exists even on freestanding compilers.  */
15672
15673 #ifdef __STDC__
15674 # include <limits.h>
15675 #else
15676 # include <assert.h>
15677 #endif
15678
15679 #undef $ac_func
15680
15681 /* Override any gcc2 internal prototype to avoid an error.  */
15682 #ifdef __cplusplus
15683 extern "C"
15684 {
15685 #endif
15686 /* We use char because int might match the return type of a gcc2
15687    builtin and then its argument prototype would still apply.  */
15688 char $ac_func ();
15689 /* The GNU C library defines this for functions which it implements
15690     to always fail with ENOSYS.  Some functions are actually named
15691     something starting with __ and the normal name is an alias.  */
15692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15693 choke me
15694 #else
15695 char (*f) () = $ac_func;
15696 #endif
15697 #ifdef __cplusplus
15698 }
15699 #endif
15700
15701 int
15702 main ()
15703 {
15704 return f != $ac_func;
15705   ;
15706   return 0;
15707 }
15708 _ACEOF
15709 rm -f conftest.$ac_objext conftest$ac_exeext
15710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15711   (eval $ac_link) 2>conftest.er1
15712   ac_status=$?
15713   grep -v '^ *+' conftest.er1 >conftest.err
15714   rm -f conftest.er1
15715   cat conftest.err >&5
15716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15717   (exit $ac_status); } &&
15718          { ac_try='test -z "$ac_c_werror_flag"
15719                          || test ! -s conftest.err'
15720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15721   (eval $ac_try) 2>&5
15722   ac_status=$?
15723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15724   (exit $ac_status); }; } &&
15725          { ac_try='test -s conftest$ac_exeext'
15726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15727   (eval $ac_try) 2>&5
15728   ac_status=$?
15729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15730   (exit $ac_status); }; }; then
15731   eval "$as_ac_var=yes"
15732 else
15733   echo "$as_me: failed program was:" >&5
15734 sed 's/^/| /' conftest.$ac_ext >&5
15735
15736 eval "$as_ac_var=no"
15737 fi
15738 rm -f conftest.err conftest.$ac_objext \
15739       conftest$ac_exeext conftest.$ac_ext
15740 fi
15741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15743 if test `eval echo '${'$as_ac_var'}'` = yes; then
15744   cat >>confdefs.h <<_ACEOF
15745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15746 _ACEOF
15747
15748 fi
15749 done
15750
15751   else
15752
15753   echo "$as_me:$LINENO: checking for _logf declaration" >&5
15754 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
15755   if test x${glibcxx_cv_func__logf_use+set} != xset; then
15756     if test "${glibcxx_cv_func__logf_use+set}" = set; then
15757   echo $ECHO_N "(cached) $ECHO_C" >&6
15758 else
15759
15760
15761
15762       ac_ext=cc
15763 ac_cpp='$CXXCPP $CPPFLAGS'
15764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15767
15768       cat >conftest.$ac_ext <<_ACEOF
15769 /* confdefs.h.  */
15770 _ACEOF
15771 cat confdefs.h >>conftest.$ac_ext
15772 cat >>conftest.$ac_ext <<_ACEOF
15773 /* end confdefs.h.  */
15774 #include <math.h>
15775                       #ifdef HAVE_IEEEFP_H
15776                       #include <ieeefp.h>
15777                       #endif
15778
15779 int
15780 main ()
15781 {
15782  _logf(0);
15783   ;
15784   return 0;
15785 }
15786 _ACEOF
15787 rm -f conftest.$ac_objext
15788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15789   (eval $ac_compile) 2>conftest.er1
15790   ac_status=$?
15791   grep -v '^ *+' conftest.er1 >conftest.err
15792   rm -f conftest.er1
15793   cat conftest.err >&5
15794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15795   (exit $ac_status); } &&
15796          { ac_try='test -z "$ac_cxx_werror_flag"
15797                          || test ! -s conftest.err'
15798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15799   (eval $ac_try) 2>&5
15800   ac_status=$?
15801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15802   (exit $ac_status); }; } &&
15803          { ac_try='test -s conftest.$ac_objext'
15804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15805   (eval $ac_try) 2>&5
15806   ac_status=$?
15807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15808   (exit $ac_status); }; }; then
15809   glibcxx_cv_func__logf_use=yes
15810 else
15811   echo "$as_me: failed program was:" >&5
15812 sed 's/^/| /' conftest.$ac_ext >&5
15813
15814 glibcxx_cv_func__logf_use=no
15815 fi
15816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15817       ac_ext=c
15818 ac_cpp='$CPP $CPPFLAGS'
15819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15822
15823
15824 fi
15825
15826   fi
15827   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
15828 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
15829
15830     if test x$glibcxx_cv_func__logf_use = x"yes"; then
15831
15832 for ac_func in _logf
15833 do
15834 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15835 echo "$as_me:$LINENO: checking for $ac_func" >&5
15836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15837 if eval "test \"\${$as_ac_var+set}\" = set"; then
15838   echo $ECHO_N "(cached) $ECHO_C" >&6
15839 else
15840   if test x$gcc_no_link = xyes; then
15841   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15842 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15843    { (exit 1); exit 1; }; }
15844 fi
15845 cat >conftest.$ac_ext <<_ACEOF
15846 /* confdefs.h.  */
15847 _ACEOF
15848 cat confdefs.h >>conftest.$ac_ext
15849 cat >>conftest.$ac_ext <<_ACEOF
15850 /* end confdefs.h.  */
15851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15852    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15853 #define $ac_func innocuous_$ac_func
15854
15855 /* System header to define __stub macros and hopefully few prototypes,
15856     which can conflict with char $ac_func (); below.
15857     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15858     <limits.h> exists even on freestanding compilers.  */
15859
15860 #ifdef __STDC__
15861 # include <limits.h>
15862 #else
15863 # include <assert.h>
15864 #endif
15865
15866 #undef $ac_func
15867
15868 /* Override any gcc2 internal prototype to avoid an error.  */
15869 #ifdef __cplusplus
15870 extern "C"
15871 {
15872 #endif
15873 /* We use char because int might match the return type of a gcc2
15874    builtin and then its argument prototype would still apply.  */
15875 char $ac_func ();
15876 /* The GNU C library defines this for functions which it implements
15877     to always fail with ENOSYS.  Some functions are actually named
15878     something starting with __ and the normal name is an alias.  */
15879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15880 choke me
15881 #else
15882 char (*f) () = $ac_func;
15883 #endif
15884 #ifdef __cplusplus
15885 }
15886 #endif
15887
15888 int
15889 main ()
15890 {
15891 return f != $ac_func;
15892   ;
15893   return 0;
15894 }
15895 _ACEOF
15896 rm -f conftest.$ac_objext conftest$ac_exeext
15897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15898   (eval $ac_link) 2>conftest.er1
15899   ac_status=$?
15900   grep -v '^ *+' conftest.er1 >conftest.err
15901   rm -f conftest.er1
15902   cat conftest.err >&5
15903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15904   (exit $ac_status); } &&
15905          { ac_try='test -z "$ac_c_werror_flag"
15906                          || test ! -s conftest.err'
15907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15908   (eval $ac_try) 2>&5
15909   ac_status=$?
15910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15911   (exit $ac_status); }; } &&
15912          { ac_try='test -s conftest$ac_exeext'
15913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15914   (eval $ac_try) 2>&5
15915   ac_status=$?
15916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15917   (exit $ac_status); }; }; then
15918   eval "$as_ac_var=yes"
15919 else
15920   echo "$as_me: failed program was:" >&5
15921 sed 's/^/| /' conftest.$ac_ext >&5
15922
15923 eval "$as_ac_var=no"
15924 fi
15925 rm -f conftest.err conftest.$ac_objext \
15926       conftest$ac_exeext conftest.$ac_ext
15927 fi
15928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15929 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15930 if test `eval echo '${'$as_ac_var'}'` = yes; then
15931   cat >>confdefs.h <<_ACEOF
15932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15933 _ACEOF
15934
15935 fi
15936 done
15937
15938     fi
15939   fi
15940
15941
15942
15943
15944
15945
15946   echo "$as_me:$LINENO: checking for log10f declaration" >&5
15947 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
15948   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
15949     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
15950   echo $ECHO_N "(cached) $ECHO_C" >&6
15951 else
15952
15953
15954
15955       ac_ext=cc
15956 ac_cpp='$CXXCPP $CPPFLAGS'
15957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15960
15961       cat >conftest.$ac_ext <<_ACEOF
15962 /* confdefs.h.  */
15963 _ACEOF
15964 cat confdefs.h >>conftest.$ac_ext
15965 cat >>conftest.$ac_ext <<_ACEOF
15966 /* end confdefs.h.  */
15967 #include <math.h>
15968                       #ifdef HAVE_IEEEFP_H
15969                       #include <ieeefp.h>
15970                       #endif
15971
15972 int
15973 main ()
15974 {
15975  log10f(0);
15976   ;
15977   return 0;
15978 }
15979 _ACEOF
15980 rm -f conftest.$ac_objext
15981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15982   (eval $ac_compile) 2>conftest.er1
15983   ac_status=$?
15984   grep -v '^ *+' conftest.er1 >conftest.err
15985   rm -f conftest.er1
15986   cat conftest.err >&5
15987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15988   (exit $ac_status); } &&
15989          { ac_try='test -z "$ac_cxx_werror_flag"
15990                          || test ! -s conftest.err'
15991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15992   (eval $ac_try) 2>&5
15993   ac_status=$?
15994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15995   (exit $ac_status); }; } &&
15996          { ac_try='test -s conftest.$ac_objext'
15997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15998   (eval $ac_try) 2>&5
15999   ac_status=$?
16000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16001   (exit $ac_status); }; }; then
16002   glibcxx_cv_func_log10f_use=yes
16003 else
16004   echo "$as_me: failed program was:" >&5
16005 sed 's/^/| /' conftest.$ac_ext >&5
16006
16007 glibcxx_cv_func_log10f_use=no
16008 fi
16009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16010       ac_ext=c
16011 ac_cpp='$CPP $CPPFLAGS'
16012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16015
16016
16017 fi
16018
16019   fi
16020   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
16021 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
16022
16023   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
16024
16025 for ac_func in log10f
16026 do
16027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16028 echo "$as_me:$LINENO: checking for $ac_func" >&5
16029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16030 if eval "test \"\${$as_ac_var+set}\" = set"; then
16031   echo $ECHO_N "(cached) $ECHO_C" >&6
16032 else
16033   if test x$gcc_no_link = xyes; then
16034   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16036    { (exit 1); exit 1; }; }
16037 fi
16038 cat >conftest.$ac_ext <<_ACEOF
16039 /* confdefs.h.  */
16040 _ACEOF
16041 cat confdefs.h >>conftest.$ac_ext
16042 cat >>conftest.$ac_ext <<_ACEOF
16043 /* end confdefs.h.  */
16044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16045    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16046 #define $ac_func innocuous_$ac_func
16047
16048 /* System header to define __stub macros and hopefully few prototypes,
16049     which can conflict with char $ac_func (); below.
16050     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16051     <limits.h> exists even on freestanding compilers.  */
16052
16053 #ifdef __STDC__
16054 # include <limits.h>
16055 #else
16056 # include <assert.h>
16057 #endif
16058
16059 #undef $ac_func
16060
16061 /* Override any gcc2 internal prototype to avoid an error.  */
16062 #ifdef __cplusplus
16063 extern "C"
16064 {
16065 #endif
16066 /* We use char because int might match the return type of a gcc2
16067    builtin and then its argument prototype would still apply.  */
16068 char $ac_func ();
16069 /* The GNU C library defines this for functions which it implements
16070     to always fail with ENOSYS.  Some functions are actually named
16071     something starting with __ and the normal name is an alias.  */
16072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16073 choke me
16074 #else
16075 char (*f) () = $ac_func;
16076 #endif
16077 #ifdef __cplusplus
16078 }
16079 #endif
16080
16081 int
16082 main ()
16083 {
16084 return f != $ac_func;
16085   ;
16086   return 0;
16087 }
16088 _ACEOF
16089 rm -f conftest.$ac_objext conftest$ac_exeext
16090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16091   (eval $ac_link) 2>conftest.er1
16092   ac_status=$?
16093   grep -v '^ *+' conftest.er1 >conftest.err
16094   rm -f conftest.er1
16095   cat conftest.err >&5
16096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16097   (exit $ac_status); } &&
16098          { ac_try='test -z "$ac_c_werror_flag"
16099                          || test ! -s conftest.err'
16100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16101   (eval $ac_try) 2>&5
16102   ac_status=$?
16103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16104   (exit $ac_status); }; } &&
16105          { ac_try='test -s conftest$ac_exeext'
16106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16107   (eval $ac_try) 2>&5
16108   ac_status=$?
16109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16110   (exit $ac_status); }; }; then
16111   eval "$as_ac_var=yes"
16112 else
16113   echo "$as_me: failed program was:" >&5
16114 sed 's/^/| /' conftest.$ac_ext >&5
16115
16116 eval "$as_ac_var=no"
16117 fi
16118 rm -f conftest.err conftest.$ac_objext \
16119       conftest$ac_exeext conftest.$ac_ext
16120 fi
16121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16123 if test `eval echo '${'$as_ac_var'}'` = yes; then
16124   cat >>confdefs.h <<_ACEOF
16125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16126 _ACEOF
16127
16128 fi
16129 done
16130
16131   else
16132
16133   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
16134 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
16135   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
16136     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
16137   echo $ECHO_N "(cached) $ECHO_C" >&6
16138 else
16139
16140
16141
16142       ac_ext=cc
16143 ac_cpp='$CXXCPP $CPPFLAGS'
16144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16147
16148       cat >conftest.$ac_ext <<_ACEOF
16149 /* confdefs.h.  */
16150 _ACEOF
16151 cat confdefs.h >>conftest.$ac_ext
16152 cat >>conftest.$ac_ext <<_ACEOF
16153 /* end confdefs.h.  */
16154 #include <math.h>
16155                       #ifdef HAVE_IEEEFP_H
16156                       #include <ieeefp.h>
16157                       #endif
16158
16159 int
16160 main ()
16161 {
16162  _log10f(0);
16163   ;
16164   return 0;
16165 }
16166 _ACEOF
16167 rm -f conftest.$ac_objext
16168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16169   (eval $ac_compile) 2>conftest.er1
16170   ac_status=$?
16171   grep -v '^ *+' conftest.er1 >conftest.err
16172   rm -f conftest.er1
16173   cat conftest.err >&5
16174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16175   (exit $ac_status); } &&
16176          { ac_try='test -z "$ac_cxx_werror_flag"
16177                          || test ! -s conftest.err'
16178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16179   (eval $ac_try) 2>&5
16180   ac_status=$?
16181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16182   (exit $ac_status); }; } &&
16183          { ac_try='test -s conftest.$ac_objext'
16184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16185   (eval $ac_try) 2>&5
16186   ac_status=$?
16187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16188   (exit $ac_status); }; }; then
16189   glibcxx_cv_func__log10f_use=yes
16190 else
16191   echo "$as_me: failed program was:" >&5
16192 sed 's/^/| /' conftest.$ac_ext >&5
16193
16194 glibcxx_cv_func__log10f_use=no
16195 fi
16196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16197       ac_ext=c
16198 ac_cpp='$CPP $CPPFLAGS'
16199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16202
16203
16204 fi
16205
16206   fi
16207   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
16208 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
16209
16210     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
16211
16212 for ac_func in _log10f
16213 do
16214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16215 echo "$as_me:$LINENO: checking for $ac_func" >&5
16216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16217 if eval "test \"\${$as_ac_var+set}\" = set"; then
16218   echo $ECHO_N "(cached) $ECHO_C" >&6
16219 else
16220   if test x$gcc_no_link = xyes; then
16221   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16223    { (exit 1); exit 1; }; }
16224 fi
16225 cat >conftest.$ac_ext <<_ACEOF
16226 /* confdefs.h.  */
16227 _ACEOF
16228 cat confdefs.h >>conftest.$ac_ext
16229 cat >>conftest.$ac_ext <<_ACEOF
16230 /* end confdefs.h.  */
16231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16232    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16233 #define $ac_func innocuous_$ac_func
16234
16235 /* System header to define __stub macros and hopefully few prototypes,
16236     which can conflict with char $ac_func (); below.
16237     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16238     <limits.h> exists even on freestanding compilers.  */
16239
16240 #ifdef __STDC__
16241 # include <limits.h>
16242 #else
16243 # include <assert.h>
16244 #endif
16245
16246 #undef $ac_func
16247
16248 /* Override any gcc2 internal prototype to avoid an error.  */
16249 #ifdef __cplusplus
16250 extern "C"
16251 {
16252 #endif
16253 /* We use char because int might match the return type of a gcc2
16254    builtin and then its argument prototype would still apply.  */
16255 char $ac_func ();
16256 /* The GNU C library defines this for functions which it implements
16257     to always fail with ENOSYS.  Some functions are actually named
16258     something starting with __ and the normal name is an alias.  */
16259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16260 choke me
16261 #else
16262 char (*f) () = $ac_func;
16263 #endif
16264 #ifdef __cplusplus
16265 }
16266 #endif
16267
16268 int
16269 main ()
16270 {
16271 return f != $ac_func;
16272   ;
16273   return 0;
16274 }
16275 _ACEOF
16276 rm -f conftest.$ac_objext conftest$ac_exeext
16277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16278   (eval $ac_link) 2>conftest.er1
16279   ac_status=$?
16280   grep -v '^ *+' conftest.er1 >conftest.err
16281   rm -f conftest.er1
16282   cat conftest.err >&5
16283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16284   (exit $ac_status); } &&
16285          { ac_try='test -z "$ac_c_werror_flag"
16286                          || test ! -s conftest.err'
16287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16288   (eval $ac_try) 2>&5
16289   ac_status=$?
16290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16291   (exit $ac_status); }; } &&
16292          { ac_try='test -s conftest$ac_exeext'
16293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16294   (eval $ac_try) 2>&5
16295   ac_status=$?
16296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16297   (exit $ac_status); }; }; then
16298   eval "$as_ac_var=yes"
16299 else
16300   echo "$as_me: failed program was:" >&5
16301 sed 's/^/| /' conftest.$ac_ext >&5
16302
16303 eval "$as_ac_var=no"
16304 fi
16305 rm -f conftest.err conftest.$ac_objext \
16306       conftest$ac_exeext conftest.$ac_ext
16307 fi
16308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16310 if test `eval echo '${'$as_ac_var'}'` = yes; then
16311   cat >>confdefs.h <<_ACEOF
16312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16313 _ACEOF
16314
16315 fi
16316 done
16317
16318     fi
16319   fi
16320
16321
16322
16323
16324
16325
16326   echo "$as_me:$LINENO: checking for modff declaration" >&5
16327 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
16328   if test x${glibcxx_cv_func_modff_use+set} != xset; then
16329     if test "${glibcxx_cv_func_modff_use+set}" = set; then
16330   echo $ECHO_N "(cached) $ECHO_C" >&6
16331 else
16332
16333
16334
16335       ac_ext=cc
16336 ac_cpp='$CXXCPP $CPPFLAGS'
16337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16340
16341       cat >conftest.$ac_ext <<_ACEOF
16342 /* confdefs.h.  */
16343 _ACEOF
16344 cat confdefs.h >>conftest.$ac_ext
16345 cat >>conftest.$ac_ext <<_ACEOF
16346 /* end confdefs.h.  */
16347 #include <math.h>
16348 int
16349 main ()
16350 {
16351  modff(0, 0);
16352   ;
16353   return 0;
16354 }
16355 _ACEOF
16356 rm -f conftest.$ac_objext
16357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16358   (eval $ac_compile) 2>conftest.er1
16359   ac_status=$?
16360   grep -v '^ *+' conftest.er1 >conftest.err
16361   rm -f conftest.er1
16362   cat conftest.err >&5
16363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16364   (exit $ac_status); } &&
16365          { ac_try='test -z "$ac_cxx_werror_flag"
16366                          || test ! -s conftest.err'
16367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16368   (eval $ac_try) 2>&5
16369   ac_status=$?
16370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16371   (exit $ac_status); }; } &&
16372          { ac_try='test -s conftest.$ac_objext'
16373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16374   (eval $ac_try) 2>&5
16375   ac_status=$?
16376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16377   (exit $ac_status); }; }; then
16378   glibcxx_cv_func_modff_use=yes
16379 else
16380   echo "$as_me: failed program was:" >&5
16381 sed 's/^/| /' conftest.$ac_ext >&5
16382
16383 glibcxx_cv_func_modff_use=no
16384 fi
16385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16386       ac_ext=c
16387 ac_cpp='$CPP $CPPFLAGS'
16388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16391
16392
16393 fi
16394
16395   fi
16396   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
16397 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
16398
16399   if test x$glibcxx_cv_func_modff_use = x"yes"; then
16400
16401 for ac_func in modff
16402 do
16403 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16404 echo "$as_me:$LINENO: checking for $ac_func" >&5
16405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16406 if eval "test \"\${$as_ac_var+set}\" = set"; then
16407   echo $ECHO_N "(cached) $ECHO_C" >&6
16408 else
16409   if test x$gcc_no_link = xyes; then
16410   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16412    { (exit 1); exit 1; }; }
16413 fi
16414 cat >conftest.$ac_ext <<_ACEOF
16415 /* confdefs.h.  */
16416 _ACEOF
16417 cat confdefs.h >>conftest.$ac_ext
16418 cat >>conftest.$ac_ext <<_ACEOF
16419 /* end confdefs.h.  */
16420 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16421    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16422 #define $ac_func innocuous_$ac_func
16423
16424 /* System header to define __stub macros and hopefully few prototypes,
16425     which can conflict with char $ac_func (); below.
16426     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16427     <limits.h> exists even on freestanding compilers.  */
16428
16429 #ifdef __STDC__
16430 # include <limits.h>
16431 #else
16432 # include <assert.h>
16433 #endif
16434
16435 #undef $ac_func
16436
16437 /* Override any gcc2 internal prototype to avoid an error.  */
16438 #ifdef __cplusplus
16439 extern "C"
16440 {
16441 #endif
16442 /* We use char because int might match the return type of a gcc2
16443    builtin and then its argument prototype would still apply.  */
16444 char $ac_func ();
16445 /* The GNU C library defines this for functions which it implements
16446     to always fail with ENOSYS.  Some functions are actually named
16447     something starting with __ and the normal name is an alias.  */
16448 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16449 choke me
16450 #else
16451 char (*f) () = $ac_func;
16452 #endif
16453 #ifdef __cplusplus
16454 }
16455 #endif
16456
16457 int
16458 main ()
16459 {
16460 return f != $ac_func;
16461   ;
16462   return 0;
16463 }
16464 _ACEOF
16465 rm -f conftest.$ac_objext conftest$ac_exeext
16466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16467   (eval $ac_link) 2>conftest.er1
16468   ac_status=$?
16469   grep -v '^ *+' conftest.er1 >conftest.err
16470   rm -f conftest.er1
16471   cat conftest.err >&5
16472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16473   (exit $ac_status); } &&
16474          { ac_try='test -z "$ac_c_werror_flag"
16475                          || test ! -s conftest.err'
16476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16477   (eval $ac_try) 2>&5
16478   ac_status=$?
16479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16480   (exit $ac_status); }; } &&
16481          { ac_try='test -s conftest$ac_exeext'
16482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16483   (eval $ac_try) 2>&5
16484   ac_status=$?
16485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16486   (exit $ac_status); }; }; then
16487   eval "$as_ac_var=yes"
16488 else
16489   echo "$as_me: failed program was:" >&5
16490 sed 's/^/| /' conftest.$ac_ext >&5
16491
16492 eval "$as_ac_var=no"
16493 fi
16494 rm -f conftest.err conftest.$ac_objext \
16495       conftest$ac_exeext conftest.$ac_ext
16496 fi
16497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16498 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16499 if test `eval echo '${'$as_ac_var'}'` = yes; then
16500   cat >>confdefs.h <<_ACEOF
16501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16502 _ACEOF
16503
16504 fi
16505 done
16506
16507   else
16508
16509   echo "$as_me:$LINENO: checking for _modff declaration" >&5
16510 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
16511   if test x${glibcxx_cv_func__modff_use+set} != xset; then
16512     if test "${glibcxx_cv_func__modff_use+set}" = set; then
16513   echo $ECHO_N "(cached) $ECHO_C" >&6
16514 else
16515
16516
16517
16518       ac_ext=cc
16519 ac_cpp='$CXXCPP $CPPFLAGS'
16520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16523
16524       cat >conftest.$ac_ext <<_ACEOF
16525 /* confdefs.h.  */
16526 _ACEOF
16527 cat confdefs.h >>conftest.$ac_ext
16528 cat >>conftest.$ac_ext <<_ACEOF
16529 /* end confdefs.h.  */
16530 #include <math.h>
16531 int
16532 main ()
16533 {
16534  _modff(0, 0);
16535   ;
16536   return 0;
16537 }
16538 _ACEOF
16539 rm -f conftest.$ac_objext
16540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16541   (eval $ac_compile) 2>conftest.er1
16542   ac_status=$?
16543   grep -v '^ *+' conftest.er1 >conftest.err
16544   rm -f conftest.er1
16545   cat conftest.err >&5
16546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16547   (exit $ac_status); } &&
16548          { ac_try='test -z "$ac_cxx_werror_flag"
16549                          || test ! -s conftest.err'
16550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16551   (eval $ac_try) 2>&5
16552   ac_status=$?
16553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16554   (exit $ac_status); }; } &&
16555          { ac_try='test -s conftest.$ac_objext'
16556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16557   (eval $ac_try) 2>&5
16558   ac_status=$?
16559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16560   (exit $ac_status); }; }; then
16561   glibcxx_cv_func__modff_use=yes
16562 else
16563   echo "$as_me: failed program was:" >&5
16564 sed 's/^/| /' conftest.$ac_ext >&5
16565
16566 glibcxx_cv_func__modff_use=no
16567 fi
16568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16569       ac_ext=c
16570 ac_cpp='$CPP $CPPFLAGS'
16571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16574
16575
16576 fi
16577
16578   fi
16579   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
16580 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
16581
16582     if test x$glibcxx_cv_func__modff_use = x"yes"; then
16583
16584 for ac_func in _modff
16585 do
16586 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16587 echo "$as_me:$LINENO: checking for $ac_func" >&5
16588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16589 if eval "test \"\${$as_ac_var+set}\" = set"; then
16590   echo $ECHO_N "(cached) $ECHO_C" >&6
16591 else
16592   if test x$gcc_no_link = xyes; then
16593   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16595    { (exit 1); exit 1; }; }
16596 fi
16597 cat >conftest.$ac_ext <<_ACEOF
16598 /* confdefs.h.  */
16599 _ACEOF
16600 cat confdefs.h >>conftest.$ac_ext
16601 cat >>conftest.$ac_ext <<_ACEOF
16602 /* end confdefs.h.  */
16603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16604    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16605 #define $ac_func innocuous_$ac_func
16606
16607 /* System header to define __stub macros and hopefully few prototypes,
16608     which can conflict with char $ac_func (); below.
16609     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16610     <limits.h> exists even on freestanding compilers.  */
16611
16612 #ifdef __STDC__
16613 # include <limits.h>
16614 #else
16615 # include <assert.h>
16616 #endif
16617
16618 #undef $ac_func
16619
16620 /* Override any gcc2 internal prototype to avoid an error.  */
16621 #ifdef __cplusplus
16622 extern "C"
16623 {
16624 #endif
16625 /* We use char because int might match the return type of a gcc2
16626    builtin and then its argument prototype would still apply.  */
16627 char $ac_func ();
16628 /* The GNU C library defines this for functions which it implements
16629     to always fail with ENOSYS.  Some functions are actually named
16630     something starting with __ and the normal name is an alias.  */
16631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16632 choke me
16633 #else
16634 char (*f) () = $ac_func;
16635 #endif
16636 #ifdef __cplusplus
16637 }
16638 #endif
16639
16640 int
16641 main ()
16642 {
16643 return f != $ac_func;
16644   ;
16645   return 0;
16646 }
16647 _ACEOF
16648 rm -f conftest.$ac_objext conftest$ac_exeext
16649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16650   (eval $ac_link) 2>conftest.er1
16651   ac_status=$?
16652   grep -v '^ *+' conftest.er1 >conftest.err
16653   rm -f conftest.er1
16654   cat conftest.err >&5
16655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16656   (exit $ac_status); } &&
16657          { ac_try='test -z "$ac_c_werror_flag"
16658                          || test ! -s conftest.err'
16659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16660   (eval $ac_try) 2>&5
16661   ac_status=$?
16662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16663   (exit $ac_status); }; } &&
16664          { ac_try='test -s conftest$ac_exeext'
16665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16666   (eval $ac_try) 2>&5
16667   ac_status=$?
16668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16669   (exit $ac_status); }; }; then
16670   eval "$as_ac_var=yes"
16671 else
16672   echo "$as_me: failed program was:" >&5
16673 sed 's/^/| /' conftest.$ac_ext >&5
16674
16675 eval "$as_ac_var=no"
16676 fi
16677 rm -f conftest.err conftest.$ac_objext \
16678       conftest$ac_exeext conftest.$ac_ext
16679 fi
16680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16681 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16682 if test `eval echo '${'$as_ac_var'}'` = yes; then
16683   cat >>confdefs.h <<_ACEOF
16684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16685 _ACEOF
16686
16687 fi
16688 done
16689
16690     fi
16691   fi
16692
16693
16694
16695
16696
16697
16698   echo "$as_me:$LINENO: checking for modf declaration" >&5
16699 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
16700   if test x${glibcxx_cv_func_modf_use+set} != xset; then
16701     if test "${glibcxx_cv_func_modf_use+set}" = set; then
16702   echo $ECHO_N "(cached) $ECHO_C" >&6
16703 else
16704
16705
16706
16707       ac_ext=cc
16708 ac_cpp='$CXXCPP $CPPFLAGS'
16709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16712
16713       cat >conftest.$ac_ext <<_ACEOF
16714 /* confdefs.h.  */
16715 _ACEOF
16716 cat confdefs.h >>conftest.$ac_ext
16717 cat >>conftest.$ac_ext <<_ACEOF
16718 /* end confdefs.h.  */
16719 #include <math.h>
16720 int
16721 main ()
16722 {
16723  modf(0, 0);
16724   ;
16725   return 0;
16726 }
16727 _ACEOF
16728 rm -f conftest.$ac_objext
16729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16730   (eval $ac_compile) 2>conftest.er1
16731   ac_status=$?
16732   grep -v '^ *+' conftest.er1 >conftest.err
16733   rm -f conftest.er1
16734   cat conftest.err >&5
16735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16736   (exit $ac_status); } &&
16737          { ac_try='test -z "$ac_cxx_werror_flag"
16738                          || test ! -s conftest.err'
16739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16740   (eval $ac_try) 2>&5
16741   ac_status=$?
16742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16743   (exit $ac_status); }; } &&
16744          { ac_try='test -s conftest.$ac_objext'
16745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16746   (eval $ac_try) 2>&5
16747   ac_status=$?
16748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16749   (exit $ac_status); }; }; then
16750   glibcxx_cv_func_modf_use=yes
16751 else
16752   echo "$as_me: failed program was:" >&5
16753 sed 's/^/| /' conftest.$ac_ext >&5
16754
16755 glibcxx_cv_func_modf_use=no
16756 fi
16757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16758       ac_ext=c
16759 ac_cpp='$CPP $CPPFLAGS'
16760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16763
16764
16765 fi
16766
16767   fi
16768   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
16769 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
16770
16771   if test x$glibcxx_cv_func_modf_use = x"yes"; then
16772
16773 for ac_func in modf
16774 do
16775 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16776 echo "$as_me:$LINENO: checking for $ac_func" >&5
16777 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16778 if eval "test \"\${$as_ac_var+set}\" = set"; then
16779   echo $ECHO_N "(cached) $ECHO_C" >&6
16780 else
16781   if test x$gcc_no_link = xyes; then
16782   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16783 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16784    { (exit 1); exit 1; }; }
16785 fi
16786 cat >conftest.$ac_ext <<_ACEOF
16787 /* confdefs.h.  */
16788 _ACEOF
16789 cat confdefs.h >>conftest.$ac_ext
16790 cat >>conftest.$ac_ext <<_ACEOF
16791 /* end confdefs.h.  */
16792 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16793    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16794 #define $ac_func innocuous_$ac_func
16795
16796 /* System header to define __stub macros and hopefully few prototypes,
16797     which can conflict with char $ac_func (); below.
16798     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16799     <limits.h> exists even on freestanding compilers.  */
16800
16801 #ifdef __STDC__
16802 # include <limits.h>
16803 #else
16804 # include <assert.h>
16805 #endif
16806
16807 #undef $ac_func
16808
16809 /* Override any gcc2 internal prototype to avoid an error.  */
16810 #ifdef __cplusplus
16811 extern "C"
16812 {
16813 #endif
16814 /* We use char because int might match the return type of a gcc2
16815    builtin and then its argument prototype would still apply.  */
16816 char $ac_func ();
16817 /* The GNU C library defines this for functions which it implements
16818     to always fail with ENOSYS.  Some functions are actually named
16819     something starting with __ and the normal name is an alias.  */
16820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16821 choke me
16822 #else
16823 char (*f) () = $ac_func;
16824 #endif
16825 #ifdef __cplusplus
16826 }
16827 #endif
16828
16829 int
16830 main ()
16831 {
16832 return f != $ac_func;
16833   ;
16834   return 0;
16835 }
16836 _ACEOF
16837 rm -f conftest.$ac_objext conftest$ac_exeext
16838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16839   (eval $ac_link) 2>conftest.er1
16840   ac_status=$?
16841   grep -v '^ *+' conftest.er1 >conftest.err
16842   rm -f conftest.er1
16843   cat conftest.err >&5
16844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16845   (exit $ac_status); } &&
16846          { ac_try='test -z "$ac_c_werror_flag"
16847                          || test ! -s conftest.err'
16848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16849   (eval $ac_try) 2>&5
16850   ac_status=$?
16851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16852   (exit $ac_status); }; } &&
16853          { ac_try='test -s conftest$ac_exeext'
16854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16855   (eval $ac_try) 2>&5
16856   ac_status=$?
16857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16858   (exit $ac_status); }; }; then
16859   eval "$as_ac_var=yes"
16860 else
16861   echo "$as_me: failed program was:" >&5
16862 sed 's/^/| /' conftest.$ac_ext >&5
16863
16864 eval "$as_ac_var=no"
16865 fi
16866 rm -f conftest.err conftest.$ac_objext \
16867       conftest$ac_exeext conftest.$ac_ext
16868 fi
16869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16870 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16871 if test `eval echo '${'$as_ac_var'}'` = yes; then
16872   cat >>confdefs.h <<_ACEOF
16873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16874 _ACEOF
16875
16876 fi
16877 done
16878
16879   else
16880
16881   echo "$as_me:$LINENO: checking for _modf declaration" >&5
16882 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
16883   if test x${glibcxx_cv_func__modf_use+set} != xset; then
16884     if test "${glibcxx_cv_func__modf_use+set}" = set; then
16885   echo $ECHO_N "(cached) $ECHO_C" >&6
16886 else
16887
16888
16889
16890       ac_ext=cc
16891 ac_cpp='$CXXCPP $CPPFLAGS'
16892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16895
16896       cat >conftest.$ac_ext <<_ACEOF
16897 /* confdefs.h.  */
16898 _ACEOF
16899 cat confdefs.h >>conftest.$ac_ext
16900 cat >>conftest.$ac_ext <<_ACEOF
16901 /* end confdefs.h.  */
16902 #include <math.h>
16903 int
16904 main ()
16905 {
16906  _modf(0, 0);
16907   ;
16908   return 0;
16909 }
16910 _ACEOF
16911 rm -f conftest.$ac_objext
16912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16913   (eval $ac_compile) 2>conftest.er1
16914   ac_status=$?
16915   grep -v '^ *+' conftest.er1 >conftest.err
16916   rm -f conftest.er1
16917   cat conftest.err >&5
16918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16919   (exit $ac_status); } &&
16920          { ac_try='test -z "$ac_cxx_werror_flag"
16921                          || test ! -s conftest.err'
16922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16923   (eval $ac_try) 2>&5
16924   ac_status=$?
16925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16926   (exit $ac_status); }; } &&
16927          { ac_try='test -s conftest.$ac_objext'
16928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16929   (eval $ac_try) 2>&5
16930   ac_status=$?
16931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16932   (exit $ac_status); }; }; then
16933   glibcxx_cv_func__modf_use=yes
16934 else
16935   echo "$as_me: failed program was:" >&5
16936 sed 's/^/| /' conftest.$ac_ext >&5
16937
16938 glibcxx_cv_func__modf_use=no
16939 fi
16940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16941       ac_ext=c
16942 ac_cpp='$CPP $CPPFLAGS'
16943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16946
16947
16948 fi
16949
16950   fi
16951   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
16952 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
16953
16954     if test x$glibcxx_cv_func__modf_use = x"yes"; then
16955
16956 for ac_func in _modf
16957 do
16958 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16959 echo "$as_me:$LINENO: checking for $ac_func" >&5
16960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16961 if eval "test \"\${$as_ac_var+set}\" = set"; then
16962   echo $ECHO_N "(cached) $ECHO_C" >&6
16963 else
16964   if test x$gcc_no_link = xyes; then
16965   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16967    { (exit 1); exit 1; }; }
16968 fi
16969 cat >conftest.$ac_ext <<_ACEOF
16970 /* confdefs.h.  */
16971 _ACEOF
16972 cat confdefs.h >>conftest.$ac_ext
16973 cat >>conftest.$ac_ext <<_ACEOF
16974 /* end confdefs.h.  */
16975 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16976    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16977 #define $ac_func innocuous_$ac_func
16978
16979 /* System header to define __stub macros and hopefully few prototypes,
16980     which can conflict with char $ac_func (); below.
16981     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16982     <limits.h> exists even on freestanding compilers.  */
16983
16984 #ifdef __STDC__
16985 # include <limits.h>
16986 #else
16987 # include <assert.h>
16988 #endif
16989
16990 #undef $ac_func
16991
16992 /* Override any gcc2 internal prototype to avoid an error.  */
16993 #ifdef __cplusplus
16994 extern "C"
16995 {
16996 #endif
16997 /* We use char because int might match the return type of a gcc2
16998    builtin and then its argument prototype would still apply.  */
16999 char $ac_func ();
17000 /* The GNU C library defines this for functions which it implements
17001     to always fail with ENOSYS.  Some functions are actually named
17002     something starting with __ and the normal name is an alias.  */
17003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17004 choke me
17005 #else
17006 char (*f) () = $ac_func;
17007 #endif
17008 #ifdef __cplusplus
17009 }
17010 #endif
17011
17012 int
17013 main ()
17014 {
17015 return f != $ac_func;
17016   ;
17017   return 0;
17018 }
17019 _ACEOF
17020 rm -f conftest.$ac_objext conftest$ac_exeext
17021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17022   (eval $ac_link) 2>conftest.er1
17023   ac_status=$?
17024   grep -v '^ *+' conftest.er1 >conftest.err
17025   rm -f conftest.er1
17026   cat conftest.err >&5
17027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17028   (exit $ac_status); } &&
17029          { ac_try='test -z "$ac_c_werror_flag"
17030                          || test ! -s conftest.err'
17031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17032   (eval $ac_try) 2>&5
17033   ac_status=$?
17034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17035   (exit $ac_status); }; } &&
17036          { ac_try='test -s conftest$ac_exeext'
17037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17038   (eval $ac_try) 2>&5
17039   ac_status=$?
17040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17041   (exit $ac_status); }; }; then
17042   eval "$as_ac_var=yes"
17043 else
17044   echo "$as_me: failed program was:" >&5
17045 sed 's/^/| /' conftest.$ac_ext >&5
17046
17047 eval "$as_ac_var=no"
17048 fi
17049 rm -f conftest.err conftest.$ac_objext \
17050       conftest$ac_exeext conftest.$ac_ext
17051 fi
17052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17054 if test `eval echo '${'$as_ac_var'}'` = yes; then
17055   cat >>confdefs.h <<_ACEOF
17056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17057 _ACEOF
17058
17059 fi
17060 done
17061
17062     fi
17063   fi
17064
17065
17066
17067
17068
17069
17070   echo "$as_me:$LINENO: checking for powf declaration" >&5
17071 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
17072   if test x${glibcxx_cv_func_powf_use+set} != xset; then
17073     if test "${glibcxx_cv_func_powf_use+set}" = set; then
17074   echo $ECHO_N "(cached) $ECHO_C" >&6
17075 else
17076
17077
17078
17079       ac_ext=cc
17080 ac_cpp='$CXXCPP $CPPFLAGS'
17081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17084
17085       cat >conftest.$ac_ext <<_ACEOF
17086 /* confdefs.h.  */
17087 _ACEOF
17088 cat confdefs.h >>conftest.$ac_ext
17089 cat >>conftest.$ac_ext <<_ACEOF
17090 /* end confdefs.h.  */
17091 #include <math.h>
17092 int
17093 main ()
17094 {
17095  powf(0, 0);
17096   ;
17097   return 0;
17098 }
17099 _ACEOF
17100 rm -f conftest.$ac_objext
17101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17102   (eval $ac_compile) 2>conftest.er1
17103   ac_status=$?
17104   grep -v '^ *+' conftest.er1 >conftest.err
17105   rm -f conftest.er1
17106   cat conftest.err >&5
17107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17108   (exit $ac_status); } &&
17109          { ac_try='test -z "$ac_cxx_werror_flag"
17110                          || test ! -s conftest.err'
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); }; } &&
17116          { ac_try='test -s conftest.$ac_objext'
17117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17118   (eval $ac_try) 2>&5
17119   ac_status=$?
17120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17121   (exit $ac_status); }; }; then
17122   glibcxx_cv_func_powf_use=yes
17123 else
17124   echo "$as_me: failed program was:" >&5
17125 sed 's/^/| /' conftest.$ac_ext >&5
17126
17127 glibcxx_cv_func_powf_use=no
17128 fi
17129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17130       ac_ext=c
17131 ac_cpp='$CPP $CPPFLAGS'
17132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17135
17136
17137 fi
17138
17139   fi
17140   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
17141 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
17142
17143   if test x$glibcxx_cv_func_powf_use = x"yes"; then
17144
17145 for ac_func in powf
17146 do
17147 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17148 echo "$as_me:$LINENO: checking for $ac_func" >&5
17149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17150 if eval "test \"\${$as_ac_var+set}\" = set"; then
17151   echo $ECHO_N "(cached) $ECHO_C" >&6
17152 else
17153   if test x$gcc_no_link = xyes; then
17154   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17155 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17156    { (exit 1); exit 1; }; }
17157 fi
17158 cat >conftest.$ac_ext <<_ACEOF
17159 /* confdefs.h.  */
17160 _ACEOF
17161 cat confdefs.h >>conftest.$ac_ext
17162 cat >>conftest.$ac_ext <<_ACEOF
17163 /* end confdefs.h.  */
17164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17165    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17166 #define $ac_func innocuous_$ac_func
17167
17168 /* System header to define __stub macros and hopefully few prototypes,
17169     which can conflict with char $ac_func (); below.
17170     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17171     <limits.h> exists even on freestanding compilers.  */
17172
17173 #ifdef __STDC__
17174 # include <limits.h>
17175 #else
17176 # include <assert.h>
17177 #endif
17178
17179 #undef $ac_func
17180
17181 /* Override any gcc2 internal prototype to avoid an error.  */
17182 #ifdef __cplusplus
17183 extern "C"
17184 {
17185 #endif
17186 /* We use char because int might match the return type of a gcc2
17187    builtin and then its argument prototype would still apply.  */
17188 char $ac_func ();
17189 /* The GNU C library defines this for functions which it implements
17190     to always fail with ENOSYS.  Some functions are actually named
17191     something starting with __ and the normal name is an alias.  */
17192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17193 choke me
17194 #else
17195 char (*f) () = $ac_func;
17196 #endif
17197 #ifdef __cplusplus
17198 }
17199 #endif
17200
17201 int
17202 main ()
17203 {
17204 return f != $ac_func;
17205   ;
17206   return 0;
17207 }
17208 _ACEOF
17209 rm -f conftest.$ac_objext conftest$ac_exeext
17210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17211   (eval $ac_link) 2>conftest.er1
17212   ac_status=$?
17213   grep -v '^ *+' conftest.er1 >conftest.err
17214   rm -f conftest.er1
17215   cat conftest.err >&5
17216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17217   (exit $ac_status); } &&
17218          { ac_try='test -z "$ac_c_werror_flag"
17219                          || test ! -s conftest.err'
17220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17221   (eval $ac_try) 2>&5
17222   ac_status=$?
17223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17224   (exit $ac_status); }; } &&
17225          { ac_try='test -s conftest$ac_exeext'
17226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17227   (eval $ac_try) 2>&5
17228   ac_status=$?
17229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17230   (exit $ac_status); }; }; then
17231   eval "$as_ac_var=yes"
17232 else
17233   echo "$as_me: failed program was:" >&5
17234 sed 's/^/| /' conftest.$ac_ext >&5
17235
17236 eval "$as_ac_var=no"
17237 fi
17238 rm -f conftest.err conftest.$ac_objext \
17239       conftest$ac_exeext conftest.$ac_ext
17240 fi
17241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17242 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17243 if test `eval echo '${'$as_ac_var'}'` = yes; then
17244   cat >>confdefs.h <<_ACEOF
17245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17246 _ACEOF
17247
17248 fi
17249 done
17250
17251   else
17252
17253   echo "$as_me:$LINENO: checking for _powf declaration" >&5
17254 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
17255   if test x${glibcxx_cv_func__powf_use+set} != xset; then
17256     if test "${glibcxx_cv_func__powf_use+set}" = set; then
17257   echo $ECHO_N "(cached) $ECHO_C" >&6
17258 else
17259
17260
17261
17262       ac_ext=cc
17263 ac_cpp='$CXXCPP $CPPFLAGS'
17264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17267
17268       cat >conftest.$ac_ext <<_ACEOF
17269 /* confdefs.h.  */
17270 _ACEOF
17271 cat confdefs.h >>conftest.$ac_ext
17272 cat >>conftest.$ac_ext <<_ACEOF
17273 /* end confdefs.h.  */
17274 #include <math.h>
17275 int
17276 main ()
17277 {
17278  _powf(0, 0);
17279   ;
17280   return 0;
17281 }
17282 _ACEOF
17283 rm -f conftest.$ac_objext
17284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17285   (eval $ac_compile) 2>conftest.er1
17286   ac_status=$?
17287   grep -v '^ *+' conftest.er1 >conftest.err
17288   rm -f conftest.er1
17289   cat conftest.err >&5
17290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17291   (exit $ac_status); } &&
17292          { ac_try='test -z "$ac_cxx_werror_flag"
17293                          || test ! -s conftest.err'
17294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17295   (eval $ac_try) 2>&5
17296   ac_status=$?
17297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17298   (exit $ac_status); }; } &&
17299          { ac_try='test -s conftest.$ac_objext'
17300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17301   (eval $ac_try) 2>&5
17302   ac_status=$?
17303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17304   (exit $ac_status); }; }; then
17305   glibcxx_cv_func__powf_use=yes
17306 else
17307   echo "$as_me: failed program was:" >&5
17308 sed 's/^/| /' conftest.$ac_ext >&5
17309
17310 glibcxx_cv_func__powf_use=no
17311 fi
17312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17313       ac_ext=c
17314 ac_cpp='$CPP $CPPFLAGS'
17315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17318
17319
17320 fi
17321
17322   fi
17323   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
17324 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
17325
17326     if test x$glibcxx_cv_func__powf_use = x"yes"; then
17327
17328 for ac_func in _powf
17329 do
17330 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17331 echo "$as_me:$LINENO: checking for $ac_func" >&5
17332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17333 if eval "test \"\${$as_ac_var+set}\" = set"; then
17334   echo $ECHO_N "(cached) $ECHO_C" >&6
17335 else
17336   if test x$gcc_no_link = xyes; then
17337   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17339    { (exit 1); exit 1; }; }
17340 fi
17341 cat >conftest.$ac_ext <<_ACEOF
17342 /* confdefs.h.  */
17343 _ACEOF
17344 cat confdefs.h >>conftest.$ac_ext
17345 cat >>conftest.$ac_ext <<_ACEOF
17346 /* end confdefs.h.  */
17347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17348    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17349 #define $ac_func innocuous_$ac_func
17350
17351 /* System header to define __stub macros and hopefully few prototypes,
17352     which can conflict with char $ac_func (); below.
17353     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17354     <limits.h> exists even on freestanding compilers.  */
17355
17356 #ifdef __STDC__
17357 # include <limits.h>
17358 #else
17359 # include <assert.h>
17360 #endif
17361
17362 #undef $ac_func
17363
17364 /* Override any gcc2 internal prototype to avoid an error.  */
17365 #ifdef __cplusplus
17366 extern "C"
17367 {
17368 #endif
17369 /* We use char because int might match the return type of a gcc2
17370    builtin and then its argument prototype would still apply.  */
17371 char $ac_func ();
17372 /* The GNU C library defines this for functions which it implements
17373     to always fail with ENOSYS.  Some functions are actually named
17374     something starting with __ and the normal name is an alias.  */
17375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17376 choke me
17377 #else
17378 char (*f) () = $ac_func;
17379 #endif
17380 #ifdef __cplusplus
17381 }
17382 #endif
17383
17384 int
17385 main ()
17386 {
17387 return f != $ac_func;
17388   ;
17389   return 0;
17390 }
17391 _ACEOF
17392 rm -f conftest.$ac_objext conftest$ac_exeext
17393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17394   (eval $ac_link) 2>conftest.er1
17395   ac_status=$?
17396   grep -v '^ *+' conftest.er1 >conftest.err
17397   rm -f conftest.er1
17398   cat conftest.err >&5
17399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17400   (exit $ac_status); } &&
17401          { ac_try='test -z "$ac_c_werror_flag"
17402                          || test ! -s conftest.err'
17403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17404   (eval $ac_try) 2>&5
17405   ac_status=$?
17406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17407   (exit $ac_status); }; } &&
17408          { ac_try='test -s conftest$ac_exeext'
17409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17410   (eval $ac_try) 2>&5
17411   ac_status=$?
17412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17413   (exit $ac_status); }; }; then
17414   eval "$as_ac_var=yes"
17415 else
17416   echo "$as_me: failed program was:" >&5
17417 sed 's/^/| /' conftest.$ac_ext >&5
17418
17419 eval "$as_ac_var=no"
17420 fi
17421 rm -f conftest.err conftest.$ac_objext \
17422       conftest$ac_exeext conftest.$ac_ext
17423 fi
17424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17425 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17426 if test `eval echo '${'$as_ac_var'}'` = yes; then
17427   cat >>confdefs.h <<_ACEOF
17428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17429 _ACEOF
17430
17431 fi
17432 done
17433
17434     fi
17435   fi
17436
17437
17438
17439
17440
17441
17442   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
17443 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
17444   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
17445     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
17446   echo $ECHO_N "(cached) $ECHO_C" >&6
17447 else
17448
17449
17450
17451       ac_ext=cc
17452 ac_cpp='$CXXCPP $CPPFLAGS'
17453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17456
17457       cat >conftest.$ac_ext <<_ACEOF
17458 /* confdefs.h.  */
17459 _ACEOF
17460 cat confdefs.h >>conftest.$ac_ext
17461 cat >>conftest.$ac_ext <<_ACEOF
17462 /* end confdefs.h.  */
17463 #include <math.h>
17464                       #ifdef HAVE_IEEEFP_H
17465                       #include <ieeefp.h>
17466                       #endif
17467
17468 int
17469 main ()
17470 {
17471  sqrtf(0);
17472   ;
17473   return 0;
17474 }
17475 _ACEOF
17476 rm -f conftest.$ac_objext
17477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17478   (eval $ac_compile) 2>conftest.er1
17479   ac_status=$?
17480   grep -v '^ *+' conftest.er1 >conftest.err
17481   rm -f conftest.er1
17482   cat conftest.err >&5
17483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17484   (exit $ac_status); } &&
17485          { ac_try='test -z "$ac_cxx_werror_flag"
17486                          || test ! -s conftest.err'
17487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17488   (eval $ac_try) 2>&5
17489   ac_status=$?
17490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17491   (exit $ac_status); }; } &&
17492          { ac_try='test -s conftest.$ac_objext'
17493   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17494   (eval $ac_try) 2>&5
17495   ac_status=$?
17496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17497   (exit $ac_status); }; }; then
17498   glibcxx_cv_func_sqrtf_use=yes
17499 else
17500   echo "$as_me: failed program was:" >&5
17501 sed 's/^/| /' conftest.$ac_ext >&5
17502
17503 glibcxx_cv_func_sqrtf_use=no
17504 fi
17505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17506       ac_ext=c
17507 ac_cpp='$CPP $CPPFLAGS'
17508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17511
17512
17513 fi
17514
17515   fi
17516   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
17517 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
17518
17519   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
17520
17521 for ac_func in sqrtf
17522 do
17523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17524 echo "$as_me:$LINENO: checking for $ac_func" >&5
17525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17526 if eval "test \"\${$as_ac_var+set}\" = set"; then
17527   echo $ECHO_N "(cached) $ECHO_C" >&6
17528 else
17529   if test x$gcc_no_link = xyes; then
17530   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17532    { (exit 1); exit 1; }; }
17533 fi
17534 cat >conftest.$ac_ext <<_ACEOF
17535 /* confdefs.h.  */
17536 _ACEOF
17537 cat confdefs.h >>conftest.$ac_ext
17538 cat >>conftest.$ac_ext <<_ACEOF
17539 /* end confdefs.h.  */
17540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17541    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17542 #define $ac_func innocuous_$ac_func
17543
17544 /* System header to define __stub macros and hopefully few prototypes,
17545     which can conflict with char $ac_func (); below.
17546     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17547     <limits.h> exists even on freestanding compilers.  */
17548
17549 #ifdef __STDC__
17550 # include <limits.h>
17551 #else
17552 # include <assert.h>
17553 #endif
17554
17555 #undef $ac_func
17556
17557 /* Override any gcc2 internal prototype to avoid an error.  */
17558 #ifdef __cplusplus
17559 extern "C"
17560 {
17561 #endif
17562 /* We use char because int might match the return type of a gcc2
17563    builtin and then its argument prototype would still apply.  */
17564 char $ac_func ();
17565 /* The GNU C library defines this for functions which it implements
17566     to always fail with ENOSYS.  Some functions are actually named
17567     something starting with __ and the normal name is an alias.  */
17568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17569 choke me
17570 #else
17571 char (*f) () = $ac_func;
17572 #endif
17573 #ifdef __cplusplus
17574 }
17575 #endif
17576
17577 int
17578 main ()
17579 {
17580 return f != $ac_func;
17581   ;
17582   return 0;
17583 }
17584 _ACEOF
17585 rm -f conftest.$ac_objext conftest$ac_exeext
17586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17587   (eval $ac_link) 2>conftest.er1
17588   ac_status=$?
17589   grep -v '^ *+' conftest.er1 >conftest.err
17590   rm -f conftest.er1
17591   cat conftest.err >&5
17592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17593   (exit $ac_status); } &&
17594          { ac_try='test -z "$ac_c_werror_flag"
17595                          || test ! -s conftest.err'
17596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17597   (eval $ac_try) 2>&5
17598   ac_status=$?
17599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17600   (exit $ac_status); }; } &&
17601          { ac_try='test -s conftest$ac_exeext'
17602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17603   (eval $ac_try) 2>&5
17604   ac_status=$?
17605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17606   (exit $ac_status); }; }; then
17607   eval "$as_ac_var=yes"
17608 else
17609   echo "$as_me: failed program was:" >&5
17610 sed 's/^/| /' conftest.$ac_ext >&5
17611
17612 eval "$as_ac_var=no"
17613 fi
17614 rm -f conftest.err conftest.$ac_objext \
17615       conftest$ac_exeext conftest.$ac_ext
17616 fi
17617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17619 if test `eval echo '${'$as_ac_var'}'` = yes; then
17620   cat >>confdefs.h <<_ACEOF
17621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17622 _ACEOF
17623
17624 fi
17625 done
17626
17627   else
17628
17629   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
17630 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
17631   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
17632     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
17633   echo $ECHO_N "(cached) $ECHO_C" >&6
17634 else
17635
17636
17637
17638       ac_ext=cc
17639 ac_cpp='$CXXCPP $CPPFLAGS'
17640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17643
17644       cat >conftest.$ac_ext <<_ACEOF
17645 /* confdefs.h.  */
17646 _ACEOF
17647 cat confdefs.h >>conftest.$ac_ext
17648 cat >>conftest.$ac_ext <<_ACEOF
17649 /* end confdefs.h.  */
17650 #include <math.h>
17651                       #ifdef HAVE_IEEEFP_H
17652                       #include <ieeefp.h>
17653                       #endif
17654
17655 int
17656 main ()
17657 {
17658  _sqrtf(0);
17659   ;
17660   return 0;
17661 }
17662 _ACEOF
17663 rm -f conftest.$ac_objext
17664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17665   (eval $ac_compile) 2>conftest.er1
17666   ac_status=$?
17667   grep -v '^ *+' conftest.er1 >conftest.err
17668   rm -f conftest.er1
17669   cat conftest.err >&5
17670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17671   (exit $ac_status); } &&
17672          { ac_try='test -z "$ac_cxx_werror_flag"
17673                          || test ! -s conftest.err'
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); }; } &&
17679          { ac_try='test -s conftest.$ac_objext'
17680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17681   (eval $ac_try) 2>&5
17682   ac_status=$?
17683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17684   (exit $ac_status); }; }; then
17685   glibcxx_cv_func__sqrtf_use=yes
17686 else
17687   echo "$as_me: failed program was:" >&5
17688 sed 's/^/| /' conftest.$ac_ext >&5
17689
17690 glibcxx_cv_func__sqrtf_use=no
17691 fi
17692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17693       ac_ext=c
17694 ac_cpp='$CPP $CPPFLAGS'
17695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17698
17699
17700 fi
17701
17702   fi
17703   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
17704 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
17705
17706     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
17707
17708 for ac_func in _sqrtf
17709 do
17710 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17711 echo "$as_me:$LINENO: checking for $ac_func" >&5
17712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17713 if eval "test \"\${$as_ac_var+set}\" = set"; then
17714   echo $ECHO_N "(cached) $ECHO_C" >&6
17715 else
17716   if test x$gcc_no_link = xyes; then
17717   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17719    { (exit 1); exit 1; }; }
17720 fi
17721 cat >conftest.$ac_ext <<_ACEOF
17722 /* confdefs.h.  */
17723 _ACEOF
17724 cat confdefs.h >>conftest.$ac_ext
17725 cat >>conftest.$ac_ext <<_ACEOF
17726 /* end confdefs.h.  */
17727 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17728    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17729 #define $ac_func innocuous_$ac_func
17730
17731 /* System header to define __stub macros and hopefully few prototypes,
17732     which can conflict with char $ac_func (); below.
17733     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17734     <limits.h> exists even on freestanding compilers.  */
17735
17736 #ifdef __STDC__
17737 # include <limits.h>
17738 #else
17739 # include <assert.h>
17740 #endif
17741
17742 #undef $ac_func
17743
17744 /* Override any gcc2 internal prototype to avoid an error.  */
17745 #ifdef __cplusplus
17746 extern "C"
17747 {
17748 #endif
17749 /* We use char because int might match the return type of a gcc2
17750    builtin and then its argument prototype would still apply.  */
17751 char $ac_func ();
17752 /* The GNU C library defines this for functions which it implements
17753     to always fail with ENOSYS.  Some functions are actually named
17754     something starting with __ and the normal name is an alias.  */
17755 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17756 choke me
17757 #else
17758 char (*f) () = $ac_func;
17759 #endif
17760 #ifdef __cplusplus
17761 }
17762 #endif
17763
17764 int
17765 main ()
17766 {
17767 return f != $ac_func;
17768   ;
17769   return 0;
17770 }
17771 _ACEOF
17772 rm -f conftest.$ac_objext conftest$ac_exeext
17773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17774   (eval $ac_link) 2>conftest.er1
17775   ac_status=$?
17776   grep -v '^ *+' conftest.er1 >conftest.err
17777   rm -f conftest.er1
17778   cat conftest.err >&5
17779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17780   (exit $ac_status); } &&
17781          { ac_try='test -z "$ac_c_werror_flag"
17782                          || test ! -s conftest.err'
17783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17784   (eval $ac_try) 2>&5
17785   ac_status=$?
17786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17787   (exit $ac_status); }; } &&
17788          { ac_try='test -s conftest$ac_exeext'
17789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17790   (eval $ac_try) 2>&5
17791   ac_status=$?
17792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17793   (exit $ac_status); }; }; then
17794   eval "$as_ac_var=yes"
17795 else
17796   echo "$as_me: failed program was:" >&5
17797 sed 's/^/| /' conftest.$ac_ext >&5
17798
17799 eval "$as_ac_var=no"
17800 fi
17801 rm -f conftest.err conftest.$ac_objext \
17802       conftest$ac_exeext conftest.$ac_ext
17803 fi
17804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17805 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17806 if test `eval echo '${'$as_ac_var'}'` = yes; then
17807   cat >>confdefs.h <<_ACEOF
17808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17809 _ACEOF
17810
17811 fi
17812 done
17813
17814     fi
17815   fi
17816
17817
17818
17819
17820
17821
17822   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
17823 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
17824   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
17825     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
17826   echo $ECHO_N "(cached) $ECHO_C" >&6
17827 else
17828
17829
17830
17831       ac_ext=cc
17832 ac_cpp='$CXXCPP $CPPFLAGS'
17833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17836
17837       cat >conftest.$ac_ext <<_ACEOF
17838 /* confdefs.h.  */
17839 _ACEOF
17840 cat confdefs.h >>conftest.$ac_ext
17841 cat >>conftest.$ac_ext <<_ACEOF
17842 /* end confdefs.h.  */
17843 #include <math.h>
17844 int
17845 main ()
17846 {
17847  sincosf(0, 0, 0);
17848   ;
17849   return 0;
17850 }
17851 _ACEOF
17852 rm -f conftest.$ac_objext
17853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17854   (eval $ac_compile) 2>conftest.er1
17855   ac_status=$?
17856   grep -v '^ *+' conftest.er1 >conftest.err
17857   rm -f conftest.er1
17858   cat conftest.err >&5
17859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17860   (exit $ac_status); } &&
17861          { ac_try='test -z "$ac_cxx_werror_flag"
17862                          || test ! -s conftest.err'
17863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17864   (eval $ac_try) 2>&5
17865   ac_status=$?
17866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867   (exit $ac_status); }; } &&
17868          { ac_try='test -s conftest.$ac_objext'
17869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17870   (eval $ac_try) 2>&5
17871   ac_status=$?
17872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17873   (exit $ac_status); }; }; then
17874   glibcxx_cv_func_sincosf_use=yes
17875 else
17876   echo "$as_me: failed program was:" >&5
17877 sed 's/^/| /' conftest.$ac_ext >&5
17878
17879 glibcxx_cv_func_sincosf_use=no
17880 fi
17881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17882       ac_ext=c
17883 ac_cpp='$CPP $CPPFLAGS'
17884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17887
17888
17889 fi
17890
17891   fi
17892   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
17893 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
17894
17895   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
17896
17897 for ac_func in sincosf
17898 do
17899 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17900 echo "$as_me:$LINENO: checking for $ac_func" >&5
17901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17902 if eval "test \"\${$as_ac_var+set}\" = set"; then
17903   echo $ECHO_N "(cached) $ECHO_C" >&6
17904 else
17905   if test x$gcc_no_link = xyes; then
17906   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17908    { (exit 1); exit 1; }; }
17909 fi
17910 cat >conftest.$ac_ext <<_ACEOF
17911 /* confdefs.h.  */
17912 _ACEOF
17913 cat confdefs.h >>conftest.$ac_ext
17914 cat >>conftest.$ac_ext <<_ACEOF
17915 /* end confdefs.h.  */
17916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17917    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17918 #define $ac_func innocuous_$ac_func
17919
17920 /* System header to define __stub macros and hopefully few prototypes,
17921     which can conflict with char $ac_func (); below.
17922     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17923     <limits.h> exists even on freestanding compilers.  */
17924
17925 #ifdef __STDC__
17926 # include <limits.h>
17927 #else
17928 # include <assert.h>
17929 #endif
17930
17931 #undef $ac_func
17932
17933 /* Override any gcc2 internal prototype to avoid an error.  */
17934 #ifdef __cplusplus
17935 extern "C"
17936 {
17937 #endif
17938 /* We use char because int might match the return type of a gcc2
17939    builtin and then its argument prototype would still apply.  */
17940 char $ac_func ();
17941 /* The GNU C library defines this for functions which it implements
17942     to always fail with ENOSYS.  Some functions are actually named
17943     something starting with __ and the normal name is an alias.  */
17944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17945 choke me
17946 #else
17947 char (*f) () = $ac_func;
17948 #endif
17949 #ifdef __cplusplus
17950 }
17951 #endif
17952
17953 int
17954 main ()
17955 {
17956 return f != $ac_func;
17957   ;
17958   return 0;
17959 }
17960 _ACEOF
17961 rm -f conftest.$ac_objext conftest$ac_exeext
17962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17963   (eval $ac_link) 2>conftest.er1
17964   ac_status=$?
17965   grep -v '^ *+' conftest.er1 >conftest.err
17966   rm -f conftest.er1
17967   cat conftest.err >&5
17968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17969   (exit $ac_status); } &&
17970          { ac_try='test -z "$ac_c_werror_flag"
17971                          || test ! -s conftest.err'
17972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17973   (eval $ac_try) 2>&5
17974   ac_status=$?
17975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17976   (exit $ac_status); }; } &&
17977          { ac_try='test -s conftest$ac_exeext'
17978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17979   (eval $ac_try) 2>&5
17980   ac_status=$?
17981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17982   (exit $ac_status); }; }; then
17983   eval "$as_ac_var=yes"
17984 else
17985   echo "$as_me: failed program was:" >&5
17986 sed 's/^/| /' conftest.$ac_ext >&5
17987
17988 eval "$as_ac_var=no"
17989 fi
17990 rm -f conftest.err conftest.$ac_objext \
17991       conftest$ac_exeext conftest.$ac_ext
17992 fi
17993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17995 if test `eval echo '${'$as_ac_var'}'` = yes; then
17996   cat >>confdefs.h <<_ACEOF
17997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17998 _ACEOF
17999
18000 fi
18001 done
18002
18003   else
18004
18005   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
18006 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
18007   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
18008     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
18009   echo $ECHO_N "(cached) $ECHO_C" >&6
18010 else
18011
18012
18013
18014       ac_ext=cc
18015 ac_cpp='$CXXCPP $CPPFLAGS'
18016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18019
18020       cat >conftest.$ac_ext <<_ACEOF
18021 /* confdefs.h.  */
18022 _ACEOF
18023 cat confdefs.h >>conftest.$ac_ext
18024 cat >>conftest.$ac_ext <<_ACEOF
18025 /* end confdefs.h.  */
18026 #include <math.h>
18027 int
18028 main ()
18029 {
18030  _sincosf(0, 0, 0);
18031   ;
18032   return 0;
18033 }
18034 _ACEOF
18035 rm -f conftest.$ac_objext
18036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18037   (eval $ac_compile) 2>conftest.er1
18038   ac_status=$?
18039   grep -v '^ *+' conftest.er1 >conftest.err
18040   rm -f conftest.er1
18041   cat conftest.err >&5
18042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18043   (exit $ac_status); } &&
18044          { ac_try='test -z "$ac_cxx_werror_flag"
18045                          || test ! -s conftest.err'
18046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18047   (eval $ac_try) 2>&5
18048   ac_status=$?
18049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18050   (exit $ac_status); }; } &&
18051          { ac_try='test -s conftest.$ac_objext'
18052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18053   (eval $ac_try) 2>&5
18054   ac_status=$?
18055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18056   (exit $ac_status); }; }; then
18057   glibcxx_cv_func__sincosf_use=yes
18058 else
18059   echo "$as_me: failed program was:" >&5
18060 sed 's/^/| /' conftest.$ac_ext >&5
18061
18062 glibcxx_cv_func__sincosf_use=no
18063 fi
18064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18065       ac_ext=c
18066 ac_cpp='$CPP $CPPFLAGS'
18067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18070
18071
18072 fi
18073
18074   fi
18075   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
18076 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
18077
18078     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
18079
18080 for ac_func in _sincosf
18081 do
18082 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18083 echo "$as_me:$LINENO: checking for $ac_func" >&5
18084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18085 if eval "test \"\${$as_ac_var+set}\" = set"; then
18086   echo $ECHO_N "(cached) $ECHO_C" >&6
18087 else
18088   if test x$gcc_no_link = xyes; then
18089   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18091    { (exit 1); exit 1; }; }
18092 fi
18093 cat >conftest.$ac_ext <<_ACEOF
18094 /* confdefs.h.  */
18095 _ACEOF
18096 cat confdefs.h >>conftest.$ac_ext
18097 cat >>conftest.$ac_ext <<_ACEOF
18098 /* end confdefs.h.  */
18099 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18100    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18101 #define $ac_func innocuous_$ac_func
18102
18103 /* System header to define __stub macros and hopefully few prototypes,
18104     which can conflict with char $ac_func (); below.
18105     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18106     <limits.h> exists even on freestanding compilers.  */
18107
18108 #ifdef __STDC__
18109 # include <limits.h>
18110 #else
18111 # include <assert.h>
18112 #endif
18113
18114 #undef $ac_func
18115
18116 /* Override any gcc2 internal prototype to avoid an error.  */
18117 #ifdef __cplusplus
18118 extern "C"
18119 {
18120 #endif
18121 /* We use char because int might match the return type of a gcc2
18122    builtin and then its argument prototype would still apply.  */
18123 char $ac_func ();
18124 /* The GNU C library defines this for functions which it implements
18125     to always fail with ENOSYS.  Some functions are actually named
18126     something starting with __ and the normal name is an alias.  */
18127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18128 choke me
18129 #else
18130 char (*f) () = $ac_func;
18131 #endif
18132 #ifdef __cplusplus
18133 }
18134 #endif
18135
18136 int
18137 main ()
18138 {
18139 return f != $ac_func;
18140   ;
18141   return 0;
18142 }
18143 _ACEOF
18144 rm -f conftest.$ac_objext conftest$ac_exeext
18145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18146   (eval $ac_link) 2>conftest.er1
18147   ac_status=$?
18148   grep -v '^ *+' conftest.er1 >conftest.err
18149   rm -f conftest.er1
18150   cat conftest.err >&5
18151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18152   (exit $ac_status); } &&
18153          { ac_try='test -z "$ac_c_werror_flag"
18154                          || test ! -s conftest.err'
18155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18156   (eval $ac_try) 2>&5
18157   ac_status=$?
18158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18159   (exit $ac_status); }; } &&
18160          { ac_try='test -s conftest$ac_exeext'
18161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18162   (eval $ac_try) 2>&5
18163   ac_status=$?
18164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18165   (exit $ac_status); }; }; then
18166   eval "$as_ac_var=yes"
18167 else
18168   echo "$as_me: failed program was:" >&5
18169 sed 's/^/| /' conftest.$ac_ext >&5
18170
18171 eval "$as_ac_var=no"
18172 fi
18173 rm -f conftest.err conftest.$ac_objext \
18174       conftest$ac_exeext conftest.$ac_ext
18175 fi
18176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18177 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18178 if test `eval echo '${'$as_ac_var'}'` = yes; then
18179   cat >>confdefs.h <<_ACEOF
18180 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18181 _ACEOF
18182
18183 fi
18184 done
18185
18186     fi
18187   fi
18188
18189
18190
18191
18192
18193
18194   echo "$as_me:$LINENO: checking for finitef declaration" >&5
18195 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
18196   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
18197     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
18198   echo $ECHO_N "(cached) $ECHO_C" >&6
18199 else
18200
18201
18202
18203       ac_ext=cc
18204 ac_cpp='$CXXCPP $CPPFLAGS'
18205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18208
18209       cat >conftest.$ac_ext <<_ACEOF
18210 /* confdefs.h.  */
18211 _ACEOF
18212 cat confdefs.h >>conftest.$ac_ext
18213 cat >>conftest.$ac_ext <<_ACEOF
18214 /* end confdefs.h.  */
18215 #include <math.h>
18216                       #ifdef HAVE_IEEEFP_H
18217                       #include <ieeefp.h>
18218                       #endif
18219
18220 int
18221 main ()
18222 {
18223  finitef(0);
18224   ;
18225   return 0;
18226 }
18227 _ACEOF
18228 rm -f conftest.$ac_objext
18229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18230   (eval $ac_compile) 2>conftest.er1
18231   ac_status=$?
18232   grep -v '^ *+' conftest.er1 >conftest.err
18233   rm -f conftest.er1
18234   cat conftest.err >&5
18235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18236   (exit $ac_status); } &&
18237          { ac_try='test -z "$ac_cxx_werror_flag"
18238                          || test ! -s conftest.err'
18239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18240   (eval $ac_try) 2>&5
18241   ac_status=$?
18242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18243   (exit $ac_status); }; } &&
18244          { ac_try='test -s conftest.$ac_objext'
18245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18246   (eval $ac_try) 2>&5
18247   ac_status=$?
18248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18249   (exit $ac_status); }; }; then
18250   glibcxx_cv_func_finitef_use=yes
18251 else
18252   echo "$as_me: failed program was:" >&5
18253 sed 's/^/| /' conftest.$ac_ext >&5
18254
18255 glibcxx_cv_func_finitef_use=no
18256 fi
18257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18258       ac_ext=c
18259 ac_cpp='$CPP $CPPFLAGS'
18260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18263
18264
18265 fi
18266
18267   fi
18268   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
18269 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
18270
18271   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
18272
18273 for ac_func in finitef
18274 do
18275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18276 echo "$as_me:$LINENO: checking for $ac_func" >&5
18277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18278 if eval "test \"\${$as_ac_var+set}\" = set"; then
18279   echo $ECHO_N "(cached) $ECHO_C" >&6
18280 else
18281   if test x$gcc_no_link = xyes; then
18282   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18284    { (exit 1); exit 1; }; }
18285 fi
18286 cat >conftest.$ac_ext <<_ACEOF
18287 /* confdefs.h.  */
18288 _ACEOF
18289 cat confdefs.h >>conftest.$ac_ext
18290 cat >>conftest.$ac_ext <<_ACEOF
18291 /* end confdefs.h.  */
18292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18293    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18294 #define $ac_func innocuous_$ac_func
18295
18296 /* System header to define __stub macros and hopefully few prototypes,
18297     which can conflict with char $ac_func (); below.
18298     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18299     <limits.h> exists even on freestanding compilers.  */
18300
18301 #ifdef __STDC__
18302 # include <limits.h>
18303 #else
18304 # include <assert.h>
18305 #endif
18306
18307 #undef $ac_func
18308
18309 /* Override any gcc2 internal prototype to avoid an error.  */
18310 #ifdef __cplusplus
18311 extern "C"
18312 {
18313 #endif
18314 /* We use char because int might match the return type of a gcc2
18315    builtin and then its argument prototype would still apply.  */
18316 char $ac_func ();
18317 /* The GNU C library defines this for functions which it implements
18318     to always fail with ENOSYS.  Some functions are actually named
18319     something starting with __ and the normal name is an alias.  */
18320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18321 choke me
18322 #else
18323 char (*f) () = $ac_func;
18324 #endif
18325 #ifdef __cplusplus
18326 }
18327 #endif
18328
18329 int
18330 main ()
18331 {
18332 return f != $ac_func;
18333   ;
18334   return 0;
18335 }
18336 _ACEOF
18337 rm -f conftest.$ac_objext conftest$ac_exeext
18338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18339   (eval $ac_link) 2>conftest.er1
18340   ac_status=$?
18341   grep -v '^ *+' conftest.er1 >conftest.err
18342   rm -f conftest.er1
18343   cat conftest.err >&5
18344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18345   (exit $ac_status); } &&
18346          { ac_try='test -z "$ac_c_werror_flag"
18347                          || test ! -s conftest.err'
18348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18349   (eval $ac_try) 2>&5
18350   ac_status=$?
18351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18352   (exit $ac_status); }; } &&
18353          { ac_try='test -s conftest$ac_exeext'
18354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18355   (eval $ac_try) 2>&5
18356   ac_status=$?
18357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18358   (exit $ac_status); }; }; then
18359   eval "$as_ac_var=yes"
18360 else
18361   echo "$as_me: failed program was:" >&5
18362 sed 's/^/| /' conftest.$ac_ext >&5
18363
18364 eval "$as_ac_var=no"
18365 fi
18366 rm -f conftest.err conftest.$ac_objext \
18367       conftest$ac_exeext conftest.$ac_ext
18368 fi
18369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18370 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18371 if test `eval echo '${'$as_ac_var'}'` = yes; then
18372   cat >>confdefs.h <<_ACEOF
18373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18374 _ACEOF
18375
18376 fi
18377 done
18378
18379   else
18380
18381   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
18382 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
18383   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
18384     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
18385   echo $ECHO_N "(cached) $ECHO_C" >&6
18386 else
18387
18388
18389
18390       ac_ext=cc
18391 ac_cpp='$CXXCPP $CPPFLAGS'
18392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18395
18396       cat >conftest.$ac_ext <<_ACEOF
18397 /* confdefs.h.  */
18398 _ACEOF
18399 cat confdefs.h >>conftest.$ac_ext
18400 cat >>conftest.$ac_ext <<_ACEOF
18401 /* end confdefs.h.  */
18402 #include <math.h>
18403                       #ifdef HAVE_IEEEFP_H
18404                       #include <ieeefp.h>
18405                       #endif
18406
18407 int
18408 main ()
18409 {
18410  _finitef(0);
18411   ;
18412   return 0;
18413 }
18414 _ACEOF
18415 rm -f conftest.$ac_objext
18416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18417   (eval $ac_compile) 2>conftest.er1
18418   ac_status=$?
18419   grep -v '^ *+' conftest.er1 >conftest.err
18420   rm -f conftest.er1
18421   cat conftest.err >&5
18422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18423   (exit $ac_status); } &&
18424          { ac_try='test -z "$ac_cxx_werror_flag"
18425                          || test ! -s conftest.err'
18426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18427   (eval $ac_try) 2>&5
18428   ac_status=$?
18429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18430   (exit $ac_status); }; } &&
18431          { ac_try='test -s conftest.$ac_objext'
18432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18433   (eval $ac_try) 2>&5
18434   ac_status=$?
18435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18436   (exit $ac_status); }; }; then
18437   glibcxx_cv_func__finitef_use=yes
18438 else
18439   echo "$as_me: failed program was:" >&5
18440 sed 's/^/| /' conftest.$ac_ext >&5
18441
18442 glibcxx_cv_func__finitef_use=no
18443 fi
18444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18445       ac_ext=c
18446 ac_cpp='$CPP $CPPFLAGS'
18447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18450
18451
18452 fi
18453
18454   fi
18455   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
18456 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
18457
18458     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
18459
18460 for ac_func in _finitef
18461 do
18462 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18463 echo "$as_me:$LINENO: checking for $ac_func" >&5
18464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18465 if eval "test \"\${$as_ac_var+set}\" = set"; then
18466   echo $ECHO_N "(cached) $ECHO_C" >&6
18467 else
18468   if test x$gcc_no_link = xyes; then
18469   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18471    { (exit 1); exit 1; }; }
18472 fi
18473 cat >conftest.$ac_ext <<_ACEOF
18474 /* confdefs.h.  */
18475 _ACEOF
18476 cat confdefs.h >>conftest.$ac_ext
18477 cat >>conftest.$ac_ext <<_ACEOF
18478 /* end confdefs.h.  */
18479 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18480    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18481 #define $ac_func innocuous_$ac_func
18482
18483 /* System header to define __stub macros and hopefully few prototypes,
18484     which can conflict with char $ac_func (); below.
18485     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18486     <limits.h> exists even on freestanding compilers.  */
18487
18488 #ifdef __STDC__
18489 # include <limits.h>
18490 #else
18491 # include <assert.h>
18492 #endif
18493
18494 #undef $ac_func
18495
18496 /* Override any gcc2 internal prototype to avoid an error.  */
18497 #ifdef __cplusplus
18498 extern "C"
18499 {
18500 #endif
18501 /* We use char because int might match the return type of a gcc2
18502    builtin and then its argument prototype would still apply.  */
18503 char $ac_func ();
18504 /* The GNU C library defines this for functions which it implements
18505     to always fail with ENOSYS.  Some functions are actually named
18506     something starting with __ and the normal name is an alias.  */
18507 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18508 choke me
18509 #else
18510 char (*f) () = $ac_func;
18511 #endif
18512 #ifdef __cplusplus
18513 }
18514 #endif
18515
18516 int
18517 main ()
18518 {
18519 return f != $ac_func;
18520   ;
18521   return 0;
18522 }
18523 _ACEOF
18524 rm -f conftest.$ac_objext conftest$ac_exeext
18525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18526   (eval $ac_link) 2>conftest.er1
18527   ac_status=$?
18528   grep -v '^ *+' conftest.er1 >conftest.err
18529   rm -f conftest.er1
18530   cat conftest.err >&5
18531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18532   (exit $ac_status); } &&
18533          { ac_try='test -z "$ac_c_werror_flag"
18534                          || test ! -s conftest.err'
18535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18536   (eval $ac_try) 2>&5
18537   ac_status=$?
18538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18539   (exit $ac_status); }; } &&
18540          { ac_try='test -s conftest$ac_exeext'
18541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18542   (eval $ac_try) 2>&5
18543   ac_status=$?
18544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18545   (exit $ac_status); }; }; then
18546   eval "$as_ac_var=yes"
18547 else
18548   echo "$as_me: failed program was:" >&5
18549 sed 's/^/| /' conftest.$ac_ext >&5
18550
18551 eval "$as_ac_var=no"
18552 fi
18553 rm -f conftest.err conftest.$ac_objext \
18554       conftest$ac_exeext conftest.$ac_ext
18555 fi
18556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18557 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18558 if test `eval echo '${'$as_ac_var'}'` = yes; then
18559   cat >>confdefs.h <<_ACEOF
18560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18561 _ACEOF
18562
18563 fi
18564 done
18565
18566     fi
18567   fi
18568
18569
18570
18571
18572
18573
18574     echo "$as_me:$LINENO: checking for long double trig functions" >&5
18575 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
18576   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
18577   echo $ECHO_N "(cached) $ECHO_C" >&6
18578 else
18579
18580
18581
18582     ac_ext=cc
18583 ac_cpp='$CXXCPP $CPPFLAGS'
18584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18587
18588     cat >conftest.$ac_ext <<_ACEOF
18589 /* confdefs.h.  */
18590 _ACEOF
18591 cat confdefs.h >>conftest.$ac_ext
18592 cat >>conftest.$ac_ext <<_ACEOF
18593 /* end confdefs.h.  */
18594 #include <math.h>
18595 int
18596 main ()
18597 {
18598 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
18599   ;
18600   return 0;
18601 }
18602 _ACEOF
18603 rm -f conftest.$ac_objext
18604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18605   (eval $ac_compile) 2>conftest.er1
18606   ac_status=$?
18607   grep -v '^ *+' conftest.er1 >conftest.err
18608   rm -f conftest.er1
18609   cat conftest.err >&5
18610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18611   (exit $ac_status); } &&
18612          { ac_try='test -z "$ac_cxx_werror_flag"
18613                          || test ! -s conftest.err'
18614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18615   (eval $ac_try) 2>&5
18616   ac_status=$?
18617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18618   (exit $ac_status); }; } &&
18619          { ac_try='test -s conftest.$ac_objext'
18620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18621   (eval $ac_try) 2>&5
18622   ac_status=$?
18623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18624   (exit $ac_status); }; }; then
18625   glibcxx_cv_func_long_double_trig_use=yes
18626 else
18627   echo "$as_me: failed program was:" >&5
18628 sed 's/^/| /' conftest.$ac_ext >&5
18629
18630 glibcxx_cv_func_long_double_trig_use=no
18631 fi
18632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18633     ac_ext=c
18634 ac_cpp='$CPP $CPPFLAGS'
18635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18638
18639 fi
18640
18641   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
18642 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
18643   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
18644
18645
18646
18647
18648
18649
18650
18651
18652
18653 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
18654 do
18655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18656 echo "$as_me:$LINENO: checking for $ac_func" >&5
18657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18658 if eval "test \"\${$as_ac_var+set}\" = set"; then
18659   echo $ECHO_N "(cached) $ECHO_C" >&6
18660 else
18661   if test x$gcc_no_link = xyes; then
18662   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18664    { (exit 1); exit 1; }; }
18665 fi
18666 cat >conftest.$ac_ext <<_ACEOF
18667 /* confdefs.h.  */
18668 _ACEOF
18669 cat confdefs.h >>conftest.$ac_ext
18670 cat >>conftest.$ac_ext <<_ACEOF
18671 /* end confdefs.h.  */
18672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18673    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18674 #define $ac_func innocuous_$ac_func
18675
18676 /* System header to define __stub macros and hopefully few prototypes,
18677     which can conflict with char $ac_func (); below.
18678     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18679     <limits.h> exists even on freestanding compilers.  */
18680
18681 #ifdef __STDC__
18682 # include <limits.h>
18683 #else
18684 # include <assert.h>
18685 #endif
18686
18687 #undef $ac_func
18688
18689 /* Override any gcc2 internal prototype to avoid an error.  */
18690 #ifdef __cplusplus
18691 extern "C"
18692 {
18693 #endif
18694 /* We use char because int might match the return type of a gcc2
18695    builtin and then its argument prototype would still apply.  */
18696 char $ac_func ();
18697 /* The GNU C library defines this for functions which it implements
18698     to always fail with ENOSYS.  Some functions are actually named
18699     something starting with __ and the normal name is an alias.  */
18700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18701 choke me
18702 #else
18703 char (*f) () = $ac_func;
18704 #endif
18705 #ifdef __cplusplus
18706 }
18707 #endif
18708
18709 int
18710 main ()
18711 {
18712 return f != $ac_func;
18713   ;
18714   return 0;
18715 }
18716 _ACEOF
18717 rm -f conftest.$ac_objext conftest$ac_exeext
18718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18719   (eval $ac_link) 2>conftest.er1
18720   ac_status=$?
18721   grep -v '^ *+' conftest.er1 >conftest.err
18722   rm -f conftest.er1
18723   cat conftest.err >&5
18724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18725   (exit $ac_status); } &&
18726          { ac_try='test -z "$ac_c_werror_flag"
18727                          || test ! -s conftest.err'
18728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18729   (eval $ac_try) 2>&5
18730   ac_status=$?
18731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18732   (exit $ac_status); }; } &&
18733          { ac_try='test -s conftest$ac_exeext'
18734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18735   (eval $ac_try) 2>&5
18736   ac_status=$?
18737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18738   (exit $ac_status); }; }; then
18739   eval "$as_ac_var=yes"
18740 else
18741   echo "$as_me: failed program was:" >&5
18742 sed 's/^/| /' conftest.$ac_ext >&5
18743
18744 eval "$as_ac_var=no"
18745 fi
18746 rm -f conftest.err conftest.$ac_objext \
18747       conftest$ac_exeext conftest.$ac_ext
18748 fi
18749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18751 if test `eval echo '${'$as_ac_var'}'` = yes; then
18752   cat >>confdefs.h <<_ACEOF
18753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18754 _ACEOF
18755
18756 fi
18757 done
18758
18759   else
18760     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
18761 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
18762     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
18763   echo $ECHO_N "(cached) $ECHO_C" >&6
18764 else
18765
18766
18767
18768       ac_ext=cc
18769 ac_cpp='$CXXCPP $CPPFLAGS'
18770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18773
18774       cat >conftest.$ac_ext <<_ACEOF
18775 /* confdefs.h.  */
18776 _ACEOF
18777 cat confdefs.h >>conftest.$ac_ext
18778 cat >>conftest.$ac_ext <<_ACEOF
18779 /* end confdefs.h.  */
18780 #include <math.h>
18781 int
18782 main ()
18783 {
18784 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
18785   ;
18786   return 0;
18787 }
18788 _ACEOF
18789 rm -f conftest.$ac_objext
18790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18791   (eval $ac_compile) 2>conftest.er1
18792   ac_status=$?
18793   grep -v '^ *+' conftest.er1 >conftest.err
18794   rm -f conftest.er1
18795   cat conftest.err >&5
18796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18797   (exit $ac_status); } &&
18798          { ac_try='test -z "$ac_cxx_werror_flag"
18799                          || test ! -s conftest.err'
18800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18801   (eval $ac_try) 2>&5
18802   ac_status=$?
18803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18804   (exit $ac_status); }; } &&
18805          { ac_try='test -s conftest.$ac_objext'
18806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18807   (eval $ac_try) 2>&5
18808   ac_status=$?
18809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18810   (exit $ac_status); }; }; then
18811   glibcxx_cv_func__long_double_trig_use=yes
18812 else
18813   echo "$as_me: failed program was:" >&5
18814 sed 's/^/| /' conftest.$ac_ext >&5
18815
18816 glibcxx_cv_func__long_double_trig_use=no
18817 fi
18818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18819       ac_ext=c
18820 ac_cpp='$CPP $CPPFLAGS'
18821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18824
18825 fi
18826
18827     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
18828 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
18829     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
18830
18831
18832
18833
18834
18835
18836
18837
18838
18839 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
18840 do
18841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18842 echo "$as_me:$LINENO: checking for $ac_func" >&5
18843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18844 if eval "test \"\${$as_ac_var+set}\" = set"; then
18845   echo $ECHO_N "(cached) $ECHO_C" >&6
18846 else
18847   if test x$gcc_no_link = xyes; then
18848   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18850    { (exit 1); exit 1; }; }
18851 fi
18852 cat >conftest.$ac_ext <<_ACEOF
18853 /* confdefs.h.  */
18854 _ACEOF
18855 cat confdefs.h >>conftest.$ac_ext
18856 cat >>conftest.$ac_ext <<_ACEOF
18857 /* end confdefs.h.  */
18858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18859    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18860 #define $ac_func innocuous_$ac_func
18861
18862 /* System header to define __stub macros and hopefully few prototypes,
18863     which can conflict with char $ac_func (); below.
18864     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18865     <limits.h> exists even on freestanding compilers.  */
18866
18867 #ifdef __STDC__
18868 # include <limits.h>
18869 #else
18870 # include <assert.h>
18871 #endif
18872
18873 #undef $ac_func
18874
18875 /* Override any gcc2 internal prototype to avoid an error.  */
18876 #ifdef __cplusplus
18877 extern "C"
18878 {
18879 #endif
18880 /* We use char because int might match the return type of a gcc2
18881    builtin and then its argument prototype would still apply.  */
18882 char $ac_func ();
18883 /* The GNU C library defines this for functions which it implements
18884     to always fail with ENOSYS.  Some functions are actually named
18885     something starting with __ and the normal name is an alias.  */
18886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18887 choke me
18888 #else
18889 char (*f) () = $ac_func;
18890 #endif
18891 #ifdef __cplusplus
18892 }
18893 #endif
18894
18895 int
18896 main ()
18897 {
18898 return f != $ac_func;
18899   ;
18900   return 0;
18901 }
18902 _ACEOF
18903 rm -f conftest.$ac_objext conftest$ac_exeext
18904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18905   (eval $ac_link) 2>conftest.er1
18906   ac_status=$?
18907   grep -v '^ *+' conftest.er1 >conftest.err
18908   rm -f conftest.er1
18909   cat conftest.err >&5
18910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18911   (exit $ac_status); } &&
18912          { ac_try='test -z "$ac_c_werror_flag"
18913                          || test ! -s conftest.err'
18914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18915   (eval $ac_try) 2>&5
18916   ac_status=$?
18917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18918   (exit $ac_status); }; } &&
18919          { ac_try='test -s conftest$ac_exeext'
18920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18921   (eval $ac_try) 2>&5
18922   ac_status=$?
18923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18924   (exit $ac_status); }; }; then
18925   eval "$as_ac_var=yes"
18926 else
18927   echo "$as_me: failed program was:" >&5
18928 sed 's/^/| /' conftest.$ac_ext >&5
18929
18930 eval "$as_ac_var=no"
18931 fi
18932 rm -f conftest.err conftest.$ac_objext \
18933       conftest$ac_exeext conftest.$ac_ext
18934 fi
18935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18937 if test `eval echo '${'$as_ac_var'}'` = yes; then
18938   cat >>confdefs.h <<_ACEOF
18939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18940 _ACEOF
18941
18942 fi
18943 done
18944
18945     fi
18946   fi
18947
18948
18949
18950
18951
18952
18953
18954
18955
18956
18957
18958
18959
18960
18961     echo "$as_me:$LINENO: checking for long double round functions" >&5
18962 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
18963   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
18964   echo $ECHO_N "(cached) $ECHO_C" >&6
18965 else
18966
18967
18968
18969     ac_ext=cc
18970 ac_cpp='$CXXCPP $CPPFLAGS'
18971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18974
18975     cat >conftest.$ac_ext <<_ACEOF
18976 /* confdefs.h.  */
18977 _ACEOF
18978 cat confdefs.h >>conftest.$ac_ext
18979 cat >>conftest.$ac_ext <<_ACEOF
18980 /* end confdefs.h.  */
18981 #include <math.h>
18982 int
18983 main ()
18984 {
18985 ceill (0); floorl (0);
18986   ;
18987   return 0;
18988 }
18989 _ACEOF
18990 rm -f conftest.$ac_objext
18991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18992   (eval $ac_compile) 2>conftest.er1
18993   ac_status=$?
18994   grep -v '^ *+' conftest.er1 >conftest.err
18995   rm -f conftest.er1
18996   cat conftest.err >&5
18997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18998   (exit $ac_status); } &&
18999          { ac_try='test -z "$ac_cxx_werror_flag"
19000                          || test ! -s conftest.err'
19001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19002   (eval $ac_try) 2>&5
19003   ac_status=$?
19004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19005   (exit $ac_status); }; } &&
19006          { ac_try='test -s conftest.$ac_objext'
19007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19008   (eval $ac_try) 2>&5
19009   ac_status=$?
19010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19011   (exit $ac_status); }; }; then
19012   glibcxx_cv_func_long_double_round_use=yes
19013 else
19014   echo "$as_me: failed program was:" >&5
19015 sed 's/^/| /' conftest.$ac_ext >&5
19016
19017 glibcxx_cv_func_long_double_round_use=no
19018 fi
19019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19020     ac_ext=c
19021 ac_cpp='$CPP $CPPFLAGS'
19022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19025
19026 fi
19027
19028   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
19029 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
19030   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
19031
19032
19033 for ac_func in ceill floorl
19034 do
19035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19036 echo "$as_me:$LINENO: checking for $ac_func" >&5
19037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19038 if eval "test \"\${$as_ac_var+set}\" = set"; then
19039   echo $ECHO_N "(cached) $ECHO_C" >&6
19040 else
19041   if test x$gcc_no_link = xyes; then
19042   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19044    { (exit 1); exit 1; }; }
19045 fi
19046 cat >conftest.$ac_ext <<_ACEOF
19047 /* confdefs.h.  */
19048 _ACEOF
19049 cat confdefs.h >>conftest.$ac_ext
19050 cat >>conftest.$ac_ext <<_ACEOF
19051 /* end confdefs.h.  */
19052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19053    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19054 #define $ac_func innocuous_$ac_func
19055
19056 /* System header to define __stub macros and hopefully few prototypes,
19057     which can conflict with char $ac_func (); below.
19058     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19059     <limits.h> exists even on freestanding compilers.  */
19060
19061 #ifdef __STDC__
19062 # include <limits.h>
19063 #else
19064 # include <assert.h>
19065 #endif
19066
19067 #undef $ac_func
19068
19069 /* Override any gcc2 internal prototype to avoid an error.  */
19070 #ifdef __cplusplus
19071 extern "C"
19072 {
19073 #endif
19074 /* We use char because int might match the return type of a gcc2
19075    builtin and then its argument prototype would still apply.  */
19076 char $ac_func ();
19077 /* The GNU C library defines this for functions which it implements
19078     to always fail with ENOSYS.  Some functions are actually named
19079     something starting with __ and the normal name is an alias.  */
19080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19081 choke me
19082 #else
19083 char (*f) () = $ac_func;
19084 #endif
19085 #ifdef __cplusplus
19086 }
19087 #endif
19088
19089 int
19090 main ()
19091 {
19092 return f != $ac_func;
19093   ;
19094   return 0;
19095 }
19096 _ACEOF
19097 rm -f conftest.$ac_objext conftest$ac_exeext
19098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19099   (eval $ac_link) 2>conftest.er1
19100   ac_status=$?
19101   grep -v '^ *+' conftest.er1 >conftest.err
19102   rm -f conftest.er1
19103   cat conftest.err >&5
19104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19105   (exit $ac_status); } &&
19106          { ac_try='test -z "$ac_c_werror_flag"
19107                          || test ! -s conftest.err'
19108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19109   (eval $ac_try) 2>&5
19110   ac_status=$?
19111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19112   (exit $ac_status); }; } &&
19113          { ac_try='test -s conftest$ac_exeext'
19114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19115   (eval $ac_try) 2>&5
19116   ac_status=$?
19117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19118   (exit $ac_status); }; }; then
19119   eval "$as_ac_var=yes"
19120 else
19121   echo "$as_me: failed program was:" >&5
19122 sed 's/^/| /' conftest.$ac_ext >&5
19123
19124 eval "$as_ac_var=no"
19125 fi
19126 rm -f conftest.err conftest.$ac_objext \
19127       conftest$ac_exeext conftest.$ac_ext
19128 fi
19129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19131 if test `eval echo '${'$as_ac_var'}'` = yes; then
19132   cat >>confdefs.h <<_ACEOF
19133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19134 _ACEOF
19135
19136 fi
19137 done
19138
19139   else
19140     echo "$as_me:$LINENO: checking for _long double round functions" >&5
19141 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
19142     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
19143   echo $ECHO_N "(cached) $ECHO_C" >&6
19144 else
19145
19146
19147
19148       ac_ext=cc
19149 ac_cpp='$CXXCPP $CPPFLAGS'
19150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19153
19154       cat >conftest.$ac_ext <<_ACEOF
19155 /* confdefs.h.  */
19156 _ACEOF
19157 cat confdefs.h >>conftest.$ac_ext
19158 cat >>conftest.$ac_ext <<_ACEOF
19159 /* end confdefs.h.  */
19160 #include <math.h>
19161 int
19162 main ()
19163 {
19164 _ceill (0); _floorl (0);
19165   ;
19166   return 0;
19167 }
19168 _ACEOF
19169 rm -f conftest.$ac_objext
19170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19171   (eval $ac_compile) 2>conftest.er1
19172   ac_status=$?
19173   grep -v '^ *+' conftest.er1 >conftest.err
19174   rm -f conftest.er1
19175   cat conftest.err >&5
19176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19177   (exit $ac_status); } &&
19178          { ac_try='test -z "$ac_cxx_werror_flag"
19179                          || test ! -s conftest.err'
19180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19181   (eval $ac_try) 2>&5
19182   ac_status=$?
19183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19184   (exit $ac_status); }; } &&
19185          { ac_try='test -s conftest.$ac_objext'
19186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19187   (eval $ac_try) 2>&5
19188   ac_status=$?
19189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19190   (exit $ac_status); }; }; then
19191   glibcxx_cv_func__long_double_round_use=yes
19192 else
19193   echo "$as_me: failed program was:" >&5
19194 sed 's/^/| /' conftest.$ac_ext >&5
19195
19196 glibcxx_cv_func__long_double_round_use=no
19197 fi
19198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19199       ac_ext=c
19200 ac_cpp='$CPP $CPPFLAGS'
19201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19204
19205 fi
19206
19207     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
19208 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
19209     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
19210
19211
19212 for ac_func in _ceill _floorl
19213 do
19214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19215 echo "$as_me:$LINENO: checking for $ac_func" >&5
19216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19217 if eval "test \"\${$as_ac_var+set}\" = set"; then
19218   echo $ECHO_N "(cached) $ECHO_C" >&6
19219 else
19220   if test x$gcc_no_link = xyes; then
19221   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19223    { (exit 1); exit 1; }; }
19224 fi
19225 cat >conftest.$ac_ext <<_ACEOF
19226 /* confdefs.h.  */
19227 _ACEOF
19228 cat confdefs.h >>conftest.$ac_ext
19229 cat >>conftest.$ac_ext <<_ACEOF
19230 /* end confdefs.h.  */
19231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19232    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19233 #define $ac_func innocuous_$ac_func
19234
19235 /* System header to define __stub macros and hopefully few prototypes,
19236     which can conflict with char $ac_func (); below.
19237     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19238     <limits.h> exists even on freestanding compilers.  */
19239
19240 #ifdef __STDC__
19241 # include <limits.h>
19242 #else
19243 # include <assert.h>
19244 #endif
19245
19246 #undef $ac_func
19247
19248 /* Override any gcc2 internal prototype to avoid an error.  */
19249 #ifdef __cplusplus
19250 extern "C"
19251 {
19252 #endif
19253 /* We use char because int might match the return type of a gcc2
19254    builtin and then its argument prototype would still apply.  */
19255 char $ac_func ();
19256 /* The GNU C library defines this for functions which it implements
19257     to always fail with ENOSYS.  Some functions are actually named
19258     something starting with __ and the normal name is an alias.  */
19259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19260 choke me
19261 #else
19262 char (*f) () = $ac_func;
19263 #endif
19264 #ifdef __cplusplus
19265 }
19266 #endif
19267
19268 int
19269 main ()
19270 {
19271 return f != $ac_func;
19272   ;
19273   return 0;
19274 }
19275 _ACEOF
19276 rm -f conftest.$ac_objext conftest$ac_exeext
19277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19278   (eval $ac_link) 2>conftest.er1
19279   ac_status=$?
19280   grep -v '^ *+' conftest.er1 >conftest.err
19281   rm -f conftest.er1
19282   cat conftest.err >&5
19283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19284   (exit $ac_status); } &&
19285          { ac_try='test -z "$ac_c_werror_flag"
19286                          || test ! -s conftest.err'
19287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19288   (eval $ac_try) 2>&5
19289   ac_status=$?
19290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19291   (exit $ac_status); }; } &&
19292          { ac_try='test -s conftest$ac_exeext'
19293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19294   (eval $ac_try) 2>&5
19295   ac_status=$?
19296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19297   (exit $ac_status); }; }; then
19298   eval "$as_ac_var=yes"
19299 else
19300   echo "$as_me: failed program was:" >&5
19301 sed 's/^/| /' conftest.$ac_ext >&5
19302
19303 eval "$as_ac_var=no"
19304 fi
19305 rm -f conftest.err conftest.$ac_objext \
19306       conftest$ac_exeext conftest.$ac_ext
19307 fi
19308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19310 if test `eval echo '${'$as_ac_var'}'` = yes; then
19311   cat >>confdefs.h <<_ACEOF
19312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19313 _ACEOF
19314
19315 fi
19316 done
19317
19318     fi
19319   fi
19320
19321
19322
19323
19324
19325
19326
19327
19328   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
19329 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
19330   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
19331     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
19332   echo $ECHO_N "(cached) $ECHO_C" >&6
19333 else
19334
19335
19336
19337       ac_ext=cc
19338 ac_cpp='$CXXCPP $CPPFLAGS'
19339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19342
19343       cat >conftest.$ac_ext <<_ACEOF
19344 /* confdefs.h.  */
19345 _ACEOF
19346 cat confdefs.h >>conftest.$ac_ext
19347 cat >>conftest.$ac_ext <<_ACEOF
19348 /* end confdefs.h.  */
19349 #include <math.h>
19350                       #ifdef HAVE_IEEEFP_H
19351                       #include <ieeefp.h>
19352                       #endif
19353
19354 int
19355 main ()
19356 {
19357  isnanl(0);
19358   ;
19359   return 0;
19360 }
19361 _ACEOF
19362 rm -f conftest.$ac_objext
19363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19364   (eval $ac_compile) 2>conftest.er1
19365   ac_status=$?
19366   grep -v '^ *+' conftest.er1 >conftest.err
19367   rm -f conftest.er1
19368   cat conftest.err >&5
19369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19370   (exit $ac_status); } &&
19371          { ac_try='test -z "$ac_cxx_werror_flag"
19372                          || test ! -s conftest.err'
19373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19374   (eval $ac_try) 2>&5
19375   ac_status=$?
19376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19377   (exit $ac_status); }; } &&
19378          { ac_try='test -s conftest.$ac_objext'
19379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19380   (eval $ac_try) 2>&5
19381   ac_status=$?
19382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19383   (exit $ac_status); }; }; then
19384   glibcxx_cv_func_isnanl_use=yes
19385 else
19386   echo "$as_me: failed program was:" >&5
19387 sed 's/^/| /' conftest.$ac_ext >&5
19388
19389 glibcxx_cv_func_isnanl_use=no
19390 fi
19391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19392       ac_ext=c
19393 ac_cpp='$CPP $CPPFLAGS'
19394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19397
19398
19399 fi
19400
19401   fi
19402   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
19403 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
19404
19405   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
19406
19407 for ac_func in isnanl
19408 do
19409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19410 echo "$as_me:$LINENO: checking for $ac_func" >&5
19411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19412 if eval "test \"\${$as_ac_var+set}\" = set"; then
19413   echo $ECHO_N "(cached) $ECHO_C" >&6
19414 else
19415   if test x$gcc_no_link = xyes; then
19416   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19418    { (exit 1); exit 1; }; }
19419 fi
19420 cat >conftest.$ac_ext <<_ACEOF
19421 /* confdefs.h.  */
19422 _ACEOF
19423 cat confdefs.h >>conftest.$ac_ext
19424 cat >>conftest.$ac_ext <<_ACEOF
19425 /* end confdefs.h.  */
19426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19427    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19428 #define $ac_func innocuous_$ac_func
19429
19430 /* System header to define __stub macros and hopefully few prototypes,
19431     which can conflict with char $ac_func (); below.
19432     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19433     <limits.h> exists even on freestanding compilers.  */
19434
19435 #ifdef __STDC__
19436 # include <limits.h>
19437 #else
19438 # include <assert.h>
19439 #endif
19440
19441 #undef $ac_func
19442
19443 /* Override any gcc2 internal prototype to avoid an error.  */
19444 #ifdef __cplusplus
19445 extern "C"
19446 {
19447 #endif
19448 /* We use char because int might match the return type of a gcc2
19449    builtin and then its argument prototype would still apply.  */
19450 char $ac_func ();
19451 /* The GNU C library defines this for functions which it implements
19452     to always fail with ENOSYS.  Some functions are actually named
19453     something starting with __ and the normal name is an alias.  */
19454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19455 choke me
19456 #else
19457 char (*f) () = $ac_func;
19458 #endif
19459 #ifdef __cplusplus
19460 }
19461 #endif
19462
19463 int
19464 main ()
19465 {
19466 return f != $ac_func;
19467   ;
19468   return 0;
19469 }
19470 _ACEOF
19471 rm -f conftest.$ac_objext conftest$ac_exeext
19472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19473   (eval $ac_link) 2>conftest.er1
19474   ac_status=$?
19475   grep -v '^ *+' conftest.er1 >conftest.err
19476   rm -f conftest.er1
19477   cat conftest.err >&5
19478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19479   (exit $ac_status); } &&
19480          { ac_try='test -z "$ac_c_werror_flag"
19481                          || test ! -s conftest.err'
19482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19483   (eval $ac_try) 2>&5
19484   ac_status=$?
19485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19486   (exit $ac_status); }; } &&
19487          { ac_try='test -s conftest$ac_exeext'
19488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19489   (eval $ac_try) 2>&5
19490   ac_status=$?
19491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19492   (exit $ac_status); }; }; then
19493   eval "$as_ac_var=yes"
19494 else
19495   echo "$as_me: failed program was:" >&5
19496 sed 's/^/| /' conftest.$ac_ext >&5
19497
19498 eval "$as_ac_var=no"
19499 fi
19500 rm -f conftest.err conftest.$ac_objext \
19501       conftest$ac_exeext conftest.$ac_ext
19502 fi
19503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19505 if test `eval echo '${'$as_ac_var'}'` = yes; then
19506   cat >>confdefs.h <<_ACEOF
19507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19508 _ACEOF
19509
19510 fi
19511 done
19512
19513   else
19514
19515   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
19516 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
19517   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
19518     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
19519   echo $ECHO_N "(cached) $ECHO_C" >&6
19520 else
19521
19522
19523
19524       ac_ext=cc
19525 ac_cpp='$CXXCPP $CPPFLAGS'
19526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19529
19530       cat >conftest.$ac_ext <<_ACEOF
19531 /* confdefs.h.  */
19532 _ACEOF
19533 cat confdefs.h >>conftest.$ac_ext
19534 cat >>conftest.$ac_ext <<_ACEOF
19535 /* end confdefs.h.  */
19536 #include <math.h>
19537                       #ifdef HAVE_IEEEFP_H
19538                       #include <ieeefp.h>
19539                       #endif
19540
19541 int
19542 main ()
19543 {
19544  _isnanl(0);
19545   ;
19546   return 0;
19547 }
19548 _ACEOF
19549 rm -f conftest.$ac_objext
19550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19551   (eval $ac_compile) 2>conftest.er1
19552   ac_status=$?
19553   grep -v '^ *+' conftest.er1 >conftest.err
19554   rm -f conftest.er1
19555   cat conftest.err >&5
19556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19557   (exit $ac_status); } &&
19558          { ac_try='test -z "$ac_cxx_werror_flag"
19559                          || test ! -s conftest.err'
19560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19561   (eval $ac_try) 2>&5
19562   ac_status=$?
19563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19564   (exit $ac_status); }; } &&
19565          { ac_try='test -s conftest.$ac_objext'
19566   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19567   (eval $ac_try) 2>&5
19568   ac_status=$?
19569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19570   (exit $ac_status); }; }; then
19571   glibcxx_cv_func__isnanl_use=yes
19572 else
19573   echo "$as_me: failed program was:" >&5
19574 sed 's/^/| /' conftest.$ac_ext >&5
19575
19576 glibcxx_cv_func__isnanl_use=no
19577 fi
19578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19579       ac_ext=c
19580 ac_cpp='$CPP $CPPFLAGS'
19581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19584
19585
19586 fi
19587
19588   fi
19589   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
19590 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
19591
19592     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
19593
19594 for ac_func in _isnanl
19595 do
19596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19597 echo "$as_me:$LINENO: checking for $ac_func" >&5
19598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19599 if eval "test \"\${$as_ac_var+set}\" = set"; then
19600   echo $ECHO_N "(cached) $ECHO_C" >&6
19601 else
19602   if test x$gcc_no_link = xyes; then
19603   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19605    { (exit 1); exit 1; }; }
19606 fi
19607 cat >conftest.$ac_ext <<_ACEOF
19608 /* confdefs.h.  */
19609 _ACEOF
19610 cat confdefs.h >>conftest.$ac_ext
19611 cat >>conftest.$ac_ext <<_ACEOF
19612 /* end confdefs.h.  */
19613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19614    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19615 #define $ac_func innocuous_$ac_func
19616
19617 /* System header to define __stub macros and hopefully few prototypes,
19618     which can conflict with char $ac_func (); below.
19619     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19620     <limits.h> exists even on freestanding compilers.  */
19621
19622 #ifdef __STDC__
19623 # include <limits.h>
19624 #else
19625 # include <assert.h>
19626 #endif
19627
19628 #undef $ac_func
19629
19630 /* Override any gcc2 internal prototype to avoid an error.  */
19631 #ifdef __cplusplus
19632 extern "C"
19633 {
19634 #endif
19635 /* We use char because int might match the return type of a gcc2
19636    builtin and then its argument prototype would still apply.  */
19637 char $ac_func ();
19638 /* The GNU C library defines this for functions which it implements
19639     to always fail with ENOSYS.  Some functions are actually named
19640     something starting with __ and the normal name is an alias.  */
19641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19642 choke me
19643 #else
19644 char (*f) () = $ac_func;
19645 #endif
19646 #ifdef __cplusplus
19647 }
19648 #endif
19649
19650 int
19651 main ()
19652 {
19653 return f != $ac_func;
19654   ;
19655   return 0;
19656 }
19657 _ACEOF
19658 rm -f conftest.$ac_objext conftest$ac_exeext
19659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19660   (eval $ac_link) 2>conftest.er1
19661   ac_status=$?
19662   grep -v '^ *+' conftest.er1 >conftest.err
19663   rm -f conftest.er1
19664   cat conftest.err >&5
19665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19666   (exit $ac_status); } &&
19667          { ac_try='test -z "$ac_c_werror_flag"
19668                          || test ! -s conftest.err'
19669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19670   (eval $ac_try) 2>&5
19671   ac_status=$?
19672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19673   (exit $ac_status); }; } &&
19674          { ac_try='test -s conftest$ac_exeext'
19675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19676   (eval $ac_try) 2>&5
19677   ac_status=$?
19678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19679   (exit $ac_status); }; }; then
19680   eval "$as_ac_var=yes"
19681 else
19682   echo "$as_me: failed program was:" >&5
19683 sed 's/^/| /' conftest.$ac_ext >&5
19684
19685 eval "$as_ac_var=no"
19686 fi
19687 rm -f conftest.err conftest.$ac_objext \
19688       conftest$ac_exeext conftest.$ac_ext
19689 fi
19690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19692 if test `eval echo '${'$as_ac_var'}'` = yes; then
19693   cat >>confdefs.h <<_ACEOF
19694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19695 _ACEOF
19696
19697 fi
19698 done
19699
19700     fi
19701   fi
19702
19703
19704
19705
19706
19707
19708   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
19709 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
19710   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
19711     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
19712   echo $ECHO_N "(cached) $ECHO_C" >&6
19713 else
19714
19715
19716
19717       ac_ext=cc
19718 ac_cpp='$CXXCPP $CPPFLAGS'
19719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19722
19723       cat >conftest.$ac_ext <<_ACEOF
19724 /* confdefs.h.  */
19725 _ACEOF
19726 cat confdefs.h >>conftest.$ac_ext
19727 cat >>conftest.$ac_ext <<_ACEOF
19728 /* end confdefs.h.  */
19729 #include <math.h>
19730                       #ifdef HAVE_IEEEFP_H
19731                       #include <ieeefp.h>
19732                       #endif
19733
19734 int
19735 main ()
19736 {
19737  isinfl(0);
19738   ;
19739   return 0;
19740 }
19741 _ACEOF
19742 rm -f conftest.$ac_objext
19743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19744   (eval $ac_compile) 2>conftest.er1
19745   ac_status=$?
19746   grep -v '^ *+' conftest.er1 >conftest.err
19747   rm -f conftest.er1
19748   cat conftest.err >&5
19749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19750   (exit $ac_status); } &&
19751          { ac_try='test -z "$ac_cxx_werror_flag"
19752                          || test ! -s conftest.err'
19753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19754   (eval $ac_try) 2>&5
19755   ac_status=$?
19756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19757   (exit $ac_status); }; } &&
19758          { ac_try='test -s conftest.$ac_objext'
19759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19760   (eval $ac_try) 2>&5
19761   ac_status=$?
19762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19763   (exit $ac_status); }; }; then
19764   glibcxx_cv_func_isinfl_use=yes
19765 else
19766   echo "$as_me: failed program was:" >&5
19767 sed 's/^/| /' conftest.$ac_ext >&5
19768
19769 glibcxx_cv_func_isinfl_use=no
19770 fi
19771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19772       ac_ext=c
19773 ac_cpp='$CPP $CPPFLAGS'
19774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19777
19778
19779 fi
19780
19781   fi
19782   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
19783 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
19784
19785   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
19786
19787 for ac_func in isinfl
19788 do
19789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19790 echo "$as_me:$LINENO: checking for $ac_func" >&5
19791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19792 if eval "test \"\${$as_ac_var+set}\" = set"; then
19793   echo $ECHO_N "(cached) $ECHO_C" >&6
19794 else
19795   if test x$gcc_no_link = xyes; then
19796   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19798    { (exit 1); exit 1; }; }
19799 fi
19800 cat >conftest.$ac_ext <<_ACEOF
19801 /* confdefs.h.  */
19802 _ACEOF
19803 cat confdefs.h >>conftest.$ac_ext
19804 cat >>conftest.$ac_ext <<_ACEOF
19805 /* end confdefs.h.  */
19806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19807    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19808 #define $ac_func innocuous_$ac_func
19809
19810 /* System header to define __stub macros and hopefully few prototypes,
19811     which can conflict with char $ac_func (); below.
19812     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19813     <limits.h> exists even on freestanding compilers.  */
19814
19815 #ifdef __STDC__
19816 # include <limits.h>
19817 #else
19818 # include <assert.h>
19819 #endif
19820
19821 #undef $ac_func
19822
19823 /* Override any gcc2 internal prototype to avoid an error.  */
19824 #ifdef __cplusplus
19825 extern "C"
19826 {
19827 #endif
19828 /* We use char because int might match the return type of a gcc2
19829    builtin and then its argument prototype would still apply.  */
19830 char $ac_func ();
19831 /* The GNU C library defines this for functions which it implements
19832     to always fail with ENOSYS.  Some functions are actually named
19833     something starting with __ and the normal name is an alias.  */
19834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19835 choke me
19836 #else
19837 char (*f) () = $ac_func;
19838 #endif
19839 #ifdef __cplusplus
19840 }
19841 #endif
19842
19843 int
19844 main ()
19845 {
19846 return f != $ac_func;
19847   ;
19848   return 0;
19849 }
19850 _ACEOF
19851 rm -f conftest.$ac_objext conftest$ac_exeext
19852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19853   (eval $ac_link) 2>conftest.er1
19854   ac_status=$?
19855   grep -v '^ *+' conftest.er1 >conftest.err
19856   rm -f conftest.er1
19857   cat conftest.err >&5
19858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19859   (exit $ac_status); } &&
19860          { ac_try='test -z "$ac_c_werror_flag"
19861                          || test ! -s conftest.err'
19862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19863   (eval $ac_try) 2>&5
19864   ac_status=$?
19865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19866   (exit $ac_status); }; } &&
19867          { ac_try='test -s conftest$ac_exeext'
19868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19869   (eval $ac_try) 2>&5
19870   ac_status=$?
19871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19872   (exit $ac_status); }; }; then
19873   eval "$as_ac_var=yes"
19874 else
19875   echo "$as_me: failed program was:" >&5
19876 sed 's/^/| /' conftest.$ac_ext >&5
19877
19878 eval "$as_ac_var=no"
19879 fi
19880 rm -f conftest.err conftest.$ac_objext \
19881       conftest$ac_exeext conftest.$ac_ext
19882 fi
19883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19885 if test `eval echo '${'$as_ac_var'}'` = yes; then
19886   cat >>confdefs.h <<_ACEOF
19887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19888 _ACEOF
19889
19890 fi
19891 done
19892
19893   else
19894
19895   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
19896 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
19897   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
19898     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
19899   echo $ECHO_N "(cached) $ECHO_C" >&6
19900 else
19901
19902
19903
19904       ac_ext=cc
19905 ac_cpp='$CXXCPP $CPPFLAGS'
19906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19909
19910       cat >conftest.$ac_ext <<_ACEOF
19911 /* confdefs.h.  */
19912 _ACEOF
19913 cat confdefs.h >>conftest.$ac_ext
19914 cat >>conftest.$ac_ext <<_ACEOF
19915 /* end confdefs.h.  */
19916 #include <math.h>
19917                       #ifdef HAVE_IEEEFP_H
19918                       #include <ieeefp.h>
19919                       #endif
19920
19921 int
19922 main ()
19923 {
19924  _isinfl(0);
19925   ;
19926   return 0;
19927 }
19928 _ACEOF
19929 rm -f conftest.$ac_objext
19930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19931   (eval $ac_compile) 2>conftest.er1
19932   ac_status=$?
19933   grep -v '^ *+' conftest.er1 >conftest.err
19934   rm -f conftest.er1
19935   cat conftest.err >&5
19936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19937   (exit $ac_status); } &&
19938          { ac_try='test -z "$ac_cxx_werror_flag"
19939                          || test ! -s conftest.err'
19940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19941   (eval $ac_try) 2>&5
19942   ac_status=$?
19943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19944   (exit $ac_status); }; } &&
19945          { ac_try='test -s conftest.$ac_objext'
19946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19947   (eval $ac_try) 2>&5
19948   ac_status=$?
19949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19950   (exit $ac_status); }; }; then
19951   glibcxx_cv_func__isinfl_use=yes
19952 else
19953   echo "$as_me: failed program was:" >&5
19954 sed 's/^/| /' conftest.$ac_ext >&5
19955
19956 glibcxx_cv_func__isinfl_use=no
19957 fi
19958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19959       ac_ext=c
19960 ac_cpp='$CPP $CPPFLAGS'
19961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19964
19965
19966 fi
19967
19968   fi
19969   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
19970 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
19971
19972     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
19973
19974 for ac_func in _isinfl
19975 do
19976 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19977 echo "$as_me:$LINENO: checking for $ac_func" >&5
19978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19979 if eval "test \"\${$as_ac_var+set}\" = set"; then
19980   echo $ECHO_N "(cached) $ECHO_C" >&6
19981 else
19982   if test x$gcc_no_link = xyes; then
19983   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19985    { (exit 1); exit 1; }; }
19986 fi
19987 cat >conftest.$ac_ext <<_ACEOF
19988 /* confdefs.h.  */
19989 _ACEOF
19990 cat confdefs.h >>conftest.$ac_ext
19991 cat >>conftest.$ac_ext <<_ACEOF
19992 /* end confdefs.h.  */
19993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19994    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19995 #define $ac_func innocuous_$ac_func
19996
19997 /* System header to define __stub macros and hopefully few prototypes,
19998     which can conflict with char $ac_func (); below.
19999     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20000     <limits.h> exists even on freestanding compilers.  */
20001
20002 #ifdef __STDC__
20003 # include <limits.h>
20004 #else
20005 # include <assert.h>
20006 #endif
20007
20008 #undef $ac_func
20009
20010 /* Override any gcc2 internal prototype to avoid an error.  */
20011 #ifdef __cplusplus
20012 extern "C"
20013 {
20014 #endif
20015 /* We use char because int might match the return type of a gcc2
20016    builtin and then its argument prototype would still apply.  */
20017 char $ac_func ();
20018 /* The GNU C library defines this for functions which it implements
20019     to always fail with ENOSYS.  Some functions are actually named
20020     something starting with __ and the normal name is an alias.  */
20021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20022 choke me
20023 #else
20024 char (*f) () = $ac_func;
20025 #endif
20026 #ifdef __cplusplus
20027 }
20028 #endif
20029
20030 int
20031 main ()
20032 {
20033 return f != $ac_func;
20034   ;
20035   return 0;
20036 }
20037 _ACEOF
20038 rm -f conftest.$ac_objext conftest$ac_exeext
20039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20040   (eval $ac_link) 2>conftest.er1
20041   ac_status=$?
20042   grep -v '^ *+' conftest.er1 >conftest.err
20043   rm -f conftest.er1
20044   cat conftest.err >&5
20045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20046   (exit $ac_status); } &&
20047          { ac_try='test -z "$ac_c_werror_flag"
20048                          || test ! -s conftest.err'
20049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20050   (eval $ac_try) 2>&5
20051   ac_status=$?
20052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20053   (exit $ac_status); }; } &&
20054          { ac_try='test -s conftest$ac_exeext'
20055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20056   (eval $ac_try) 2>&5
20057   ac_status=$?
20058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20059   (exit $ac_status); }; }; then
20060   eval "$as_ac_var=yes"
20061 else
20062   echo "$as_me: failed program was:" >&5
20063 sed 's/^/| /' conftest.$ac_ext >&5
20064
20065 eval "$as_ac_var=no"
20066 fi
20067 rm -f conftest.err conftest.$ac_objext \
20068       conftest$ac_exeext conftest.$ac_ext
20069 fi
20070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20072 if test `eval echo '${'$as_ac_var'}'` = yes; then
20073   cat >>confdefs.h <<_ACEOF
20074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20075 _ACEOF
20076
20077 fi
20078 done
20079
20080     fi
20081   fi
20082
20083
20084
20085
20086
20087
20088   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
20089 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
20090   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
20091     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
20092   echo $ECHO_N "(cached) $ECHO_C" >&6
20093 else
20094
20095
20096
20097       ac_ext=cc
20098 ac_cpp='$CXXCPP $CPPFLAGS'
20099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20102
20103       cat >conftest.$ac_ext <<_ACEOF
20104 /* confdefs.h.  */
20105 _ACEOF
20106 cat confdefs.h >>conftest.$ac_ext
20107 cat >>conftest.$ac_ext <<_ACEOF
20108 /* end confdefs.h.  */
20109 #include <math.h>
20110 int
20111 main ()
20112 {
20113  copysignl(0, 0);
20114   ;
20115   return 0;
20116 }
20117 _ACEOF
20118 rm -f conftest.$ac_objext
20119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20120   (eval $ac_compile) 2>conftest.er1
20121   ac_status=$?
20122   grep -v '^ *+' conftest.er1 >conftest.err
20123   rm -f conftest.er1
20124   cat conftest.err >&5
20125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20126   (exit $ac_status); } &&
20127          { ac_try='test -z "$ac_cxx_werror_flag"
20128                          || test ! -s conftest.err'
20129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20130   (eval $ac_try) 2>&5
20131   ac_status=$?
20132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20133   (exit $ac_status); }; } &&
20134          { ac_try='test -s conftest.$ac_objext'
20135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20136   (eval $ac_try) 2>&5
20137   ac_status=$?
20138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20139   (exit $ac_status); }; }; then
20140   glibcxx_cv_func_copysignl_use=yes
20141 else
20142   echo "$as_me: failed program was:" >&5
20143 sed 's/^/| /' conftest.$ac_ext >&5
20144
20145 glibcxx_cv_func_copysignl_use=no
20146 fi
20147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20148       ac_ext=c
20149 ac_cpp='$CPP $CPPFLAGS'
20150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20153
20154
20155 fi
20156
20157   fi
20158   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
20159 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
20160
20161   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
20162
20163 for ac_func in copysignl
20164 do
20165 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20166 echo "$as_me:$LINENO: checking for $ac_func" >&5
20167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20168 if eval "test \"\${$as_ac_var+set}\" = set"; then
20169   echo $ECHO_N "(cached) $ECHO_C" >&6
20170 else
20171   if test x$gcc_no_link = xyes; then
20172   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20174    { (exit 1); exit 1; }; }
20175 fi
20176 cat >conftest.$ac_ext <<_ACEOF
20177 /* confdefs.h.  */
20178 _ACEOF
20179 cat confdefs.h >>conftest.$ac_ext
20180 cat >>conftest.$ac_ext <<_ACEOF
20181 /* end confdefs.h.  */
20182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20183    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20184 #define $ac_func innocuous_$ac_func
20185
20186 /* System header to define __stub macros and hopefully few prototypes,
20187     which can conflict with char $ac_func (); below.
20188     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20189     <limits.h> exists even on freestanding compilers.  */
20190
20191 #ifdef __STDC__
20192 # include <limits.h>
20193 #else
20194 # include <assert.h>
20195 #endif
20196
20197 #undef $ac_func
20198
20199 /* Override any gcc2 internal prototype to avoid an error.  */
20200 #ifdef __cplusplus
20201 extern "C"
20202 {
20203 #endif
20204 /* We use char because int might match the return type of a gcc2
20205    builtin and then its argument prototype would still apply.  */
20206 char $ac_func ();
20207 /* The GNU C library defines this for functions which it implements
20208     to always fail with ENOSYS.  Some functions are actually named
20209     something starting with __ and the normal name is an alias.  */
20210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20211 choke me
20212 #else
20213 char (*f) () = $ac_func;
20214 #endif
20215 #ifdef __cplusplus
20216 }
20217 #endif
20218
20219 int
20220 main ()
20221 {
20222 return f != $ac_func;
20223   ;
20224   return 0;
20225 }
20226 _ACEOF
20227 rm -f conftest.$ac_objext conftest$ac_exeext
20228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20229   (eval $ac_link) 2>conftest.er1
20230   ac_status=$?
20231   grep -v '^ *+' conftest.er1 >conftest.err
20232   rm -f conftest.er1
20233   cat conftest.err >&5
20234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20235   (exit $ac_status); } &&
20236          { ac_try='test -z "$ac_c_werror_flag"
20237                          || test ! -s conftest.err'
20238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20239   (eval $ac_try) 2>&5
20240   ac_status=$?
20241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20242   (exit $ac_status); }; } &&
20243          { ac_try='test -s conftest$ac_exeext'
20244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20245   (eval $ac_try) 2>&5
20246   ac_status=$?
20247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20248   (exit $ac_status); }; }; then
20249   eval "$as_ac_var=yes"
20250 else
20251   echo "$as_me: failed program was:" >&5
20252 sed 's/^/| /' conftest.$ac_ext >&5
20253
20254 eval "$as_ac_var=no"
20255 fi
20256 rm -f conftest.err conftest.$ac_objext \
20257       conftest$ac_exeext conftest.$ac_ext
20258 fi
20259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20261 if test `eval echo '${'$as_ac_var'}'` = yes; then
20262   cat >>confdefs.h <<_ACEOF
20263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20264 _ACEOF
20265
20266 fi
20267 done
20268
20269   else
20270
20271   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
20272 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
20273   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
20274     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
20275   echo $ECHO_N "(cached) $ECHO_C" >&6
20276 else
20277
20278
20279
20280       ac_ext=cc
20281 ac_cpp='$CXXCPP $CPPFLAGS'
20282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20285
20286       cat >conftest.$ac_ext <<_ACEOF
20287 /* confdefs.h.  */
20288 _ACEOF
20289 cat confdefs.h >>conftest.$ac_ext
20290 cat >>conftest.$ac_ext <<_ACEOF
20291 /* end confdefs.h.  */
20292 #include <math.h>
20293 int
20294 main ()
20295 {
20296  _copysignl(0, 0);
20297   ;
20298   return 0;
20299 }
20300 _ACEOF
20301 rm -f conftest.$ac_objext
20302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20303   (eval $ac_compile) 2>conftest.er1
20304   ac_status=$?
20305   grep -v '^ *+' conftest.er1 >conftest.err
20306   rm -f conftest.er1
20307   cat conftest.err >&5
20308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20309   (exit $ac_status); } &&
20310          { ac_try='test -z "$ac_cxx_werror_flag"
20311                          || test ! -s conftest.err'
20312   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20313   (eval $ac_try) 2>&5
20314   ac_status=$?
20315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20316   (exit $ac_status); }; } &&
20317          { ac_try='test -s conftest.$ac_objext'
20318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20319   (eval $ac_try) 2>&5
20320   ac_status=$?
20321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20322   (exit $ac_status); }; }; then
20323   glibcxx_cv_func__copysignl_use=yes
20324 else
20325   echo "$as_me: failed program was:" >&5
20326 sed 's/^/| /' conftest.$ac_ext >&5
20327
20328 glibcxx_cv_func__copysignl_use=no
20329 fi
20330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20331       ac_ext=c
20332 ac_cpp='$CPP $CPPFLAGS'
20333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20336
20337
20338 fi
20339
20340   fi
20341   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
20342 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
20343
20344     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
20345
20346 for ac_func in _copysignl
20347 do
20348 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20349 echo "$as_me:$LINENO: checking for $ac_func" >&5
20350 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20351 if eval "test \"\${$as_ac_var+set}\" = set"; then
20352   echo $ECHO_N "(cached) $ECHO_C" >&6
20353 else
20354   if test x$gcc_no_link = xyes; then
20355   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20356 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20357    { (exit 1); exit 1; }; }
20358 fi
20359 cat >conftest.$ac_ext <<_ACEOF
20360 /* confdefs.h.  */
20361 _ACEOF
20362 cat confdefs.h >>conftest.$ac_ext
20363 cat >>conftest.$ac_ext <<_ACEOF
20364 /* end confdefs.h.  */
20365 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20366    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20367 #define $ac_func innocuous_$ac_func
20368
20369 /* System header to define __stub macros and hopefully few prototypes,
20370     which can conflict with char $ac_func (); below.
20371     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20372     <limits.h> exists even on freestanding compilers.  */
20373
20374 #ifdef __STDC__
20375 # include <limits.h>
20376 #else
20377 # include <assert.h>
20378 #endif
20379
20380 #undef $ac_func
20381
20382 /* Override any gcc2 internal prototype to avoid an error.  */
20383 #ifdef __cplusplus
20384 extern "C"
20385 {
20386 #endif
20387 /* We use char because int might match the return type of a gcc2
20388    builtin and then its argument prototype would still apply.  */
20389 char $ac_func ();
20390 /* The GNU C library defines this for functions which it implements
20391     to always fail with ENOSYS.  Some functions are actually named
20392     something starting with __ and the normal name is an alias.  */
20393 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20394 choke me
20395 #else
20396 char (*f) () = $ac_func;
20397 #endif
20398 #ifdef __cplusplus
20399 }
20400 #endif
20401
20402 int
20403 main ()
20404 {
20405 return f != $ac_func;
20406   ;
20407   return 0;
20408 }
20409 _ACEOF
20410 rm -f conftest.$ac_objext conftest$ac_exeext
20411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20412   (eval $ac_link) 2>conftest.er1
20413   ac_status=$?
20414   grep -v '^ *+' conftest.er1 >conftest.err
20415   rm -f conftest.er1
20416   cat conftest.err >&5
20417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20418   (exit $ac_status); } &&
20419          { ac_try='test -z "$ac_c_werror_flag"
20420                          || test ! -s conftest.err'
20421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20422   (eval $ac_try) 2>&5
20423   ac_status=$?
20424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20425   (exit $ac_status); }; } &&
20426          { ac_try='test -s conftest$ac_exeext'
20427   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20428   (eval $ac_try) 2>&5
20429   ac_status=$?
20430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20431   (exit $ac_status); }; }; then
20432   eval "$as_ac_var=yes"
20433 else
20434   echo "$as_me: failed program was:" >&5
20435 sed 's/^/| /' conftest.$ac_ext >&5
20436
20437 eval "$as_ac_var=no"
20438 fi
20439 rm -f conftest.err conftest.$ac_objext \
20440       conftest$ac_exeext conftest.$ac_ext
20441 fi
20442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20443 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20444 if test `eval echo '${'$as_ac_var'}'` = yes; then
20445   cat >>confdefs.h <<_ACEOF
20446 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20447 _ACEOF
20448
20449 fi
20450 done
20451
20452     fi
20453   fi
20454
20455
20456
20457
20458
20459
20460   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
20461 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
20462   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
20463     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
20464   echo $ECHO_N "(cached) $ECHO_C" >&6
20465 else
20466
20467
20468
20469       ac_ext=cc
20470 ac_cpp='$CXXCPP $CPPFLAGS'
20471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20474
20475       cat >conftest.$ac_ext <<_ACEOF
20476 /* confdefs.h.  */
20477 _ACEOF
20478 cat confdefs.h >>conftest.$ac_ext
20479 cat >>conftest.$ac_ext <<_ACEOF
20480 /* end confdefs.h.  */
20481 #include <math.h>
20482 int
20483 main ()
20484 {
20485  atan2l(0, 0);
20486   ;
20487   return 0;
20488 }
20489 _ACEOF
20490 rm -f conftest.$ac_objext
20491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20492   (eval $ac_compile) 2>conftest.er1
20493   ac_status=$?
20494   grep -v '^ *+' conftest.er1 >conftest.err
20495   rm -f conftest.er1
20496   cat conftest.err >&5
20497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20498   (exit $ac_status); } &&
20499          { ac_try='test -z "$ac_cxx_werror_flag"
20500                          || test ! -s conftest.err'
20501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20502   (eval $ac_try) 2>&5
20503   ac_status=$?
20504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20505   (exit $ac_status); }; } &&
20506          { ac_try='test -s conftest.$ac_objext'
20507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20508   (eval $ac_try) 2>&5
20509   ac_status=$?
20510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20511   (exit $ac_status); }; }; then
20512   glibcxx_cv_func_atan2l_use=yes
20513 else
20514   echo "$as_me: failed program was:" >&5
20515 sed 's/^/| /' conftest.$ac_ext >&5
20516
20517 glibcxx_cv_func_atan2l_use=no
20518 fi
20519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20520       ac_ext=c
20521 ac_cpp='$CPP $CPPFLAGS'
20522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20525
20526
20527 fi
20528
20529   fi
20530   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
20531 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
20532
20533   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
20534
20535 for ac_func in atan2l
20536 do
20537 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20538 echo "$as_me:$LINENO: checking for $ac_func" >&5
20539 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20540 if eval "test \"\${$as_ac_var+set}\" = set"; then
20541   echo $ECHO_N "(cached) $ECHO_C" >&6
20542 else
20543   if test x$gcc_no_link = xyes; then
20544   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20545 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20546    { (exit 1); exit 1; }; }
20547 fi
20548 cat >conftest.$ac_ext <<_ACEOF
20549 /* confdefs.h.  */
20550 _ACEOF
20551 cat confdefs.h >>conftest.$ac_ext
20552 cat >>conftest.$ac_ext <<_ACEOF
20553 /* end confdefs.h.  */
20554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20555    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20556 #define $ac_func innocuous_$ac_func
20557
20558 /* System header to define __stub macros and hopefully few prototypes,
20559     which can conflict with char $ac_func (); below.
20560     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20561     <limits.h> exists even on freestanding compilers.  */
20562
20563 #ifdef __STDC__
20564 # include <limits.h>
20565 #else
20566 # include <assert.h>
20567 #endif
20568
20569 #undef $ac_func
20570
20571 /* Override any gcc2 internal prototype to avoid an error.  */
20572 #ifdef __cplusplus
20573 extern "C"
20574 {
20575 #endif
20576 /* We use char because int might match the return type of a gcc2
20577    builtin and then its argument prototype would still apply.  */
20578 char $ac_func ();
20579 /* The GNU C library defines this for functions which it implements
20580     to always fail with ENOSYS.  Some functions are actually named
20581     something starting with __ and the normal name is an alias.  */
20582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20583 choke me
20584 #else
20585 char (*f) () = $ac_func;
20586 #endif
20587 #ifdef __cplusplus
20588 }
20589 #endif
20590
20591 int
20592 main ()
20593 {
20594 return f != $ac_func;
20595   ;
20596   return 0;
20597 }
20598 _ACEOF
20599 rm -f conftest.$ac_objext conftest$ac_exeext
20600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20601   (eval $ac_link) 2>conftest.er1
20602   ac_status=$?
20603   grep -v '^ *+' conftest.er1 >conftest.err
20604   rm -f conftest.er1
20605   cat conftest.err >&5
20606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20607   (exit $ac_status); } &&
20608          { ac_try='test -z "$ac_c_werror_flag"
20609                          || test ! -s conftest.err'
20610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20611   (eval $ac_try) 2>&5
20612   ac_status=$?
20613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20614   (exit $ac_status); }; } &&
20615          { ac_try='test -s conftest$ac_exeext'
20616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20617   (eval $ac_try) 2>&5
20618   ac_status=$?
20619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20620   (exit $ac_status); }; }; then
20621   eval "$as_ac_var=yes"
20622 else
20623   echo "$as_me: failed program was:" >&5
20624 sed 's/^/| /' conftest.$ac_ext >&5
20625
20626 eval "$as_ac_var=no"
20627 fi
20628 rm -f conftest.err conftest.$ac_objext \
20629       conftest$ac_exeext conftest.$ac_ext
20630 fi
20631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20632 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20633 if test `eval echo '${'$as_ac_var'}'` = yes; then
20634   cat >>confdefs.h <<_ACEOF
20635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20636 _ACEOF
20637
20638 fi
20639 done
20640
20641   else
20642
20643   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
20644 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
20645   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
20646     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
20647   echo $ECHO_N "(cached) $ECHO_C" >&6
20648 else
20649
20650
20651
20652       ac_ext=cc
20653 ac_cpp='$CXXCPP $CPPFLAGS'
20654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20657
20658       cat >conftest.$ac_ext <<_ACEOF
20659 /* confdefs.h.  */
20660 _ACEOF
20661 cat confdefs.h >>conftest.$ac_ext
20662 cat >>conftest.$ac_ext <<_ACEOF
20663 /* end confdefs.h.  */
20664 #include <math.h>
20665 int
20666 main ()
20667 {
20668  _atan2l(0, 0);
20669   ;
20670   return 0;
20671 }
20672 _ACEOF
20673 rm -f conftest.$ac_objext
20674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20675   (eval $ac_compile) 2>conftest.er1
20676   ac_status=$?
20677   grep -v '^ *+' conftest.er1 >conftest.err
20678   rm -f conftest.er1
20679   cat conftest.err >&5
20680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20681   (exit $ac_status); } &&
20682          { ac_try='test -z "$ac_cxx_werror_flag"
20683                          || test ! -s conftest.err'
20684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20685   (eval $ac_try) 2>&5
20686   ac_status=$?
20687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20688   (exit $ac_status); }; } &&
20689          { ac_try='test -s conftest.$ac_objext'
20690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20691   (eval $ac_try) 2>&5
20692   ac_status=$?
20693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20694   (exit $ac_status); }; }; then
20695   glibcxx_cv_func__atan2l_use=yes
20696 else
20697   echo "$as_me: failed program was:" >&5
20698 sed 's/^/| /' conftest.$ac_ext >&5
20699
20700 glibcxx_cv_func__atan2l_use=no
20701 fi
20702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20703       ac_ext=c
20704 ac_cpp='$CPP $CPPFLAGS'
20705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20708
20709
20710 fi
20711
20712   fi
20713   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
20714 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
20715
20716     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
20717
20718 for ac_func in _atan2l
20719 do
20720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20721 echo "$as_me:$LINENO: checking for $ac_func" >&5
20722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20723 if eval "test \"\${$as_ac_var+set}\" = set"; then
20724   echo $ECHO_N "(cached) $ECHO_C" >&6
20725 else
20726   if test x$gcc_no_link = xyes; then
20727   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20729    { (exit 1); exit 1; }; }
20730 fi
20731 cat >conftest.$ac_ext <<_ACEOF
20732 /* confdefs.h.  */
20733 _ACEOF
20734 cat confdefs.h >>conftest.$ac_ext
20735 cat >>conftest.$ac_ext <<_ACEOF
20736 /* end confdefs.h.  */
20737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20738    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20739 #define $ac_func innocuous_$ac_func
20740
20741 /* System header to define __stub macros and hopefully few prototypes,
20742     which can conflict with char $ac_func (); below.
20743     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20744     <limits.h> exists even on freestanding compilers.  */
20745
20746 #ifdef __STDC__
20747 # include <limits.h>
20748 #else
20749 # include <assert.h>
20750 #endif
20751
20752 #undef $ac_func
20753
20754 /* Override any gcc2 internal prototype to avoid an error.  */
20755 #ifdef __cplusplus
20756 extern "C"
20757 {
20758 #endif
20759 /* We use char because int might match the return type of a gcc2
20760    builtin and then its argument prototype would still apply.  */
20761 char $ac_func ();
20762 /* The GNU C library defines this for functions which it implements
20763     to always fail with ENOSYS.  Some functions are actually named
20764     something starting with __ and the normal name is an alias.  */
20765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20766 choke me
20767 #else
20768 char (*f) () = $ac_func;
20769 #endif
20770 #ifdef __cplusplus
20771 }
20772 #endif
20773
20774 int
20775 main ()
20776 {
20777 return f != $ac_func;
20778   ;
20779   return 0;
20780 }
20781 _ACEOF
20782 rm -f conftest.$ac_objext conftest$ac_exeext
20783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20784   (eval $ac_link) 2>conftest.er1
20785   ac_status=$?
20786   grep -v '^ *+' conftest.er1 >conftest.err
20787   rm -f conftest.er1
20788   cat conftest.err >&5
20789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20790   (exit $ac_status); } &&
20791          { ac_try='test -z "$ac_c_werror_flag"
20792                          || test ! -s conftest.err'
20793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20794   (eval $ac_try) 2>&5
20795   ac_status=$?
20796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20797   (exit $ac_status); }; } &&
20798          { ac_try='test -s conftest$ac_exeext'
20799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20800   (eval $ac_try) 2>&5
20801   ac_status=$?
20802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20803   (exit $ac_status); }; }; then
20804   eval "$as_ac_var=yes"
20805 else
20806   echo "$as_me: failed program was:" >&5
20807 sed 's/^/| /' conftest.$ac_ext >&5
20808
20809 eval "$as_ac_var=no"
20810 fi
20811 rm -f conftest.err conftest.$ac_objext \
20812       conftest$ac_exeext conftest.$ac_ext
20813 fi
20814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20815 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20816 if test `eval echo '${'$as_ac_var'}'` = yes; then
20817   cat >>confdefs.h <<_ACEOF
20818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20819 _ACEOF
20820
20821 fi
20822 done
20823
20824     fi
20825   fi
20826
20827
20828
20829
20830
20831
20832   echo "$as_me:$LINENO: checking for expl declaration" >&5
20833 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
20834   if test x${glibcxx_cv_func_expl_use+set} != xset; then
20835     if test "${glibcxx_cv_func_expl_use+set}" = set; then
20836   echo $ECHO_N "(cached) $ECHO_C" >&6
20837 else
20838
20839
20840
20841       ac_ext=cc
20842 ac_cpp='$CXXCPP $CPPFLAGS'
20843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20846
20847       cat >conftest.$ac_ext <<_ACEOF
20848 /* confdefs.h.  */
20849 _ACEOF
20850 cat confdefs.h >>conftest.$ac_ext
20851 cat >>conftest.$ac_ext <<_ACEOF
20852 /* end confdefs.h.  */
20853 #include <math.h>
20854                       #ifdef HAVE_IEEEFP_H
20855                       #include <ieeefp.h>
20856                       #endif
20857
20858 int
20859 main ()
20860 {
20861  expl(0);
20862   ;
20863   return 0;
20864 }
20865 _ACEOF
20866 rm -f conftest.$ac_objext
20867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20868   (eval $ac_compile) 2>conftest.er1
20869   ac_status=$?
20870   grep -v '^ *+' conftest.er1 >conftest.err
20871   rm -f conftest.er1
20872   cat conftest.err >&5
20873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20874   (exit $ac_status); } &&
20875          { ac_try='test -z "$ac_cxx_werror_flag"
20876                          || test ! -s conftest.err'
20877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20878   (eval $ac_try) 2>&5
20879   ac_status=$?
20880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20881   (exit $ac_status); }; } &&
20882          { ac_try='test -s conftest.$ac_objext'
20883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20884   (eval $ac_try) 2>&5
20885   ac_status=$?
20886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20887   (exit $ac_status); }; }; then
20888   glibcxx_cv_func_expl_use=yes
20889 else
20890   echo "$as_me: failed program was:" >&5
20891 sed 's/^/| /' conftest.$ac_ext >&5
20892
20893 glibcxx_cv_func_expl_use=no
20894 fi
20895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20896       ac_ext=c
20897 ac_cpp='$CPP $CPPFLAGS'
20898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20901
20902
20903 fi
20904
20905   fi
20906   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
20907 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
20908
20909   if test x$glibcxx_cv_func_expl_use = x"yes"; then
20910
20911 for ac_func in expl
20912 do
20913 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20914 echo "$as_me:$LINENO: checking for $ac_func" >&5
20915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20916 if eval "test \"\${$as_ac_var+set}\" = set"; then
20917   echo $ECHO_N "(cached) $ECHO_C" >&6
20918 else
20919   if test x$gcc_no_link = xyes; then
20920   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20922    { (exit 1); exit 1; }; }
20923 fi
20924 cat >conftest.$ac_ext <<_ACEOF
20925 /* confdefs.h.  */
20926 _ACEOF
20927 cat confdefs.h >>conftest.$ac_ext
20928 cat >>conftest.$ac_ext <<_ACEOF
20929 /* end confdefs.h.  */
20930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20931    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20932 #define $ac_func innocuous_$ac_func
20933
20934 /* System header to define __stub macros and hopefully few prototypes,
20935     which can conflict with char $ac_func (); below.
20936     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20937     <limits.h> exists even on freestanding compilers.  */
20938
20939 #ifdef __STDC__
20940 # include <limits.h>
20941 #else
20942 # include <assert.h>
20943 #endif
20944
20945 #undef $ac_func
20946
20947 /* Override any gcc2 internal prototype to avoid an error.  */
20948 #ifdef __cplusplus
20949 extern "C"
20950 {
20951 #endif
20952 /* We use char because int might match the return type of a gcc2
20953    builtin and then its argument prototype would still apply.  */
20954 char $ac_func ();
20955 /* The GNU C library defines this for functions which it implements
20956     to always fail with ENOSYS.  Some functions are actually named
20957     something starting with __ and the normal name is an alias.  */
20958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20959 choke me
20960 #else
20961 char (*f) () = $ac_func;
20962 #endif
20963 #ifdef __cplusplus
20964 }
20965 #endif
20966
20967 int
20968 main ()
20969 {
20970 return f != $ac_func;
20971   ;
20972   return 0;
20973 }
20974 _ACEOF
20975 rm -f conftest.$ac_objext conftest$ac_exeext
20976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20977   (eval $ac_link) 2>conftest.er1
20978   ac_status=$?
20979   grep -v '^ *+' conftest.er1 >conftest.err
20980   rm -f conftest.er1
20981   cat conftest.err >&5
20982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20983   (exit $ac_status); } &&
20984          { ac_try='test -z "$ac_c_werror_flag"
20985                          || test ! -s conftest.err'
20986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20987   (eval $ac_try) 2>&5
20988   ac_status=$?
20989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20990   (exit $ac_status); }; } &&
20991          { ac_try='test -s conftest$ac_exeext'
20992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20993   (eval $ac_try) 2>&5
20994   ac_status=$?
20995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20996   (exit $ac_status); }; }; then
20997   eval "$as_ac_var=yes"
20998 else
20999   echo "$as_me: failed program was:" >&5
21000 sed 's/^/| /' conftest.$ac_ext >&5
21001
21002 eval "$as_ac_var=no"
21003 fi
21004 rm -f conftest.err conftest.$ac_objext \
21005       conftest$ac_exeext conftest.$ac_ext
21006 fi
21007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21008 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21009 if test `eval echo '${'$as_ac_var'}'` = yes; then
21010   cat >>confdefs.h <<_ACEOF
21011 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21012 _ACEOF
21013
21014 fi
21015 done
21016
21017   else
21018
21019   echo "$as_me:$LINENO: checking for _expl declaration" >&5
21020 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
21021   if test x${glibcxx_cv_func__expl_use+set} != xset; then
21022     if test "${glibcxx_cv_func__expl_use+set}" = set; then
21023   echo $ECHO_N "(cached) $ECHO_C" >&6
21024 else
21025
21026
21027
21028       ac_ext=cc
21029 ac_cpp='$CXXCPP $CPPFLAGS'
21030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21033
21034       cat >conftest.$ac_ext <<_ACEOF
21035 /* confdefs.h.  */
21036 _ACEOF
21037 cat confdefs.h >>conftest.$ac_ext
21038 cat >>conftest.$ac_ext <<_ACEOF
21039 /* end confdefs.h.  */
21040 #include <math.h>
21041                       #ifdef HAVE_IEEEFP_H
21042                       #include <ieeefp.h>
21043                       #endif
21044
21045 int
21046 main ()
21047 {
21048  _expl(0);
21049   ;
21050   return 0;
21051 }
21052 _ACEOF
21053 rm -f conftest.$ac_objext
21054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21055   (eval $ac_compile) 2>conftest.er1
21056   ac_status=$?
21057   grep -v '^ *+' conftest.er1 >conftest.err
21058   rm -f conftest.er1
21059   cat conftest.err >&5
21060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21061   (exit $ac_status); } &&
21062          { ac_try='test -z "$ac_cxx_werror_flag"
21063                          || test ! -s conftest.err'
21064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21065   (eval $ac_try) 2>&5
21066   ac_status=$?
21067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21068   (exit $ac_status); }; } &&
21069          { ac_try='test -s conftest.$ac_objext'
21070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21071   (eval $ac_try) 2>&5
21072   ac_status=$?
21073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21074   (exit $ac_status); }; }; then
21075   glibcxx_cv_func__expl_use=yes
21076 else
21077   echo "$as_me: failed program was:" >&5
21078 sed 's/^/| /' conftest.$ac_ext >&5
21079
21080 glibcxx_cv_func__expl_use=no
21081 fi
21082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21083       ac_ext=c
21084 ac_cpp='$CPP $CPPFLAGS'
21085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21088
21089
21090 fi
21091
21092   fi
21093   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
21094 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
21095
21096     if test x$glibcxx_cv_func__expl_use = x"yes"; then
21097
21098 for ac_func in _expl
21099 do
21100 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21101 echo "$as_me:$LINENO: checking for $ac_func" >&5
21102 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21103 if eval "test \"\${$as_ac_var+set}\" = set"; then
21104   echo $ECHO_N "(cached) $ECHO_C" >&6
21105 else
21106   if test x$gcc_no_link = xyes; then
21107   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21109    { (exit 1); exit 1; }; }
21110 fi
21111 cat >conftest.$ac_ext <<_ACEOF
21112 /* confdefs.h.  */
21113 _ACEOF
21114 cat confdefs.h >>conftest.$ac_ext
21115 cat >>conftest.$ac_ext <<_ACEOF
21116 /* end confdefs.h.  */
21117 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21118    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21119 #define $ac_func innocuous_$ac_func
21120
21121 /* System header to define __stub macros and hopefully few prototypes,
21122     which can conflict with char $ac_func (); below.
21123     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21124     <limits.h> exists even on freestanding compilers.  */
21125
21126 #ifdef __STDC__
21127 # include <limits.h>
21128 #else
21129 # include <assert.h>
21130 #endif
21131
21132 #undef $ac_func
21133
21134 /* Override any gcc2 internal prototype to avoid an error.  */
21135 #ifdef __cplusplus
21136 extern "C"
21137 {
21138 #endif
21139 /* We use char because int might match the return type of a gcc2
21140    builtin and then its argument prototype would still apply.  */
21141 char $ac_func ();
21142 /* The GNU C library defines this for functions which it implements
21143     to always fail with ENOSYS.  Some functions are actually named
21144     something starting with __ and the normal name is an alias.  */
21145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21146 choke me
21147 #else
21148 char (*f) () = $ac_func;
21149 #endif
21150 #ifdef __cplusplus
21151 }
21152 #endif
21153
21154 int
21155 main ()
21156 {
21157 return f != $ac_func;
21158   ;
21159   return 0;
21160 }
21161 _ACEOF
21162 rm -f conftest.$ac_objext conftest$ac_exeext
21163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21164   (eval $ac_link) 2>conftest.er1
21165   ac_status=$?
21166   grep -v '^ *+' conftest.er1 >conftest.err
21167   rm -f conftest.er1
21168   cat conftest.err >&5
21169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21170   (exit $ac_status); } &&
21171          { ac_try='test -z "$ac_c_werror_flag"
21172                          || test ! -s conftest.err'
21173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21174   (eval $ac_try) 2>&5
21175   ac_status=$?
21176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21177   (exit $ac_status); }; } &&
21178          { ac_try='test -s conftest$ac_exeext'
21179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21180   (eval $ac_try) 2>&5
21181   ac_status=$?
21182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21183   (exit $ac_status); }; }; then
21184   eval "$as_ac_var=yes"
21185 else
21186   echo "$as_me: failed program was:" >&5
21187 sed 's/^/| /' conftest.$ac_ext >&5
21188
21189 eval "$as_ac_var=no"
21190 fi
21191 rm -f conftest.err conftest.$ac_objext \
21192       conftest$ac_exeext conftest.$ac_ext
21193 fi
21194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21195 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21196 if test `eval echo '${'$as_ac_var'}'` = yes; then
21197   cat >>confdefs.h <<_ACEOF
21198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21199 _ACEOF
21200
21201 fi
21202 done
21203
21204     fi
21205   fi
21206
21207
21208
21209
21210
21211
21212   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
21213 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
21214   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
21215     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
21216   echo $ECHO_N "(cached) $ECHO_C" >&6
21217 else
21218
21219
21220
21221       ac_ext=cc
21222 ac_cpp='$CXXCPP $CPPFLAGS'
21223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21226
21227       cat >conftest.$ac_ext <<_ACEOF
21228 /* confdefs.h.  */
21229 _ACEOF
21230 cat confdefs.h >>conftest.$ac_ext
21231 cat >>conftest.$ac_ext <<_ACEOF
21232 /* end confdefs.h.  */
21233 #include <math.h>
21234                       #ifdef HAVE_IEEEFP_H
21235                       #include <ieeefp.h>
21236                       #endif
21237
21238 int
21239 main ()
21240 {
21241  fabsl(0);
21242   ;
21243   return 0;
21244 }
21245 _ACEOF
21246 rm -f conftest.$ac_objext
21247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21248   (eval $ac_compile) 2>conftest.er1
21249   ac_status=$?
21250   grep -v '^ *+' conftest.er1 >conftest.err
21251   rm -f conftest.er1
21252   cat conftest.err >&5
21253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21254   (exit $ac_status); } &&
21255          { ac_try='test -z "$ac_cxx_werror_flag"
21256                          || test ! -s conftest.err'
21257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21258   (eval $ac_try) 2>&5
21259   ac_status=$?
21260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21261   (exit $ac_status); }; } &&
21262          { ac_try='test -s conftest.$ac_objext'
21263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21264   (eval $ac_try) 2>&5
21265   ac_status=$?
21266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21267   (exit $ac_status); }; }; then
21268   glibcxx_cv_func_fabsl_use=yes
21269 else
21270   echo "$as_me: failed program was:" >&5
21271 sed 's/^/| /' conftest.$ac_ext >&5
21272
21273 glibcxx_cv_func_fabsl_use=no
21274 fi
21275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21276       ac_ext=c
21277 ac_cpp='$CPP $CPPFLAGS'
21278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21281
21282
21283 fi
21284
21285   fi
21286   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
21287 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
21288
21289   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
21290
21291 for ac_func in fabsl
21292 do
21293 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21294 echo "$as_me:$LINENO: checking for $ac_func" >&5
21295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21296 if eval "test \"\${$as_ac_var+set}\" = set"; then
21297   echo $ECHO_N "(cached) $ECHO_C" >&6
21298 else
21299   if test x$gcc_no_link = xyes; then
21300   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21301 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21302    { (exit 1); exit 1; }; }
21303 fi
21304 cat >conftest.$ac_ext <<_ACEOF
21305 /* confdefs.h.  */
21306 _ACEOF
21307 cat confdefs.h >>conftest.$ac_ext
21308 cat >>conftest.$ac_ext <<_ACEOF
21309 /* end confdefs.h.  */
21310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21311    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21312 #define $ac_func innocuous_$ac_func
21313
21314 /* System header to define __stub macros and hopefully few prototypes,
21315     which can conflict with char $ac_func (); below.
21316     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21317     <limits.h> exists even on freestanding compilers.  */
21318
21319 #ifdef __STDC__
21320 # include <limits.h>
21321 #else
21322 # include <assert.h>
21323 #endif
21324
21325 #undef $ac_func
21326
21327 /* Override any gcc2 internal prototype to avoid an error.  */
21328 #ifdef __cplusplus
21329 extern "C"
21330 {
21331 #endif
21332 /* We use char because int might match the return type of a gcc2
21333    builtin and then its argument prototype would still apply.  */
21334 char $ac_func ();
21335 /* The GNU C library defines this for functions which it implements
21336     to always fail with ENOSYS.  Some functions are actually named
21337     something starting with __ and the normal name is an alias.  */
21338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21339 choke me
21340 #else
21341 char (*f) () = $ac_func;
21342 #endif
21343 #ifdef __cplusplus
21344 }
21345 #endif
21346
21347 int
21348 main ()
21349 {
21350 return f != $ac_func;
21351   ;
21352   return 0;
21353 }
21354 _ACEOF
21355 rm -f conftest.$ac_objext conftest$ac_exeext
21356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21357   (eval $ac_link) 2>conftest.er1
21358   ac_status=$?
21359   grep -v '^ *+' conftest.er1 >conftest.err
21360   rm -f conftest.er1
21361   cat conftest.err >&5
21362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21363   (exit $ac_status); } &&
21364          { ac_try='test -z "$ac_c_werror_flag"
21365                          || test ! -s conftest.err'
21366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21367   (eval $ac_try) 2>&5
21368   ac_status=$?
21369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21370   (exit $ac_status); }; } &&
21371          { ac_try='test -s conftest$ac_exeext'
21372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21373   (eval $ac_try) 2>&5
21374   ac_status=$?
21375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21376   (exit $ac_status); }; }; then
21377   eval "$as_ac_var=yes"
21378 else
21379   echo "$as_me: failed program was:" >&5
21380 sed 's/^/| /' conftest.$ac_ext >&5
21381
21382 eval "$as_ac_var=no"
21383 fi
21384 rm -f conftest.err conftest.$ac_objext \
21385       conftest$ac_exeext conftest.$ac_ext
21386 fi
21387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21388 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21389 if test `eval echo '${'$as_ac_var'}'` = yes; then
21390   cat >>confdefs.h <<_ACEOF
21391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21392 _ACEOF
21393
21394 fi
21395 done
21396
21397   else
21398
21399   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
21400 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
21401   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
21402     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
21403   echo $ECHO_N "(cached) $ECHO_C" >&6
21404 else
21405
21406
21407
21408       ac_ext=cc
21409 ac_cpp='$CXXCPP $CPPFLAGS'
21410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21413
21414       cat >conftest.$ac_ext <<_ACEOF
21415 /* confdefs.h.  */
21416 _ACEOF
21417 cat confdefs.h >>conftest.$ac_ext
21418 cat >>conftest.$ac_ext <<_ACEOF
21419 /* end confdefs.h.  */
21420 #include <math.h>
21421                       #ifdef HAVE_IEEEFP_H
21422                       #include <ieeefp.h>
21423                       #endif
21424
21425 int
21426 main ()
21427 {
21428  _fabsl(0);
21429   ;
21430   return 0;
21431 }
21432 _ACEOF
21433 rm -f conftest.$ac_objext
21434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21435   (eval $ac_compile) 2>conftest.er1
21436   ac_status=$?
21437   grep -v '^ *+' conftest.er1 >conftest.err
21438   rm -f conftest.er1
21439   cat conftest.err >&5
21440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21441   (exit $ac_status); } &&
21442          { ac_try='test -z "$ac_cxx_werror_flag"
21443                          || test ! -s conftest.err'
21444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21445   (eval $ac_try) 2>&5
21446   ac_status=$?
21447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21448   (exit $ac_status); }; } &&
21449          { ac_try='test -s conftest.$ac_objext'
21450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21451   (eval $ac_try) 2>&5
21452   ac_status=$?
21453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21454   (exit $ac_status); }; }; then
21455   glibcxx_cv_func__fabsl_use=yes
21456 else
21457   echo "$as_me: failed program was:" >&5
21458 sed 's/^/| /' conftest.$ac_ext >&5
21459
21460 glibcxx_cv_func__fabsl_use=no
21461 fi
21462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21463       ac_ext=c
21464 ac_cpp='$CPP $CPPFLAGS'
21465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21468
21469
21470 fi
21471
21472   fi
21473   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
21474 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
21475
21476     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
21477
21478 for ac_func in _fabsl
21479 do
21480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21481 echo "$as_me:$LINENO: checking for $ac_func" >&5
21482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21483 if eval "test \"\${$as_ac_var+set}\" = set"; then
21484   echo $ECHO_N "(cached) $ECHO_C" >&6
21485 else
21486   if test x$gcc_no_link = xyes; then
21487   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21488 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21489    { (exit 1); exit 1; }; }
21490 fi
21491 cat >conftest.$ac_ext <<_ACEOF
21492 /* confdefs.h.  */
21493 _ACEOF
21494 cat confdefs.h >>conftest.$ac_ext
21495 cat >>conftest.$ac_ext <<_ACEOF
21496 /* end confdefs.h.  */
21497 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21498    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21499 #define $ac_func innocuous_$ac_func
21500
21501 /* System header to define __stub macros and hopefully few prototypes,
21502     which can conflict with char $ac_func (); below.
21503     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21504     <limits.h> exists even on freestanding compilers.  */
21505
21506 #ifdef __STDC__
21507 # include <limits.h>
21508 #else
21509 # include <assert.h>
21510 #endif
21511
21512 #undef $ac_func
21513
21514 /* Override any gcc2 internal prototype to avoid an error.  */
21515 #ifdef __cplusplus
21516 extern "C"
21517 {
21518 #endif
21519 /* We use char because int might match the return type of a gcc2
21520    builtin and then its argument prototype would still apply.  */
21521 char $ac_func ();
21522 /* The GNU C library defines this for functions which it implements
21523     to always fail with ENOSYS.  Some functions are actually named
21524     something starting with __ and the normal name is an alias.  */
21525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21526 choke me
21527 #else
21528 char (*f) () = $ac_func;
21529 #endif
21530 #ifdef __cplusplus
21531 }
21532 #endif
21533
21534 int
21535 main ()
21536 {
21537 return f != $ac_func;
21538   ;
21539   return 0;
21540 }
21541 _ACEOF
21542 rm -f conftest.$ac_objext conftest$ac_exeext
21543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21544   (eval $ac_link) 2>conftest.er1
21545   ac_status=$?
21546   grep -v '^ *+' conftest.er1 >conftest.err
21547   rm -f conftest.er1
21548   cat conftest.err >&5
21549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21550   (exit $ac_status); } &&
21551          { ac_try='test -z "$ac_c_werror_flag"
21552                          || test ! -s conftest.err'
21553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21554   (eval $ac_try) 2>&5
21555   ac_status=$?
21556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21557   (exit $ac_status); }; } &&
21558          { ac_try='test -s conftest$ac_exeext'
21559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21560   (eval $ac_try) 2>&5
21561   ac_status=$?
21562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21563   (exit $ac_status); }; }; then
21564   eval "$as_ac_var=yes"
21565 else
21566   echo "$as_me: failed program was:" >&5
21567 sed 's/^/| /' conftest.$ac_ext >&5
21568
21569 eval "$as_ac_var=no"
21570 fi
21571 rm -f conftest.err conftest.$ac_objext \
21572       conftest$ac_exeext conftest.$ac_ext
21573 fi
21574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21576 if test `eval echo '${'$as_ac_var'}'` = yes; then
21577   cat >>confdefs.h <<_ACEOF
21578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21579 _ACEOF
21580
21581 fi
21582 done
21583
21584     fi
21585   fi
21586
21587
21588
21589
21590
21591
21592   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
21593 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
21594   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
21595     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
21596   echo $ECHO_N "(cached) $ECHO_C" >&6
21597 else
21598
21599
21600
21601       ac_ext=cc
21602 ac_cpp='$CXXCPP $CPPFLAGS'
21603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21606
21607       cat >conftest.$ac_ext <<_ACEOF
21608 /* confdefs.h.  */
21609 _ACEOF
21610 cat confdefs.h >>conftest.$ac_ext
21611 cat >>conftest.$ac_ext <<_ACEOF
21612 /* end confdefs.h.  */
21613 #include <math.h>
21614 int
21615 main ()
21616 {
21617  fmodl(0, 0);
21618   ;
21619   return 0;
21620 }
21621 _ACEOF
21622 rm -f conftest.$ac_objext
21623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21624   (eval $ac_compile) 2>conftest.er1
21625   ac_status=$?
21626   grep -v '^ *+' conftest.er1 >conftest.err
21627   rm -f conftest.er1
21628   cat conftest.err >&5
21629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21630   (exit $ac_status); } &&
21631          { ac_try='test -z "$ac_cxx_werror_flag"
21632                          || test ! -s conftest.err'
21633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21634   (eval $ac_try) 2>&5
21635   ac_status=$?
21636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21637   (exit $ac_status); }; } &&
21638          { ac_try='test -s conftest.$ac_objext'
21639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21640   (eval $ac_try) 2>&5
21641   ac_status=$?
21642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21643   (exit $ac_status); }; }; then
21644   glibcxx_cv_func_fmodl_use=yes
21645 else
21646   echo "$as_me: failed program was:" >&5
21647 sed 's/^/| /' conftest.$ac_ext >&5
21648
21649 glibcxx_cv_func_fmodl_use=no
21650 fi
21651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21652       ac_ext=c
21653 ac_cpp='$CPP $CPPFLAGS'
21654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21657
21658
21659 fi
21660
21661   fi
21662   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
21663 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
21664
21665   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
21666
21667 for ac_func in fmodl
21668 do
21669 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21670 echo "$as_me:$LINENO: checking for $ac_func" >&5
21671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21672 if eval "test \"\${$as_ac_var+set}\" = set"; then
21673   echo $ECHO_N "(cached) $ECHO_C" >&6
21674 else
21675   if test x$gcc_no_link = xyes; then
21676   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21678    { (exit 1); exit 1; }; }
21679 fi
21680 cat >conftest.$ac_ext <<_ACEOF
21681 /* confdefs.h.  */
21682 _ACEOF
21683 cat confdefs.h >>conftest.$ac_ext
21684 cat >>conftest.$ac_ext <<_ACEOF
21685 /* end confdefs.h.  */
21686 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21687    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21688 #define $ac_func innocuous_$ac_func
21689
21690 /* System header to define __stub macros and hopefully few prototypes,
21691     which can conflict with char $ac_func (); below.
21692     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21693     <limits.h> exists even on freestanding compilers.  */
21694
21695 #ifdef __STDC__
21696 # include <limits.h>
21697 #else
21698 # include <assert.h>
21699 #endif
21700
21701 #undef $ac_func
21702
21703 /* Override any gcc2 internal prototype to avoid an error.  */
21704 #ifdef __cplusplus
21705 extern "C"
21706 {
21707 #endif
21708 /* We use char because int might match the return type of a gcc2
21709    builtin and then its argument prototype would still apply.  */
21710 char $ac_func ();
21711 /* The GNU C library defines this for functions which it implements
21712     to always fail with ENOSYS.  Some functions are actually named
21713     something starting with __ and the normal name is an alias.  */
21714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21715 choke me
21716 #else
21717 char (*f) () = $ac_func;
21718 #endif
21719 #ifdef __cplusplus
21720 }
21721 #endif
21722
21723 int
21724 main ()
21725 {
21726 return f != $ac_func;
21727   ;
21728   return 0;
21729 }
21730 _ACEOF
21731 rm -f conftest.$ac_objext conftest$ac_exeext
21732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21733   (eval $ac_link) 2>conftest.er1
21734   ac_status=$?
21735   grep -v '^ *+' conftest.er1 >conftest.err
21736   rm -f conftest.er1
21737   cat conftest.err >&5
21738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21739   (exit $ac_status); } &&
21740          { ac_try='test -z "$ac_c_werror_flag"
21741                          || test ! -s conftest.err'
21742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21743   (eval $ac_try) 2>&5
21744   ac_status=$?
21745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21746   (exit $ac_status); }; } &&
21747          { ac_try='test -s conftest$ac_exeext'
21748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21749   (eval $ac_try) 2>&5
21750   ac_status=$?
21751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21752   (exit $ac_status); }; }; then
21753   eval "$as_ac_var=yes"
21754 else
21755   echo "$as_me: failed program was:" >&5
21756 sed 's/^/| /' conftest.$ac_ext >&5
21757
21758 eval "$as_ac_var=no"
21759 fi
21760 rm -f conftest.err conftest.$ac_objext \
21761       conftest$ac_exeext conftest.$ac_ext
21762 fi
21763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21764 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21765 if test `eval echo '${'$as_ac_var'}'` = yes; then
21766   cat >>confdefs.h <<_ACEOF
21767 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21768 _ACEOF
21769
21770 fi
21771 done
21772
21773   else
21774
21775   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
21776 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
21777   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
21778     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
21779   echo $ECHO_N "(cached) $ECHO_C" >&6
21780 else
21781
21782
21783
21784       ac_ext=cc
21785 ac_cpp='$CXXCPP $CPPFLAGS'
21786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21789
21790       cat >conftest.$ac_ext <<_ACEOF
21791 /* confdefs.h.  */
21792 _ACEOF
21793 cat confdefs.h >>conftest.$ac_ext
21794 cat >>conftest.$ac_ext <<_ACEOF
21795 /* end confdefs.h.  */
21796 #include <math.h>
21797 int
21798 main ()
21799 {
21800  _fmodl(0, 0);
21801   ;
21802   return 0;
21803 }
21804 _ACEOF
21805 rm -f conftest.$ac_objext
21806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21807   (eval $ac_compile) 2>conftest.er1
21808   ac_status=$?
21809   grep -v '^ *+' conftest.er1 >conftest.err
21810   rm -f conftest.er1
21811   cat conftest.err >&5
21812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21813   (exit $ac_status); } &&
21814          { ac_try='test -z "$ac_cxx_werror_flag"
21815                          || test ! -s conftest.err'
21816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21817   (eval $ac_try) 2>&5
21818   ac_status=$?
21819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21820   (exit $ac_status); }; } &&
21821          { ac_try='test -s conftest.$ac_objext'
21822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21823   (eval $ac_try) 2>&5
21824   ac_status=$?
21825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21826   (exit $ac_status); }; }; then
21827   glibcxx_cv_func__fmodl_use=yes
21828 else
21829   echo "$as_me: failed program was:" >&5
21830 sed 's/^/| /' conftest.$ac_ext >&5
21831
21832 glibcxx_cv_func__fmodl_use=no
21833 fi
21834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21835       ac_ext=c
21836 ac_cpp='$CPP $CPPFLAGS'
21837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21840
21841
21842 fi
21843
21844   fi
21845   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
21846 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
21847
21848     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
21849
21850 for ac_func in _fmodl
21851 do
21852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21853 echo "$as_me:$LINENO: checking for $ac_func" >&5
21854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21855 if eval "test \"\${$as_ac_var+set}\" = set"; then
21856   echo $ECHO_N "(cached) $ECHO_C" >&6
21857 else
21858   if test x$gcc_no_link = xyes; then
21859   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21861    { (exit 1); exit 1; }; }
21862 fi
21863 cat >conftest.$ac_ext <<_ACEOF
21864 /* confdefs.h.  */
21865 _ACEOF
21866 cat confdefs.h >>conftest.$ac_ext
21867 cat >>conftest.$ac_ext <<_ACEOF
21868 /* end confdefs.h.  */
21869 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21870    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21871 #define $ac_func innocuous_$ac_func
21872
21873 /* System header to define __stub macros and hopefully few prototypes,
21874     which can conflict with char $ac_func (); below.
21875     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21876     <limits.h> exists even on freestanding compilers.  */
21877
21878 #ifdef __STDC__
21879 # include <limits.h>
21880 #else
21881 # include <assert.h>
21882 #endif
21883
21884 #undef $ac_func
21885
21886 /* Override any gcc2 internal prototype to avoid an error.  */
21887 #ifdef __cplusplus
21888 extern "C"
21889 {
21890 #endif
21891 /* We use char because int might match the return type of a gcc2
21892    builtin and then its argument prototype would still apply.  */
21893 char $ac_func ();
21894 /* The GNU C library defines this for functions which it implements
21895     to always fail with ENOSYS.  Some functions are actually named
21896     something starting with __ and the normal name is an alias.  */
21897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21898 choke me
21899 #else
21900 char (*f) () = $ac_func;
21901 #endif
21902 #ifdef __cplusplus
21903 }
21904 #endif
21905
21906 int
21907 main ()
21908 {
21909 return f != $ac_func;
21910   ;
21911   return 0;
21912 }
21913 _ACEOF
21914 rm -f conftest.$ac_objext conftest$ac_exeext
21915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21916   (eval $ac_link) 2>conftest.er1
21917   ac_status=$?
21918   grep -v '^ *+' conftest.er1 >conftest.err
21919   rm -f conftest.er1
21920   cat conftest.err >&5
21921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21922   (exit $ac_status); } &&
21923          { ac_try='test -z "$ac_c_werror_flag"
21924                          || test ! -s conftest.err'
21925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21926   (eval $ac_try) 2>&5
21927   ac_status=$?
21928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21929   (exit $ac_status); }; } &&
21930          { ac_try='test -s conftest$ac_exeext'
21931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21932   (eval $ac_try) 2>&5
21933   ac_status=$?
21934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21935   (exit $ac_status); }; }; then
21936   eval "$as_ac_var=yes"
21937 else
21938   echo "$as_me: failed program was:" >&5
21939 sed 's/^/| /' conftest.$ac_ext >&5
21940
21941 eval "$as_ac_var=no"
21942 fi
21943 rm -f conftest.err conftest.$ac_objext \
21944       conftest$ac_exeext conftest.$ac_ext
21945 fi
21946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21948 if test `eval echo '${'$as_ac_var'}'` = yes; then
21949   cat >>confdefs.h <<_ACEOF
21950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21951 _ACEOF
21952
21953 fi
21954 done
21955
21956     fi
21957   fi
21958
21959
21960
21961
21962
21963
21964   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
21965 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
21966   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
21967     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
21968   echo $ECHO_N "(cached) $ECHO_C" >&6
21969 else
21970
21971
21972
21973       ac_ext=cc
21974 ac_cpp='$CXXCPP $CPPFLAGS'
21975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21978
21979       cat >conftest.$ac_ext <<_ACEOF
21980 /* confdefs.h.  */
21981 _ACEOF
21982 cat confdefs.h >>conftest.$ac_ext
21983 cat >>conftest.$ac_ext <<_ACEOF
21984 /* end confdefs.h.  */
21985 #include <math.h>
21986 int
21987 main ()
21988 {
21989  frexpl(0, 0);
21990   ;
21991   return 0;
21992 }
21993 _ACEOF
21994 rm -f conftest.$ac_objext
21995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21996   (eval $ac_compile) 2>conftest.er1
21997   ac_status=$?
21998   grep -v '^ *+' conftest.er1 >conftest.err
21999   rm -f conftest.er1
22000   cat conftest.err >&5
22001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22002   (exit $ac_status); } &&
22003          { ac_try='test -z "$ac_cxx_werror_flag"
22004                          || test ! -s conftest.err'
22005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22006   (eval $ac_try) 2>&5
22007   ac_status=$?
22008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22009   (exit $ac_status); }; } &&
22010          { ac_try='test -s conftest.$ac_objext'
22011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22012   (eval $ac_try) 2>&5
22013   ac_status=$?
22014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22015   (exit $ac_status); }; }; then
22016   glibcxx_cv_func_frexpl_use=yes
22017 else
22018   echo "$as_me: failed program was:" >&5
22019 sed 's/^/| /' conftest.$ac_ext >&5
22020
22021 glibcxx_cv_func_frexpl_use=no
22022 fi
22023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22024       ac_ext=c
22025 ac_cpp='$CPP $CPPFLAGS'
22026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22029
22030
22031 fi
22032
22033   fi
22034   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
22035 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
22036
22037   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
22038
22039 for ac_func in frexpl
22040 do
22041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22042 echo "$as_me:$LINENO: checking for $ac_func" >&5
22043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22044 if eval "test \"\${$as_ac_var+set}\" = set"; then
22045   echo $ECHO_N "(cached) $ECHO_C" >&6
22046 else
22047   if test x$gcc_no_link = xyes; then
22048   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22050    { (exit 1); exit 1; }; }
22051 fi
22052 cat >conftest.$ac_ext <<_ACEOF
22053 /* confdefs.h.  */
22054 _ACEOF
22055 cat confdefs.h >>conftest.$ac_ext
22056 cat >>conftest.$ac_ext <<_ACEOF
22057 /* end confdefs.h.  */
22058 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22059    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22060 #define $ac_func innocuous_$ac_func
22061
22062 /* System header to define __stub macros and hopefully few prototypes,
22063     which can conflict with char $ac_func (); below.
22064     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22065     <limits.h> exists even on freestanding compilers.  */
22066
22067 #ifdef __STDC__
22068 # include <limits.h>
22069 #else
22070 # include <assert.h>
22071 #endif
22072
22073 #undef $ac_func
22074
22075 /* Override any gcc2 internal prototype to avoid an error.  */
22076 #ifdef __cplusplus
22077 extern "C"
22078 {
22079 #endif
22080 /* We use char because int might match the return type of a gcc2
22081    builtin and then its argument prototype would still apply.  */
22082 char $ac_func ();
22083 /* The GNU C library defines this for functions which it implements
22084     to always fail with ENOSYS.  Some functions are actually named
22085     something starting with __ and the normal name is an alias.  */
22086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22087 choke me
22088 #else
22089 char (*f) () = $ac_func;
22090 #endif
22091 #ifdef __cplusplus
22092 }
22093 #endif
22094
22095 int
22096 main ()
22097 {
22098 return f != $ac_func;
22099   ;
22100   return 0;
22101 }
22102 _ACEOF
22103 rm -f conftest.$ac_objext conftest$ac_exeext
22104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22105   (eval $ac_link) 2>conftest.er1
22106   ac_status=$?
22107   grep -v '^ *+' conftest.er1 >conftest.err
22108   rm -f conftest.er1
22109   cat conftest.err >&5
22110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22111   (exit $ac_status); } &&
22112          { ac_try='test -z "$ac_c_werror_flag"
22113                          || test ! -s conftest.err'
22114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22115   (eval $ac_try) 2>&5
22116   ac_status=$?
22117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22118   (exit $ac_status); }; } &&
22119          { ac_try='test -s conftest$ac_exeext'
22120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22121   (eval $ac_try) 2>&5
22122   ac_status=$?
22123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22124   (exit $ac_status); }; }; then
22125   eval "$as_ac_var=yes"
22126 else
22127   echo "$as_me: failed program was:" >&5
22128 sed 's/^/| /' conftest.$ac_ext >&5
22129
22130 eval "$as_ac_var=no"
22131 fi
22132 rm -f conftest.err conftest.$ac_objext \
22133       conftest$ac_exeext conftest.$ac_ext
22134 fi
22135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22136 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22137 if test `eval echo '${'$as_ac_var'}'` = yes; then
22138   cat >>confdefs.h <<_ACEOF
22139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22140 _ACEOF
22141
22142 fi
22143 done
22144
22145   else
22146
22147   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
22148 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
22149   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
22150     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
22151   echo $ECHO_N "(cached) $ECHO_C" >&6
22152 else
22153
22154
22155
22156       ac_ext=cc
22157 ac_cpp='$CXXCPP $CPPFLAGS'
22158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22161
22162       cat >conftest.$ac_ext <<_ACEOF
22163 /* confdefs.h.  */
22164 _ACEOF
22165 cat confdefs.h >>conftest.$ac_ext
22166 cat >>conftest.$ac_ext <<_ACEOF
22167 /* end confdefs.h.  */
22168 #include <math.h>
22169 int
22170 main ()
22171 {
22172  _frexpl(0, 0);
22173   ;
22174   return 0;
22175 }
22176 _ACEOF
22177 rm -f conftest.$ac_objext
22178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22179   (eval $ac_compile) 2>conftest.er1
22180   ac_status=$?
22181   grep -v '^ *+' conftest.er1 >conftest.err
22182   rm -f conftest.er1
22183   cat conftest.err >&5
22184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22185   (exit $ac_status); } &&
22186          { ac_try='test -z "$ac_cxx_werror_flag"
22187                          || test ! -s conftest.err'
22188   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22189   (eval $ac_try) 2>&5
22190   ac_status=$?
22191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22192   (exit $ac_status); }; } &&
22193          { ac_try='test -s conftest.$ac_objext'
22194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22195   (eval $ac_try) 2>&5
22196   ac_status=$?
22197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22198   (exit $ac_status); }; }; then
22199   glibcxx_cv_func__frexpl_use=yes
22200 else
22201   echo "$as_me: failed program was:" >&5
22202 sed 's/^/| /' conftest.$ac_ext >&5
22203
22204 glibcxx_cv_func__frexpl_use=no
22205 fi
22206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22207       ac_ext=c
22208 ac_cpp='$CPP $CPPFLAGS'
22209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22212
22213
22214 fi
22215
22216   fi
22217   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
22218 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
22219
22220     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
22221
22222 for ac_func in _frexpl
22223 do
22224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22225 echo "$as_me:$LINENO: checking for $ac_func" >&5
22226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22227 if eval "test \"\${$as_ac_var+set}\" = set"; then
22228   echo $ECHO_N "(cached) $ECHO_C" >&6
22229 else
22230   if test x$gcc_no_link = xyes; then
22231   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22233    { (exit 1); exit 1; }; }
22234 fi
22235 cat >conftest.$ac_ext <<_ACEOF
22236 /* confdefs.h.  */
22237 _ACEOF
22238 cat confdefs.h >>conftest.$ac_ext
22239 cat >>conftest.$ac_ext <<_ACEOF
22240 /* end confdefs.h.  */
22241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22242    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22243 #define $ac_func innocuous_$ac_func
22244
22245 /* System header to define __stub macros and hopefully few prototypes,
22246     which can conflict with char $ac_func (); below.
22247     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22248     <limits.h> exists even on freestanding compilers.  */
22249
22250 #ifdef __STDC__
22251 # include <limits.h>
22252 #else
22253 # include <assert.h>
22254 #endif
22255
22256 #undef $ac_func
22257
22258 /* Override any gcc2 internal prototype to avoid an error.  */
22259 #ifdef __cplusplus
22260 extern "C"
22261 {
22262 #endif
22263 /* We use char because int might match the return type of a gcc2
22264    builtin and then its argument prototype would still apply.  */
22265 char $ac_func ();
22266 /* The GNU C library defines this for functions which it implements
22267     to always fail with ENOSYS.  Some functions are actually named
22268     something starting with __ and the normal name is an alias.  */
22269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22270 choke me
22271 #else
22272 char (*f) () = $ac_func;
22273 #endif
22274 #ifdef __cplusplus
22275 }
22276 #endif
22277
22278 int
22279 main ()
22280 {
22281 return f != $ac_func;
22282   ;
22283   return 0;
22284 }
22285 _ACEOF
22286 rm -f conftest.$ac_objext conftest$ac_exeext
22287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22288   (eval $ac_link) 2>conftest.er1
22289   ac_status=$?
22290   grep -v '^ *+' conftest.er1 >conftest.err
22291   rm -f conftest.er1
22292   cat conftest.err >&5
22293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22294   (exit $ac_status); } &&
22295          { ac_try='test -z "$ac_c_werror_flag"
22296                          || test ! -s conftest.err'
22297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22298   (eval $ac_try) 2>&5
22299   ac_status=$?
22300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22301   (exit $ac_status); }; } &&
22302          { ac_try='test -s conftest$ac_exeext'
22303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22304   (eval $ac_try) 2>&5
22305   ac_status=$?
22306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22307   (exit $ac_status); }; }; then
22308   eval "$as_ac_var=yes"
22309 else
22310   echo "$as_me: failed program was:" >&5
22311 sed 's/^/| /' conftest.$ac_ext >&5
22312
22313 eval "$as_ac_var=no"
22314 fi
22315 rm -f conftest.err conftest.$ac_objext \
22316       conftest$ac_exeext conftest.$ac_ext
22317 fi
22318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22320 if test `eval echo '${'$as_ac_var'}'` = yes; then
22321   cat >>confdefs.h <<_ACEOF
22322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22323 _ACEOF
22324
22325 fi
22326 done
22327
22328     fi
22329   fi
22330
22331
22332
22333
22334
22335
22336   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
22337 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
22338   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
22339     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
22340   echo $ECHO_N "(cached) $ECHO_C" >&6
22341 else
22342
22343
22344
22345       ac_ext=cc
22346 ac_cpp='$CXXCPP $CPPFLAGS'
22347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22350
22351       cat >conftest.$ac_ext <<_ACEOF
22352 /* confdefs.h.  */
22353 _ACEOF
22354 cat confdefs.h >>conftest.$ac_ext
22355 cat >>conftest.$ac_ext <<_ACEOF
22356 /* end confdefs.h.  */
22357 #include <math.h>
22358 int
22359 main ()
22360 {
22361  hypotl(0, 0);
22362   ;
22363   return 0;
22364 }
22365 _ACEOF
22366 rm -f conftest.$ac_objext
22367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22368   (eval $ac_compile) 2>conftest.er1
22369   ac_status=$?
22370   grep -v '^ *+' conftest.er1 >conftest.err
22371   rm -f conftest.er1
22372   cat conftest.err >&5
22373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22374   (exit $ac_status); } &&
22375          { ac_try='test -z "$ac_cxx_werror_flag"
22376                          || test ! -s conftest.err'
22377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22378   (eval $ac_try) 2>&5
22379   ac_status=$?
22380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22381   (exit $ac_status); }; } &&
22382          { ac_try='test -s conftest.$ac_objext'
22383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22384   (eval $ac_try) 2>&5
22385   ac_status=$?
22386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22387   (exit $ac_status); }; }; then
22388   glibcxx_cv_func_hypotl_use=yes
22389 else
22390   echo "$as_me: failed program was:" >&5
22391 sed 's/^/| /' conftest.$ac_ext >&5
22392
22393 glibcxx_cv_func_hypotl_use=no
22394 fi
22395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22396       ac_ext=c
22397 ac_cpp='$CPP $CPPFLAGS'
22398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22401
22402
22403 fi
22404
22405   fi
22406   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
22407 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
22408
22409   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
22410
22411 for ac_func in hypotl
22412 do
22413 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22414 echo "$as_me:$LINENO: checking for $ac_func" >&5
22415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22416 if eval "test \"\${$as_ac_var+set}\" = set"; then
22417   echo $ECHO_N "(cached) $ECHO_C" >&6
22418 else
22419   if test x$gcc_no_link = xyes; then
22420   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22422    { (exit 1); exit 1; }; }
22423 fi
22424 cat >conftest.$ac_ext <<_ACEOF
22425 /* confdefs.h.  */
22426 _ACEOF
22427 cat confdefs.h >>conftest.$ac_ext
22428 cat >>conftest.$ac_ext <<_ACEOF
22429 /* end confdefs.h.  */
22430 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22431    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22432 #define $ac_func innocuous_$ac_func
22433
22434 /* System header to define __stub macros and hopefully few prototypes,
22435     which can conflict with char $ac_func (); below.
22436     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22437     <limits.h> exists even on freestanding compilers.  */
22438
22439 #ifdef __STDC__
22440 # include <limits.h>
22441 #else
22442 # include <assert.h>
22443 #endif
22444
22445 #undef $ac_func
22446
22447 /* Override any gcc2 internal prototype to avoid an error.  */
22448 #ifdef __cplusplus
22449 extern "C"
22450 {
22451 #endif
22452 /* We use char because int might match the return type of a gcc2
22453    builtin and then its argument prototype would still apply.  */
22454 char $ac_func ();
22455 /* The GNU C library defines this for functions which it implements
22456     to always fail with ENOSYS.  Some functions are actually named
22457     something starting with __ and the normal name is an alias.  */
22458 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22459 choke me
22460 #else
22461 char (*f) () = $ac_func;
22462 #endif
22463 #ifdef __cplusplus
22464 }
22465 #endif
22466
22467 int
22468 main ()
22469 {
22470 return f != $ac_func;
22471   ;
22472   return 0;
22473 }
22474 _ACEOF
22475 rm -f conftest.$ac_objext conftest$ac_exeext
22476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22477   (eval $ac_link) 2>conftest.er1
22478   ac_status=$?
22479   grep -v '^ *+' conftest.er1 >conftest.err
22480   rm -f conftest.er1
22481   cat conftest.err >&5
22482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22483   (exit $ac_status); } &&
22484          { ac_try='test -z "$ac_c_werror_flag"
22485                          || test ! -s conftest.err'
22486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22487   (eval $ac_try) 2>&5
22488   ac_status=$?
22489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22490   (exit $ac_status); }; } &&
22491          { ac_try='test -s conftest$ac_exeext'
22492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22493   (eval $ac_try) 2>&5
22494   ac_status=$?
22495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22496   (exit $ac_status); }; }; then
22497   eval "$as_ac_var=yes"
22498 else
22499   echo "$as_me: failed program was:" >&5
22500 sed 's/^/| /' conftest.$ac_ext >&5
22501
22502 eval "$as_ac_var=no"
22503 fi
22504 rm -f conftest.err conftest.$ac_objext \
22505       conftest$ac_exeext conftest.$ac_ext
22506 fi
22507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22508 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22509 if test `eval echo '${'$as_ac_var'}'` = yes; then
22510   cat >>confdefs.h <<_ACEOF
22511 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22512 _ACEOF
22513
22514 fi
22515 done
22516
22517   else
22518
22519   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
22520 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
22521   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
22522     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
22523   echo $ECHO_N "(cached) $ECHO_C" >&6
22524 else
22525
22526
22527
22528       ac_ext=cc
22529 ac_cpp='$CXXCPP $CPPFLAGS'
22530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22533
22534       cat >conftest.$ac_ext <<_ACEOF
22535 /* confdefs.h.  */
22536 _ACEOF
22537 cat confdefs.h >>conftest.$ac_ext
22538 cat >>conftest.$ac_ext <<_ACEOF
22539 /* end confdefs.h.  */
22540 #include <math.h>
22541 int
22542 main ()
22543 {
22544  _hypotl(0, 0);
22545   ;
22546   return 0;
22547 }
22548 _ACEOF
22549 rm -f conftest.$ac_objext
22550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22551   (eval $ac_compile) 2>conftest.er1
22552   ac_status=$?
22553   grep -v '^ *+' conftest.er1 >conftest.err
22554   rm -f conftest.er1
22555   cat conftest.err >&5
22556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22557   (exit $ac_status); } &&
22558          { ac_try='test -z "$ac_cxx_werror_flag"
22559                          || test ! -s conftest.err'
22560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22561   (eval $ac_try) 2>&5
22562   ac_status=$?
22563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22564   (exit $ac_status); }; } &&
22565          { ac_try='test -s conftest.$ac_objext'
22566   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22567   (eval $ac_try) 2>&5
22568   ac_status=$?
22569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22570   (exit $ac_status); }; }; then
22571   glibcxx_cv_func__hypotl_use=yes
22572 else
22573   echo "$as_me: failed program was:" >&5
22574 sed 's/^/| /' conftest.$ac_ext >&5
22575
22576 glibcxx_cv_func__hypotl_use=no
22577 fi
22578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22579       ac_ext=c
22580 ac_cpp='$CPP $CPPFLAGS'
22581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22584
22585
22586 fi
22587
22588   fi
22589   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
22590 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
22591
22592     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
22593
22594 for ac_func in _hypotl
22595 do
22596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22597 echo "$as_me:$LINENO: checking for $ac_func" >&5
22598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22599 if eval "test \"\${$as_ac_var+set}\" = set"; then
22600   echo $ECHO_N "(cached) $ECHO_C" >&6
22601 else
22602   if test x$gcc_no_link = xyes; then
22603   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22605    { (exit 1); exit 1; }; }
22606 fi
22607 cat >conftest.$ac_ext <<_ACEOF
22608 /* confdefs.h.  */
22609 _ACEOF
22610 cat confdefs.h >>conftest.$ac_ext
22611 cat >>conftest.$ac_ext <<_ACEOF
22612 /* end confdefs.h.  */
22613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22614    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22615 #define $ac_func innocuous_$ac_func
22616
22617 /* System header to define __stub macros and hopefully few prototypes,
22618     which can conflict with char $ac_func (); below.
22619     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22620     <limits.h> exists even on freestanding compilers.  */
22621
22622 #ifdef __STDC__
22623 # include <limits.h>
22624 #else
22625 # include <assert.h>
22626 #endif
22627
22628 #undef $ac_func
22629
22630 /* Override any gcc2 internal prototype to avoid an error.  */
22631 #ifdef __cplusplus
22632 extern "C"
22633 {
22634 #endif
22635 /* We use char because int might match the return type of a gcc2
22636    builtin and then its argument prototype would still apply.  */
22637 char $ac_func ();
22638 /* The GNU C library defines this for functions which it implements
22639     to always fail with ENOSYS.  Some functions are actually named
22640     something starting with __ and the normal name is an alias.  */
22641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22642 choke me
22643 #else
22644 char (*f) () = $ac_func;
22645 #endif
22646 #ifdef __cplusplus
22647 }
22648 #endif
22649
22650 int
22651 main ()
22652 {
22653 return f != $ac_func;
22654   ;
22655   return 0;
22656 }
22657 _ACEOF
22658 rm -f conftest.$ac_objext conftest$ac_exeext
22659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22660   (eval $ac_link) 2>conftest.er1
22661   ac_status=$?
22662   grep -v '^ *+' conftest.er1 >conftest.err
22663   rm -f conftest.er1
22664   cat conftest.err >&5
22665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22666   (exit $ac_status); } &&
22667          { ac_try='test -z "$ac_c_werror_flag"
22668                          || test ! -s conftest.err'
22669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22670   (eval $ac_try) 2>&5
22671   ac_status=$?
22672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22673   (exit $ac_status); }; } &&
22674          { ac_try='test -s conftest$ac_exeext'
22675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22676   (eval $ac_try) 2>&5
22677   ac_status=$?
22678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22679   (exit $ac_status); }; }; then
22680   eval "$as_ac_var=yes"
22681 else
22682   echo "$as_me: failed program was:" >&5
22683 sed 's/^/| /' conftest.$ac_ext >&5
22684
22685 eval "$as_ac_var=no"
22686 fi
22687 rm -f conftest.err conftest.$ac_objext \
22688       conftest$ac_exeext conftest.$ac_ext
22689 fi
22690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22692 if test `eval echo '${'$as_ac_var'}'` = yes; then
22693   cat >>confdefs.h <<_ACEOF
22694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22695 _ACEOF
22696
22697 fi
22698 done
22699
22700     fi
22701   fi
22702
22703
22704
22705
22706
22707
22708   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
22709 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
22710   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
22711     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
22712   echo $ECHO_N "(cached) $ECHO_C" >&6
22713 else
22714
22715
22716
22717       ac_ext=cc
22718 ac_cpp='$CXXCPP $CPPFLAGS'
22719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22722
22723       cat >conftest.$ac_ext <<_ACEOF
22724 /* confdefs.h.  */
22725 _ACEOF
22726 cat confdefs.h >>conftest.$ac_ext
22727 cat >>conftest.$ac_ext <<_ACEOF
22728 /* end confdefs.h.  */
22729 #include <math.h>
22730 int
22731 main ()
22732 {
22733  ldexpl(0, 0);
22734   ;
22735   return 0;
22736 }
22737 _ACEOF
22738 rm -f conftest.$ac_objext
22739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22740   (eval $ac_compile) 2>conftest.er1
22741   ac_status=$?
22742   grep -v '^ *+' conftest.er1 >conftest.err
22743   rm -f conftest.er1
22744   cat conftest.err >&5
22745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22746   (exit $ac_status); } &&
22747          { ac_try='test -z "$ac_cxx_werror_flag"
22748                          || test ! -s conftest.err'
22749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22750   (eval $ac_try) 2>&5
22751   ac_status=$?
22752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22753   (exit $ac_status); }; } &&
22754          { ac_try='test -s conftest.$ac_objext'
22755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22756   (eval $ac_try) 2>&5
22757   ac_status=$?
22758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22759   (exit $ac_status); }; }; then
22760   glibcxx_cv_func_ldexpl_use=yes
22761 else
22762   echo "$as_me: failed program was:" >&5
22763 sed 's/^/| /' conftest.$ac_ext >&5
22764
22765 glibcxx_cv_func_ldexpl_use=no
22766 fi
22767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22768       ac_ext=c
22769 ac_cpp='$CPP $CPPFLAGS'
22770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22773
22774
22775 fi
22776
22777   fi
22778   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
22779 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
22780
22781   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
22782
22783 for ac_func in ldexpl
22784 do
22785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22786 echo "$as_me:$LINENO: checking for $ac_func" >&5
22787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22788 if eval "test \"\${$as_ac_var+set}\" = set"; then
22789   echo $ECHO_N "(cached) $ECHO_C" >&6
22790 else
22791   if test x$gcc_no_link = xyes; then
22792   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22794    { (exit 1); exit 1; }; }
22795 fi
22796 cat >conftest.$ac_ext <<_ACEOF
22797 /* confdefs.h.  */
22798 _ACEOF
22799 cat confdefs.h >>conftest.$ac_ext
22800 cat >>conftest.$ac_ext <<_ACEOF
22801 /* end confdefs.h.  */
22802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22803    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22804 #define $ac_func innocuous_$ac_func
22805
22806 /* System header to define __stub macros and hopefully few prototypes,
22807     which can conflict with char $ac_func (); below.
22808     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22809     <limits.h> exists even on freestanding compilers.  */
22810
22811 #ifdef __STDC__
22812 # include <limits.h>
22813 #else
22814 # include <assert.h>
22815 #endif
22816
22817 #undef $ac_func
22818
22819 /* Override any gcc2 internal prototype to avoid an error.  */
22820 #ifdef __cplusplus
22821 extern "C"
22822 {
22823 #endif
22824 /* We use char because int might match the return type of a gcc2
22825    builtin and then its argument prototype would still apply.  */
22826 char $ac_func ();
22827 /* The GNU C library defines this for functions which it implements
22828     to always fail with ENOSYS.  Some functions are actually named
22829     something starting with __ and the normal name is an alias.  */
22830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22831 choke me
22832 #else
22833 char (*f) () = $ac_func;
22834 #endif
22835 #ifdef __cplusplus
22836 }
22837 #endif
22838
22839 int
22840 main ()
22841 {
22842 return f != $ac_func;
22843   ;
22844   return 0;
22845 }
22846 _ACEOF
22847 rm -f conftest.$ac_objext conftest$ac_exeext
22848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22849   (eval $ac_link) 2>conftest.er1
22850   ac_status=$?
22851   grep -v '^ *+' conftest.er1 >conftest.err
22852   rm -f conftest.er1
22853   cat conftest.err >&5
22854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22855   (exit $ac_status); } &&
22856          { ac_try='test -z "$ac_c_werror_flag"
22857                          || test ! -s conftest.err'
22858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22859   (eval $ac_try) 2>&5
22860   ac_status=$?
22861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22862   (exit $ac_status); }; } &&
22863          { ac_try='test -s conftest$ac_exeext'
22864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22865   (eval $ac_try) 2>&5
22866   ac_status=$?
22867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22868   (exit $ac_status); }; }; then
22869   eval "$as_ac_var=yes"
22870 else
22871   echo "$as_me: failed program was:" >&5
22872 sed 's/^/| /' conftest.$ac_ext >&5
22873
22874 eval "$as_ac_var=no"
22875 fi
22876 rm -f conftest.err conftest.$ac_objext \
22877       conftest$ac_exeext conftest.$ac_ext
22878 fi
22879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22881 if test `eval echo '${'$as_ac_var'}'` = yes; then
22882   cat >>confdefs.h <<_ACEOF
22883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22884 _ACEOF
22885
22886 fi
22887 done
22888
22889   else
22890
22891   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
22892 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
22893   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
22894     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
22895   echo $ECHO_N "(cached) $ECHO_C" >&6
22896 else
22897
22898
22899
22900       ac_ext=cc
22901 ac_cpp='$CXXCPP $CPPFLAGS'
22902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22905
22906       cat >conftest.$ac_ext <<_ACEOF
22907 /* confdefs.h.  */
22908 _ACEOF
22909 cat confdefs.h >>conftest.$ac_ext
22910 cat >>conftest.$ac_ext <<_ACEOF
22911 /* end confdefs.h.  */
22912 #include <math.h>
22913 int
22914 main ()
22915 {
22916  _ldexpl(0, 0);
22917   ;
22918   return 0;
22919 }
22920 _ACEOF
22921 rm -f conftest.$ac_objext
22922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22923   (eval $ac_compile) 2>conftest.er1
22924   ac_status=$?
22925   grep -v '^ *+' conftest.er1 >conftest.err
22926   rm -f conftest.er1
22927   cat conftest.err >&5
22928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22929   (exit $ac_status); } &&
22930          { ac_try='test -z "$ac_cxx_werror_flag"
22931                          || test ! -s conftest.err'
22932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22933   (eval $ac_try) 2>&5
22934   ac_status=$?
22935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22936   (exit $ac_status); }; } &&
22937          { ac_try='test -s conftest.$ac_objext'
22938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22939   (eval $ac_try) 2>&5
22940   ac_status=$?
22941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22942   (exit $ac_status); }; }; then
22943   glibcxx_cv_func__ldexpl_use=yes
22944 else
22945   echo "$as_me: failed program was:" >&5
22946 sed 's/^/| /' conftest.$ac_ext >&5
22947
22948 glibcxx_cv_func__ldexpl_use=no
22949 fi
22950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22951       ac_ext=c
22952 ac_cpp='$CPP $CPPFLAGS'
22953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22956
22957
22958 fi
22959
22960   fi
22961   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
22962 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
22963
22964     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
22965
22966 for ac_func in _ldexpl
22967 do
22968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22969 echo "$as_me:$LINENO: checking for $ac_func" >&5
22970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22971 if eval "test \"\${$as_ac_var+set}\" = set"; then
22972   echo $ECHO_N "(cached) $ECHO_C" >&6
22973 else
22974   if test x$gcc_no_link = xyes; then
22975   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22977    { (exit 1); exit 1; }; }
22978 fi
22979 cat >conftest.$ac_ext <<_ACEOF
22980 /* confdefs.h.  */
22981 _ACEOF
22982 cat confdefs.h >>conftest.$ac_ext
22983 cat >>conftest.$ac_ext <<_ACEOF
22984 /* end confdefs.h.  */
22985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22986    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22987 #define $ac_func innocuous_$ac_func
22988
22989 /* System header to define __stub macros and hopefully few prototypes,
22990     which can conflict with char $ac_func (); below.
22991     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22992     <limits.h> exists even on freestanding compilers.  */
22993
22994 #ifdef __STDC__
22995 # include <limits.h>
22996 #else
22997 # include <assert.h>
22998 #endif
22999
23000 #undef $ac_func
23001
23002 /* Override any gcc2 internal prototype to avoid an error.  */
23003 #ifdef __cplusplus
23004 extern "C"
23005 {
23006 #endif
23007 /* We use char because int might match the return type of a gcc2
23008    builtin and then its argument prototype would still apply.  */
23009 char $ac_func ();
23010 /* The GNU C library defines this for functions which it implements
23011     to always fail with ENOSYS.  Some functions are actually named
23012     something starting with __ and the normal name is an alias.  */
23013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23014 choke me
23015 #else
23016 char (*f) () = $ac_func;
23017 #endif
23018 #ifdef __cplusplus
23019 }
23020 #endif
23021
23022 int
23023 main ()
23024 {
23025 return f != $ac_func;
23026   ;
23027   return 0;
23028 }
23029 _ACEOF
23030 rm -f conftest.$ac_objext conftest$ac_exeext
23031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23032   (eval $ac_link) 2>conftest.er1
23033   ac_status=$?
23034   grep -v '^ *+' conftest.er1 >conftest.err
23035   rm -f conftest.er1
23036   cat conftest.err >&5
23037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23038   (exit $ac_status); } &&
23039          { ac_try='test -z "$ac_c_werror_flag"
23040                          || test ! -s conftest.err'
23041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23042   (eval $ac_try) 2>&5
23043   ac_status=$?
23044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23045   (exit $ac_status); }; } &&
23046          { ac_try='test -s conftest$ac_exeext'
23047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23048   (eval $ac_try) 2>&5
23049   ac_status=$?
23050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23051   (exit $ac_status); }; }; then
23052   eval "$as_ac_var=yes"
23053 else
23054   echo "$as_me: failed program was:" >&5
23055 sed 's/^/| /' conftest.$ac_ext >&5
23056
23057 eval "$as_ac_var=no"
23058 fi
23059 rm -f conftest.err conftest.$ac_objext \
23060       conftest$ac_exeext conftest.$ac_ext
23061 fi
23062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23063 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23064 if test `eval echo '${'$as_ac_var'}'` = yes; then
23065   cat >>confdefs.h <<_ACEOF
23066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23067 _ACEOF
23068
23069 fi
23070 done
23071
23072     fi
23073   fi
23074
23075
23076
23077
23078
23079
23080   echo "$as_me:$LINENO: checking for logl declaration" >&5
23081 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
23082   if test x${glibcxx_cv_func_logl_use+set} != xset; then
23083     if test "${glibcxx_cv_func_logl_use+set}" = set; then
23084   echo $ECHO_N "(cached) $ECHO_C" >&6
23085 else
23086
23087
23088
23089       ac_ext=cc
23090 ac_cpp='$CXXCPP $CPPFLAGS'
23091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23094
23095       cat >conftest.$ac_ext <<_ACEOF
23096 /* confdefs.h.  */
23097 _ACEOF
23098 cat confdefs.h >>conftest.$ac_ext
23099 cat >>conftest.$ac_ext <<_ACEOF
23100 /* end confdefs.h.  */
23101 #include <math.h>
23102                       #ifdef HAVE_IEEEFP_H
23103                       #include <ieeefp.h>
23104                       #endif
23105
23106 int
23107 main ()
23108 {
23109  logl(0);
23110   ;
23111   return 0;
23112 }
23113 _ACEOF
23114 rm -f conftest.$ac_objext
23115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23116   (eval $ac_compile) 2>conftest.er1
23117   ac_status=$?
23118   grep -v '^ *+' conftest.er1 >conftest.err
23119   rm -f conftest.er1
23120   cat conftest.err >&5
23121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23122   (exit $ac_status); } &&
23123          { ac_try='test -z "$ac_cxx_werror_flag"
23124                          || test ! -s conftest.err'
23125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23126   (eval $ac_try) 2>&5
23127   ac_status=$?
23128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23129   (exit $ac_status); }; } &&
23130          { ac_try='test -s conftest.$ac_objext'
23131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23132   (eval $ac_try) 2>&5
23133   ac_status=$?
23134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23135   (exit $ac_status); }; }; then
23136   glibcxx_cv_func_logl_use=yes
23137 else
23138   echo "$as_me: failed program was:" >&5
23139 sed 's/^/| /' conftest.$ac_ext >&5
23140
23141 glibcxx_cv_func_logl_use=no
23142 fi
23143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23144       ac_ext=c
23145 ac_cpp='$CPP $CPPFLAGS'
23146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23149
23150
23151 fi
23152
23153   fi
23154   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
23155 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
23156
23157   if test x$glibcxx_cv_func_logl_use = x"yes"; then
23158
23159 for ac_func in logl
23160 do
23161 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23162 echo "$as_me:$LINENO: checking for $ac_func" >&5
23163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23164 if eval "test \"\${$as_ac_var+set}\" = set"; then
23165   echo $ECHO_N "(cached) $ECHO_C" >&6
23166 else
23167   if test x$gcc_no_link = xyes; then
23168   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23170    { (exit 1); exit 1; }; }
23171 fi
23172 cat >conftest.$ac_ext <<_ACEOF
23173 /* confdefs.h.  */
23174 _ACEOF
23175 cat confdefs.h >>conftest.$ac_ext
23176 cat >>conftest.$ac_ext <<_ACEOF
23177 /* end confdefs.h.  */
23178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23179    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23180 #define $ac_func innocuous_$ac_func
23181
23182 /* System header to define __stub macros and hopefully few prototypes,
23183     which can conflict with char $ac_func (); below.
23184     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23185     <limits.h> exists even on freestanding compilers.  */
23186
23187 #ifdef __STDC__
23188 # include <limits.h>
23189 #else
23190 # include <assert.h>
23191 #endif
23192
23193 #undef $ac_func
23194
23195 /* Override any gcc2 internal prototype to avoid an error.  */
23196 #ifdef __cplusplus
23197 extern "C"
23198 {
23199 #endif
23200 /* We use char because int might match the return type of a gcc2
23201    builtin and then its argument prototype would still apply.  */
23202 char $ac_func ();
23203 /* The GNU C library defines this for functions which it implements
23204     to always fail with ENOSYS.  Some functions are actually named
23205     something starting with __ and the normal name is an alias.  */
23206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23207 choke me
23208 #else
23209 char (*f) () = $ac_func;
23210 #endif
23211 #ifdef __cplusplus
23212 }
23213 #endif
23214
23215 int
23216 main ()
23217 {
23218 return f != $ac_func;
23219   ;
23220   return 0;
23221 }
23222 _ACEOF
23223 rm -f conftest.$ac_objext conftest$ac_exeext
23224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23225   (eval $ac_link) 2>conftest.er1
23226   ac_status=$?
23227   grep -v '^ *+' conftest.er1 >conftest.err
23228   rm -f conftest.er1
23229   cat conftest.err >&5
23230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23231   (exit $ac_status); } &&
23232          { ac_try='test -z "$ac_c_werror_flag"
23233                          || test ! -s conftest.err'
23234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23235   (eval $ac_try) 2>&5
23236   ac_status=$?
23237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23238   (exit $ac_status); }; } &&
23239          { ac_try='test -s conftest$ac_exeext'
23240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23241   (eval $ac_try) 2>&5
23242   ac_status=$?
23243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23244   (exit $ac_status); }; }; then
23245   eval "$as_ac_var=yes"
23246 else
23247   echo "$as_me: failed program was:" >&5
23248 sed 's/^/| /' conftest.$ac_ext >&5
23249
23250 eval "$as_ac_var=no"
23251 fi
23252 rm -f conftest.err conftest.$ac_objext \
23253       conftest$ac_exeext conftest.$ac_ext
23254 fi
23255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23257 if test `eval echo '${'$as_ac_var'}'` = yes; then
23258   cat >>confdefs.h <<_ACEOF
23259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23260 _ACEOF
23261
23262 fi
23263 done
23264
23265   else
23266
23267   echo "$as_me:$LINENO: checking for _logl declaration" >&5
23268 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
23269   if test x${glibcxx_cv_func__logl_use+set} != xset; then
23270     if test "${glibcxx_cv_func__logl_use+set}" = set; then
23271   echo $ECHO_N "(cached) $ECHO_C" >&6
23272 else
23273
23274
23275
23276       ac_ext=cc
23277 ac_cpp='$CXXCPP $CPPFLAGS'
23278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23281
23282       cat >conftest.$ac_ext <<_ACEOF
23283 /* confdefs.h.  */
23284 _ACEOF
23285 cat confdefs.h >>conftest.$ac_ext
23286 cat >>conftest.$ac_ext <<_ACEOF
23287 /* end confdefs.h.  */
23288 #include <math.h>
23289                       #ifdef HAVE_IEEEFP_H
23290                       #include <ieeefp.h>
23291                       #endif
23292
23293 int
23294 main ()
23295 {
23296  _logl(0);
23297   ;
23298   return 0;
23299 }
23300 _ACEOF
23301 rm -f conftest.$ac_objext
23302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23303   (eval $ac_compile) 2>conftest.er1
23304   ac_status=$?
23305   grep -v '^ *+' conftest.er1 >conftest.err
23306   rm -f conftest.er1
23307   cat conftest.err >&5
23308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23309   (exit $ac_status); } &&
23310          { ac_try='test -z "$ac_cxx_werror_flag"
23311                          || test ! -s conftest.err'
23312   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23313   (eval $ac_try) 2>&5
23314   ac_status=$?
23315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23316   (exit $ac_status); }; } &&
23317          { ac_try='test -s conftest.$ac_objext'
23318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23319   (eval $ac_try) 2>&5
23320   ac_status=$?
23321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23322   (exit $ac_status); }; }; then
23323   glibcxx_cv_func__logl_use=yes
23324 else
23325   echo "$as_me: failed program was:" >&5
23326 sed 's/^/| /' conftest.$ac_ext >&5
23327
23328 glibcxx_cv_func__logl_use=no
23329 fi
23330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23331       ac_ext=c
23332 ac_cpp='$CPP $CPPFLAGS'
23333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23336
23337
23338 fi
23339
23340   fi
23341   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
23342 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
23343
23344     if test x$glibcxx_cv_func__logl_use = x"yes"; then
23345
23346 for ac_func in _logl
23347 do
23348 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23349 echo "$as_me:$LINENO: checking for $ac_func" >&5
23350 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23351 if eval "test \"\${$as_ac_var+set}\" = set"; then
23352   echo $ECHO_N "(cached) $ECHO_C" >&6
23353 else
23354   if test x$gcc_no_link = xyes; then
23355   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23356 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23357    { (exit 1); exit 1; }; }
23358 fi
23359 cat >conftest.$ac_ext <<_ACEOF
23360 /* confdefs.h.  */
23361 _ACEOF
23362 cat confdefs.h >>conftest.$ac_ext
23363 cat >>conftest.$ac_ext <<_ACEOF
23364 /* end confdefs.h.  */
23365 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23366    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23367 #define $ac_func innocuous_$ac_func
23368
23369 /* System header to define __stub macros and hopefully few prototypes,
23370     which can conflict with char $ac_func (); below.
23371     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23372     <limits.h> exists even on freestanding compilers.  */
23373
23374 #ifdef __STDC__
23375 # include <limits.h>
23376 #else
23377 # include <assert.h>
23378 #endif
23379
23380 #undef $ac_func
23381
23382 /* Override any gcc2 internal prototype to avoid an error.  */
23383 #ifdef __cplusplus
23384 extern "C"
23385 {
23386 #endif
23387 /* We use char because int might match the return type of a gcc2
23388    builtin and then its argument prototype would still apply.  */
23389 char $ac_func ();
23390 /* The GNU C library defines this for functions which it implements
23391     to always fail with ENOSYS.  Some functions are actually named
23392     something starting with __ and the normal name is an alias.  */
23393 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23394 choke me
23395 #else
23396 char (*f) () = $ac_func;
23397 #endif
23398 #ifdef __cplusplus
23399 }
23400 #endif
23401
23402 int
23403 main ()
23404 {
23405 return f != $ac_func;
23406   ;
23407   return 0;
23408 }
23409 _ACEOF
23410 rm -f conftest.$ac_objext conftest$ac_exeext
23411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23412   (eval $ac_link) 2>conftest.er1
23413   ac_status=$?
23414   grep -v '^ *+' conftest.er1 >conftest.err
23415   rm -f conftest.er1
23416   cat conftest.err >&5
23417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23418   (exit $ac_status); } &&
23419          { ac_try='test -z "$ac_c_werror_flag"
23420                          || test ! -s conftest.err'
23421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23422   (eval $ac_try) 2>&5
23423   ac_status=$?
23424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23425   (exit $ac_status); }; } &&
23426          { ac_try='test -s conftest$ac_exeext'
23427   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23428   (eval $ac_try) 2>&5
23429   ac_status=$?
23430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23431   (exit $ac_status); }; }; then
23432   eval "$as_ac_var=yes"
23433 else
23434   echo "$as_me: failed program was:" >&5
23435 sed 's/^/| /' conftest.$ac_ext >&5
23436
23437 eval "$as_ac_var=no"
23438 fi
23439 rm -f conftest.err conftest.$ac_objext \
23440       conftest$ac_exeext conftest.$ac_ext
23441 fi
23442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23443 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23444 if test `eval echo '${'$as_ac_var'}'` = yes; then
23445   cat >>confdefs.h <<_ACEOF
23446 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23447 _ACEOF
23448
23449 fi
23450 done
23451
23452     fi
23453   fi
23454
23455
23456
23457
23458
23459
23460   echo "$as_me:$LINENO: checking for log10l declaration" >&5
23461 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
23462   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
23463     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
23464   echo $ECHO_N "(cached) $ECHO_C" >&6
23465 else
23466
23467
23468
23469       ac_ext=cc
23470 ac_cpp='$CXXCPP $CPPFLAGS'
23471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23474
23475       cat >conftest.$ac_ext <<_ACEOF
23476 /* confdefs.h.  */
23477 _ACEOF
23478 cat confdefs.h >>conftest.$ac_ext
23479 cat >>conftest.$ac_ext <<_ACEOF
23480 /* end confdefs.h.  */
23481 #include <math.h>
23482                       #ifdef HAVE_IEEEFP_H
23483                       #include <ieeefp.h>
23484                       #endif
23485
23486 int
23487 main ()
23488 {
23489  log10l(0);
23490   ;
23491   return 0;
23492 }
23493 _ACEOF
23494 rm -f conftest.$ac_objext
23495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23496   (eval $ac_compile) 2>conftest.er1
23497   ac_status=$?
23498   grep -v '^ *+' conftest.er1 >conftest.err
23499   rm -f conftest.er1
23500   cat conftest.err >&5
23501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23502   (exit $ac_status); } &&
23503          { ac_try='test -z "$ac_cxx_werror_flag"
23504                          || test ! -s conftest.err'
23505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23506   (eval $ac_try) 2>&5
23507   ac_status=$?
23508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23509   (exit $ac_status); }; } &&
23510          { ac_try='test -s conftest.$ac_objext'
23511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23512   (eval $ac_try) 2>&5
23513   ac_status=$?
23514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23515   (exit $ac_status); }; }; then
23516   glibcxx_cv_func_log10l_use=yes
23517 else
23518   echo "$as_me: failed program was:" >&5
23519 sed 's/^/| /' conftest.$ac_ext >&5
23520
23521 glibcxx_cv_func_log10l_use=no
23522 fi
23523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23524       ac_ext=c
23525 ac_cpp='$CPP $CPPFLAGS'
23526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23529
23530
23531 fi
23532
23533   fi
23534   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
23535 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
23536
23537   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
23538
23539 for ac_func in log10l
23540 do
23541 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23542 echo "$as_me:$LINENO: checking for $ac_func" >&5
23543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23544 if eval "test \"\${$as_ac_var+set}\" = set"; then
23545   echo $ECHO_N "(cached) $ECHO_C" >&6
23546 else
23547   if test x$gcc_no_link = xyes; then
23548   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23550    { (exit 1); exit 1; }; }
23551 fi
23552 cat >conftest.$ac_ext <<_ACEOF
23553 /* confdefs.h.  */
23554 _ACEOF
23555 cat confdefs.h >>conftest.$ac_ext
23556 cat >>conftest.$ac_ext <<_ACEOF
23557 /* end confdefs.h.  */
23558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23559    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23560 #define $ac_func innocuous_$ac_func
23561
23562 /* System header to define __stub macros and hopefully few prototypes,
23563     which can conflict with char $ac_func (); below.
23564     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23565     <limits.h> exists even on freestanding compilers.  */
23566
23567 #ifdef __STDC__
23568 # include <limits.h>
23569 #else
23570 # include <assert.h>
23571 #endif
23572
23573 #undef $ac_func
23574
23575 /* Override any gcc2 internal prototype to avoid an error.  */
23576 #ifdef __cplusplus
23577 extern "C"
23578 {
23579 #endif
23580 /* We use char because int might match the return type of a gcc2
23581    builtin and then its argument prototype would still apply.  */
23582 char $ac_func ();
23583 /* The GNU C library defines this for functions which it implements
23584     to always fail with ENOSYS.  Some functions are actually named
23585     something starting with __ and the normal name is an alias.  */
23586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23587 choke me
23588 #else
23589 char (*f) () = $ac_func;
23590 #endif
23591 #ifdef __cplusplus
23592 }
23593 #endif
23594
23595 int
23596 main ()
23597 {
23598 return f != $ac_func;
23599   ;
23600   return 0;
23601 }
23602 _ACEOF
23603 rm -f conftest.$ac_objext conftest$ac_exeext
23604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23605   (eval $ac_link) 2>conftest.er1
23606   ac_status=$?
23607   grep -v '^ *+' conftest.er1 >conftest.err
23608   rm -f conftest.er1
23609   cat conftest.err >&5
23610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23611   (exit $ac_status); } &&
23612          { ac_try='test -z "$ac_c_werror_flag"
23613                          || test ! -s conftest.err'
23614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23615   (eval $ac_try) 2>&5
23616   ac_status=$?
23617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23618   (exit $ac_status); }; } &&
23619          { ac_try='test -s conftest$ac_exeext'
23620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23621   (eval $ac_try) 2>&5
23622   ac_status=$?
23623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23624   (exit $ac_status); }; }; then
23625   eval "$as_ac_var=yes"
23626 else
23627   echo "$as_me: failed program was:" >&5
23628 sed 's/^/| /' conftest.$ac_ext >&5
23629
23630 eval "$as_ac_var=no"
23631 fi
23632 rm -f conftest.err conftest.$ac_objext \
23633       conftest$ac_exeext conftest.$ac_ext
23634 fi
23635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23637 if test `eval echo '${'$as_ac_var'}'` = yes; then
23638   cat >>confdefs.h <<_ACEOF
23639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23640 _ACEOF
23641
23642 fi
23643 done
23644
23645   else
23646
23647   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
23648 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
23649   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
23650     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
23651   echo $ECHO_N "(cached) $ECHO_C" >&6
23652 else
23653
23654
23655
23656       ac_ext=cc
23657 ac_cpp='$CXXCPP $CPPFLAGS'
23658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23661
23662       cat >conftest.$ac_ext <<_ACEOF
23663 /* confdefs.h.  */
23664 _ACEOF
23665 cat confdefs.h >>conftest.$ac_ext
23666 cat >>conftest.$ac_ext <<_ACEOF
23667 /* end confdefs.h.  */
23668 #include <math.h>
23669                       #ifdef HAVE_IEEEFP_H
23670                       #include <ieeefp.h>
23671                       #endif
23672
23673 int
23674 main ()
23675 {
23676  _log10l(0);
23677   ;
23678   return 0;
23679 }
23680 _ACEOF
23681 rm -f conftest.$ac_objext
23682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23683   (eval $ac_compile) 2>conftest.er1
23684   ac_status=$?
23685   grep -v '^ *+' conftest.er1 >conftest.err
23686   rm -f conftest.er1
23687   cat conftest.err >&5
23688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23689   (exit $ac_status); } &&
23690          { ac_try='test -z "$ac_cxx_werror_flag"
23691                          || test ! -s conftest.err'
23692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23693   (eval $ac_try) 2>&5
23694   ac_status=$?
23695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23696   (exit $ac_status); }; } &&
23697          { ac_try='test -s conftest.$ac_objext'
23698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23699   (eval $ac_try) 2>&5
23700   ac_status=$?
23701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23702   (exit $ac_status); }; }; then
23703   glibcxx_cv_func__log10l_use=yes
23704 else
23705   echo "$as_me: failed program was:" >&5
23706 sed 's/^/| /' conftest.$ac_ext >&5
23707
23708 glibcxx_cv_func__log10l_use=no
23709 fi
23710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23711       ac_ext=c
23712 ac_cpp='$CPP $CPPFLAGS'
23713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23716
23717
23718 fi
23719
23720   fi
23721   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
23722 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
23723
23724     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
23725
23726 for ac_func in _log10l
23727 do
23728 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23729 echo "$as_me:$LINENO: checking for $ac_func" >&5
23730 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23731 if eval "test \"\${$as_ac_var+set}\" = set"; then
23732   echo $ECHO_N "(cached) $ECHO_C" >&6
23733 else
23734   if test x$gcc_no_link = xyes; then
23735   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23736 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23737    { (exit 1); exit 1; }; }
23738 fi
23739 cat >conftest.$ac_ext <<_ACEOF
23740 /* confdefs.h.  */
23741 _ACEOF
23742 cat confdefs.h >>conftest.$ac_ext
23743 cat >>conftest.$ac_ext <<_ACEOF
23744 /* end confdefs.h.  */
23745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23746    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23747 #define $ac_func innocuous_$ac_func
23748
23749 /* System header to define __stub macros and hopefully few prototypes,
23750     which can conflict with char $ac_func (); below.
23751     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23752     <limits.h> exists even on freestanding compilers.  */
23753
23754 #ifdef __STDC__
23755 # include <limits.h>
23756 #else
23757 # include <assert.h>
23758 #endif
23759
23760 #undef $ac_func
23761
23762 /* Override any gcc2 internal prototype to avoid an error.  */
23763 #ifdef __cplusplus
23764 extern "C"
23765 {
23766 #endif
23767 /* We use char because int might match the return type of a gcc2
23768    builtin and then its argument prototype would still apply.  */
23769 char $ac_func ();
23770 /* The GNU C library defines this for functions which it implements
23771     to always fail with ENOSYS.  Some functions are actually named
23772     something starting with __ and the normal name is an alias.  */
23773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23774 choke me
23775 #else
23776 char (*f) () = $ac_func;
23777 #endif
23778 #ifdef __cplusplus
23779 }
23780 #endif
23781
23782 int
23783 main ()
23784 {
23785 return f != $ac_func;
23786   ;
23787   return 0;
23788 }
23789 _ACEOF
23790 rm -f conftest.$ac_objext conftest$ac_exeext
23791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23792   (eval $ac_link) 2>conftest.er1
23793   ac_status=$?
23794   grep -v '^ *+' conftest.er1 >conftest.err
23795   rm -f conftest.er1
23796   cat conftest.err >&5
23797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23798   (exit $ac_status); } &&
23799          { ac_try='test -z "$ac_c_werror_flag"
23800                          || test ! -s conftest.err'
23801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23802   (eval $ac_try) 2>&5
23803   ac_status=$?
23804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23805   (exit $ac_status); }; } &&
23806          { ac_try='test -s conftest$ac_exeext'
23807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23808   (eval $ac_try) 2>&5
23809   ac_status=$?
23810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23811   (exit $ac_status); }; }; then
23812   eval "$as_ac_var=yes"
23813 else
23814   echo "$as_me: failed program was:" >&5
23815 sed 's/^/| /' conftest.$ac_ext >&5
23816
23817 eval "$as_ac_var=no"
23818 fi
23819 rm -f conftest.err conftest.$ac_objext \
23820       conftest$ac_exeext conftest.$ac_ext
23821 fi
23822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23823 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23824 if test `eval echo '${'$as_ac_var'}'` = yes; then
23825   cat >>confdefs.h <<_ACEOF
23826 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23827 _ACEOF
23828
23829 fi
23830 done
23831
23832     fi
23833   fi
23834
23835
23836
23837
23838
23839
23840   echo "$as_me:$LINENO: checking for modfl declaration" >&5
23841 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
23842   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
23843     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
23844   echo $ECHO_N "(cached) $ECHO_C" >&6
23845 else
23846
23847
23848
23849       ac_ext=cc
23850 ac_cpp='$CXXCPP $CPPFLAGS'
23851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23854
23855       cat >conftest.$ac_ext <<_ACEOF
23856 /* confdefs.h.  */
23857 _ACEOF
23858 cat confdefs.h >>conftest.$ac_ext
23859 cat >>conftest.$ac_ext <<_ACEOF
23860 /* end confdefs.h.  */
23861 #include <math.h>
23862 int
23863 main ()
23864 {
23865  modfl(0, 0);
23866   ;
23867   return 0;
23868 }
23869 _ACEOF
23870 rm -f conftest.$ac_objext
23871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23872   (eval $ac_compile) 2>conftest.er1
23873   ac_status=$?
23874   grep -v '^ *+' conftest.er1 >conftest.err
23875   rm -f conftest.er1
23876   cat conftest.err >&5
23877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23878   (exit $ac_status); } &&
23879          { ac_try='test -z "$ac_cxx_werror_flag"
23880                          || test ! -s conftest.err'
23881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23882   (eval $ac_try) 2>&5
23883   ac_status=$?
23884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23885   (exit $ac_status); }; } &&
23886          { ac_try='test -s conftest.$ac_objext'
23887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23888   (eval $ac_try) 2>&5
23889   ac_status=$?
23890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23891   (exit $ac_status); }; }; then
23892   glibcxx_cv_func_modfl_use=yes
23893 else
23894   echo "$as_me: failed program was:" >&5
23895 sed 's/^/| /' conftest.$ac_ext >&5
23896
23897 glibcxx_cv_func_modfl_use=no
23898 fi
23899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23900       ac_ext=c
23901 ac_cpp='$CPP $CPPFLAGS'
23902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23905
23906
23907 fi
23908
23909   fi
23910   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
23911 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
23912
23913   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
23914
23915 for ac_func in modfl
23916 do
23917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23918 echo "$as_me:$LINENO: checking for $ac_func" >&5
23919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23920 if eval "test \"\${$as_ac_var+set}\" = set"; then
23921   echo $ECHO_N "(cached) $ECHO_C" >&6
23922 else
23923   if test x$gcc_no_link = xyes; then
23924   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23926    { (exit 1); exit 1; }; }
23927 fi
23928 cat >conftest.$ac_ext <<_ACEOF
23929 /* confdefs.h.  */
23930 _ACEOF
23931 cat confdefs.h >>conftest.$ac_ext
23932 cat >>conftest.$ac_ext <<_ACEOF
23933 /* end confdefs.h.  */
23934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23935    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23936 #define $ac_func innocuous_$ac_func
23937
23938 /* System header to define __stub macros and hopefully few prototypes,
23939     which can conflict with char $ac_func (); below.
23940     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23941     <limits.h> exists even on freestanding compilers.  */
23942
23943 #ifdef __STDC__
23944 # include <limits.h>
23945 #else
23946 # include <assert.h>
23947 #endif
23948
23949 #undef $ac_func
23950
23951 /* Override any gcc2 internal prototype to avoid an error.  */
23952 #ifdef __cplusplus
23953 extern "C"
23954 {
23955 #endif
23956 /* We use char because int might match the return type of a gcc2
23957    builtin and then its argument prototype would still apply.  */
23958 char $ac_func ();
23959 /* The GNU C library defines this for functions which it implements
23960     to always fail with ENOSYS.  Some functions are actually named
23961     something starting with __ and the normal name is an alias.  */
23962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23963 choke me
23964 #else
23965 char (*f) () = $ac_func;
23966 #endif
23967 #ifdef __cplusplus
23968 }
23969 #endif
23970
23971 int
23972 main ()
23973 {
23974 return f != $ac_func;
23975   ;
23976   return 0;
23977 }
23978 _ACEOF
23979 rm -f conftest.$ac_objext conftest$ac_exeext
23980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23981   (eval $ac_link) 2>conftest.er1
23982   ac_status=$?
23983   grep -v '^ *+' conftest.er1 >conftest.err
23984   rm -f conftest.er1
23985   cat conftest.err >&5
23986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23987   (exit $ac_status); } &&
23988          { ac_try='test -z "$ac_c_werror_flag"
23989                          || test ! -s conftest.err'
23990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23991   (eval $ac_try) 2>&5
23992   ac_status=$?
23993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23994   (exit $ac_status); }; } &&
23995          { ac_try='test -s conftest$ac_exeext'
23996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23997   (eval $ac_try) 2>&5
23998   ac_status=$?
23999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24000   (exit $ac_status); }; }; then
24001   eval "$as_ac_var=yes"
24002 else
24003   echo "$as_me: failed program was:" >&5
24004 sed 's/^/| /' conftest.$ac_ext >&5
24005
24006 eval "$as_ac_var=no"
24007 fi
24008 rm -f conftest.err conftest.$ac_objext \
24009       conftest$ac_exeext conftest.$ac_ext
24010 fi
24011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24012 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24013 if test `eval echo '${'$as_ac_var'}'` = yes; then
24014   cat >>confdefs.h <<_ACEOF
24015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24016 _ACEOF
24017
24018 fi
24019 done
24020
24021   else
24022
24023   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
24024 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
24025   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24026     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
24027   echo $ECHO_N "(cached) $ECHO_C" >&6
24028 else
24029
24030
24031
24032       ac_ext=cc
24033 ac_cpp='$CXXCPP $CPPFLAGS'
24034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24037
24038       cat >conftest.$ac_ext <<_ACEOF
24039 /* confdefs.h.  */
24040 _ACEOF
24041 cat confdefs.h >>conftest.$ac_ext
24042 cat >>conftest.$ac_ext <<_ACEOF
24043 /* end confdefs.h.  */
24044 #include <math.h>
24045 int
24046 main ()
24047 {
24048  _modfl(0, 0);
24049   ;
24050   return 0;
24051 }
24052 _ACEOF
24053 rm -f conftest.$ac_objext
24054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24055   (eval $ac_compile) 2>conftest.er1
24056   ac_status=$?
24057   grep -v '^ *+' conftest.er1 >conftest.err
24058   rm -f conftest.er1
24059   cat conftest.err >&5
24060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24061   (exit $ac_status); } &&
24062          { ac_try='test -z "$ac_cxx_werror_flag"
24063                          || test ! -s conftest.err'
24064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24065   (eval $ac_try) 2>&5
24066   ac_status=$?
24067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24068   (exit $ac_status); }; } &&
24069          { ac_try='test -s conftest.$ac_objext'
24070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24071   (eval $ac_try) 2>&5
24072   ac_status=$?
24073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24074   (exit $ac_status); }; }; then
24075   glibcxx_cv_func__modfl_use=yes
24076 else
24077   echo "$as_me: failed program was:" >&5
24078 sed 's/^/| /' conftest.$ac_ext >&5
24079
24080 glibcxx_cv_func__modfl_use=no
24081 fi
24082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24083       ac_ext=c
24084 ac_cpp='$CPP $CPPFLAGS'
24085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24088
24089
24090 fi
24091
24092   fi
24093   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
24094 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
24095
24096     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24097
24098 for ac_func in _modfl
24099 do
24100 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24101 echo "$as_me:$LINENO: checking for $ac_func" >&5
24102 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24103 if eval "test \"\${$as_ac_var+set}\" = set"; then
24104   echo $ECHO_N "(cached) $ECHO_C" >&6
24105 else
24106   if test x$gcc_no_link = xyes; then
24107   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24109    { (exit 1); exit 1; }; }
24110 fi
24111 cat >conftest.$ac_ext <<_ACEOF
24112 /* confdefs.h.  */
24113 _ACEOF
24114 cat confdefs.h >>conftest.$ac_ext
24115 cat >>conftest.$ac_ext <<_ACEOF
24116 /* end confdefs.h.  */
24117 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24118    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24119 #define $ac_func innocuous_$ac_func
24120
24121 /* System header to define __stub macros and hopefully few prototypes,
24122     which can conflict with char $ac_func (); below.
24123     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24124     <limits.h> exists even on freestanding compilers.  */
24125
24126 #ifdef __STDC__
24127 # include <limits.h>
24128 #else
24129 # include <assert.h>
24130 #endif
24131
24132 #undef $ac_func
24133
24134 /* Override any gcc2 internal prototype to avoid an error.  */
24135 #ifdef __cplusplus
24136 extern "C"
24137 {
24138 #endif
24139 /* We use char because int might match the return type of a gcc2
24140    builtin and then its argument prototype would still apply.  */
24141 char $ac_func ();
24142 /* The GNU C library defines this for functions which it implements
24143     to always fail with ENOSYS.  Some functions are actually named
24144     something starting with __ and the normal name is an alias.  */
24145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24146 choke me
24147 #else
24148 char (*f) () = $ac_func;
24149 #endif
24150 #ifdef __cplusplus
24151 }
24152 #endif
24153
24154 int
24155 main ()
24156 {
24157 return f != $ac_func;
24158   ;
24159   return 0;
24160 }
24161 _ACEOF
24162 rm -f conftest.$ac_objext conftest$ac_exeext
24163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24164   (eval $ac_link) 2>conftest.er1
24165   ac_status=$?
24166   grep -v '^ *+' conftest.er1 >conftest.err
24167   rm -f conftest.er1
24168   cat conftest.err >&5
24169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24170   (exit $ac_status); } &&
24171          { ac_try='test -z "$ac_c_werror_flag"
24172                          || test ! -s conftest.err'
24173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24174   (eval $ac_try) 2>&5
24175   ac_status=$?
24176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24177   (exit $ac_status); }; } &&
24178          { ac_try='test -s conftest$ac_exeext'
24179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24180   (eval $ac_try) 2>&5
24181   ac_status=$?
24182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24183   (exit $ac_status); }; }; then
24184   eval "$as_ac_var=yes"
24185 else
24186   echo "$as_me: failed program was:" >&5
24187 sed 's/^/| /' conftest.$ac_ext >&5
24188
24189 eval "$as_ac_var=no"
24190 fi
24191 rm -f conftest.err conftest.$ac_objext \
24192       conftest$ac_exeext conftest.$ac_ext
24193 fi
24194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24195 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24196 if test `eval echo '${'$as_ac_var'}'` = yes; then
24197   cat >>confdefs.h <<_ACEOF
24198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24199 _ACEOF
24200
24201 fi
24202 done
24203
24204     fi
24205   fi
24206
24207
24208
24209
24210
24211
24212   echo "$as_me:$LINENO: checking for powl declaration" >&5
24213 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
24214   if test x${glibcxx_cv_func_powl_use+set} != xset; then
24215     if test "${glibcxx_cv_func_powl_use+set}" = set; then
24216   echo $ECHO_N "(cached) $ECHO_C" >&6
24217 else
24218
24219
24220
24221       ac_ext=cc
24222 ac_cpp='$CXXCPP $CPPFLAGS'
24223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24226
24227       cat >conftest.$ac_ext <<_ACEOF
24228 /* confdefs.h.  */
24229 _ACEOF
24230 cat confdefs.h >>conftest.$ac_ext
24231 cat >>conftest.$ac_ext <<_ACEOF
24232 /* end confdefs.h.  */
24233 #include <math.h>
24234 int
24235 main ()
24236 {
24237  powl(0, 0);
24238   ;
24239   return 0;
24240 }
24241 _ACEOF
24242 rm -f conftest.$ac_objext
24243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24244   (eval $ac_compile) 2>conftest.er1
24245   ac_status=$?
24246   grep -v '^ *+' conftest.er1 >conftest.err
24247   rm -f conftest.er1
24248   cat conftest.err >&5
24249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24250   (exit $ac_status); } &&
24251          { ac_try='test -z "$ac_cxx_werror_flag"
24252                          || test ! -s conftest.err'
24253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24254   (eval $ac_try) 2>&5
24255   ac_status=$?
24256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24257   (exit $ac_status); }; } &&
24258          { ac_try='test -s conftest.$ac_objext'
24259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24260   (eval $ac_try) 2>&5
24261   ac_status=$?
24262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24263   (exit $ac_status); }; }; then
24264   glibcxx_cv_func_powl_use=yes
24265 else
24266   echo "$as_me: failed program was:" >&5
24267 sed 's/^/| /' conftest.$ac_ext >&5
24268
24269 glibcxx_cv_func_powl_use=no
24270 fi
24271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24272       ac_ext=c
24273 ac_cpp='$CPP $CPPFLAGS'
24274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24277
24278
24279 fi
24280
24281   fi
24282   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
24283 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
24284
24285   if test x$glibcxx_cv_func_powl_use = x"yes"; then
24286
24287 for ac_func in powl
24288 do
24289 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24290 echo "$as_me:$LINENO: checking for $ac_func" >&5
24291 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24292 if eval "test \"\${$as_ac_var+set}\" = set"; then
24293   echo $ECHO_N "(cached) $ECHO_C" >&6
24294 else
24295   if test x$gcc_no_link = xyes; then
24296   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24297 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24298    { (exit 1); exit 1; }; }
24299 fi
24300 cat >conftest.$ac_ext <<_ACEOF
24301 /* confdefs.h.  */
24302 _ACEOF
24303 cat confdefs.h >>conftest.$ac_ext
24304 cat >>conftest.$ac_ext <<_ACEOF
24305 /* end confdefs.h.  */
24306 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24307    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24308 #define $ac_func innocuous_$ac_func
24309
24310 /* System header to define __stub macros and hopefully few prototypes,
24311     which can conflict with char $ac_func (); below.
24312     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24313     <limits.h> exists even on freestanding compilers.  */
24314
24315 #ifdef __STDC__
24316 # include <limits.h>
24317 #else
24318 # include <assert.h>
24319 #endif
24320
24321 #undef $ac_func
24322
24323 /* Override any gcc2 internal prototype to avoid an error.  */
24324 #ifdef __cplusplus
24325 extern "C"
24326 {
24327 #endif
24328 /* We use char because int might match the return type of a gcc2
24329    builtin and then its argument prototype would still apply.  */
24330 char $ac_func ();
24331 /* The GNU C library defines this for functions which it implements
24332     to always fail with ENOSYS.  Some functions are actually named
24333     something starting with __ and the normal name is an alias.  */
24334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24335 choke me
24336 #else
24337 char (*f) () = $ac_func;
24338 #endif
24339 #ifdef __cplusplus
24340 }
24341 #endif
24342
24343 int
24344 main ()
24345 {
24346 return f != $ac_func;
24347   ;
24348   return 0;
24349 }
24350 _ACEOF
24351 rm -f conftest.$ac_objext conftest$ac_exeext
24352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24353   (eval $ac_link) 2>conftest.er1
24354   ac_status=$?
24355   grep -v '^ *+' conftest.er1 >conftest.err
24356   rm -f conftest.er1
24357   cat conftest.err >&5
24358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24359   (exit $ac_status); } &&
24360          { ac_try='test -z "$ac_c_werror_flag"
24361                          || test ! -s conftest.err'
24362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24363   (eval $ac_try) 2>&5
24364   ac_status=$?
24365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24366   (exit $ac_status); }; } &&
24367          { ac_try='test -s conftest$ac_exeext'
24368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24369   (eval $ac_try) 2>&5
24370   ac_status=$?
24371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24372   (exit $ac_status); }; }; then
24373   eval "$as_ac_var=yes"
24374 else
24375   echo "$as_me: failed program was:" >&5
24376 sed 's/^/| /' conftest.$ac_ext >&5
24377
24378 eval "$as_ac_var=no"
24379 fi
24380 rm -f conftest.err conftest.$ac_objext \
24381       conftest$ac_exeext conftest.$ac_ext
24382 fi
24383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24384 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24385 if test `eval echo '${'$as_ac_var'}'` = yes; then
24386   cat >>confdefs.h <<_ACEOF
24387 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24388 _ACEOF
24389
24390 fi
24391 done
24392
24393   else
24394
24395   echo "$as_me:$LINENO: checking for _powl declaration" >&5
24396 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
24397   if test x${glibcxx_cv_func__powl_use+set} != xset; then
24398     if test "${glibcxx_cv_func__powl_use+set}" = set; then
24399   echo $ECHO_N "(cached) $ECHO_C" >&6
24400 else
24401
24402
24403
24404       ac_ext=cc
24405 ac_cpp='$CXXCPP $CPPFLAGS'
24406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24409
24410       cat >conftest.$ac_ext <<_ACEOF
24411 /* confdefs.h.  */
24412 _ACEOF
24413 cat confdefs.h >>conftest.$ac_ext
24414 cat >>conftest.$ac_ext <<_ACEOF
24415 /* end confdefs.h.  */
24416 #include <math.h>
24417 int
24418 main ()
24419 {
24420  _powl(0, 0);
24421   ;
24422   return 0;
24423 }
24424 _ACEOF
24425 rm -f conftest.$ac_objext
24426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24427   (eval $ac_compile) 2>conftest.er1
24428   ac_status=$?
24429   grep -v '^ *+' conftest.er1 >conftest.err
24430   rm -f conftest.er1
24431   cat conftest.err >&5
24432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24433   (exit $ac_status); } &&
24434          { ac_try='test -z "$ac_cxx_werror_flag"
24435                          || test ! -s conftest.err'
24436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24437   (eval $ac_try) 2>&5
24438   ac_status=$?
24439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24440   (exit $ac_status); }; } &&
24441          { ac_try='test -s conftest.$ac_objext'
24442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24443   (eval $ac_try) 2>&5
24444   ac_status=$?
24445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24446   (exit $ac_status); }; }; then
24447   glibcxx_cv_func__powl_use=yes
24448 else
24449   echo "$as_me: failed program was:" >&5
24450 sed 's/^/| /' conftest.$ac_ext >&5
24451
24452 glibcxx_cv_func__powl_use=no
24453 fi
24454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24455       ac_ext=c
24456 ac_cpp='$CPP $CPPFLAGS'
24457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24460
24461
24462 fi
24463
24464   fi
24465   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
24466 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
24467
24468     if test x$glibcxx_cv_func__powl_use = x"yes"; then
24469
24470 for ac_func in _powl
24471 do
24472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24473 echo "$as_me:$LINENO: checking for $ac_func" >&5
24474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24475 if eval "test \"\${$as_ac_var+set}\" = set"; then
24476   echo $ECHO_N "(cached) $ECHO_C" >&6
24477 else
24478   if test x$gcc_no_link = xyes; then
24479   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24481    { (exit 1); exit 1; }; }
24482 fi
24483 cat >conftest.$ac_ext <<_ACEOF
24484 /* confdefs.h.  */
24485 _ACEOF
24486 cat confdefs.h >>conftest.$ac_ext
24487 cat >>conftest.$ac_ext <<_ACEOF
24488 /* end confdefs.h.  */
24489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24490    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24491 #define $ac_func innocuous_$ac_func
24492
24493 /* System header to define __stub macros and hopefully few prototypes,
24494     which can conflict with char $ac_func (); below.
24495     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24496     <limits.h> exists even on freestanding compilers.  */
24497
24498 #ifdef __STDC__
24499 # include <limits.h>
24500 #else
24501 # include <assert.h>
24502 #endif
24503
24504 #undef $ac_func
24505
24506 /* Override any gcc2 internal prototype to avoid an error.  */
24507 #ifdef __cplusplus
24508 extern "C"
24509 {
24510 #endif
24511 /* We use char because int might match the return type of a gcc2
24512    builtin and then its argument prototype would still apply.  */
24513 char $ac_func ();
24514 /* The GNU C library defines this for functions which it implements
24515     to always fail with ENOSYS.  Some functions are actually named
24516     something starting with __ and the normal name is an alias.  */
24517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24518 choke me
24519 #else
24520 char (*f) () = $ac_func;
24521 #endif
24522 #ifdef __cplusplus
24523 }
24524 #endif
24525
24526 int
24527 main ()
24528 {
24529 return f != $ac_func;
24530   ;
24531   return 0;
24532 }
24533 _ACEOF
24534 rm -f conftest.$ac_objext conftest$ac_exeext
24535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24536   (eval $ac_link) 2>conftest.er1
24537   ac_status=$?
24538   grep -v '^ *+' conftest.er1 >conftest.err
24539   rm -f conftest.er1
24540   cat conftest.err >&5
24541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24542   (exit $ac_status); } &&
24543          { ac_try='test -z "$ac_c_werror_flag"
24544                          || test ! -s conftest.err'
24545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24546   (eval $ac_try) 2>&5
24547   ac_status=$?
24548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24549   (exit $ac_status); }; } &&
24550          { ac_try='test -s conftest$ac_exeext'
24551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24552   (eval $ac_try) 2>&5
24553   ac_status=$?
24554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24555   (exit $ac_status); }; }; then
24556   eval "$as_ac_var=yes"
24557 else
24558   echo "$as_me: failed program was:" >&5
24559 sed 's/^/| /' conftest.$ac_ext >&5
24560
24561 eval "$as_ac_var=no"
24562 fi
24563 rm -f conftest.err conftest.$ac_objext \
24564       conftest$ac_exeext conftest.$ac_ext
24565 fi
24566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24568 if test `eval echo '${'$as_ac_var'}'` = yes; then
24569   cat >>confdefs.h <<_ACEOF
24570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24571 _ACEOF
24572
24573 fi
24574 done
24575
24576     fi
24577   fi
24578
24579
24580
24581
24582
24583
24584   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
24585 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
24586   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24587     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
24588   echo $ECHO_N "(cached) $ECHO_C" >&6
24589 else
24590
24591
24592
24593       ac_ext=cc
24594 ac_cpp='$CXXCPP $CPPFLAGS'
24595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24598
24599       cat >conftest.$ac_ext <<_ACEOF
24600 /* confdefs.h.  */
24601 _ACEOF
24602 cat confdefs.h >>conftest.$ac_ext
24603 cat >>conftest.$ac_ext <<_ACEOF
24604 /* end confdefs.h.  */
24605 #include <math.h>
24606                       #ifdef HAVE_IEEEFP_H
24607                       #include <ieeefp.h>
24608                       #endif
24609
24610 int
24611 main ()
24612 {
24613  sqrtl(0);
24614   ;
24615   return 0;
24616 }
24617 _ACEOF
24618 rm -f conftest.$ac_objext
24619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24620   (eval $ac_compile) 2>conftest.er1
24621   ac_status=$?
24622   grep -v '^ *+' conftest.er1 >conftest.err
24623   rm -f conftest.er1
24624   cat conftest.err >&5
24625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24626   (exit $ac_status); } &&
24627          { ac_try='test -z "$ac_cxx_werror_flag"
24628                          || test ! -s conftest.err'
24629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24630   (eval $ac_try) 2>&5
24631   ac_status=$?
24632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24633   (exit $ac_status); }; } &&
24634          { ac_try='test -s conftest.$ac_objext'
24635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24636   (eval $ac_try) 2>&5
24637   ac_status=$?
24638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24639   (exit $ac_status); }; }; then
24640   glibcxx_cv_func_sqrtl_use=yes
24641 else
24642   echo "$as_me: failed program was:" >&5
24643 sed 's/^/| /' conftest.$ac_ext >&5
24644
24645 glibcxx_cv_func_sqrtl_use=no
24646 fi
24647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24648       ac_ext=c
24649 ac_cpp='$CPP $CPPFLAGS'
24650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24653
24654
24655 fi
24656
24657   fi
24658   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
24659 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
24660
24661   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24662
24663 for ac_func in sqrtl
24664 do
24665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24666 echo "$as_me:$LINENO: checking for $ac_func" >&5
24667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24668 if eval "test \"\${$as_ac_var+set}\" = set"; then
24669   echo $ECHO_N "(cached) $ECHO_C" >&6
24670 else
24671   if test x$gcc_no_link = xyes; then
24672   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24674    { (exit 1); exit 1; }; }
24675 fi
24676 cat >conftest.$ac_ext <<_ACEOF
24677 /* confdefs.h.  */
24678 _ACEOF
24679 cat confdefs.h >>conftest.$ac_ext
24680 cat >>conftest.$ac_ext <<_ACEOF
24681 /* end confdefs.h.  */
24682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24683    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24684 #define $ac_func innocuous_$ac_func
24685
24686 /* System header to define __stub macros and hopefully few prototypes,
24687     which can conflict with char $ac_func (); below.
24688     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24689     <limits.h> exists even on freestanding compilers.  */
24690
24691 #ifdef __STDC__
24692 # include <limits.h>
24693 #else
24694 # include <assert.h>
24695 #endif
24696
24697 #undef $ac_func
24698
24699 /* Override any gcc2 internal prototype to avoid an error.  */
24700 #ifdef __cplusplus
24701 extern "C"
24702 {
24703 #endif
24704 /* We use char because int might match the return type of a gcc2
24705    builtin and then its argument prototype would still apply.  */
24706 char $ac_func ();
24707 /* The GNU C library defines this for functions which it implements
24708     to always fail with ENOSYS.  Some functions are actually named
24709     something starting with __ and the normal name is an alias.  */
24710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24711 choke me
24712 #else
24713 char (*f) () = $ac_func;
24714 #endif
24715 #ifdef __cplusplus
24716 }
24717 #endif
24718
24719 int
24720 main ()
24721 {
24722 return f != $ac_func;
24723   ;
24724   return 0;
24725 }
24726 _ACEOF
24727 rm -f conftest.$ac_objext conftest$ac_exeext
24728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24729   (eval $ac_link) 2>conftest.er1
24730   ac_status=$?
24731   grep -v '^ *+' conftest.er1 >conftest.err
24732   rm -f conftest.er1
24733   cat conftest.err >&5
24734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24735   (exit $ac_status); } &&
24736          { ac_try='test -z "$ac_c_werror_flag"
24737                          || test ! -s conftest.err'
24738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24739   (eval $ac_try) 2>&5
24740   ac_status=$?
24741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24742   (exit $ac_status); }; } &&
24743          { ac_try='test -s conftest$ac_exeext'
24744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24745   (eval $ac_try) 2>&5
24746   ac_status=$?
24747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24748   (exit $ac_status); }; }; then
24749   eval "$as_ac_var=yes"
24750 else
24751   echo "$as_me: failed program was:" >&5
24752 sed 's/^/| /' conftest.$ac_ext >&5
24753
24754 eval "$as_ac_var=no"
24755 fi
24756 rm -f conftest.err conftest.$ac_objext \
24757       conftest$ac_exeext conftest.$ac_ext
24758 fi
24759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24761 if test `eval echo '${'$as_ac_var'}'` = yes; then
24762   cat >>confdefs.h <<_ACEOF
24763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24764 _ACEOF
24765
24766 fi
24767 done
24768
24769   else
24770
24771   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
24772 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
24773   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24774     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
24775   echo $ECHO_N "(cached) $ECHO_C" >&6
24776 else
24777
24778
24779
24780       ac_ext=cc
24781 ac_cpp='$CXXCPP $CPPFLAGS'
24782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24785
24786       cat >conftest.$ac_ext <<_ACEOF
24787 /* confdefs.h.  */
24788 _ACEOF
24789 cat confdefs.h >>conftest.$ac_ext
24790 cat >>conftest.$ac_ext <<_ACEOF
24791 /* end confdefs.h.  */
24792 #include <math.h>
24793                       #ifdef HAVE_IEEEFP_H
24794                       #include <ieeefp.h>
24795                       #endif
24796
24797 int
24798 main ()
24799 {
24800  _sqrtl(0);
24801   ;
24802   return 0;
24803 }
24804 _ACEOF
24805 rm -f conftest.$ac_objext
24806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24807   (eval $ac_compile) 2>conftest.er1
24808   ac_status=$?
24809   grep -v '^ *+' conftest.er1 >conftest.err
24810   rm -f conftest.er1
24811   cat conftest.err >&5
24812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24813   (exit $ac_status); } &&
24814          { ac_try='test -z "$ac_cxx_werror_flag"
24815                          || test ! -s conftest.err'
24816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24817   (eval $ac_try) 2>&5
24818   ac_status=$?
24819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24820   (exit $ac_status); }; } &&
24821          { ac_try='test -s conftest.$ac_objext'
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); }; }; then
24827   glibcxx_cv_func__sqrtl_use=yes
24828 else
24829   echo "$as_me: failed program was:" >&5
24830 sed 's/^/| /' conftest.$ac_ext >&5
24831
24832 glibcxx_cv_func__sqrtl_use=no
24833 fi
24834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24835       ac_ext=c
24836 ac_cpp='$CPP $CPPFLAGS'
24837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24840
24841
24842 fi
24843
24844   fi
24845   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
24846 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
24847
24848     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
24849
24850 for ac_func in _sqrtl
24851 do
24852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24853 echo "$as_me:$LINENO: checking for $ac_func" >&5
24854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24855 if eval "test \"\${$as_ac_var+set}\" = set"; then
24856   echo $ECHO_N "(cached) $ECHO_C" >&6
24857 else
24858   if test x$gcc_no_link = xyes; then
24859   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24861    { (exit 1); exit 1; }; }
24862 fi
24863 cat >conftest.$ac_ext <<_ACEOF
24864 /* confdefs.h.  */
24865 _ACEOF
24866 cat confdefs.h >>conftest.$ac_ext
24867 cat >>conftest.$ac_ext <<_ACEOF
24868 /* end confdefs.h.  */
24869 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24870    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24871 #define $ac_func innocuous_$ac_func
24872
24873 /* System header to define __stub macros and hopefully few prototypes,
24874     which can conflict with char $ac_func (); below.
24875     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24876     <limits.h> exists even on freestanding compilers.  */
24877
24878 #ifdef __STDC__
24879 # include <limits.h>
24880 #else
24881 # include <assert.h>
24882 #endif
24883
24884 #undef $ac_func
24885
24886 /* Override any gcc2 internal prototype to avoid an error.  */
24887 #ifdef __cplusplus
24888 extern "C"
24889 {
24890 #endif
24891 /* We use char because int might match the return type of a gcc2
24892    builtin and then its argument prototype would still apply.  */
24893 char $ac_func ();
24894 /* The GNU C library defines this for functions which it implements
24895     to always fail with ENOSYS.  Some functions are actually named
24896     something starting with __ and the normal name is an alias.  */
24897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24898 choke me
24899 #else
24900 char (*f) () = $ac_func;
24901 #endif
24902 #ifdef __cplusplus
24903 }
24904 #endif
24905
24906 int
24907 main ()
24908 {
24909 return f != $ac_func;
24910   ;
24911   return 0;
24912 }
24913 _ACEOF
24914 rm -f conftest.$ac_objext conftest$ac_exeext
24915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24916   (eval $ac_link) 2>conftest.er1
24917   ac_status=$?
24918   grep -v '^ *+' conftest.er1 >conftest.err
24919   rm -f conftest.er1
24920   cat conftest.err >&5
24921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24922   (exit $ac_status); } &&
24923          { ac_try='test -z "$ac_c_werror_flag"
24924                          || test ! -s conftest.err'
24925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24926   (eval $ac_try) 2>&5
24927   ac_status=$?
24928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24929   (exit $ac_status); }; } &&
24930          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
24936   eval "$as_ac_var=yes"
24937 else
24938   echo "$as_me: failed program was:" >&5
24939 sed 's/^/| /' conftest.$ac_ext >&5
24940
24941 eval "$as_ac_var=no"
24942 fi
24943 rm -f conftest.err conftest.$ac_objext \
24944       conftest$ac_exeext conftest.$ac_ext
24945 fi
24946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24948 if test `eval echo '${'$as_ac_var'}'` = yes; then
24949   cat >>confdefs.h <<_ACEOF
24950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24951 _ACEOF
24952
24953 fi
24954 done
24955
24956     fi
24957   fi
24958
24959
24960
24961
24962
24963
24964   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
24965 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
24966   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
24967     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
24968   echo $ECHO_N "(cached) $ECHO_C" >&6
24969 else
24970
24971
24972
24973       ac_ext=cc
24974 ac_cpp='$CXXCPP $CPPFLAGS'
24975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24978
24979       cat >conftest.$ac_ext <<_ACEOF
24980 /* confdefs.h.  */
24981 _ACEOF
24982 cat confdefs.h >>conftest.$ac_ext
24983 cat >>conftest.$ac_ext <<_ACEOF
24984 /* end confdefs.h.  */
24985 #include <math.h>
24986 int
24987 main ()
24988 {
24989  sincosl(0, 0, 0);
24990   ;
24991   return 0;
24992 }
24993 _ACEOF
24994 rm -f conftest.$ac_objext
24995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24996   (eval $ac_compile) 2>conftest.er1
24997   ac_status=$?
24998   grep -v '^ *+' conftest.er1 >conftest.err
24999   rm -f conftest.er1
25000   cat conftest.err >&5
25001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25002   (exit $ac_status); } &&
25003          { ac_try='test -z "$ac_cxx_werror_flag"
25004                          || test ! -s conftest.err'
25005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25006   (eval $ac_try) 2>&5
25007   ac_status=$?
25008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25009   (exit $ac_status); }; } &&
25010          { ac_try='test -s conftest.$ac_objext'
25011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25012   (eval $ac_try) 2>&5
25013   ac_status=$?
25014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25015   (exit $ac_status); }; }; then
25016   glibcxx_cv_func_sincosl_use=yes
25017 else
25018   echo "$as_me: failed program was:" >&5
25019 sed 's/^/| /' conftest.$ac_ext >&5
25020
25021 glibcxx_cv_func_sincosl_use=no
25022 fi
25023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25024       ac_ext=c
25025 ac_cpp='$CPP $CPPFLAGS'
25026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25029
25030
25031 fi
25032
25033   fi
25034   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
25035 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
25036
25037   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25038
25039 for ac_func in sincosl
25040 do
25041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25042 echo "$as_me:$LINENO: checking for $ac_func" >&5
25043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25044 if eval "test \"\${$as_ac_var+set}\" = set"; then
25045   echo $ECHO_N "(cached) $ECHO_C" >&6
25046 else
25047   if test x$gcc_no_link = xyes; then
25048   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25050    { (exit 1); exit 1; }; }
25051 fi
25052 cat >conftest.$ac_ext <<_ACEOF
25053 /* confdefs.h.  */
25054 _ACEOF
25055 cat confdefs.h >>conftest.$ac_ext
25056 cat >>conftest.$ac_ext <<_ACEOF
25057 /* end confdefs.h.  */
25058 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25059    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25060 #define $ac_func innocuous_$ac_func
25061
25062 /* System header to define __stub macros and hopefully few prototypes,
25063     which can conflict with char $ac_func (); below.
25064     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25065     <limits.h> exists even on freestanding compilers.  */
25066
25067 #ifdef __STDC__
25068 # include <limits.h>
25069 #else
25070 # include <assert.h>
25071 #endif
25072
25073 #undef $ac_func
25074
25075 /* Override any gcc2 internal prototype to avoid an error.  */
25076 #ifdef __cplusplus
25077 extern "C"
25078 {
25079 #endif
25080 /* We use char because int might match the return type of a gcc2
25081    builtin and then its argument prototype would still apply.  */
25082 char $ac_func ();
25083 /* The GNU C library defines this for functions which it implements
25084     to always fail with ENOSYS.  Some functions are actually named
25085     something starting with __ and the normal name is an alias.  */
25086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25087 choke me
25088 #else
25089 char (*f) () = $ac_func;
25090 #endif
25091 #ifdef __cplusplus
25092 }
25093 #endif
25094
25095 int
25096 main ()
25097 {
25098 return f != $ac_func;
25099   ;
25100   return 0;
25101 }
25102 _ACEOF
25103 rm -f conftest.$ac_objext conftest$ac_exeext
25104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25105   (eval $ac_link) 2>conftest.er1
25106   ac_status=$?
25107   grep -v '^ *+' conftest.er1 >conftest.err
25108   rm -f conftest.er1
25109   cat conftest.err >&5
25110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25111   (exit $ac_status); } &&
25112          { ac_try='test -z "$ac_c_werror_flag"
25113                          || test ! -s conftest.err'
25114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25115   (eval $ac_try) 2>&5
25116   ac_status=$?
25117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25118   (exit $ac_status); }; } &&
25119          { ac_try='test -s conftest$ac_exeext'
25120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25121   (eval $ac_try) 2>&5
25122   ac_status=$?
25123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25124   (exit $ac_status); }; }; then
25125   eval "$as_ac_var=yes"
25126 else
25127   echo "$as_me: failed program was:" >&5
25128 sed 's/^/| /' conftest.$ac_ext >&5
25129
25130 eval "$as_ac_var=no"
25131 fi
25132 rm -f conftest.err conftest.$ac_objext \
25133       conftest$ac_exeext conftest.$ac_ext
25134 fi
25135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25136 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25137 if test `eval echo '${'$as_ac_var'}'` = yes; then
25138   cat >>confdefs.h <<_ACEOF
25139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25140 _ACEOF
25141
25142 fi
25143 done
25144
25145   else
25146
25147   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
25148 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
25149   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25150     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
25151   echo $ECHO_N "(cached) $ECHO_C" >&6
25152 else
25153
25154
25155
25156       ac_ext=cc
25157 ac_cpp='$CXXCPP $CPPFLAGS'
25158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25161
25162       cat >conftest.$ac_ext <<_ACEOF
25163 /* confdefs.h.  */
25164 _ACEOF
25165 cat confdefs.h >>conftest.$ac_ext
25166 cat >>conftest.$ac_ext <<_ACEOF
25167 /* end confdefs.h.  */
25168 #include <math.h>
25169 int
25170 main ()
25171 {
25172  _sincosl(0, 0, 0);
25173   ;
25174   return 0;
25175 }
25176 _ACEOF
25177 rm -f conftest.$ac_objext
25178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25179   (eval $ac_compile) 2>conftest.er1
25180   ac_status=$?
25181   grep -v '^ *+' conftest.er1 >conftest.err
25182   rm -f conftest.er1
25183   cat conftest.err >&5
25184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25185   (exit $ac_status); } &&
25186          { ac_try='test -z "$ac_cxx_werror_flag"
25187                          || test ! -s conftest.err'
25188   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25189   (eval $ac_try) 2>&5
25190   ac_status=$?
25191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25192   (exit $ac_status); }; } &&
25193          { ac_try='test -s conftest.$ac_objext'
25194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25195   (eval $ac_try) 2>&5
25196   ac_status=$?
25197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25198   (exit $ac_status); }; }; then
25199   glibcxx_cv_func__sincosl_use=yes
25200 else
25201   echo "$as_me: failed program was:" >&5
25202 sed 's/^/| /' conftest.$ac_ext >&5
25203
25204 glibcxx_cv_func__sincosl_use=no
25205 fi
25206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25207       ac_ext=c
25208 ac_cpp='$CPP $CPPFLAGS'
25209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25212
25213
25214 fi
25215
25216   fi
25217   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
25218 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
25219
25220     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25221
25222 for ac_func in _sincosl
25223 do
25224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25225 echo "$as_me:$LINENO: checking for $ac_func" >&5
25226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25227 if eval "test \"\${$as_ac_var+set}\" = set"; then
25228   echo $ECHO_N "(cached) $ECHO_C" >&6
25229 else
25230   if test x$gcc_no_link = xyes; then
25231   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25233    { (exit 1); exit 1; }; }
25234 fi
25235 cat >conftest.$ac_ext <<_ACEOF
25236 /* confdefs.h.  */
25237 _ACEOF
25238 cat confdefs.h >>conftest.$ac_ext
25239 cat >>conftest.$ac_ext <<_ACEOF
25240 /* end confdefs.h.  */
25241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25242    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25243 #define $ac_func innocuous_$ac_func
25244
25245 /* System header to define __stub macros and hopefully few prototypes,
25246     which can conflict with char $ac_func (); below.
25247     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25248     <limits.h> exists even on freestanding compilers.  */
25249
25250 #ifdef __STDC__
25251 # include <limits.h>
25252 #else
25253 # include <assert.h>
25254 #endif
25255
25256 #undef $ac_func
25257
25258 /* Override any gcc2 internal prototype to avoid an error.  */
25259 #ifdef __cplusplus
25260 extern "C"
25261 {
25262 #endif
25263 /* We use char because int might match the return type of a gcc2
25264    builtin and then its argument prototype would still apply.  */
25265 char $ac_func ();
25266 /* The GNU C library defines this for functions which it implements
25267     to always fail with ENOSYS.  Some functions are actually named
25268     something starting with __ and the normal name is an alias.  */
25269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25270 choke me
25271 #else
25272 char (*f) () = $ac_func;
25273 #endif
25274 #ifdef __cplusplus
25275 }
25276 #endif
25277
25278 int
25279 main ()
25280 {
25281 return f != $ac_func;
25282   ;
25283   return 0;
25284 }
25285 _ACEOF
25286 rm -f conftest.$ac_objext conftest$ac_exeext
25287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25288   (eval $ac_link) 2>conftest.er1
25289   ac_status=$?
25290   grep -v '^ *+' conftest.er1 >conftest.err
25291   rm -f conftest.er1
25292   cat conftest.err >&5
25293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25294   (exit $ac_status); } &&
25295          { ac_try='test -z "$ac_c_werror_flag"
25296                          || test ! -s conftest.err'
25297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25298   (eval $ac_try) 2>&5
25299   ac_status=$?
25300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25301   (exit $ac_status); }; } &&
25302          { ac_try='test -s conftest$ac_exeext'
25303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25304   (eval $ac_try) 2>&5
25305   ac_status=$?
25306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25307   (exit $ac_status); }; }; then
25308   eval "$as_ac_var=yes"
25309 else
25310   echo "$as_me: failed program was:" >&5
25311 sed 's/^/| /' conftest.$ac_ext >&5
25312
25313 eval "$as_ac_var=no"
25314 fi
25315 rm -f conftest.err conftest.$ac_objext \
25316       conftest$ac_exeext conftest.$ac_ext
25317 fi
25318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25320 if test `eval echo '${'$as_ac_var'}'` = yes; then
25321   cat >>confdefs.h <<_ACEOF
25322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25323 _ACEOF
25324
25325 fi
25326 done
25327
25328     fi
25329   fi
25330
25331
25332
25333
25334
25335
25336   echo "$as_me:$LINENO: checking for finitel declaration" >&5
25337 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
25338   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25339     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
25340   echo $ECHO_N "(cached) $ECHO_C" >&6
25341 else
25342
25343
25344
25345       ac_ext=cc
25346 ac_cpp='$CXXCPP $CPPFLAGS'
25347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25350
25351       cat >conftest.$ac_ext <<_ACEOF
25352 /* confdefs.h.  */
25353 _ACEOF
25354 cat confdefs.h >>conftest.$ac_ext
25355 cat >>conftest.$ac_ext <<_ACEOF
25356 /* end confdefs.h.  */
25357 #include <math.h>
25358                       #ifdef HAVE_IEEEFP_H
25359                       #include <ieeefp.h>
25360                       #endif
25361
25362 int
25363 main ()
25364 {
25365  finitel(0);
25366   ;
25367   return 0;
25368 }
25369 _ACEOF
25370 rm -f conftest.$ac_objext
25371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25372   (eval $ac_compile) 2>conftest.er1
25373   ac_status=$?
25374   grep -v '^ *+' conftest.er1 >conftest.err
25375   rm -f conftest.er1
25376   cat conftest.err >&5
25377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25378   (exit $ac_status); } &&
25379          { ac_try='test -z "$ac_cxx_werror_flag"
25380                          || test ! -s conftest.err'
25381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25382   (eval $ac_try) 2>&5
25383   ac_status=$?
25384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25385   (exit $ac_status); }; } &&
25386          { ac_try='test -s conftest.$ac_objext'
25387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25388   (eval $ac_try) 2>&5
25389   ac_status=$?
25390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25391   (exit $ac_status); }; }; then
25392   glibcxx_cv_func_finitel_use=yes
25393 else
25394   echo "$as_me: failed program was:" >&5
25395 sed 's/^/| /' conftest.$ac_ext >&5
25396
25397 glibcxx_cv_func_finitel_use=no
25398 fi
25399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25400       ac_ext=c
25401 ac_cpp='$CPP $CPPFLAGS'
25402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25405
25406
25407 fi
25408
25409   fi
25410   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
25411 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
25412
25413   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25414
25415 for ac_func in finitel
25416 do
25417 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25418 echo "$as_me:$LINENO: checking for $ac_func" >&5
25419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25420 if eval "test \"\${$as_ac_var+set}\" = set"; then
25421   echo $ECHO_N "(cached) $ECHO_C" >&6
25422 else
25423   if test x$gcc_no_link = xyes; then
25424   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25425 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25426    { (exit 1); exit 1; }; }
25427 fi
25428 cat >conftest.$ac_ext <<_ACEOF
25429 /* confdefs.h.  */
25430 _ACEOF
25431 cat confdefs.h >>conftest.$ac_ext
25432 cat >>conftest.$ac_ext <<_ACEOF
25433 /* end confdefs.h.  */
25434 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25435    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25436 #define $ac_func innocuous_$ac_func
25437
25438 /* System header to define __stub macros and hopefully few prototypes,
25439     which can conflict with char $ac_func (); below.
25440     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25441     <limits.h> exists even on freestanding compilers.  */
25442
25443 #ifdef __STDC__
25444 # include <limits.h>
25445 #else
25446 # include <assert.h>
25447 #endif
25448
25449 #undef $ac_func
25450
25451 /* Override any gcc2 internal prototype to avoid an error.  */
25452 #ifdef __cplusplus
25453 extern "C"
25454 {
25455 #endif
25456 /* We use char because int might match the return type of a gcc2
25457    builtin and then its argument prototype would still apply.  */
25458 char $ac_func ();
25459 /* The GNU C library defines this for functions which it implements
25460     to always fail with ENOSYS.  Some functions are actually named
25461     something starting with __ and the normal name is an alias.  */
25462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25463 choke me
25464 #else
25465 char (*f) () = $ac_func;
25466 #endif
25467 #ifdef __cplusplus
25468 }
25469 #endif
25470
25471 int
25472 main ()
25473 {
25474 return f != $ac_func;
25475   ;
25476   return 0;
25477 }
25478 _ACEOF
25479 rm -f conftest.$ac_objext conftest$ac_exeext
25480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25481   (eval $ac_link) 2>conftest.er1
25482   ac_status=$?
25483   grep -v '^ *+' conftest.er1 >conftest.err
25484   rm -f conftest.er1
25485   cat conftest.err >&5
25486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25487   (exit $ac_status); } &&
25488          { ac_try='test -z "$ac_c_werror_flag"
25489                          || test ! -s conftest.err'
25490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25491   (eval $ac_try) 2>&5
25492   ac_status=$?
25493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25494   (exit $ac_status); }; } &&
25495          { ac_try='test -s conftest$ac_exeext'
25496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25497   (eval $ac_try) 2>&5
25498   ac_status=$?
25499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25500   (exit $ac_status); }; }; then
25501   eval "$as_ac_var=yes"
25502 else
25503   echo "$as_me: failed program was:" >&5
25504 sed 's/^/| /' conftest.$ac_ext >&5
25505
25506 eval "$as_ac_var=no"
25507 fi
25508 rm -f conftest.err conftest.$ac_objext \
25509       conftest$ac_exeext conftest.$ac_ext
25510 fi
25511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25512 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25513 if test `eval echo '${'$as_ac_var'}'` = yes; then
25514   cat >>confdefs.h <<_ACEOF
25515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25516 _ACEOF
25517
25518 fi
25519 done
25520
25521   else
25522
25523   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
25524 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
25525   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25526     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
25527   echo $ECHO_N "(cached) $ECHO_C" >&6
25528 else
25529
25530
25531
25532       ac_ext=cc
25533 ac_cpp='$CXXCPP $CPPFLAGS'
25534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25537
25538       cat >conftest.$ac_ext <<_ACEOF
25539 /* confdefs.h.  */
25540 _ACEOF
25541 cat confdefs.h >>conftest.$ac_ext
25542 cat >>conftest.$ac_ext <<_ACEOF
25543 /* end confdefs.h.  */
25544 #include <math.h>
25545                       #ifdef HAVE_IEEEFP_H
25546                       #include <ieeefp.h>
25547                       #endif
25548
25549 int
25550 main ()
25551 {
25552  _finitel(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__finitel_use=yes
25580 else
25581   echo "$as_me: failed program was:" >&5
25582 sed 's/^/| /' conftest.$ac_ext >&5
25583
25584 glibcxx_cv_func__finitel_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__finitel_use" >&5
25598 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
25599
25600     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25601
25602 for ac_func in _finitel
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
25714
25715   LIBS="$ac_save_LIBS"
25716   CXXFLAGS="$ac_save_CXXFLAGS"
25717
25718
25719
25720   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
25721 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
25722   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
25723     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
25724   echo $ECHO_N "(cached) $ECHO_C" >&6
25725 else
25726
25727
25728
25729       ac_ext=cc
25730 ac_cpp='$CXXCPP $CPPFLAGS'
25731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25734
25735       cat >conftest.$ac_ext <<_ACEOF
25736 /* confdefs.h.  */
25737 _ACEOF
25738 cat confdefs.h >>conftest.$ac_ext
25739 cat >>conftest.$ac_ext <<_ACEOF
25740 /* end confdefs.h.  */
25741 #include <math.h>
25742 int
25743 main ()
25744 {
25745  __builtin_abs(0);
25746   ;
25747   return 0;
25748 }
25749 _ACEOF
25750 rm -f conftest.$ac_objext
25751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25752   (eval $ac_compile) 2>conftest.er1
25753   ac_status=$?
25754   grep -v '^ *+' conftest.er1 >conftest.err
25755   rm -f conftest.er1
25756   cat conftest.err >&5
25757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25758   (exit $ac_status); } &&
25759          { ac_try='test -z "$ac_cxx_werror_flag"
25760                          || test ! -s conftest.err'
25761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25762   (eval $ac_try) 2>&5
25763   ac_status=$?
25764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25765   (exit $ac_status); }; } &&
25766          { ac_try='test -s conftest.$ac_objext'
25767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25768   (eval $ac_try) 2>&5
25769   ac_status=$?
25770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25771   (exit $ac_status); }; }; then
25772   glibcxx_cv_func___builtin_abs_use=yes
25773 else
25774   echo "$as_me: failed program was:" >&5
25775 sed 's/^/| /' conftest.$ac_ext >&5
25776
25777 glibcxx_cv_func___builtin_abs_use=no
25778 fi
25779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25780       ac_ext=c
25781 ac_cpp='$CPP $CPPFLAGS'
25782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25785
25786
25787 fi
25788
25789   fi
25790   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
25791 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
25792   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
25793     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
25794 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
25795     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
25796       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
25797   echo $ECHO_N "(cached) $ECHO_C" >&6
25798 else
25799
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 #include <math.h>
25812 int
25813 main ()
25814 {
25815  __builtin_abs(0);
25816   ;
25817   return 0;
25818 }
25819 _ACEOF
25820 rm -f conftest.$ac_objext conftest$ac_exeext
25821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25822   (eval $ac_link) 2>conftest.er1
25823   ac_status=$?
25824   grep -v '^ *+' conftest.er1 >conftest.err
25825   rm -f conftest.er1
25826   cat conftest.err >&5
25827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25828   (exit $ac_status); } &&
25829          { ac_try='test -z "$ac_c_werror_flag"
25830                          || test ! -s conftest.err'
25831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25832   (eval $ac_try) 2>&5
25833   ac_status=$?
25834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25835   (exit $ac_status); }; } &&
25836          { ac_try='test -s conftest$ac_exeext'
25837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25838   (eval $ac_try) 2>&5
25839   ac_status=$?
25840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25841   (exit $ac_status); }; }; then
25842   glibcxx_cv_func___builtin_abs_link=yes
25843 else
25844   echo "$as_me: failed program was:" >&5
25845 sed 's/^/| /' conftest.$ac_ext >&5
25846
25847 glibcxx_cv_func___builtin_abs_link=no
25848 fi
25849 rm -f conftest.err conftest.$ac_objext \
25850       conftest$ac_exeext conftest.$ac_ext
25851
25852 fi
25853
25854     fi
25855     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
25856 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
25857
25858     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
25859
25860 cat >>confdefs.h <<\_ACEOF
25861 #define HAVE___BUILTIN_ABS 1
25862 _ACEOF
25863
25864     fi
25865
25866   fi
25867
25868
25869   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
25870 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
25871   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
25872     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
25873   echo $ECHO_N "(cached) $ECHO_C" >&6
25874 else
25875
25876
25877
25878       ac_ext=cc
25879 ac_cpp='$CXXCPP $CPPFLAGS'
25880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25883
25884       cat >conftest.$ac_ext <<_ACEOF
25885 /* confdefs.h.  */
25886 _ACEOF
25887 cat confdefs.h >>conftest.$ac_ext
25888 cat >>conftest.$ac_ext <<_ACEOF
25889 /* end confdefs.h.  */
25890 #include <math.h>
25891 int
25892 main ()
25893 {
25894  __builtin_fabsf(0);
25895   ;
25896   return 0;
25897 }
25898 _ACEOF
25899 rm -f conftest.$ac_objext
25900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25901   (eval $ac_compile) 2>conftest.er1
25902   ac_status=$?
25903   grep -v '^ *+' conftest.er1 >conftest.err
25904   rm -f conftest.er1
25905   cat conftest.err >&5
25906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25907   (exit $ac_status); } &&
25908          { ac_try='test -z "$ac_cxx_werror_flag"
25909                          || test ! -s conftest.err'
25910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25911   (eval $ac_try) 2>&5
25912   ac_status=$?
25913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25914   (exit $ac_status); }; } &&
25915          { ac_try='test -s conftest.$ac_objext'
25916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25917   (eval $ac_try) 2>&5
25918   ac_status=$?
25919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25920   (exit $ac_status); }; }; then
25921   glibcxx_cv_func___builtin_fabsf_use=yes
25922 else
25923   echo "$as_me: failed program was:" >&5
25924 sed 's/^/| /' conftest.$ac_ext >&5
25925
25926 glibcxx_cv_func___builtin_fabsf_use=no
25927 fi
25928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25929       ac_ext=c
25930 ac_cpp='$CPP $CPPFLAGS'
25931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25934
25935
25936 fi
25937
25938   fi
25939   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
25940 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
25941   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
25942     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
25943 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
25944     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
25945       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
25946   echo $ECHO_N "(cached) $ECHO_C" >&6
25947 else
25948
25949         if test x$gcc_no_link = xyes; then
25950   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25952    { (exit 1); exit 1; }; }
25953 fi
25954 cat >conftest.$ac_ext <<_ACEOF
25955 /* confdefs.h.  */
25956 _ACEOF
25957 cat confdefs.h >>conftest.$ac_ext
25958 cat >>conftest.$ac_ext <<_ACEOF
25959 /* end confdefs.h.  */
25960 #include <math.h>
25961 int
25962 main ()
25963 {
25964  __builtin_fabsf(0);
25965   ;
25966   return 0;
25967 }
25968 _ACEOF
25969 rm -f conftest.$ac_objext conftest$ac_exeext
25970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25971   (eval $ac_link) 2>conftest.er1
25972   ac_status=$?
25973   grep -v '^ *+' conftest.er1 >conftest.err
25974   rm -f conftest.er1
25975   cat conftest.err >&5
25976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25977   (exit $ac_status); } &&
25978          { ac_try='test -z "$ac_c_werror_flag"
25979                          || test ! -s conftest.err'
25980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25981   (eval $ac_try) 2>&5
25982   ac_status=$?
25983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25984   (exit $ac_status); }; } &&
25985          { ac_try='test -s conftest$ac_exeext'
25986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25987   (eval $ac_try) 2>&5
25988   ac_status=$?
25989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25990   (exit $ac_status); }; }; then
25991   glibcxx_cv_func___builtin_fabsf_link=yes
25992 else
25993   echo "$as_me: failed program was:" >&5
25994 sed 's/^/| /' conftest.$ac_ext >&5
25995
25996 glibcxx_cv_func___builtin_fabsf_link=no
25997 fi
25998 rm -f conftest.err conftest.$ac_objext \
25999       conftest$ac_exeext conftest.$ac_ext
26000
26001 fi
26002
26003     fi
26004     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
26005 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
26006
26007     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
26008
26009 cat >>confdefs.h <<\_ACEOF
26010 #define HAVE___BUILTIN_FABSF 1
26011 _ACEOF
26012
26013     fi
26014
26015   fi
26016
26017
26018   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
26019 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
26020   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
26021     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
26022   echo $ECHO_N "(cached) $ECHO_C" >&6
26023 else
26024
26025
26026
26027       ac_ext=cc
26028 ac_cpp='$CXXCPP $CPPFLAGS'
26029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26032
26033       cat >conftest.$ac_ext <<_ACEOF
26034 /* confdefs.h.  */
26035 _ACEOF
26036 cat confdefs.h >>conftest.$ac_ext
26037 cat >>conftest.$ac_ext <<_ACEOF
26038 /* end confdefs.h.  */
26039 #include <math.h>
26040 int
26041 main ()
26042 {
26043  __builtin_fabs(0);
26044   ;
26045   return 0;
26046 }
26047 _ACEOF
26048 rm -f conftest.$ac_objext
26049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26050   (eval $ac_compile) 2>conftest.er1
26051   ac_status=$?
26052   grep -v '^ *+' conftest.er1 >conftest.err
26053   rm -f conftest.er1
26054   cat conftest.err >&5
26055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26056   (exit $ac_status); } &&
26057          { ac_try='test -z "$ac_cxx_werror_flag"
26058                          || test ! -s conftest.err'
26059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26060   (eval $ac_try) 2>&5
26061   ac_status=$?
26062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26063   (exit $ac_status); }; } &&
26064          { ac_try='test -s conftest.$ac_objext'
26065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26066   (eval $ac_try) 2>&5
26067   ac_status=$?
26068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26069   (exit $ac_status); }; }; then
26070   glibcxx_cv_func___builtin_fabs_use=yes
26071 else
26072   echo "$as_me: failed program was:" >&5
26073 sed 's/^/| /' conftest.$ac_ext >&5
26074
26075 glibcxx_cv_func___builtin_fabs_use=no
26076 fi
26077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26078       ac_ext=c
26079 ac_cpp='$CPP $CPPFLAGS'
26080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26083
26084
26085 fi
26086
26087   fi
26088   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
26089 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
26090   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
26091     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
26092 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
26093     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
26094       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
26095   echo $ECHO_N "(cached) $ECHO_C" >&6
26096 else
26097
26098         if test x$gcc_no_link = xyes; then
26099   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26101    { (exit 1); exit 1; }; }
26102 fi
26103 cat >conftest.$ac_ext <<_ACEOF
26104 /* confdefs.h.  */
26105 _ACEOF
26106 cat confdefs.h >>conftest.$ac_ext
26107 cat >>conftest.$ac_ext <<_ACEOF
26108 /* end confdefs.h.  */
26109 #include <math.h>
26110 int
26111 main ()
26112 {
26113  __builtin_fabs(0);
26114   ;
26115   return 0;
26116 }
26117 _ACEOF
26118 rm -f conftest.$ac_objext conftest$ac_exeext
26119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26120   (eval $ac_link) 2>conftest.er1
26121   ac_status=$?
26122   grep -v '^ *+' conftest.er1 >conftest.err
26123   rm -f conftest.er1
26124   cat conftest.err >&5
26125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26126   (exit $ac_status); } &&
26127          { ac_try='test -z "$ac_c_werror_flag"
26128                          || test ! -s conftest.err'
26129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26130   (eval $ac_try) 2>&5
26131   ac_status=$?
26132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26133   (exit $ac_status); }; } &&
26134          { ac_try='test -s conftest$ac_exeext'
26135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26136   (eval $ac_try) 2>&5
26137   ac_status=$?
26138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26139   (exit $ac_status); }; }; then
26140   glibcxx_cv_func___builtin_fabs_link=yes
26141 else
26142   echo "$as_me: failed program was:" >&5
26143 sed 's/^/| /' conftest.$ac_ext >&5
26144
26145 glibcxx_cv_func___builtin_fabs_link=no
26146 fi
26147 rm -f conftest.err conftest.$ac_objext \
26148       conftest$ac_exeext conftest.$ac_ext
26149
26150 fi
26151
26152     fi
26153     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
26154 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
26155
26156     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
26157
26158 cat >>confdefs.h <<\_ACEOF
26159 #define HAVE___BUILTIN_FABS 1
26160 _ACEOF
26161
26162     fi
26163
26164   fi
26165
26166
26167   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
26168 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
26169   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
26170     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
26171   echo $ECHO_N "(cached) $ECHO_C" >&6
26172 else
26173
26174
26175
26176       ac_ext=cc
26177 ac_cpp='$CXXCPP $CPPFLAGS'
26178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26181
26182       cat >conftest.$ac_ext <<_ACEOF
26183 /* confdefs.h.  */
26184 _ACEOF
26185 cat confdefs.h >>conftest.$ac_ext
26186 cat >>conftest.$ac_ext <<_ACEOF
26187 /* end confdefs.h.  */
26188 #include <math.h>
26189 int
26190 main ()
26191 {
26192  __builtin_fabsl(0);
26193   ;
26194   return 0;
26195 }
26196 _ACEOF
26197 rm -f conftest.$ac_objext
26198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26199   (eval $ac_compile) 2>conftest.er1
26200   ac_status=$?
26201   grep -v '^ *+' conftest.er1 >conftest.err
26202   rm -f conftest.er1
26203   cat conftest.err >&5
26204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26205   (exit $ac_status); } &&
26206          { ac_try='test -z "$ac_cxx_werror_flag"
26207                          || test ! -s conftest.err'
26208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26209   (eval $ac_try) 2>&5
26210   ac_status=$?
26211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26212   (exit $ac_status); }; } &&
26213          { ac_try='test -s conftest.$ac_objext'
26214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26215   (eval $ac_try) 2>&5
26216   ac_status=$?
26217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26218   (exit $ac_status); }; }; then
26219   glibcxx_cv_func___builtin_fabsl_use=yes
26220 else
26221   echo "$as_me: failed program was:" >&5
26222 sed 's/^/| /' conftest.$ac_ext >&5
26223
26224 glibcxx_cv_func___builtin_fabsl_use=no
26225 fi
26226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26227       ac_ext=c
26228 ac_cpp='$CPP $CPPFLAGS'
26229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26232
26233
26234 fi
26235
26236   fi
26237   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
26238 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
26239   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
26240     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
26241 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
26242     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
26243       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
26244   echo $ECHO_N "(cached) $ECHO_C" >&6
26245 else
26246
26247         if test x$gcc_no_link = xyes; then
26248   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26250    { (exit 1); exit 1; }; }
26251 fi
26252 cat >conftest.$ac_ext <<_ACEOF
26253 /* confdefs.h.  */
26254 _ACEOF
26255 cat confdefs.h >>conftest.$ac_ext
26256 cat >>conftest.$ac_ext <<_ACEOF
26257 /* end confdefs.h.  */
26258 #include <math.h>
26259 int
26260 main ()
26261 {
26262  __builtin_fabsl(0);
26263   ;
26264   return 0;
26265 }
26266 _ACEOF
26267 rm -f conftest.$ac_objext conftest$ac_exeext
26268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26269   (eval $ac_link) 2>conftest.er1
26270   ac_status=$?
26271   grep -v '^ *+' conftest.er1 >conftest.err
26272   rm -f conftest.er1
26273   cat conftest.err >&5
26274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26275   (exit $ac_status); } &&
26276          { ac_try='test -z "$ac_c_werror_flag"
26277                          || test ! -s conftest.err'
26278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26279   (eval $ac_try) 2>&5
26280   ac_status=$?
26281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26282   (exit $ac_status); }; } &&
26283          { ac_try='test -s conftest$ac_exeext'
26284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26285   (eval $ac_try) 2>&5
26286   ac_status=$?
26287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26288   (exit $ac_status); }; }; then
26289   glibcxx_cv_func___builtin_fabsl_link=yes
26290 else
26291   echo "$as_me: failed program was:" >&5
26292 sed 's/^/| /' conftest.$ac_ext >&5
26293
26294 glibcxx_cv_func___builtin_fabsl_link=no
26295 fi
26296 rm -f conftest.err conftest.$ac_objext \
26297       conftest$ac_exeext conftest.$ac_ext
26298
26299 fi
26300
26301     fi
26302     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
26303 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
26304
26305     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
26306
26307 cat >>confdefs.h <<\_ACEOF
26308 #define HAVE___BUILTIN_FABSL 1
26309 _ACEOF
26310
26311     fi
26312
26313   fi
26314
26315
26316   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
26317 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
26318   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
26319     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
26320   echo $ECHO_N "(cached) $ECHO_C" >&6
26321 else
26322
26323
26324
26325       ac_ext=cc
26326 ac_cpp='$CXXCPP $CPPFLAGS'
26327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26330
26331       cat >conftest.$ac_ext <<_ACEOF
26332 /* confdefs.h.  */
26333 _ACEOF
26334 cat confdefs.h >>conftest.$ac_ext
26335 cat >>conftest.$ac_ext <<_ACEOF
26336 /* end confdefs.h.  */
26337 #include <math.h>
26338 int
26339 main ()
26340 {
26341  __builtin_labs(0);
26342   ;
26343   return 0;
26344 }
26345 _ACEOF
26346 rm -f conftest.$ac_objext
26347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26348   (eval $ac_compile) 2>conftest.er1
26349   ac_status=$?
26350   grep -v '^ *+' conftest.er1 >conftest.err
26351   rm -f conftest.er1
26352   cat conftest.err >&5
26353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26354   (exit $ac_status); } &&
26355          { ac_try='test -z "$ac_cxx_werror_flag"
26356                          || test ! -s conftest.err'
26357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26358   (eval $ac_try) 2>&5
26359   ac_status=$?
26360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26361   (exit $ac_status); }; } &&
26362          { ac_try='test -s conftest.$ac_objext'
26363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26364   (eval $ac_try) 2>&5
26365   ac_status=$?
26366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26367   (exit $ac_status); }; }; then
26368   glibcxx_cv_func___builtin_labs_use=yes
26369 else
26370   echo "$as_me: failed program was:" >&5
26371 sed 's/^/| /' conftest.$ac_ext >&5
26372
26373 glibcxx_cv_func___builtin_labs_use=no
26374 fi
26375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26376       ac_ext=c
26377 ac_cpp='$CPP $CPPFLAGS'
26378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26381
26382
26383 fi
26384
26385   fi
26386   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
26387 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
26388   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
26389     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
26390 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
26391     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
26392       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
26393   echo $ECHO_N "(cached) $ECHO_C" >&6
26394 else
26395
26396         if test x$gcc_no_link = xyes; then
26397   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26399    { (exit 1); exit 1; }; }
26400 fi
26401 cat >conftest.$ac_ext <<_ACEOF
26402 /* confdefs.h.  */
26403 _ACEOF
26404 cat confdefs.h >>conftest.$ac_ext
26405 cat >>conftest.$ac_ext <<_ACEOF
26406 /* end confdefs.h.  */
26407 #include <math.h>
26408 int
26409 main ()
26410 {
26411  __builtin_labs(0);
26412   ;
26413   return 0;
26414 }
26415 _ACEOF
26416 rm -f conftest.$ac_objext conftest$ac_exeext
26417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26418   (eval $ac_link) 2>conftest.er1
26419   ac_status=$?
26420   grep -v '^ *+' conftest.er1 >conftest.err
26421   rm -f conftest.er1
26422   cat conftest.err >&5
26423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26424   (exit $ac_status); } &&
26425          { ac_try='test -z "$ac_c_werror_flag"
26426                          || test ! -s conftest.err'
26427   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26428   (eval $ac_try) 2>&5
26429   ac_status=$?
26430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26431   (exit $ac_status); }; } &&
26432          { ac_try='test -s conftest$ac_exeext'
26433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26434   (eval $ac_try) 2>&5
26435   ac_status=$?
26436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26437   (exit $ac_status); }; }; then
26438   glibcxx_cv_func___builtin_labs_link=yes
26439 else
26440   echo "$as_me: failed program was:" >&5
26441 sed 's/^/| /' conftest.$ac_ext >&5
26442
26443 glibcxx_cv_func___builtin_labs_link=no
26444 fi
26445 rm -f conftest.err conftest.$ac_objext \
26446       conftest$ac_exeext conftest.$ac_ext
26447
26448 fi
26449
26450     fi
26451     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
26452 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
26453
26454     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
26455
26456 cat >>confdefs.h <<\_ACEOF
26457 #define HAVE___BUILTIN_LABS 1
26458 _ACEOF
26459
26460     fi
26461
26462   fi
26463
26464
26465
26466   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
26467 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
26468   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
26469     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
26470   echo $ECHO_N "(cached) $ECHO_C" >&6
26471 else
26472
26473
26474
26475       ac_ext=cc
26476 ac_cpp='$CXXCPP $CPPFLAGS'
26477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26480
26481       cat >conftest.$ac_ext <<_ACEOF
26482 /* confdefs.h.  */
26483 _ACEOF
26484 cat confdefs.h >>conftest.$ac_ext
26485 cat >>conftest.$ac_ext <<_ACEOF
26486 /* end confdefs.h.  */
26487 #include <math.h>
26488 int
26489 main ()
26490 {
26491  __builtin_sqrtf(0);
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___builtin_sqrtf_use=yes
26519 else
26520   echo "$as_me: failed program was:" >&5
26521 sed 's/^/| /' conftest.$ac_ext >&5
26522
26523 glibcxx_cv_func___builtin_sqrtf_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
26533 fi
26534
26535   fi
26536   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
26537 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
26538   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
26539     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
26540 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
26541     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
26542       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
26543   echo $ECHO_N "(cached) $ECHO_C" >&6
26544 else
26545
26546         if test x$gcc_no_link = xyes; then
26547   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26549    { (exit 1); exit 1; }; }
26550 fi
26551 cat >conftest.$ac_ext <<_ACEOF
26552 /* confdefs.h.  */
26553 _ACEOF
26554 cat confdefs.h >>conftest.$ac_ext
26555 cat >>conftest.$ac_ext <<_ACEOF
26556 /* end confdefs.h.  */
26557 #include <math.h>
26558 int
26559 main ()
26560 {
26561  __builtin_sqrtf(0);
26562   ;
26563   return 0;
26564 }
26565 _ACEOF
26566 rm -f conftest.$ac_objext conftest$ac_exeext
26567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26568   (eval $ac_link) 2>conftest.er1
26569   ac_status=$?
26570   grep -v '^ *+' conftest.er1 >conftest.err
26571   rm -f conftest.er1
26572   cat conftest.err >&5
26573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26574   (exit $ac_status); } &&
26575          { ac_try='test -z "$ac_c_werror_flag"
26576                          || test ! -s conftest.err'
26577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26578   (eval $ac_try) 2>&5
26579   ac_status=$?
26580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26581   (exit $ac_status); }; } &&
26582          { ac_try='test -s conftest$ac_exeext'
26583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26584   (eval $ac_try) 2>&5
26585   ac_status=$?
26586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26587   (exit $ac_status); }; }; then
26588   glibcxx_cv_func___builtin_sqrtf_link=yes
26589 else
26590   echo "$as_me: failed program was:" >&5
26591 sed 's/^/| /' conftest.$ac_ext >&5
26592
26593 glibcxx_cv_func___builtin_sqrtf_link=no
26594 fi
26595 rm -f conftest.err conftest.$ac_objext \
26596       conftest$ac_exeext conftest.$ac_ext
26597
26598 fi
26599
26600     fi
26601     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
26602 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
26603
26604     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
26605
26606 cat >>confdefs.h <<\_ACEOF
26607 #define HAVE___BUILTIN_SQRTF 1
26608 _ACEOF
26609
26610     fi
26611
26612   fi
26613
26614
26615   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
26616 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
26617   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
26618     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
26619   echo $ECHO_N "(cached) $ECHO_C" >&6
26620 else
26621
26622
26623
26624       ac_ext=cc
26625 ac_cpp='$CXXCPP $CPPFLAGS'
26626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26629
26630       cat >conftest.$ac_ext <<_ACEOF
26631 /* confdefs.h.  */
26632 _ACEOF
26633 cat confdefs.h >>conftest.$ac_ext
26634 cat >>conftest.$ac_ext <<_ACEOF
26635 /* end confdefs.h.  */
26636 #include <math.h>
26637 int
26638 main ()
26639 {
26640  __builtin_sqrt(0);
26641   ;
26642   return 0;
26643 }
26644 _ACEOF
26645 rm -f conftest.$ac_objext
26646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26647   (eval $ac_compile) 2>conftest.er1
26648   ac_status=$?
26649   grep -v '^ *+' conftest.er1 >conftest.err
26650   rm -f conftest.er1
26651   cat conftest.err >&5
26652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26653   (exit $ac_status); } &&
26654          { ac_try='test -z "$ac_cxx_werror_flag"
26655                          || test ! -s conftest.err'
26656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26657   (eval $ac_try) 2>&5
26658   ac_status=$?
26659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26660   (exit $ac_status); }; } &&
26661          { ac_try='test -s conftest.$ac_objext'
26662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26663   (eval $ac_try) 2>&5
26664   ac_status=$?
26665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26666   (exit $ac_status); }; }; then
26667   glibcxx_cv_func___builtin_sqrt_use=yes
26668 else
26669   echo "$as_me: failed program was:" >&5
26670 sed 's/^/| /' conftest.$ac_ext >&5
26671
26672 glibcxx_cv_func___builtin_sqrt_use=no
26673 fi
26674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26675       ac_ext=c
26676 ac_cpp='$CPP $CPPFLAGS'
26677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26680
26681
26682 fi
26683
26684   fi
26685   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
26686 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
26687   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
26688     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
26689 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
26690     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
26691       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
26692   echo $ECHO_N "(cached) $ECHO_C" >&6
26693 else
26694
26695         if test x$gcc_no_link = xyes; then
26696   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26698    { (exit 1); exit 1; }; }
26699 fi
26700 cat >conftest.$ac_ext <<_ACEOF
26701 /* confdefs.h.  */
26702 _ACEOF
26703 cat confdefs.h >>conftest.$ac_ext
26704 cat >>conftest.$ac_ext <<_ACEOF
26705 /* end confdefs.h.  */
26706 #include <math.h>
26707 int
26708 main ()
26709 {
26710  __builtin_sqrt(0);
26711   ;
26712   return 0;
26713 }
26714 _ACEOF
26715 rm -f conftest.$ac_objext conftest$ac_exeext
26716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26717   (eval $ac_link) 2>conftest.er1
26718   ac_status=$?
26719   grep -v '^ *+' conftest.er1 >conftest.err
26720   rm -f conftest.er1
26721   cat conftest.err >&5
26722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26723   (exit $ac_status); } &&
26724          { ac_try='test -z "$ac_c_werror_flag"
26725                          || test ! -s conftest.err'
26726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26727   (eval $ac_try) 2>&5
26728   ac_status=$?
26729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26730   (exit $ac_status); }; } &&
26731          { ac_try='test -s conftest$ac_exeext'
26732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26733   (eval $ac_try) 2>&5
26734   ac_status=$?
26735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26736   (exit $ac_status); }; }; then
26737   glibcxx_cv_func___builtin_sqrt_link=yes
26738 else
26739   echo "$as_me: failed program was:" >&5
26740 sed 's/^/| /' conftest.$ac_ext >&5
26741
26742 glibcxx_cv_func___builtin_sqrt_link=no
26743 fi
26744 rm -f conftest.err conftest.$ac_objext \
26745       conftest$ac_exeext conftest.$ac_ext
26746
26747 fi
26748
26749     fi
26750     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
26751 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
26752
26753     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
26754
26755 cat >>confdefs.h <<\_ACEOF
26756 #define HAVE___BUILTIN_SQRT 1
26757 _ACEOF
26758
26759     fi
26760
26761   fi
26762
26763
26764   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
26765 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
26766   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
26767     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
26768   echo $ECHO_N "(cached) $ECHO_C" >&6
26769 else
26770
26771
26772
26773       ac_ext=cc
26774 ac_cpp='$CXXCPP $CPPFLAGS'
26775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26778
26779       cat >conftest.$ac_ext <<_ACEOF
26780 /* confdefs.h.  */
26781 _ACEOF
26782 cat confdefs.h >>conftest.$ac_ext
26783 cat >>conftest.$ac_ext <<_ACEOF
26784 /* end confdefs.h.  */
26785 #include <math.h>
26786 int
26787 main ()
26788 {
26789  __builtin_sqrtl(0);
26790   ;
26791   return 0;
26792 }
26793 _ACEOF
26794 rm -f conftest.$ac_objext
26795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26796   (eval $ac_compile) 2>conftest.er1
26797   ac_status=$?
26798   grep -v '^ *+' conftest.er1 >conftest.err
26799   rm -f conftest.er1
26800   cat conftest.err >&5
26801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26802   (exit $ac_status); } &&
26803          { ac_try='test -z "$ac_cxx_werror_flag"
26804                          || test ! -s conftest.err'
26805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26806   (eval $ac_try) 2>&5
26807   ac_status=$?
26808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26809   (exit $ac_status); }; } &&
26810          { ac_try='test -s conftest.$ac_objext'
26811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26812   (eval $ac_try) 2>&5
26813   ac_status=$?
26814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26815   (exit $ac_status); }; }; then
26816   glibcxx_cv_func___builtin_sqrtl_use=yes
26817 else
26818   echo "$as_me: failed program was:" >&5
26819 sed 's/^/| /' conftest.$ac_ext >&5
26820
26821 glibcxx_cv_func___builtin_sqrtl_use=no
26822 fi
26823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26824       ac_ext=c
26825 ac_cpp='$CPP $CPPFLAGS'
26826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26829
26830
26831 fi
26832
26833   fi
26834   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
26835 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
26836   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
26837     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
26838 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
26839     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
26840       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
26841   echo $ECHO_N "(cached) $ECHO_C" >&6
26842 else
26843
26844         if test x$gcc_no_link = xyes; then
26845   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26846 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26847    { (exit 1); exit 1; }; }
26848 fi
26849 cat >conftest.$ac_ext <<_ACEOF
26850 /* confdefs.h.  */
26851 _ACEOF
26852 cat confdefs.h >>conftest.$ac_ext
26853 cat >>conftest.$ac_ext <<_ACEOF
26854 /* end confdefs.h.  */
26855 #include <math.h>
26856 int
26857 main ()
26858 {
26859  __builtin_sqrtl(0);
26860   ;
26861   return 0;
26862 }
26863 _ACEOF
26864 rm -f conftest.$ac_objext conftest$ac_exeext
26865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26866   (eval $ac_link) 2>conftest.er1
26867   ac_status=$?
26868   grep -v '^ *+' conftest.er1 >conftest.err
26869   rm -f conftest.er1
26870   cat conftest.err >&5
26871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26872   (exit $ac_status); } &&
26873          { ac_try='test -z "$ac_c_werror_flag"
26874                          || test ! -s conftest.err'
26875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26876   (eval $ac_try) 2>&5
26877   ac_status=$?
26878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26879   (exit $ac_status); }; } &&
26880          { ac_try='test -s conftest$ac_exeext'
26881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26882   (eval $ac_try) 2>&5
26883   ac_status=$?
26884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26885   (exit $ac_status); }; }; then
26886   glibcxx_cv_func___builtin_sqrtl_link=yes
26887 else
26888   echo "$as_me: failed program was:" >&5
26889 sed 's/^/| /' conftest.$ac_ext >&5
26890
26891 glibcxx_cv_func___builtin_sqrtl_link=no
26892 fi
26893 rm -f conftest.err conftest.$ac_objext \
26894       conftest$ac_exeext conftest.$ac_ext
26895
26896 fi
26897
26898     fi
26899     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
26900 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
26901
26902     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
26903
26904 cat >>confdefs.h <<\_ACEOF
26905 #define HAVE___BUILTIN_SQRTL 1
26906 _ACEOF
26907
26908     fi
26909
26910   fi
26911
26912
26913
26914   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
26915 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
26916   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
26917     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
26918   echo $ECHO_N "(cached) $ECHO_C" >&6
26919 else
26920
26921
26922
26923       ac_ext=cc
26924 ac_cpp='$CXXCPP $CPPFLAGS'
26925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26928
26929       cat >conftest.$ac_ext <<_ACEOF
26930 /* confdefs.h.  */
26931 _ACEOF
26932 cat confdefs.h >>conftest.$ac_ext
26933 cat >>conftest.$ac_ext <<_ACEOF
26934 /* end confdefs.h.  */
26935 #include <math.h>
26936 int
26937 main ()
26938 {
26939  __builtin_sinf(0);
26940   ;
26941   return 0;
26942 }
26943 _ACEOF
26944 rm -f conftest.$ac_objext
26945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26946   (eval $ac_compile) 2>conftest.er1
26947   ac_status=$?
26948   grep -v '^ *+' conftest.er1 >conftest.err
26949   rm -f conftest.er1
26950   cat conftest.err >&5
26951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26952   (exit $ac_status); } &&
26953          { ac_try='test -z "$ac_cxx_werror_flag"
26954                          || test ! -s conftest.err'
26955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26956   (eval $ac_try) 2>&5
26957   ac_status=$?
26958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26959   (exit $ac_status); }; } &&
26960          { ac_try='test -s conftest.$ac_objext'
26961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26962   (eval $ac_try) 2>&5
26963   ac_status=$?
26964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26965   (exit $ac_status); }; }; then
26966   glibcxx_cv_func___builtin_sinf_use=yes
26967 else
26968   echo "$as_me: failed program was:" >&5
26969 sed 's/^/| /' conftest.$ac_ext >&5
26970
26971 glibcxx_cv_func___builtin_sinf_use=no
26972 fi
26973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26974       ac_ext=c
26975 ac_cpp='$CPP $CPPFLAGS'
26976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26979
26980
26981 fi
26982
26983   fi
26984   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
26985 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
26986   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
26987     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
26988 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
26989     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
26990       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
26991   echo $ECHO_N "(cached) $ECHO_C" >&6
26992 else
26993
26994         if test x$gcc_no_link = xyes; then
26995   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26996 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26997    { (exit 1); exit 1; }; }
26998 fi
26999 cat >conftest.$ac_ext <<_ACEOF
27000 /* confdefs.h.  */
27001 _ACEOF
27002 cat confdefs.h >>conftest.$ac_ext
27003 cat >>conftest.$ac_ext <<_ACEOF
27004 /* end confdefs.h.  */
27005 #include <math.h>
27006 int
27007 main ()
27008 {
27009  __builtin_sinf(0);
27010   ;
27011   return 0;
27012 }
27013 _ACEOF
27014 rm -f conftest.$ac_objext conftest$ac_exeext
27015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27016   (eval $ac_link) 2>conftest.er1
27017   ac_status=$?
27018   grep -v '^ *+' conftest.er1 >conftest.err
27019   rm -f conftest.er1
27020   cat conftest.err >&5
27021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27022   (exit $ac_status); } &&
27023          { ac_try='test -z "$ac_c_werror_flag"
27024                          || test ! -s conftest.err'
27025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27026   (eval $ac_try) 2>&5
27027   ac_status=$?
27028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27029   (exit $ac_status); }; } &&
27030          { ac_try='test -s conftest$ac_exeext'
27031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27032   (eval $ac_try) 2>&5
27033   ac_status=$?
27034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27035   (exit $ac_status); }; }; then
27036   glibcxx_cv_func___builtin_sinf_link=yes
27037 else
27038   echo "$as_me: failed program was:" >&5
27039 sed 's/^/| /' conftest.$ac_ext >&5
27040
27041 glibcxx_cv_func___builtin_sinf_link=no
27042 fi
27043 rm -f conftest.err conftest.$ac_objext \
27044       conftest$ac_exeext conftest.$ac_ext
27045
27046 fi
27047
27048     fi
27049     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
27050 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
27051
27052     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
27053
27054 cat >>confdefs.h <<\_ACEOF
27055 #define HAVE___BUILTIN_SINF 1
27056 _ACEOF
27057
27058     fi
27059
27060   fi
27061
27062
27063   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
27064 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
27065   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
27066     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
27067   echo $ECHO_N "(cached) $ECHO_C" >&6
27068 else
27069
27070
27071
27072       ac_ext=cc
27073 ac_cpp='$CXXCPP $CPPFLAGS'
27074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27077
27078       cat >conftest.$ac_ext <<_ACEOF
27079 /* confdefs.h.  */
27080 _ACEOF
27081 cat confdefs.h >>conftest.$ac_ext
27082 cat >>conftest.$ac_ext <<_ACEOF
27083 /* end confdefs.h.  */
27084 #include <math.h>
27085 int
27086 main ()
27087 {
27088  __builtin_sin(0);
27089   ;
27090   return 0;
27091 }
27092 _ACEOF
27093 rm -f conftest.$ac_objext
27094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27095   (eval $ac_compile) 2>conftest.er1
27096   ac_status=$?
27097   grep -v '^ *+' conftest.er1 >conftest.err
27098   rm -f conftest.er1
27099   cat conftest.err >&5
27100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27101   (exit $ac_status); } &&
27102          { ac_try='test -z "$ac_cxx_werror_flag"
27103                          || test ! -s conftest.err'
27104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27105   (eval $ac_try) 2>&5
27106   ac_status=$?
27107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27108   (exit $ac_status); }; } &&
27109          { ac_try='test -s conftest.$ac_objext'
27110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27111   (eval $ac_try) 2>&5
27112   ac_status=$?
27113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27114   (exit $ac_status); }; }; then
27115   glibcxx_cv_func___builtin_sin_use=yes
27116 else
27117   echo "$as_me: failed program was:" >&5
27118 sed 's/^/| /' conftest.$ac_ext >&5
27119
27120 glibcxx_cv_func___builtin_sin_use=no
27121 fi
27122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27123       ac_ext=c
27124 ac_cpp='$CPP $CPPFLAGS'
27125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27128
27129
27130 fi
27131
27132   fi
27133   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
27134 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
27135   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
27136     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
27137 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
27138     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
27139       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
27140   echo $ECHO_N "(cached) $ECHO_C" >&6
27141 else
27142
27143         if test x$gcc_no_link = xyes; then
27144   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27146    { (exit 1); exit 1; }; }
27147 fi
27148 cat >conftest.$ac_ext <<_ACEOF
27149 /* confdefs.h.  */
27150 _ACEOF
27151 cat confdefs.h >>conftest.$ac_ext
27152 cat >>conftest.$ac_ext <<_ACEOF
27153 /* end confdefs.h.  */
27154 #include <math.h>
27155 int
27156 main ()
27157 {
27158  __builtin_sin(0);
27159   ;
27160   return 0;
27161 }
27162 _ACEOF
27163 rm -f conftest.$ac_objext conftest$ac_exeext
27164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27165   (eval $ac_link) 2>conftest.er1
27166   ac_status=$?
27167   grep -v '^ *+' conftest.er1 >conftest.err
27168   rm -f conftest.er1
27169   cat conftest.err >&5
27170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27171   (exit $ac_status); } &&
27172          { ac_try='test -z "$ac_c_werror_flag"
27173                          || test ! -s conftest.err'
27174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27175   (eval $ac_try) 2>&5
27176   ac_status=$?
27177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27178   (exit $ac_status); }; } &&
27179          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
27185   glibcxx_cv_func___builtin_sin_link=yes
27186 else
27187   echo "$as_me: failed program was:" >&5
27188 sed 's/^/| /' conftest.$ac_ext >&5
27189
27190 glibcxx_cv_func___builtin_sin_link=no
27191 fi
27192 rm -f conftest.err conftest.$ac_objext \
27193       conftest$ac_exeext conftest.$ac_ext
27194
27195 fi
27196
27197     fi
27198     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
27199 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
27200
27201     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
27202
27203 cat >>confdefs.h <<\_ACEOF
27204 #define HAVE___BUILTIN_SIN 1
27205 _ACEOF
27206
27207     fi
27208
27209   fi
27210
27211
27212   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
27213 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
27214   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
27215     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
27216   echo $ECHO_N "(cached) $ECHO_C" >&6
27217 else
27218
27219
27220
27221       ac_ext=cc
27222 ac_cpp='$CXXCPP $CPPFLAGS'
27223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27226
27227       cat >conftest.$ac_ext <<_ACEOF
27228 /* confdefs.h.  */
27229 _ACEOF
27230 cat confdefs.h >>conftest.$ac_ext
27231 cat >>conftest.$ac_ext <<_ACEOF
27232 /* end confdefs.h.  */
27233 #include <math.h>
27234 int
27235 main ()
27236 {
27237  __builtin_sinl(0);
27238   ;
27239   return 0;
27240 }
27241 _ACEOF
27242 rm -f conftest.$ac_objext
27243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27244   (eval $ac_compile) 2>conftest.er1
27245   ac_status=$?
27246   grep -v '^ *+' conftest.er1 >conftest.err
27247   rm -f conftest.er1
27248   cat conftest.err >&5
27249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27250   (exit $ac_status); } &&
27251          { ac_try='test -z "$ac_cxx_werror_flag"
27252                          || test ! -s conftest.err'
27253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27254   (eval $ac_try) 2>&5
27255   ac_status=$?
27256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27257   (exit $ac_status); }; } &&
27258          { ac_try='test -s conftest.$ac_objext'
27259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27260   (eval $ac_try) 2>&5
27261   ac_status=$?
27262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27263   (exit $ac_status); }; }; then
27264   glibcxx_cv_func___builtin_sinl_use=yes
27265 else
27266   echo "$as_me: failed program was:" >&5
27267 sed 's/^/| /' conftest.$ac_ext >&5
27268
27269 glibcxx_cv_func___builtin_sinl_use=no
27270 fi
27271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27272       ac_ext=c
27273 ac_cpp='$CPP $CPPFLAGS'
27274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27277
27278
27279 fi
27280
27281   fi
27282   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
27283 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
27284   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
27285     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
27286 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
27287     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
27288       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
27289   echo $ECHO_N "(cached) $ECHO_C" >&6
27290 else
27291
27292         if test x$gcc_no_link = xyes; then
27293   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27295    { (exit 1); exit 1; }; }
27296 fi
27297 cat >conftest.$ac_ext <<_ACEOF
27298 /* confdefs.h.  */
27299 _ACEOF
27300 cat confdefs.h >>conftest.$ac_ext
27301 cat >>conftest.$ac_ext <<_ACEOF
27302 /* end confdefs.h.  */
27303 #include <math.h>
27304 int
27305 main ()
27306 {
27307  __builtin_sinl(0);
27308   ;
27309   return 0;
27310 }
27311 _ACEOF
27312 rm -f conftest.$ac_objext conftest$ac_exeext
27313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27314   (eval $ac_link) 2>conftest.er1
27315   ac_status=$?
27316   grep -v '^ *+' conftest.er1 >conftest.err
27317   rm -f conftest.er1
27318   cat conftest.err >&5
27319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27320   (exit $ac_status); } &&
27321          { ac_try='test -z "$ac_c_werror_flag"
27322                          || test ! -s conftest.err'
27323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27324   (eval $ac_try) 2>&5
27325   ac_status=$?
27326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27327   (exit $ac_status); }; } &&
27328          { ac_try='test -s conftest$ac_exeext'
27329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27330   (eval $ac_try) 2>&5
27331   ac_status=$?
27332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27333   (exit $ac_status); }; }; then
27334   glibcxx_cv_func___builtin_sinl_link=yes
27335 else
27336   echo "$as_me: failed program was:" >&5
27337 sed 's/^/| /' conftest.$ac_ext >&5
27338
27339 glibcxx_cv_func___builtin_sinl_link=no
27340 fi
27341 rm -f conftest.err conftest.$ac_objext \
27342       conftest$ac_exeext conftest.$ac_ext
27343
27344 fi
27345
27346     fi
27347     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
27348 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
27349
27350     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
27351
27352 cat >>confdefs.h <<\_ACEOF
27353 #define HAVE___BUILTIN_SINL 1
27354 _ACEOF
27355
27356     fi
27357
27358   fi
27359
27360
27361
27362   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
27363 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
27364   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
27365     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
27366   echo $ECHO_N "(cached) $ECHO_C" >&6
27367 else
27368
27369
27370
27371       ac_ext=cc
27372 ac_cpp='$CXXCPP $CPPFLAGS'
27373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27376
27377       cat >conftest.$ac_ext <<_ACEOF
27378 /* confdefs.h.  */
27379 _ACEOF
27380 cat confdefs.h >>conftest.$ac_ext
27381 cat >>conftest.$ac_ext <<_ACEOF
27382 /* end confdefs.h.  */
27383 #include <math.h>
27384 int
27385 main ()
27386 {
27387  __builtin_cosf(0);
27388   ;
27389   return 0;
27390 }
27391 _ACEOF
27392 rm -f conftest.$ac_objext
27393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27394   (eval $ac_compile) 2>conftest.er1
27395   ac_status=$?
27396   grep -v '^ *+' conftest.er1 >conftest.err
27397   rm -f conftest.er1
27398   cat conftest.err >&5
27399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27400   (exit $ac_status); } &&
27401          { ac_try='test -z "$ac_cxx_werror_flag"
27402                          || test ! -s conftest.err'
27403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27404   (eval $ac_try) 2>&5
27405   ac_status=$?
27406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27407   (exit $ac_status); }; } &&
27408          { ac_try='test -s conftest.$ac_objext'
27409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27410   (eval $ac_try) 2>&5
27411   ac_status=$?
27412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27413   (exit $ac_status); }; }; then
27414   glibcxx_cv_func___builtin_cosf_use=yes
27415 else
27416   echo "$as_me: failed program was:" >&5
27417 sed 's/^/| /' conftest.$ac_ext >&5
27418
27419 glibcxx_cv_func___builtin_cosf_use=no
27420 fi
27421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27422       ac_ext=c
27423 ac_cpp='$CPP $CPPFLAGS'
27424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27427
27428
27429 fi
27430
27431   fi
27432   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
27433 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
27434   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
27435     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
27436 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
27437     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
27438       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
27439   echo $ECHO_N "(cached) $ECHO_C" >&6
27440 else
27441
27442         if test x$gcc_no_link = xyes; then
27443   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27445    { (exit 1); exit 1; }; }
27446 fi
27447 cat >conftest.$ac_ext <<_ACEOF
27448 /* confdefs.h.  */
27449 _ACEOF
27450 cat confdefs.h >>conftest.$ac_ext
27451 cat >>conftest.$ac_ext <<_ACEOF
27452 /* end confdefs.h.  */
27453 #include <math.h>
27454 int
27455 main ()
27456 {
27457  __builtin_cosf(0);
27458   ;
27459   return 0;
27460 }
27461 _ACEOF
27462 rm -f conftest.$ac_objext conftest$ac_exeext
27463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27464   (eval $ac_link) 2>conftest.er1
27465   ac_status=$?
27466   grep -v '^ *+' conftest.er1 >conftest.err
27467   rm -f conftest.er1
27468   cat conftest.err >&5
27469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27470   (exit $ac_status); } &&
27471          { ac_try='test -z "$ac_c_werror_flag"
27472                          || test ! -s conftest.err'
27473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27474   (eval $ac_try) 2>&5
27475   ac_status=$?
27476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27477   (exit $ac_status); }; } &&
27478          { ac_try='test -s conftest$ac_exeext'
27479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27480   (eval $ac_try) 2>&5
27481   ac_status=$?
27482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27483   (exit $ac_status); }; }; then
27484   glibcxx_cv_func___builtin_cosf_link=yes
27485 else
27486   echo "$as_me: failed program was:" >&5
27487 sed 's/^/| /' conftest.$ac_ext >&5
27488
27489 glibcxx_cv_func___builtin_cosf_link=no
27490 fi
27491 rm -f conftest.err conftest.$ac_objext \
27492       conftest$ac_exeext conftest.$ac_ext
27493
27494 fi
27495
27496     fi
27497     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
27498 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
27499
27500     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
27501
27502 cat >>confdefs.h <<\_ACEOF
27503 #define HAVE___BUILTIN_COSF 1
27504 _ACEOF
27505
27506     fi
27507
27508   fi
27509
27510
27511   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
27512 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
27513   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
27514     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
27515   echo $ECHO_N "(cached) $ECHO_C" >&6
27516 else
27517
27518
27519
27520       ac_ext=cc
27521 ac_cpp='$CXXCPP $CPPFLAGS'
27522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27525
27526       cat >conftest.$ac_ext <<_ACEOF
27527 /* confdefs.h.  */
27528 _ACEOF
27529 cat confdefs.h >>conftest.$ac_ext
27530 cat >>conftest.$ac_ext <<_ACEOF
27531 /* end confdefs.h.  */
27532 #include <math.h>
27533 int
27534 main ()
27535 {
27536  __builtin_cos(0);
27537   ;
27538   return 0;
27539 }
27540 _ACEOF
27541 rm -f conftest.$ac_objext
27542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27543   (eval $ac_compile) 2>conftest.er1
27544   ac_status=$?
27545   grep -v '^ *+' conftest.er1 >conftest.err
27546   rm -f conftest.er1
27547   cat conftest.err >&5
27548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27549   (exit $ac_status); } &&
27550          { ac_try='test -z "$ac_cxx_werror_flag"
27551                          || test ! -s conftest.err'
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); }; } &&
27557          { ac_try='test -s conftest.$ac_objext'
27558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27559   (eval $ac_try) 2>&5
27560   ac_status=$?
27561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27562   (exit $ac_status); }; }; then
27563   glibcxx_cv_func___builtin_cos_use=yes
27564 else
27565   echo "$as_me: failed program was:" >&5
27566 sed 's/^/| /' conftest.$ac_ext >&5
27567
27568 glibcxx_cv_func___builtin_cos_use=no
27569 fi
27570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27571       ac_ext=c
27572 ac_cpp='$CPP $CPPFLAGS'
27573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27576
27577
27578 fi
27579
27580   fi
27581   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
27582 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
27583   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
27584     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
27585 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
27586     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
27587       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
27588   echo $ECHO_N "(cached) $ECHO_C" >&6
27589 else
27590
27591         if test x$gcc_no_link = xyes; then
27592   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27594    { (exit 1); exit 1; }; }
27595 fi
27596 cat >conftest.$ac_ext <<_ACEOF
27597 /* confdefs.h.  */
27598 _ACEOF
27599 cat confdefs.h >>conftest.$ac_ext
27600 cat >>conftest.$ac_ext <<_ACEOF
27601 /* end confdefs.h.  */
27602 #include <math.h>
27603 int
27604 main ()
27605 {
27606  __builtin_cos(0);
27607   ;
27608   return 0;
27609 }
27610 _ACEOF
27611 rm -f conftest.$ac_objext conftest$ac_exeext
27612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27613   (eval $ac_link) 2>conftest.er1
27614   ac_status=$?
27615   grep -v '^ *+' conftest.er1 >conftest.err
27616   rm -f conftest.er1
27617   cat conftest.err >&5
27618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27619   (exit $ac_status); } &&
27620          { ac_try='test -z "$ac_c_werror_flag"
27621                          || test ! -s conftest.err'
27622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27623   (eval $ac_try) 2>&5
27624   ac_status=$?
27625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27626   (exit $ac_status); }; } &&
27627          { ac_try='test -s conftest$ac_exeext'
27628   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27629   (eval $ac_try) 2>&5
27630   ac_status=$?
27631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27632   (exit $ac_status); }; }; then
27633   glibcxx_cv_func___builtin_cos_link=yes
27634 else
27635   echo "$as_me: failed program was:" >&5
27636 sed 's/^/| /' conftest.$ac_ext >&5
27637
27638 glibcxx_cv_func___builtin_cos_link=no
27639 fi
27640 rm -f conftest.err conftest.$ac_objext \
27641       conftest$ac_exeext conftest.$ac_ext
27642
27643 fi
27644
27645     fi
27646     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
27647 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
27648
27649     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
27650
27651 cat >>confdefs.h <<\_ACEOF
27652 #define HAVE___BUILTIN_COS 1
27653 _ACEOF
27654
27655     fi
27656
27657   fi
27658
27659
27660   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
27661 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
27662   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
27663     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
27664   echo $ECHO_N "(cached) $ECHO_C" >&6
27665 else
27666
27667
27668
27669       ac_ext=cc
27670 ac_cpp='$CXXCPP $CPPFLAGS'
27671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27674
27675       cat >conftest.$ac_ext <<_ACEOF
27676 /* confdefs.h.  */
27677 _ACEOF
27678 cat confdefs.h >>conftest.$ac_ext
27679 cat >>conftest.$ac_ext <<_ACEOF
27680 /* end confdefs.h.  */
27681 #include <math.h>
27682 int
27683 main ()
27684 {
27685  __builtin_cosl(0);
27686   ;
27687   return 0;
27688 }
27689 _ACEOF
27690 rm -f conftest.$ac_objext
27691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27692   (eval $ac_compile) 2>conftest.er1
27693   ac_status=$?
27694   grep -v '^ *+' conftest.er1 >conftest.err
27695   rm -f conftest.er1
27696   cat conftest.err >&5
27697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27698   (exit $ac_status); } &&
27699          { ac_try='test -z "$ac_cxx_werror_flag"
27700                          || test ! -s conftest.err'
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); }; } &&
27706          { ac_try='test -s conftest.$ac_objext'
27707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27708   (eval $ac_try) 2>&5
27709   ac_status=$?
27710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27711   (exit $ac_status); }; }; then
27712   glibcxx_cv_func___builtin_cosl_use=yes
27713 else
27714   echo "$as_me: failed program was:" >&5
27715 sed 's/^/| /' conftest.$ac_ext >&5
27716
27717 glibcxx_cv_func___builtin_cosl_use=no
27718 fi
27719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27720       ac_ext=c
27721 ac_cpp='$CPP $CPPFLAGS'
27722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27725
27726
27727 fi
27728
27729   fi
27730   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
27731 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
27732   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
27733     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
27734 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
27735     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
27736       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
27737   echo $ECHO_N "(cached) $ECHO_C" >&6
27738 else
27739
27740         if test x$gcc_no_link = xyes; then
27741   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27743    { (exit 1); exit 1; }; }
27744 fi
27745 cat >conftest.$ac_ext <<_ACEOF
27746 /* confdefs.h.  */
27747 _ACEOF
27748 cat confdefs.h >>conftest.$ac_ext
27749 cat >>conftest.$ac_ext <<_ACEOF
27750 /* end confdefs.h.  */
27751 #include <math.h>
27752 int
27753 main ()
27754 {
27755  __builtin_cosl(0);
27756   ;
27757   return 0;
27758 }
27759 _ACEOF
27760 rm -f conftest.$ac_objext conftest$ac_exeext
27761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27762   (eval $ac_link) 2>conftest.er1
27763   ac_status=$?
27764   grep -v '^ *+' conftest.er1 >conftest.err
27765   rm -f conftest.er1
27766   cat conftest.err >&5
27767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27768   (exit $ac_status); } &&
27769          { ac_try='test -z "$ac_c_werror_flag"
27770                          || test ! -s conftest.err'
27771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27772   (eval $ac_try) 2>&5
27773   ac_status=$?
27774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27775   (exit $ac_status); }; } &&
27776          { ac_try='test -s conftest$ac_exeext'
27777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27778   (eval $ac_try) 2>&5
27779   ac_status=$?
27780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27781   (exit $ac_status); }; }; then
27782   glibcxx_cv_func___builtin_cosl_link=yes
27783 else
27784   echo "$as_me: failed program was:" >&5
27785 sed 's/^/| /' conftest.$ac_ext >&5
27786
27787 glibcxx_cv_func___builtin_cosl_link=no
27788 fi
27789 rm -f conftest.err conftest.$ac_objext \
27790       conftest$ac_exeext conftest.$ac_ext
27791
27792 fi
27793
27794     fi
27795     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
27796 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
27797
27798     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
27799
27800 cat >>confdefs.h <<\_ACEOF
27801 #define HAVE___BUILTIN_COSL 1
27802 _ACEOF
27803
27804     fi
27805
27806   fi
27807
27808
27809
27810
27811 echo "$as_me:$LINENO: checking for main in -lm" >&5
27812 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
27813 if test "${ac_cv_lib_m_main+set}" = set; then
27814   echo $ECHO_N "(cached) $ECHO_C" >&6
27815 else
27816   ac_check_lib_save_LIBS=$LIBS
27817 LIBS="-lm  $LIBS"
27818 if test x$gcc_no_link = xyes; then
27819   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27821    { (exit 1); exit 1; }; }
27822 fi
27823 cat >conftest.$ac_ext <<_ACEOF
27824 /* confdefs.h.  */
27825 _ACEOF
27826 cat confdefs.h >>conftest.$ac_ext
27827 cat >>conftest.$ac_ext <<_ACEOF
27828 /* end confdefs.h.  */
27829
27830
27831 int
27832 main ()
27833 {
27834 main ();
27835   ;
27836   return 0;
27837 }
27838 _ACEOF
27839 rm -f conftest.$ac_objext conftest$ac_exeext
27840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27841   (eval $ac_link) 2>conftest.er1
27842   ac_status=$?
27843   grep -v '^ *+' conftest.er1 >conftest.err
27844   rm -f conftest.er1
27845   cat conftest.err >&5
27846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27847   (exit $ac_status); } &&
27848          { ac_try='test -z "$ac_c_werror_flag"
27849                          || test ! -s conftest.err'
27850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27851   (eval $ac_try) 2>&5
27852   ac_status=$?
27853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27854   (exit $ac_status); }; } &&
27855          { ac_try='test -s conftest$ac_exeext'
27856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27857   (eval $ac_try) 2>&5
27858   ac_status=$?
27859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27860   (exit $ac_status); }; }; then
27861   ac_cv_lib_m_main=yes
27862 else
27863   echo "$as_me: failed program was:" >&5
27864 sed 's/^/| /' conftest.$ac_ext >&5
27865
27866 ac_cv_lib_m_main=no
27867 fi
27868 rm -f conftest.err conftest.$ac_objext \
27869       conftest$ac_exeext conftest.$ac_ext
27870 LIBS=$ac_check_lib_save_LIBS
27871 fi
27872 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
27873 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
27874 if test $ac_cv_lib_m_main = yes; then
27875   cat >>confdefs.h <<_ACEOF
27876 #define HAVE_LIBM 1
27877 _ACEOF
27878
27879   LIBS="-lm $LIBS"
27880
27881 fi
27882
27883
27884 for ac_func in copysignf
27885 do
27886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27887 echo "$as_me:$LINENO: checking for $ac_func" >&5
27888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27889 if eval "test \"\${$as_ac_var+set}\" = set"; then
27890   echo $ECHO_N "(cached) $ECHO_C" >&6
27891 else
27892   if test x$gcc_no_link = xyes; then
27893   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27895    { (exit 1); exit 1; }; }
27896 fi
27897 cat >conftest.$ac_ext <<_ACEOF
27898 /* confdefs.h.  */
27899 _ACEOF
27900 cat confdefs.h >>conftest.$ac_ext
27901 cat >>conftest.$ac_ext <<_ACEOF
27902 /* end confdefs.h.  */
27903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27904    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27905 #define $ac_func innocuous_$ac_func
27906
27907 /* System header to define __stub macros and hopefully few prototypes,
27908     which can conflict with char $ac_func (); below.
27909     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27910     <limits.h> exists even on freestanding compilers.  */
27911
27912 #ifdef __STDC__
27913 # include <limits.h>
27914 #else
27915 # include <assert.h>
27916 #endif
27917
27918 #undef $ac_func
27919
27920 /* Override any gcc2 internal prototype to avoid an error.  */
27921 #ifdef __cplusplus
27922 extern "C"
27923 {
27924 #endif
27925 /* We use char because int might match the return type of a gcc2
27926    builtin and then its argument prototype would still apply.  */
27927 char $ac_func ();
27928 /* The GNU C library defines this for functions which it implements
27929     to always fail with ENOSYS.  Some functions are actually named
27930     something starting with __ and the normal name is an alias.  */
27931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27932 choke me
27933 #else
27934 char (*f) () = $ac_func;
27935 #endif
27936 #ifdef __cplusplus
27937 }
27938 #endif
27939
27940 int
27941 main ()
27942 {
27943 return f != $ac_func;
27944   ;
27945   return 0;
27946 }
27947 _ACEOF
27948 rm -f conftest.$ac_objext conftest$ac_exeext
27949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27950   (eval $ac_link) 2>conftest.er1
27951   ac_status=$?
27952   grep -v '^ *+' conftest.er1 >conftest.err
27953   rm -f conftest.er1
27954   cat conftest.err >&5
27955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27956   (exit $ac_status); } &&
27957          { ac_try='test -z "$ac_c_werror_flag"
27958                          || test ! -s conftest.err'
27959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27960   (eval $ac_try) 2>&5
27961   ac_status=$?
27962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27963   (exit $ac_status); }; } &&
27964          { ac_try='test -s conftest$ac_exeext'
27965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27966   (eval $ac_try) 2>&5
27967   ac_status=$?
27968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27969   (exit $ac_status); }; }; then
27970   eval "$as_ac_var=yes"
27971 else
27972   echo "$as_me: failed program was:" >&5
27973 sed 's/^/| /' conftest.$ac_ext >&5
27974
27975 eval "$as_ac_var=no"
27976 fi
27977 rm -f conftest.err conftest.$ac_objext \
27978       conftest$ac_exeext conftest.$ac_ext
27979 fi
27980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27982 if test `eval echo '${'$as_ac_var'}'` = yes; then
27983   cat >>confdefs.h <<_ACEOF
27984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27985 _ACEOF
27986
27987 else
27988   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
27989 fi
27990 done
27991
27992
27993
27994 for ac_func in __signbit
27995 do
27996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27997 echo "$as_me:$LINENO: checking for $ac_func" >&5
27998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27999 if eval "test \"\${$as_ac_var+set}\" = set"; then
28000   echo $ECHO_N "(cached) $ECHO_C" >&6
28001 else
28002   if test x$gcc_no_link = xyes; then
28003   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28005    { (exit 1); exit 1; }; }
28006 fi
28007 cat >conftest.$ac_ext <<_ACEOF
28008 /* confdefs.h.  */
28009 _ACEOF
28010 cat confdefs.h >>conftest.$ac_ext
28011 cat >>conftest.$ac_ext <<_ACEOF
28012 /* end confdefs.h.  */
28013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28014    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28015 #define $ac_func innocuous_$ac_func
28016
28017 /* System header to define __stub macros and hopefully few prototypes,
28018     which can conflict with char $ac_func (); below.
28019     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28020     <limits.h> exists even on freestanding compilers.  */
28021
28022 #ifdef __STDC__
28023 # include <limits.h>
28024 #else
28025 # include <assert.h>
28026 #endif
28027
28028 #undef $ac_func
28029
28030 /* Override any gcc2 internal prototype to avoid an error.  */
28031 #ifdef __cplusplus
28032 extern "C"
28033 {
28034 #endif
28035 /* We use char because int might match the return type of a gcc2
28036    builtin and then its argument prototype would still apply.  */
28037 char $ac_func ();
28038 /* The GNU C library defines this for functions which it implements
28039     to always fail with ENOSYS.  Some functions are actually named
28040     something starting with __ and the normal name is an alias.  */
28041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28042 choke me
28043 #else
28044 char (*f) () = $ac_func;
28045 #endif
28046 #ifdef __cplusplus
28047 }
28048 #endif
28049
28050 int
28051 main ()
28052 {
28053 return f != $ac_func;
28054   ;
28055   return 0;
28056 }
28057 _ACEOF
28058 rm -f conftest.$ac_objext conftest$ac_exeext
28059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28060   (eval $ac_link) 2>conftest.er1
28061   ac_status=$?
28062   grep -v '^ *+' conftest.er1 >conftest.err
28063   rm -f conftest.er1
28064   cat conftest.err >&5
28065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28066   (exit $ac_status); } &&
28067          { ac_try='test -z "$ac_c_werror_flag"
28068                          || test ! -s conftest.err'
28069   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28070   (eval $ac_try) 2>&5
28071   ac_status=$?
28072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28073   (exit $ac_status); }; } &&
28074          { ac_try='test -s conftest$ac_exeext'
28075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28076   (eval $ac_try) 2>&5
28077   ac_status=$?
28078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28079   (exit $ac_status); }; }; then
28080   eval "$as_ac_var=yes"
28081 else
28082   echo "$as_me: failed program was:" >&5
28083 sed 's/^/| /' conftest.$ac_ext >&5
28084
28085 eval "$as_ac_var=no"
28086 fi
28087 rm -f conftest.err conftest.$ac_objext \
28088       conftest$ac_exeext conftest.$ac_ext
28089 fi
28090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28092 if test `eval echo '${'$as_ac_var'}'` = yes; then
28093   cat >>confdefs.h <<_ACEOF
28094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28095 _ACEOF
28096
28097 else
28098   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
28099 fi
28100 done
28101
28102
28103
28104 for ac_func in __signbitf
28105 do
28106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28107 echo "$as_me:$LINENO: checking for $ac_func" >&5
28108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28109 if eval "test \"\${$as_ac_var+set}\" = set"; then
28110   echo $ECHO_N "(cached) $ECHO_C" >&6
28111 else
28112   if test x$gcc_no_link = xyes; then
28113   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28115    { (exit 1); exit 1; }; }
28116 fi
28117 cat >conftest.$ac_ext <<_ACEOF
28118 /* confdefs.h.  */
28119 _ACEOF
28120 cat confdefs.h >>conftest.$ac_ext
28121 cat >>conftest.$ac_ext <<_ACEOF
28122 /* end confdefs.h.  */
28123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28124    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28125 #define $ac_func innocuous_$ac_func
28126
28127 /* System header to define __stub macros and hopefully few prototypes,
28128     which can conflict with char $ac_func (); below.
28129     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28130     <limits.h> exists even on freestanding compilers.  */
28131
28132 #ifdef __STDC__
28133 # include <limits.h>
28134 #else
28135 # include <assert.h>
28136 #endif
28137
28138 #undef $ac_func
28139
28140 /* Override any gcc2 internal prototype to avoid an error.  */
28141 #ifdef __cplusplus
28142 extern "C"
28143 {
28144 #endif
28145 /* We use char because int might match the return type of a gcc2
28146    builtin and then its argument prototype would still apply.  */
28147 char $ac_func ();
28148 /* The GNU C library defines this for functions which it implements
28149     to always fail with ENOSYS.  Some functions are actually named
28150     something starting with __ and the normal name is an alias.  */
28151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28152 choke me
28153 #else
28154 char (*f) () = $ac_func;
28155 #endif
28156 #ifdef __cplusplus
28157 }
28158 #endif
28159
28160 int
28161 main ()
28162 {
28163 return f != $ac_func;
28164   ;
28165   return 0;
28166 }
28167 _ACEOF
28168 rm -f conftest.$ac_objext conftest$ac_exeext
28169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28170   (eval $ac_link) 2>conftest.er1
28171   ac_status=$?
28172   grep -v '^ *+' conftest.er1 >conftest.err
28173   rm -f conftest.er1
28174   cat conftest.err >&5
28175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28176   (exit $ac_status); } &&
28177          { ac_try='test -z "$ac_c_werror_flag"
28178                          || test ! -s conftest.err'
28179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28180   (eval $ac_try) 2>&5
28181   ac_status=$?
28182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28183   (exit $ac_status); }; } &&
28184          { ac_try='test -s conftest$ac_exeext'
28185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28186   (eval $ac_try) 2>&5
28187   ac_status=$?
28188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28189   (exit $ac_status); }; }; then
28190   eval "$as_ac_var=yes"
28191 else
28192   echo "$as_me: failed program was:" >&5
28193 sed 's/^/| /' conftest.$ac_ext >&5
28194
28195 eval "$as_ac_var=no"
28196 fi
28197 rm -f conftest.err conftest.$ac_objext \
28198       conftest$ac_exeext conftest.$ac_ext
28199 fi
28200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28202 if test `eval echo '${'$as_ac_var'}'` = yes; then
28203   cat >>confdefs.h <<_ACEOF
28204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28205 _ACEOF
28206
28207 else
28208   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
28209 fi
28210 done
28211
28212
28213           if test x$ac_cv_func_copysignl = x"yes"; then
28214
28215 for ac_func in __signbitl
28216 do
28217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28218 echo "$as_me:$LINENO: checking for $ac_func" >&5
28219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28220 if eval "test \"\${$as_ac_var+set}\" = set"; then
28221   echo $ECHO_N "(cached) $ECHO_C" >&6
28222 else
28223   if test x$gcc_no_link = xyes; then
28224   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28226    { (exit 1); exit 1; }; }
28227 fi
28228 cat >conftest.$ac_ext <<_ACEOF
28229 /* confdefs.h.  */
28230 _ACEOF
28231 cat confdefs.h >>conftest.$ac_ext
28232 cat >>conftest.$ac_ext <<_ACEOF
28233 /* end confdefs.h.  */
28234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28235    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28236 #define $ac_func innocuous_$ac_func
28237
28238 /* System header to define __stub macros and hopefully few prototypes,
28239     which can conflict with char $ac_func (); below.
28240     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28241     <limits.h> exists even on freestanding compilers.  */
28242
28243 #ifdef __STDC__
28244 # include <limits.h>
28245 #else
28246 # include <assert.h>
28247 #endif
28248
28249 #undef $ac_func
28250
28251 /* Override any gcc2 internal prototype to avoid an error.  */
28252 #ifdef __cplusplus
28253 extern "C"
28254 {
28255 #endif
28256 /* We use char because int might match the return type of a gcc2
28257    builtin and then its argument prototype would still apply.  */
28258 char $ac_func ();
28259 /* The GNU C library defines this for functions which it implements
28260     to always fail with ENOSYS.  Some functions are actually named
28261     something starting with __ and the normal name is an alias.  */
28262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28263 choke me
28264 #else
28265 char (*f) () = $ac_func;
28266 #endif
28267 #ifdef __cplusplus
28268 }
28269 #endif
28270
28271 int
28272 main ()
28273 {
28274 return f != $ac_func;
28275   ;
28276   return 0;
28277 }
28278 _ACEOF
28279 rm -f conftest.$ac_objext conftest$ac_exeext
28280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28281   (eval $ac_link) 2>conftest.er1
28282   ac_status=$?
28283   grep -v '^ *+' conftest.er1 >conftest.err
28284   rm -f conftest.er1
28285   cat conftest.err >&5
28286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28287   (exit $ac_status); } &&
28288          { ac_try='test -z "$ac_c_werror_flag"
28289                          || test ! -s conftest.err'
28290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28291   (eval $ac_try) 2>&5
28292   ac_status=$?
28293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28294   (exit $ac_status); }; } &&
28295          { ac_try='test -s conftest$ac_exeext'
28296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28297   (eval $ac_try) 2>&5
28298   ac_status=$?
28299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28300   (exit $ac_status); }; }; then
28301   eval "$as_ac_var=yes"
28302 else
28303   echo "$as_me: failed program was:" >&5
28304 sed 's/^/| /' conftest.$ac_ext >&5
28305
28306 eval "$as_ac_var=no"
28307 fi
28308 rm -f conftest.err conftest.$ac_objext \
28309       conftest$ac_exeext conftest.$ac_ext
28310 fi
28311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28312 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28313 if test `eval echo '${'$as_ac_var'}'` = yes; then
28314   cat >>confdefs.h <<_ACEOF
28315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28316 _ACEOF
28317
28318 else
28319   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
28320 fi
28321 done
28322
28323   fi
28324
28325   # Used in libmath/Makefile.am.
28326   if test -n "$LIBMATHOBJS"; then
28327     need_libmath=yes
28328   fi
28329
28330
28331
28332
28333   enable_iconv=no
28334   # Only continue checking if the ISO C99 headers exist and support is on.
28335   if test x"$enable_wchar_t" = xyes; then
28336
28337     # Use iconv for wchar_t to char conversions. As such, check for
28338     # X/Open Portability Guide, version 2 features (XPG2).
28339     if test "${ac_cv_header_iconv_h+set}" = set; then
28340   echo "$as_me:$LINENO: checking for iconv.h" >&5
28341 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28342 if test "${ac_cv_header_iconv_h+set}" = set; then
28343   echo $ECHO_N "(cached) $ECHO_C" >&6
28344 fi
28345 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28346 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28347 else
28348   # Is the header compilable?
28349 echo "$as_me:$LINENO: checking iconv.h usability" >&5
28350 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
28351 cat >conftest.$ac_ext <<_ACEOF
28352 /* confdefs.h.  */
28353 _ACEOF
28354 cat confdefs.h >>conftest.$ac_ext
28355 cat >>conftest.$ac_ext <<_ACEOF
28356 /* end confdefs.h.  */
28357 $ac_includes_default
28358 #include <iconv.h>
28359 _ACEOF
28360 rm -f conftest.$ac_objext
28361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28362   (eval $ac_compile) 2>conftest.er1
28363   ac_status=$?
28364   grep -v '^ *+' conftest.er1 >conftest.err
28365   rm -f conftest.er1
28366   cat conftest.err >&5
28367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28368   (exit $ac_status); } &&
28369          { ac_try='test -z "$ac_c_werror_flag"
28370                          || test ! -s conftest.err'
28371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28372   (eval $ac_try) 2>&5
28373   ac_status=$?
28374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28375   (exit $ac_status); }; } &&
28376          { ac_try='test -s conftest.$ac_objext'
28377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28378   (eval $ac_try) 2>&5
28379   ac_status=$?
28380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28381   (exit $ac_status); }; }; then
28382   ac_header_compiler=yes
28383 else
28384   echo "$as_me: failed program was:" >&5
28385 sed 's/^/| /' conftest.$ac_ext >&5
28386
28387 ac_header_compiler=no
28388 fi
28389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28390 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28391 echo "${ECHO_T}$ac_header_compiler" >&6
28392
28393 # Is the header present?
28394 echo "$as_me:$LINENO: checking iconv.h presence" >&5
28395 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
28396 cat >conftest.$ac_ext <<_ACEOF
28397 /* confdefs.h.  */
28398 _ACEOF
28399 cat confdefs.h >>conftest.$ac_ext
28400 cat >>conftest.$ac_ext <<_ACEOF
28401 /* end confdefs.h.  */
28402 #include <iconv.h>
28403 _ACEOF
28404 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28405   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28406   ac_status=$?
28407   grep -v '^ *+' conftest.er1 >conftest.err
28408   rm -f conftest.er1
28409   cat conftest.err >&5
28410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28411   (exit $ac_status); } >/dev/null; then
28412   if test -s conftest.err; then
28413     ac_cpp_err=$ac_c_preproc_warn_flag
28414     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28415   else
28416     ac_cpp_err=
28417   fi
28418 else
28419   ac_cpp_err=yes
28420 fi
28421 if test -z "$ac_cpp_err"; then
28422   ac_header_preproc=yes
28423 else
28424   echo "$as_me: failed program was:" >&5
28425 sed 's/^/| /' conftest.$ac_ext >&5
28426
28427   ac_header_preproc=no
28428 fi
28429 rm -f conftest.err conftest.$ac_ext
28430 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28431 echo "${ECHO_T}$ac_header_preproc" >&6
28432
28433 # So?  What about this header?
28434 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28435   yes:no: )
28436     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
28437 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28438     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
28439 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
28440     ac_header_preproc=yes
28441     ;;
28442   no:yes:* )
28443     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
28444 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
28445     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
28446 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
28447     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
28448 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
28449     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
28450 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
28451     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
28452 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
28453     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
28454 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
28455     (
28456       cat <<\_ASBOX
28457 ## ----------------------------------------- ##
28458 ## Report this to the package-unused lists.  ##
28459 ## ----------------------------------------- ##
28460 _ASBOX
28461     ) |
28462       sed "s/^/$as_me: WARNING:     /" >&2
28463     ;;
28464 esac
28465 echo "$as_me:$LINENO: checking for iconv.h" >&5
28466 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28467 if test "${ac_cv_header_iconv_h+set}" = set; then
28468   echo $ECHO_N "(cached) $ECHO_C" >&6
28469 else
28470   ac_cv_header_iconv_h=$ac_header_preproc
28471 fi
28472 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28473 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28474
28475 fi
28476 if test $ac_cv_header_iconv_h = yes; then
28477   ac_has_iconv_h=yes
28478 else
28479   ac_has_iconv_h=no
28480 fi
28481
28482
28483     if test "${ac_cv_header_langinfo_h+set}" = set; then
28484   echo "$as_me:$LINENO: checking for langinfo.h" >&5
28485 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28486 if test "${ac_cv_header_langinfo_h+set}" = set; then
28487   echo $ECHO_N "(cached) $ECHO_C" >&6
28488 fi
28489 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28490 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28491 else
28492   # Is the header compilable?
28493 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
28494 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
28495 cat >conftest.$ac_ext <<_ACEOF
28496 /* confdefs.h.  */
28497 _ACEOF
28498 cat confdefs.h >>conftest.$ac_ext
28499 cat >>conftest.$ac_ext <<_ACEOF
28500 /* end confdefs.h.  */
28501 $ac_includes_default
28502 #include <langinfo.h>
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_c_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   ac_header_compiler=yes
28527 else
28528   echo "$as_me: failed program was:" >&5
28529 sed 's/^/| /' conftest.$ac_ext >&5
28530
28531 ac_header_compiler=no
28532 fi
28533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28534 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28535 echo "${ECHO_T}$ac_header_compiler" >&6
28536
28537 # Is the header present?
28538 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
28539 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
28540 cat >conftest.$ac_ext <<_ACEOF
28541 /* confdefs.h.  */
28542 _ACEOF
28543 cat confdefs.h >>conftest.$ac_ext
28544 cat >>conftest.$ac_ext <<_ACEOF
28545 /* end confdefs.h.  */
28546 #include <langinfo.h>
28547 _ACEOF
28548 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28549   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28550   ac_status=$?
28551   grep -v '^ *+' conftest.er1 >conftest.err
28552   rm -f conftest.er1
28553   cat conftest.err >&5
28554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28555   (exit $ac_status); } >/dev/null; then
28556   if test -s conftest.err; then
28557     ac_cpp_err=$ac_c_preproc_warn_flag
28558     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28559   else
28560     ac_cpp_err=
28561   fi
28562 else
28563   ac_cpp_err=yes
28564 fi
28565 if test -z "$ac_cpp_err"; then
28566   ac_header_preproc=yes
28567 else
28568   echo "$as_me: failed program was:" >&5
28569 sed 's/^/| /' conftest.$ac_ext >&5
28570
28571   ac_header_preproc=no
28572 fi
28573 rm -f conftest.err conftest.$ac_ext
28574 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28575 echo "${ECHO_T}$ac_header_preproc" >&6
28576
28577 # So?  What about this header?
28578 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28579   yes:no: )
28580     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
28581 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28582     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
28583 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
28584     ac_header_preproc=yes
28585     ;;
28586   no:yes:* )
28587     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
28588 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
28589     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
28590 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
28591     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
28592 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
28593     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
28594 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
28595     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
28596 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
28597     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
28598 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
28599     (
28600       cat <<\_ASBOX
28601 ## ----------------------------------------- ##
28602 ## Report this to the package-unused lists.  ##
28603 ## ----------------------------------------- ##
28604 _ASBOX
28605     ) |
28606       sed "s/^/$as_me: WARNING:     /" >&2
28607     ;;
28608 esac
28609 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28610 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28611 if test "${ac_cv_header_langinfo_h+set}" = set; then
28612   echo $ECHO_N "(cached) $ECHO_C" >&6
28613 else
28614   ac_cv_header_langinfo_h=$ac_header_preproc
28615 fi
28616 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28617 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28618
28619 fi
28620 if test $ac_cv_header_langinfo_h = yes; then
28621   ac_has_langinfo_h=yes
28622 else
28623   ac_has_langinfo_h=no
28624 fi
28625
28626
28627
28628     # Check for existence of libiconv.a providing XPG2 wchar_t support.
28629     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
28630 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
28631 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
28632   echo $ECHO_N "(cached) $ECHO_C" >&6
28633 else
28634   ac_check_lib_save_LIBS=$LIBS
28635 LIBS="-liconv  $LIBS"
28636 if test x$gcc_no_link = xyes; then
28637   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28639    { (exit 1); exit 1; }; }
28640 fi
28641 cat >conftest.$ac_ext <<_ACEOF
28642 /* confdefs.h.  */
28643 _ACEOF
28644 cat confdefs.h >>conftest.$ac_ext
28645 cat >>conftest.$ac_ext <<_ACEOF
28646 /* end confdefs.h.  */
28647
28648 /* Override any gcc2 internal prototype to avoid an error.  */
28649 #ifdef __cplusplus
28650 extern "C"
28651 #endif
28652 /* We use char because int might match the return type of a gcc2
28653    builtin and then its argument prototype would still apply.  */
28654 char iconv ();
28655 int
28656 main ()
28657 {
28658 iconv ();
28659   ;
28660   return 0;
28661 }
28662 _ACEOF
28663 rm -f conftest.$ac_objext conftest$ac_exeext
28664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28665   (eval $ac_link) 2>conftest.er1
28666   ac_status=$?
28667   grep -v '^ *+' conftest.er1 >conftest.err
28668   rm -f conftest.er1
28669   cat conftest.err >&5
28670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28671   (exit $ac_status); } &&
28672          { ac_try='test -z "$ac_c_werror_flag"
28673                          || test ! -s conftest.err'
28674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28675   (eval $ac_try) 2>&5
28676   ac_status=$?
28677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28678   (exit $ac_status); }; } &&
28679          { ac_try='test -s conftest$ac_exeext'
28680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28681   (eval $ac_try) 2>&5
28682   ac_status=$?
28683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28684   (exit $ac_status); }; }; then
28685   ac_cv_lib_iconv_iconv=yes
28686 else
28687   echo "$as_me: failed program was:" >&5
28688 sed 's/^/| /' conftest.$ac_ext >&5
28689
28690 ac_cv_lib_iconv_iconv=no
28691 fi
28692 rm -f conftest.err conftest.$ac_objext \
28693       conftest$ac_exeext conftest.$ac_ext
28694 LIBS=$ac_check_lib_save_LIBS
28695 fi
28696 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
28697 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
28698 if test $ac_cv_lib_iconv_iconv = yes; then
28699   LIBICONV="-liconv"
28700 fi
28701
28702     ac_save_LIBS="$LIBS"
28703     LIBS="$LIBS $LIBICONV"
28704
28705
28706
28707
28708
28709
28710 for ac_func in iconv_open iconv_close iconv nl_langinfo
28711 do
28712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28713 echo "$as_me:$LINENO: checking for $ac_func" >&5
28714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28715 if eval "test \"\${$as_ac_var+set}\" = set"; then
28716   echo $ECHO_N "(cached) $ECHO_C" >&6
28717 else
28718   if test x$gcc_no_link = xyes; then
28719   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28721    { (exit 1); exit 1; }; }
28722 fi
28723 cat >conftest.$ac_ext <<_ACEOF
28724 /* confdefs.h.  */
28725 _ACEOF
28726 cat confdefs.h >>conftest.$ac_ext
28727 cat >>conftest.$ac_ext <<_ACEOF
28728 /* end confdefs.h.  */
28729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28730    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28731 #define $ac_func innocuous_$ac_func
28732
28733 /* System header to define __stub macros and hopefully few prototypes,
28734     which can conflict with char $ac_func (); below.
28735     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28736     <limits.h> exists even on freestanding compilers.  */
28737
28738 #ifdef __STDC__
28739 # include <limits.h>
28740 #else
28741 # include <assert.h>
28742 #endif
28743
28744 #undef $ac_func
28745
28746 /* Override any gcc2 internal prototype to avoid an error.  */
28747 #ifdef __cplusplus
28748 extern "C"
28749 {
28750 #endif
28751 /* We use char because int might match the return type of a gcc2
28752    builtin and then its argument prototype would still apply.  */
28753 char $ac_func ();
28754 /* The GNU C library defines this for functions which it implements
28755     to always fail with ENOSYS.  Some functions are actually named
28756     something starting with __ and the normal name is an alias.  */
28757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28758 choke me
28759 #else
28760 char (*f) () = $ac_func;
28761 #endif
28762 #ifdef __cplusplus
28763 }
28764 #endif
28765
28766 int
28767 main ()
28768 {
28769 return f != $ac_func;
28770   ;
28771   return 0;
28772 }
28773 _ACEOF
28774 rm -f conftest.$ac_objext conftest$ac_exeext
28775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28776   (eval $ac_link) 2>conftest.er1
28777   ac_status=$?
28778   grep -v '^ *+' conftest.er1 >conftest.err
28779   rm -f conftest.er1
28780   cat conftest.err >&5
28781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28782   (exit $ac_status); } &&
28783          { ac_try='test -z "$ac_c_werror_flag"
28784                          || test ! -s conftest.err'
28785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28786   (eval $ac_try) 2>&5
28787   ac_status=$?
28788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28789   (exit $ac_status); }; } &&
28790          { ac_try='test -s conftest$ac_exeext'
28791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28792   (eval $ac_try) 2>&5
28793   ac_status=$?
28794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28795   (exit $ac_status); }; }; then
28796   eval "$as_ac_var=yes"
28797 else
28798   echo "$as_me: failed program was:" >&5
28799 sed 's/^/| /' conftest.$ac_ext >&5
28800
28801 eval "$as_ac_var=no"
28802 fi
28803 rm -f conftest.err conftest.$ac_objext \
28804       conftest$ac_exeext conftest.$ac_ext
28805 fi
28806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28808 if test `eval echo '${'$as_ac_var'}'` = yes; then
28809   cat >>confdefs.h <<_ACEOF
28810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28811 _ACEOF
28812  ac_XPG2funcs=yes
28813 else
28814   ac_XPG2funcs=no
28815 fi
28816 done
28817
28818
28819     LIBS="$ac_save_LIBS"
28820
28821     if test x"$ac_has_iconv_h" = xyes &&
28822        test x"$ac_has_langinfo_h" = xyes &&
28823        test x"$ac_XPG2funcs" = xyes;
28824     then
28825
28826 cat >>confdefs.h <<\_ACEOF
28827 #define _GLIBCXX_USE_ICONV 1
28828 _ACEOF
28829
28830       enable_iconv=yes
28831     fi
28832   fi
28833   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
28834 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
28835   echo "$as_me:$LINENO: result: $enable_iconv" >&5
28836 echo "${ECHO_T}$enable_iconv" >&6
28837
28838
28839   ac_test_CXXFLAGS="${CXXFLAGS+set}"
28840   ac_save_CXXFLAGS="$CXXFLAGS"
28841   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28842
28843
28844   echo "$as_me:$LINENO: checking for strtold declaration" >&5
28845 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
28846   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
28847     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
28848   echo $ECHO_N "(cached) $ECHO_C" >&6
28849 else
28850
28851
28852
28853       ac_ext=cc
28854 ac_cpp='$CXXCPP $CPPFLAGS'
28855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28858
28859       cat >conftest.$ac_ext <<_ACEOF
28860 /* confdefs.h.  */
28861 _ACEOF
28862 cat confdefs.h >>conftest.$ac_ext
28863 cat >>conftest.$ac_ext <<_ACEOF
28864 /* end confdefs.h.  */
28865 #include <stdlib.h>
28866 int
28867 main ()
28868 {
28869  strtold(0, 0);
28870   ;
28871   return 0;
28872 }
28873 _ACEOF
28874 rm -f conftest.$ac_objext
28875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28876   (eval $ac_compile) 2>conftest.er1
28877   ac_status=$?
28878   grep -v '^ *+' conftest.er1 >conftest.err
28879   rm -f conftest.er1
28880   cat conftest.err >&5
28881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28882   (exit $ac_status); } &&
28883          { ac_try='test -z "$ac_cxx_werror_flag"
28884                          || test ! -s conftest.err'
28885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28886   (eval $ac_try) 2>&5
28887   ac_status=$?
28888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28889   (exit $ac_status); }; } &&
28890          { ac_try='test -s conftest.$ac_objext'
28891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28892   (eval $ac_try) 2>&5
28893   ac_status=$?
28894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28895   (exit $ac_status); }; }; then
28896   glibcxx_cv_func_strtold_use=yes
28897 else
28898   echo "$as_me: failed program was:" >&5
28899 sed 's/^/| /' conftest.$ac_ext >&5
28900
28901 glibcxx_cv_func_strtold_use=no
28902 fi
28903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28904       ac_ext=c
28905 ac_cpp='$CPP $CPPFLAGS'
28906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28909
28910
28911 fi
28912
28913   fi
28914   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
28915 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
28916   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
28917
28918 for ac_func in strtold
28919 do
28920 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28921 echo "$as_me:$LINENO: checking for $ac_func" >&5
28922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28923 if eval "test \"\${$as_ac_var+set}\" = set"; then
28924   echo $ECHO_N "(cached) $ECHO_C" >&6
28925 else
28926   if test x$gcc_no_link = xyes; then
28927   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28928 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28929    { (exit 1); exit 1; }; }
28930 fi
28931 cat >conftest.$ac_ext <<_ACEOF
28932 /* confdefs.h.  */
28933 _ACEOF
28934 cat confdefs.h >>conftest.$ac_ext
28935 cat >>conftest.$ac_ext <<_ACEOF
28936 /* end confdefs.h.  */
28937 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28938    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28939 #define $ac_func innocuous_$ac_func
28940
28941 /* System header to define __stub macros and hopefully few prototypes,
28942     which can conflict with char $ac_func (); below.
28943     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28944     <limits.h> exists even on freestanding compilers.  */
28945
28946 #ifdef __STDC__
28947 # include <limits.h>
28948 #else
28949 # include <assert.h>
28950 #endif
28951
28952 #undef $ac_func
28953
28954 /* Override any gcc2 internal prototype to avoid an error.  */
28955 #ifdef __cplusplus
28956 extern "C"
28957 {
28958 #endif
28959 /* We use char because int might match the return type of a gcc2
28960    builtin and then its argument prototype would still apply.  */
28961 char $ac_func ();
28962 /* The GNU C library defines this for functions which it implements
28963     to always fail with ENOSYS.  Some functions are actually named
28964     something starting with __ and the normal name is an alias.  */
28965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28966 choke me
28967 #else
28968 char (*f) () = $ac_func;
28969 #endif
28970 #ifdef __cplusplus
28971 }
28972 #endif
28973
28974 int
28975 main ()
28976 {
28977 return f != $ac_func;
28978   ;
28979   return 0;
28980 }
28981 _ACEOF
28982 rm -f conftest.$ac_objext conftest$ac_exeext
28983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28984   (eval $ac_link) 2>conftest.er1
28985   ac_status=$?
28986   grep -v '^ *+' conftest.er1 >conftest.err
28987   rm -f conftest.er1
28988   cat conftest.err >&5
28989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28990   (exit $ac_status); } &&
28991          { ac_try='test -z "$ac_c_werror_flag"
28992                          || test ! -s conftest.err'
28993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28994   (eval $ac_try) 2>&5
28995   ac_status=$?
28996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28997   (exit $ac_status); }; } &&
28998          { ac_try='test -s conftest$ac_exeext'
28999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29000   (eval $ac_try) 2>&5
29001   ac_status=$?
29002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29003   (exit $ac_status); }; }; then
29004   eval "$as_ac_var=yes"
29005 else
29006   echo "$as_me: failed program was:" >&5
29007 sed 's/^/| /' conftest.$ac_ext >&5
29008
29009 eval "$as_ac_var=no"
29010 fi
29011 rm -f conftest.err conftest.$ac_objext \
29012       conftest$ac_exeext conftest.$ac_ext
29013 fi
29014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29015 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29016 if test `eval echo '${'$as_ac_var'}'` = yes; then
29017   cat >>confdefs.h <<_ACEOF
29018 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29019 _ACEOF
29020
29021 fi
29022 done
29023
29024   fi
29025
29026
29027
29028
29029
29030   echo "$as_me:$LINENO: checking for strtof declaration" >&5
29031 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
29032   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
29033     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
29034   echo $ECHO_N "(cached) $ECHO_C" >&6
29035 else
29036
29037
29038
29039       ac_ext=cc
29040 ac_cpp='$CXXCPP $CPPFLAGS'
29041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29044
29045       cat >conftest.$ac_ext <<_ACEOF
29046 /* confdefs.h.  */
29047 _ACEOF
29048 cat confdefs.h >>conftest.$ac_ext
29049 cat >>conftest.$ac_ext <<_ACEOF
29050 /* end confdefs.h.  */
29051 #include <stdlib.h>
29052 int
29053 main ()
29054 {
29055  strtof(0, 0);
29056   ;
29057   return 0;
29058 }
29059 _ACEOF
29060 rm -f conftest.$ac_objext
29061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29062   (eval $ac_compile) 2>conftest.er1
29063   ac_status=$?
29064   grep -v '^ *+' conftest.er1 >conftest.err
29065   rm -f conftest.er1
29066   cat conftest.err >&5
29067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29068   (exit $ac_status); } &&
29069          { ac_try='test -z "$ac_cxx_werror_flag"
29070                          || test ! -s conftest.err'
29071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29072   (eval $ac_try) 2>&5
29073   ac_status=$?
29074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29075   (exit $ac_status); }; } &&
29076          { ac_try='test -s conftest.$ac_objext'
29077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29078   (eval $ac_try) 2>&5
29079   ac_status=$?
29080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29081   (exit $ac_status); }; }; then
29082   glibcxx_cv_func_strtof_use=yes
29083 else
29084   echo "$as_me: failed program was:" >&5
29085 sed 's/^/| /' conftest.$ac_ext >&5
29086
29087 glibcxx_cv_func_strtof_use=no
29088 fi
29089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29090       ac_ext=c
29091 ac_cpp='$CPP $CPPFLAGS'
29092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29095
29096
29097 fi
29098
29099   fi
29100   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
29101 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
29102   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
29103
29104 for ac_func in strtof
29105 do
29106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29107 echo "$as_me:$LINENO: checking for $ac_func" >&5
29108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29109 if eval "test \"\${$as_ac_var+set}\" = set"; then
29110   echo $ECHO_N "(cached) $ECHO_C" >&6
29111 else
29112   if test x$gcc_no_link = xyes; then
29113   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29115    { (exit 1); exit 1; }; }
29116 fi
29117 cat >conftest.$ac_ext <<_ACEOF
29118 /* confdefs.h.  */
29119 _ACEOF
29120 cat confdefs.h >>conftest.$ac_ext
29121 cat >>conftest.$ac_ext <<_ACEOF
29122 /* end confdefs.h.  */
29123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29124    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29125 #define $ac_func innocuous_$ac_func
29126
29127 /* System header to define __stub macros and hopefully few prototypes,
29128     which can conflict with char $ac_func (); below.
29129     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29130     <limits.h> exists even on freestanding compilers.  */
29131
29132 #ifdef __STDC__
29133 # include <limits.h>
29134 #else
29135 # include <assert.h>
29136 #endif
29137
29138 #undef $ac_func
29139
29140 /* Override any gcc2 internal prototype to avoid an error.  */
29141 #ifdef __cplusplus
29142 extern "C"
29143 {
29144 #endif
29145 /* We use char because int might match the return type of a gcc2
29146    builtin and then its argument prototype would still apply.  */
29147 char $ac_func ();
29148 /* The GNU C library defines this for functions which it implements
29149     to always fail with ENOSYS.  Some functions are actually named
29150     something starting with __ and the normal name is an alias.  */
29151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29152 choke me
29153 #else
29154 char (*f) () = $ac_func;
29155 #endif
29156 #ifdef __cplusplus
29157 }
29158 #endif
29159
29160 int
29161 main ()
29162 {
29163 return f != $ac_func;
29164   ;
29165   return 0;
29166 }
29167 _ACEOF
29168 rm -f conftest.$ac_objext conftest$ac_exeext
29169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29170   (eval $ac_link) 2>conftest.er1
29171   ac_status=$?
29172   grep -v '^ *+' conftest.er1 >conftest.err
29173   rm -f conftest.er1
29174   cat conftest.err >&5
29175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29176   (exit $ac_status); } &&
29177          { ac_try='test -z "$ac_c_werror_flag"
29178                          || test ! -s conftest.err'
29179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29180   (eval $ac_try) 2>&5
29181   ac_status=$?
29182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29183   (exit $ac_status); }; } &&
29184          { ac_try='test -s conftest$ac_exeext'
29185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29186   (eval $ac_try) 2>&5
29187   ac_status=$?
29188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29189   (exit $ac_status); }; }; then
29190   eval "$as_ac_var=yes"
29191 else
29192   echo "$as_me: failed program was:" >&5
29193 sed 's/^/| /' conftest.$ac_ext >&5
29194
29195 eval "$as_ac_var=no"
29196 fi
29197 rm -f conftest.err conftest.$ac_objext \
29198       conftest$ac_exeext conftest.$ac_ext
29199 fi
29200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29202 if test `eval echo '${'$as_ac_var'}'` = yes; then
29203   cat >>confdefs.h <<_ACEOF
29204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29205 _ACEOF
29206
29207 fi
29208 done
29209
29210   fi
29211
29212
29213
29214
29215
29216   CXXFLAGS="$ac_save_CXXFLAGS"
29217
29218
29219   # For showmanyc_helper().
29220
29221
29222 for ac_header in sys/ioctl.h sys/filio.h
29223 do
29224 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29225 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29226   echo "$as_me:$LINENO: checking for $ac_header" >&5
29227 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29228 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29229   echo $ECHO_N "(cached) $ECHO_C" >&6
29230 fi
29231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29232 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29233 else
29234   # Is the header compilable?
29235 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29236 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29237 cat >conftest.$ac_ext <<_ACEOF
29238 /* confdefs.h.  */
29239 _ACEOF
29240 cat confdefs.h >>conftest.$ac_ext
29241 cat >>conftest.$ac_ext <<_ACEOF
29242 /* end confdefs.h.  */
29243 $ac_includes_default
29244 #include <$ac_header>
29245 _ACEOF
29246 rm -f conftest.$ac_objext
29247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29248   (eval $ac_compile) 2>conftest.er1
29249   ac_status=$?
29250   grep -v '^ *+' conftest.er1 >conftest.err
29251   rm -f conftest.er1
29252   cat conftest.err >&5
29253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29254   (exit $ac_status); } &&
29255          { ac_try='test -z "$ac_c_werror_flag"
29256                          || test ! -s conftest.err'
29257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29258   (eval $ac_try) 2>&5
29259   ac_status=$?
29260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29261   (exit $ac_status); }; } &&
29262          { ac_try='test -s conftest.$ac_objext'
29263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29264   (eval $ac_try) 2>&5
29265   ac_status=$?
29266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29267   (exit $ac_status); }; }; then
29268   ac_header_compiler=yes
29269 else
29270   echo "$as_me: failed program was:" >&5
29271 sed 's/^/| /' conftest.$ac_ext >&5
29272
29273 ac_header_compiler=no
29274 fi
29275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29276 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29277 echo "${ECHO_T}$ac_header_compiler" >&6
29278
29279 # Is the header present?
29280 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29281 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29282 cat >conftest.$ac_ext <<_ACEOF
29283 /* confdefs.h.  */
29284 _ACEOF
29285 cat confdefs.h >>conftest.$ac_ext
29286 cat >>conftest.$ac_ext <<_ACEOF
29287 /* end confdefs.h.  */
29288 #include <$ac_header>
29289 _ACEOF
29290 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29291   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29292   ac_status=$?
29293   grep -v '^ *+' conftest.er1 >conftest.err
29294   rm -f conftest.er1
29295   cat conftest.err >&5
29296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29297   (exit $ac_status); } >/dev/null; then
29298   if test -s conftest.err; then
29299     ac_cpp_err=$ac_c_preproc_warn_flag
29300     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29301   else
29302     ac_cpp_err=
29303   fi
29304 else
29305   ac_cpp_err=yes
29306 fi
29307 if test -z "$ac_cpp_err"; then
29308   ac_header_preproc=yes
29309 else
29310   echo "$as_me: failed program was:" >&5
29311 sed 's/^/| /' conftest.$ac_ext >&5
29312
29313   ac_header_preproc=no
29314 fi
29315 rm -f conftest.err conftest.$ac_ext
29316 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29317 echo "${ECHO_T}$ac_header_preproc" >&6
29318
29319 # So?  What about this header?
29320 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29321   yes:no: )
29322     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29323 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29324     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29325 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29326     ac_header_preproc=yes
29327     ;;
29328   no:yes:* )
29329     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29330 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29331     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
29332 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
29333     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29334 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29335     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
29336 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
29337     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29338 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29339     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29340 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29341     (
29342       cat <<\_ASBOX
29343 ## ----------------------------------------- ##
29344 ## Report this to the package-unused lists.  ##
29345 ## ----------------------------------------- ##
29346 _ASBOX
29347     ) |
29348       sed "s/^/$as_me: WARNING:     /" >&2
29349     ;;
29350 esac
29351 echo "$as_me:$LINENO: checking for $ac_header" >&5
29352 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29353 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29354   echo $ECHO_N "(cached) $ECHO_C" >&6
29355 else
29356   eval "$as_ac_Header=\$ac_header_preproc"
29357 fi
29358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29359 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29360
29361 fi
29362 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29363   cat >>confdefs.h <<_ACEOF
29364 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29365 _ACEOF
29366
29367 fi
29368
29369 done
29370
29371
29372   echo "$as_me:$LINENO: checking for poll" >&5
29373 echo $ECHO_N "checking for poll... $ECHO_C" >&6
29374   if test "${glibcxx_cv_POLL+set}" = set; then
29375   echo $ECHO_N "(cached) $ECHO_C" >&6
29376 else
29377
29378     if test x$gcc_no_link = xyes; then
29379   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29381    { (exit 1); exit 1; }; }
29382 fi
29383 cat >conftest.$ac_ext <<_ACEOF
29384 /* confdefs.h.  */
29385 _ACEOF
29386 cat confdefs.h >>conftest.$ac_ext
29387 cat >>conftest.$ac_ext <<_ACEOF
29388 /* end confdefs.h.  */
29389 #include <poll.h>
29390 int
29391 main ()
29392 {
29393 struct pollfd pfd[1];
29394        pfd[0].events = POLLIN;
29395        poll(pfd, 1, 0);
29396   ;
29397   return 0;
29398 }
29399 _ACEOF
29400 rm -f conftest.$ac_objext conftest$ac_exeext
29401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29402   (eval $ac_link) 2>conftest.er1
29403   ac_status=$?
29404   grep -v '^ *+' conftest.er1 >conftest.err
29405   rm -f conftest.er1
29406   cat conftest.err >&5
29407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29408   (exit $ac_status); } &&
29409          { ac_try='test -z "$ac_c_werror_flag"
29410                          || test ! -s conftest.err'
29411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29412   (eval $ac_try) 2>&5
29413   ac_status=$?
29414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29415   (exit $ac_status); }; } &&
29416          { ac_try='test -s conftest$ac_exeext'
29417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29418   (eval $ac_try) 2>&5
29419   ac_status=$?
29420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29421   (exit $ac_status); }; }; then
29422   glibcxx_cv_POLL=yes
29423 else
29424   echo "$as_me: failed program was:" >&5
29425 sed 's/^/| /' conftest.$ac_ext >&5
29426
29427 glibcxx_cv_POLL=no
29428 fi
29429 rm -f conftest.err conftest.$ac_objext \
29430       conftest$ac_exeext conftest.$ac_ext
29431
29432 fi
29433
29434   if test $glibcxx_cv_POLL = yes; then
29435
29436 cat >>confdefs.h <<\_ACEOF
29437 #define HAVE_POLL 1
29438 _ACEOF
29439
29440   fi
29441   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
29442 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
29443
29444
29445   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
29446 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
29447   if test "${glibcxx_cv_S_ISREG+set}" = set; then
29448   echo $ECHO_N "(cached) $ECHO_C" >&6
29449 else
29450
29451     if test x$gcc_no_link = xyes; then
29452   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29454    { (exit 1); exit 1; }; }
29455 fi
29456 cat >conftest.$ac_ext <<_ACEOF
29457 /* confdefs.h.  */
29458 _ACEOF
29459 cat confdefs.h >>conftest.$ac_ext
29460 cat >>conftest.$ac_ext <<_ACEOF
29461 /* end confdefs.h.  */
29462 #include <sys/stat.h>
29463 int
29464 main ()
29465 {
29466 struct stat buffer;
29467        fstat(0, &buffer);
29468        S_ISREG(buffer.st_mode);
29469   ;
29470   return 0;
29471 }
29472 _ACEOF
29473 rm -f conftest.$ac_objext conftest$ac_exeext
29474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29475   (eval $ac_link) 2>conftest.er1
29476   ac_status=$?
29477   grep -v '^ *+' conftest.er1 >conftest.err
29478   rm -f conftest.er1
29479   cat conftest.err >&5
29480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29481   (exit $ac_status); } &&
29482          { ac_try='test -z "$ac_c_werror_flag"
29483                          || test ! -s conftest.err'
29484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29485   (eval $ac_try) 2>&5
29486   ac_status=$?
29487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29488   (exit $ac_status); }; } &&
29489          { ac_try='test -s conftest$ac_exeext'
29490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29491   (eval $ac_try) 2>&5
29492   ac_status=$?
29493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29494   (exit $ac_status); }; }; then
29495   glibcxx_cv_S_ISREG=yes
29496 else
29497   echo "$as_me: failed program was:" >&5
29498 sed 's/^/| /' conftest.$ac_ext >&5
29499
29500 glibcxx_cv_S_ISREG=no
29501 fi
29502 rm -f conftest.err conftest.$ac_objext \
29503       conftest$ac_exeext conftest.$ac_ext
29504
29505 fi
29506
29507   if test "${glibcxx_cv_S_IFREG+set}" = set; then
29508   echo $ECHO_N "(cached) $ECHO_C" >&6
29509 else
29510
29511     if test x$gcc_no_link = xyes; then
29512   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29514    { (exit 1); exit 1; }; }
29515 fi
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 #include <sys/stat.h>
29523 int
29524 main ()
29525 {
29526 struct stat buffer;
29527        fstat(0, &buffer);
29528        S_IFREG & buffer.st_mode;
29529   ;
29530   return 0;
29531 }
29532 _ACEOF
29533 rm -f conftest.$ac_objext conftest$ac_exeext
29534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29535   (eval $ac_link) 2>conftest.er1
29536   ac_status=$?
29537   grep -v '^ *+' conftest.er1 >conftest.err
29538   rm -f conftest.er1
29539   cat conftest.err >&5
29540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29541   (exit $ac_status); } &&
29542          { ac_try='test -z "$ac_c_werror_flag"
29543                          || test ! -s conftest.err'
29544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29545   (eval $ac_try) 2>&5
29546   ac_status=$?
29547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29548   (exit $ac_status); }; } &&
29549          { ac_try='test -s conftest$ac_exeext'
29550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29551   (eval $ac_try) 2>&5
29552   ac_status=$?
29553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29554   (exit $ac_status); }; }; then
29555   glibcxx_cv_S_IFREG=yes
29556 else
29557   echo "$as_me: failed program was:" >&5
29558 sed 's/^/| /' conftest.$ac_ext >&5
29559
29560 glibcxx_cv_S_IFREG=no
29561 fi
29562 rm -f conftest.err conftest.$ac_objext \
29563       conftest$ac_exeext conftest.$ac_ext
29564
29565 fi
29566
29567   res=no
29568   if test $glibcxx_cv_S_ISREG = yes; then
29569
29570 cat >>confdefs.h <<\_ACEOF
29571 #define HAVE_S_ISREG 1
29572 _ACEOF
29573
29574     res=S_ISREG
29575   elif test $glibcxx_cv_S_IFREG = yes; then
29576
29577 cat >>confdefs.h <<\_ACEOF
29578 #define HAVE_S_IFREG 1
29579 _ACEOF
29580
29581     res=S_IFREG
29582   fi
29583   echo "$as_me:$LINENO: result: $res" >&5
29584 echo "${ECHO_T}$res" >&6
29585
29586
29587   # For xsputn_2().
29588
29589 for ac_header in sys/uio.h
29590 do
29591 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29592 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29593   echo "$as_me:$LINENO: checking for $ac_header" >&5
29594 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29595 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29596   echo $ECHO_N "(cached) $ECHO_C" >&6
29597 fi
29598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29599 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29600 else
29601   # Is the header compilable?
29602 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29603 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29604 cat >conftest.$ac_ext <<_ACEOF
29605 /* confdefs.h.  */
29606 _ACEOF
29607 cat confdefs.h >>conftest.$ac_ext
29608 cat >>conftest.$ac_ext <<_ACEOF
29609 /* end confdefs.h.  */
29610 $ac_includes_default
29611 #include <$ac_header>
29612 _ACEOF
29613 rm -f conftest.$ac_objext
29614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29615   (eval $ac_compile) 2>conftest.er1
29616   ac_status=$?
29617   grep -v '^ *+' conftest.er1 >conftest.err
29618   rm -f conftest.er1
29619   cat conftest.err >&5
29620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29621   (exit $ac_status); } &&
29622          { ac_try='test -z "$ac_c_werror_flag"
29623                          || test ! -s conftest.err'
29624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29625   (eval $ac_try) 2>&5
29626   ac_status=$?
29627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29628   (exit $ac_status); }; } &&
29629          { ac_try='test -s conftest.$ac_objext'
29630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29631   (eval $ac_try) 2>&5
29632   ac_status=$?
29633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29634   (exit $ac_status); }; }; then
29635   ac_header_compiler=yes
29636 else
29637   echo "$as_me: failed program was:" >&5
29638 sed 's/^/| /' conftest.$ac_ext >&5
29639
29640 ac_header_compiler=no
29641 fi
29642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29643 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29644 echo "${ECHO_T}$ac_header_compiler" >&6
29645
29646 # Is the header present?
29647 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29648 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29649 cat >conftest.$ac_ext <<_ACEOF
29650 /* confdefs.h.  */
29651 _ACEOF
29652 cat confdefs.h >>conftest.$ac_ext
29653 cat >>conftest.$ac_ext <<_ACEOF
29654 /* end confdefs.h.  */
29655 #include <$ac_header>
29656 _ACEOF
29657 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29658   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29659   ac_status=$?
29660   grep -v '^ *+' conftest.er1 >conftest.err
29661   rm -f conftest.er1
29662   cat conftest.err >&5
29663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29664   (exit $ac_status); } >/dev/null; then
29665   if test -s conftest.err; then
29666     ac_cpp_err=$ac_c_preproc_warn_flag
29667     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29668   else
29669     ac_cpp_err=
29670   fi
29671 else
29672   ac_cpp_err=yes
29673 fi
29674 if test -z "$ac_cpp_err"; then
29675   ac_header_preproc=yes
29676 else
29677   echo "$as_me: failed program was:" >&5
29678 sed 's/^/| /' conftest.$ac_ext >&5
29679
29680   ac_header_preproc=no
29681 fi
29682 rm -f conftest.err conftest.$ac_ext
29683 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29684 echo "${ECHO_T}$ac_header_preproc" >&6
29685
29686 # So?  What about this header?
29687 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29688   yes:no: )
29689     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29690 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29691     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29692 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29693     ac_header_preproc=yes
29694     ;;
29695   no:yes:* )
29696     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29697 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29698     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
29699 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
29700     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29701 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29702     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
29703 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
29704     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29705 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29706     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29707 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29708     (
29709       cat <<\_ASBOX
29710 ## ----------------------------------------- ##
29711 ## Report this to the package-unused lists.  ##
29712 ## ----------------------------------------- ##
29713 _ASBOX
29714     ) |
29715       sed "s/^/$as_me: WARNING:     /" >&2
29716     ;;
29717 esac
29718 echo "$as_me:$LINENO: checking for $ac_header" >&5
29719 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29720 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29721   echo $ECHO_N "(cached) $ECHO_C" >&6
29722 else
29723   eval "$as_ac_Header=\$ac_header_preproc"
29724 fi
29725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29726 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29727
29728 fi
29729 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29730   cat >>confdefs.h <<_ACEOF
29731 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29732 _ACEOF
29733
29734 fi
29735
29736 done
29737
29738
29739   echo "$as_me:$LINENO: checking for writev" >&5
29740 echo $ECHO_N "checking for writev... $ECHO_C" >&6
29741   if test "${glibcxx_cv_WRITEV+set}" = set; then
29742   echo $ECHO_N "(cached) $ECHO_C" >&6
29743 else
29744
29745     if test x$gcc_no_link = xyes; then
29746   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29748    { (exit 1); exit 1; }; }
29749 fi
29750 cat >conftest.$ac_ext <<_ACEOF
29751 /* confdefs.h.  */
29752 _ACEOF
29753 cat confdefs.h >>conftest.$ac_ext
29754 cat >>conftest.$ac_ext <<_ACEOF
29755 /* end confdefs.h.  */
29756 #include <sys/uio.h>
29757 int
29758 main ()
29759 {
29760 struct iovec iov[2];
29761        writev(0, iov, 0);
29762   ;
29763   return 0;
29764 }
29765 _ACEOF
29766 rm -f conftest.$ac_objext conftest$ac_exeext
29767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29768   (eval $ac_link) 2>conftest.er1
29769   ac_status=$?
29770   grep -v '^ *+' conftest.er1 >conftest.err
29771   rm -f conftest.er1
29772   cat conftest.err >&5
29773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29774   (exit $ac_status); } &&
29775          { ac_try='test -z "$ac_c_werror_flag"
29776                          || test ! -s conftest.err'
29777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29778   (eval $ac_try) 2>&5
29779   ac_status=$?
29780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29781   (exit $ac_status); }; } &&
29782          { ac_try='test -s conftest$ac_exeext'
29783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29784   (eval $ac_try) 2>&5
29785   ac_status=$?
29786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29787   (exit $ac_status); }; }; then
29788   glibcxx_cv_WRITEV=yes
29789 else
29790   echo "$as_me: failed program was:" >&5
29791 sed 's/^/| /' conftest.$ac_ext >&5
29792
29793 glibcxx_cv_WRITEV=no
29794 fi
29795 rm -f conftest.err conftest.$ac_objext \
29796       conftest$ac_exeext conftest.$ac_ext
29797
29798 fi
29799
29800   if test $glibcxx_cv_WRITEV = yes; then
29801
29802 cat >>confdefs.h <<\_ACEOF
29803 #define HAVE_WRITEV 1
29804 _ACEOF
29805
29806   fi
29807   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
29808 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
29809
29810
29811   # For the __streamoff_base_type typedef.
29812
29813   echo "$as_me:$LINENO: checking for int64_t" >&5
29814 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
29815   if test "${glibcxx_cv_INT64_T+set}" = set; then
29816   echo $ECHO_N "(cached) $ECHO_C" >&6
29817 else
29818
29819     cat >conftest.$ac_ext <<_ACEOF
29820 /* confdefs.h.  */
29821 _ACEOF
29822 cat confdefs.h >>conftest.$ac_ext
29823 cat >>conftest.$ac_ext <<_ACEOF
29824 /* end confdefs.h.  */
29825 #include <stdint.h>
29826 int
29827 main ()
29828 {
29829 int64_t var;
29830   ;
29831   return 0;
29832 }
29833 _ACEOF
29834 rm -f conftest.$ac_objext
29835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29836   (eval $ac_compile) 2>conftest.er1
29837   ac_status=$?
29838   grep -v '^ *+' conftest.er1 >conftest.err
29839   rm -f conftest.er1
29840   cat conftest.err >&5
29841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29842   (exit $ac_status); } &&
29843          { ac_try='test -z "$ac_c_werror_flag"
29844                          || test ! -s conftest.err'
29845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29846   (eval $ac_try) 2>&5
29847   ac_status=$?
29848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29849   (exit $ac_status); }; } &&
29850          { ac_try='test -s conftest.$ac_objext'
29851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29852   (eval $ac_try) 2>&5
29853   ac_status=$?
29854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29855   (exit $ac_status); }; }; then
29856   glibcxx_cv_INT64_T=yes
29857 else
29858   echo "$as_me: failed program was:" >&5
29859 sed 's/^/| /' conftest.$ac_ext >&5
29860
29861 glibcxx_cv_INT64_T=no
29862 fi
29863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29864
29865 fi
29866
29867   if test $glibcxx_cv_INT64_T = yes; then
29868
29869 cat >>confdefs.h <<\_ACEOF
29870 #define HAVE_INT64_T 1
29871 _ACEOF
29872
29873   fi
29874   echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
29875 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
29876
29877
29878   # For LFS support.
29879
29880
29881
29882   ac_ext=cc
29883 ac_cpp='$CXXCPP $CPPFLAGS'
29884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29887
29888   ac_save_CXXFLAGS="$CXXFLAGS"
29889   CXXFLAGS="$CXXFLAGS -fno-exceptions"
29890   echo "$as_me:$LINENO: checking for LFS support" >&5
29891 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
29892   if test "${glibcxx_cv_LFS+set}" = set; then
29893   echo $ECHO_N "(cached) $ECHO_C" >&6
29894 else
29895
29896     if test x$gcc_no_link = xyes; then
29897   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29899    { (exit 1); exit 1; }; }
29900 fi
29901 cat >conftest.$ac_ext <<_ACEOF
29902 /* confdefs.h.  */
29903 _ACEOF
29904 cat confdefs.h >>conftest.$ac_ext
29905 cat >>conftest.$ac_ext <<_ACEOF
29906 /* end confdefs.h.  */
29907 #include <unistd.h>
29908        #include <stdio.h>
29909        #include <sys/stat.h>
29910
29911 int
29912 main ()
29913 {
29914 FILE* fp;
29915        fopen64("t", "w");
29916        fseeko64(fp, 0, SEEK_CUR);
29917        ftello64(fp);
29918        lseek64(1, 0, SEEK_CUR);
29919        struct stat64 buf;
29920        fstat64(1, &buf);
29921   ;
29922   return 0;
29923 }
29924 _ACEOF
29925 rm -f conftest.$ac_objext conftest$ac_exeext
29926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29927   (eval $ac_link) 2>conftest.er1
29928   ac_status=$?
29929   grep -v '^ *+' conftest.er1 >conftest.err
29930   rm -f conftest.er1
29931   cat conftest.err >&5
29932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29933   (exit $ac_status); } &&
29934          { ac_try='test -z "$ac_cxx_werror_flag"
29935                          || test ! -s conftest.err'
29936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29937   (eval $ac_try) 2>&5
29938   ac_status=$?
29939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29940   (exit $ac_status); }; } &&
29941          { ac_try='test -s conftest$ac_exeext'
29942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29943   (eval $ac_try) 2>&5
29944   ac_status=$?
29945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29946   (exit $ac_status); }; }; then
29947   glibcxx_cv_LFS=yes
29948 else
29949   echo "$as_me: failed program was:" >&5
29950 sed 's/^/| /' conftest.$ac_ext >&5
29951
29952 glibcxx_cv_LFS=no
29953 fi
29954 rm -f conftest.err conftest.$ac_objext \
29955       conftest$ac_exeext conftest.$ac_ext
29956
29957 fi
29958
29959   if test $glibcxx_cv_LFS = yes; then
29960
29961 cat >>confdefs.h <<\_ACEOF
29962 #define _GLIBCXX_USE_LFS 1
29963 _ACEOF
29964
29965   fi
29966   echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
29967 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
29968   CXXFLAGS="$ac_save_CXXFLAGS"
29969   ac_ext=c
29970 ac_cpp='$CPP $CPPFLAGS'
29971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29974
29975
29976
29977   # For C99 support to TR1.
29978
29979
29980
29981
29982   ac_ext=cc
29983 ac_cpp='$CXXCPP $CPPFLAGS'
29984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29987
29988
29989   # Check for the existence of <complex.h> complex math functions used
29990   # by tr1/complex.
29991
29992 for ac_header in complex.h
29993 do
29994 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29995 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29996   echo "$as_me:$LINENO: checking for $ac_header" >&5
29997 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29998 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29999   echo $ECHO_N "(cached) $ECHO_C" >&6
30000 fi
30001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30002 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30003 else
30004   # Is the header compilable?
30005 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30006 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30007 cat >conftest.$ac_ext <<_ACEOF
30008 /* confdefs.h.  */
30009 _ACEOF
30010 cat confdefs.h >>conftest.$ac_ext
30011 cat >>conftest.$ac_ext <<_ACEOF
30012 /* end confdefs.h.  */
30013 $ac_includes_default
30014 #include <$ac_header>
30015 _ACEOF
30016 rm -f conftest.$ac_objext
30017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30018   (eval $ac_compile) 2>conftest.er1
30019   ac_status=$?
30020   grep -v '^ *+' conftest.er1 >conftest.err
30021   rm -f conftest.er1
30022   cat conftest.err >&5
30023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30024   (exit $ac_status); } &&
30025          { ac_try='test -z "$ac_cxx_werror_flag"
30026                          || test ! -s conftest.err'
30027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30028   (eval $ac_try) 2>&5
30029   ac_status=$?
30030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30031   (exit $ac_status); }; } &&
30032          { ac_try='test -s conftest.$ac_objext'
30033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30034   (eval $ac_try) 2>&5
30035   ac_status=$?
30036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30037   (exit $ac_status); }; }; then
30038   ac_header_compiler=yes
30039 else
30040   echo "$as_me: failed program was:" >&5
30041 sed 's/^/| /' conftest.$ac_ext >&5
30042
30043 ac_header_compiler=no
30044 fi
30045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30046 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30047 echo "${ECHO_T}$ac_header_compiler" >&6
30048
30049 # Is the header present?
30050 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30051 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30052 cat >conftest.$ac_ext <<_ACEOF
30053 /* confdefs.h.  */
30054 _ACEOF
30055 cat confdefs.h >>conftest.$ac_ext
30056 cat >>conftest.$ac_ext <<_ACEOF
30057 /* end confdefs.h.  */
30058 #include <$ac_header>
30059 _ACEOF
30060 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30061   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30062   ac_status=$?
30063   grep -v '^ *+' conftest.er1 >conftest.err
30064   rm -f conftest.er1
30065   cat conftest.err >&5
30066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30067   (exit $ac_status); } >/dev/null; then
30068   if test -s conftest.err; then
30069     ac_cpp_err=$ac_cxx_preproc_warn_flag
30070     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
30071   else
30072     ac_cpp_err=
30073   fi
30074 else
30075   ac_cpp_err=yes
30076 fi
30077 if test -z "$ac_cpp_err"; then
30078   ac_header_preproc=yes
30079 else
30080   echo "$as_me: failed program was:" >&5
30081 sed 's/^/| /' conftest.$ac_ext >&5
30082
30083   ac_header_preproc=no
30084 fi
30085 rm -f conftest.err conftest.$ac_ext
30086 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30087 echo "${ECHO_T}$ac_header_preproc" >&6
30088
30089 # So?  What about this header?
30090 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
30091   yes:no: )
30092     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30093 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30094     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30095 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30096     ac_header_preproc=yes
30097     ;;
30098   no:yes:* )
30099     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30100 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30101     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
30102 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
30103     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30104 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30105     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
30106 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
30107     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30108 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30109     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30110 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30111     (
30112       cat <<\_ASBOX
30113 ## ----------------------------------------- ##
30114 ## Report this to the package-unused lists.  ##
30115 ## ----------------------------------------- ##
30116 _ASBOX
30117     ) |
30118       sed "s/^/$as_me: WARNING:     /" >&2
30119     ;;
30120 esac
30121 echo "$as_me:$LINENO: checking for $ac_header" >&5
30122 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30123 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30124   echo $ECHO_N "(cached) $ECHO_C" >&6
30125 else
30126   eval "$as_ac_Header=\$ac_header_preproc"
30127 fi
30128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30129 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30130
30131 fi
30132 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30133   cat >>confdefs.h <<_ACEOF
30134 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30135 _ACEOF
30136  ac_has_complex_h=yes
30137 else
30138   ac_has_complex_h=no
30139 fi
30140
30141 done
30142
30143   ac_c99_complex_tr1=no;
30144   if test x"$ac_has_complex_h" = x"yes"; then
30145     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
30146 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
30147     cat >conftest.$ac_ext <<_ACEOF
30148 /* confdefs.h.  */
30149 _ACEOF
30150 cat confdefs.h >>conftest.$ac_ext
30151 cat >>conftest.$ac_ext <<_ACEOF
30152 /* end confdefs.h.  */
30153 #include <complex.h>
30154 int
30155 main ()
30156 {
30157 typedef __complex__ float float_type; float_type tmpf;
30158                     cacosf(tmpf);
30159                     casinf(tmpf);
30160                     catanf(tmpf);
30161                     cacoshf(tmpf);
30162                     casinhf(tmpf);
30163                     catanhf(tmpf);
30164                     typedef __complex__ double double_type; double_type tmpd;
30165                     cacos(tmpd);
30166                     casin(tmpd);
30167                     catan(tmpd);
30168                     cacosh(tmpd);
30169                     casinh(tmpd);
30170                     catanh(tmpd);
30171                     typedef __complex__ long double ld_type; ld_type tmpld;
30172                     cacosl(tmpld);
30173                     casinl(tmpld);
30174                     catanl(tmpld);
30175                     cacoshl(tmpld);
30176                     casinhl(tmpld);
30177                     catanhl(tmpld);
30178
30179   ;
30180   return 0;
30181 }
30182 _ACEOF
30183 rm -f conftest.$ac_objext
30184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30185   (eval $ac_compile) 2>conftest.er1
30186   ac_status=$?
30187   grep -v '^ *+' conftest.er1 >conftest.err
30188   rm -f conftest.er1
30189   cat conftest.err >&5
30190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30191   (exit $ac_status); } &&
30192          { ac_try='test -z "$ac_cxx_werror_flag"
30193                          || test ! -s conftest.err'
30194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30195   (eval $ac_try) 2>&5
30196   ac_status=$?
30197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30198   (exit $ac_status); }; } &&
30199          { ac_try='test -s conftest.$ac_objext'
30200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30201   (eval $ac_try) 2>&5
30202   ac_status=$?
30203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30204   (exit $ac_status); }; }; then
30205   ac_c99_complex_tr1=yes
30206 else
30207   echo "$as_me: failed program was:" >&5
30208 sed 's/^/| /' conftest.$ac_ext >&5
30209
30210 ac_c99_complex_tr1=no
30211 fi
30212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30213   fi
30214   echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
30215 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
30216   if test x"$ac_c99_complex_tr1" = x"yes"; then
30217
30218 cat >>confdefs.h <<\_ACEOF
30219 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
30220 _ACEOF
30221
30222   fi
30223
30224   # Check for the existence of <ctype.h> functions.
30225   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
30226 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
30227   if test "${ac_c99_ctype_tr1+set}" = set; then
30228   echo $ECHO_N "(cached) $ECHO_C" >&6
30229 else
30230
30231   cat >conftest.$ac_ext <<_ACEOF
30232 /* confdefs.h.  */
30233 _ACEOF
30234 cat confdefs.h >>conftest.$ac_ext
30235 cat >>conftest.$ac_ext <<_ACEOF
30236 /* end confdefs.h.  */
30237 #include <ctype.h>
30238 int
30239 main ()
30240 {
30241 int ch;
30242                   int ret;
30243                   ret = isblank(ch);
30244
30245   ;
30246   return 0;
30247 }
30248 _ACEOF
30249 rm -f conftest.$ac_objext
30250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30251   (eval $ac_compile) 2>conftest.er1
30252   ac_status=$?
30253   grep -v '^ *+' conftest.er1 >conftest.err
30254   rm -f conftest.er1
30255   cat conftest.err >&5
30256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30257   (exit $ac_status); } &&
30258          { ac_try='test -z "$ac_cxx_werror_flag"
30259                          || test ! -s conftest.err'
30260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30261   (eval $ac_try) 2>&5
30262   ac_status=$?
30263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30264   (exit $ac_status); }; } &&
30265          { ac_try='test -s conftest.$ac_objext'
30266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30267   (eval $ac_try) 2>&5
30268   ac_status=$?
30269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30270   (exit $ac_status); }; }; then
30271   ac_c99_ctype_tr1=yes
30272 else
30273   echo "$as_me: failed program was:" >&5
30274 sed 's/^/| /' conftest.$ac_ext >&5
30275
30276 ac_c99_ctype_tr1=no
30277 fi
30278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30279
30280 fi
30281
30282   echo "$as_me:$LINENO: result: $ac_c99_ctype_tr1" >&5
30283 echo "${ECHO_T}$ac_c99_ctype_tr1" >&6
30284   if test x"$ac_c99_ctype_tr1" = x"yes"; then
30285
30286 cat >>confdefs.h <<\_ACEOF
30287 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
30288 _ACEOF
30289
30290   fi
30291
30292   # Check for the existence of <fenv.h> functions.
30293
30294 for ac_header in fenv.h
30295 do
30296 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30297 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30298   echo "$as_me:$LINENO: checking for $ac_header" >&5
30299 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30300 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30301   echo $ECHO_N "(cached) $ECHO_C" >&6
30302 fi
30303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30304 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30305 else
30306   # Is the header compilable?
30307 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30308 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30309 cat >conftest.$ac_ext <<_ACEOF
30310 /* confdefs.h.  */
30311 _ACEOF
30312 cat confdefs.h >>conftest.$ac_ext
30313 cat >>conftest.$ac_ext <<_ACEOF
30314 /* end confdefs.h.  */
30315 $ac_includes_default
30316 #include <$ac_header>
30317 _ACEOF
30318 rm -f conftest.$ac_objext
30319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30320   (eval $ac_compile) 2>conftest.er1
30321   ac_status=$?
30322   grep -v '^ *+' conftest.er1 >conftest.err
30323   rm -f conftest.er1
30324   cat conftest.err >&5
30325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30326   (exit $ac_status); } &&
30327          { ac_try='test -z "$ac_cxx_werror_flag"
30328                          || test ! -s conftest.err'
30329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30330   (eval $ac_try) 2>&5
30331   ac_status=$?
30332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30333   (exit $ac_status); }; } &&
30334          { ac_try='test -s conftest.$ac_objext'
30335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30336   (eval $ac_try) 2>&5
30337   ac_status=$?
30338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30339   (exit $ac_status); }; }; then
30340   ac_header_compiler=yes
30341 else
30342   echo "$as_me: failed program was:" >&5
30343 sed 's/^/| /' conftest.$ac_ext >&5
30344
30345 ac_header_compiler=no
30346 fi
30347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30348 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30349 echo "${ECHO_T}$ac_header_compiler" >&6
30350
30351 # Is the header present?
30352 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30353 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30354 cat >conftest.$ac_ext <<_ACEOF
30355 /* confdefs.h.  */
30356 _ACEOF
30357 cat confdefs.h >>conftest.$ac_ext
30358 cat >>conftest.$ac_ext <<_ACEOF
30359 /* end confdefs.h.  */
30360 #include <$ac_header>
30361 _ACEOF
30362 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30363   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30364   ac_status=$?
30365   grep -v '^ *+' conftest.er1 >conftest.err
30366   rm -f conftest.er1
30367   cat conftest.err >&5
30368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30369   (exit $ac_status); } >/dev/null; then
30370   if test -s conftest.err; then
30371     ac_cpp_err=$ac_cxx_preproc_warn_flag
30372     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
30373   else
30374     ac_cpp_err=
30375   fi
30376 else
30377   ac_cpp_err=yes
30378 fi
30379 if test -z "$ac_cpp_err"; then
30380   ac_header_preproc=yes
30381 else
30382   echo "$as_me: failed program was:" >&5
30383 sed 's/^/| /' conftest.$ac_ext >&5
30384
30385   ac_header_preproc=no
30386 fi
30387 rm -f conftest.err conftest.$ac_ext
30388 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30389 echo "${ECHO_T}$ac_header_preproc" >&6
30390
30391 # So?  What about this header?
30392 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
30393   yes:no: )
30394     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30395 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30396     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30397 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30398     ac_header_preproc=yes
30399     ;;
30400   no:yes:* )
30401     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30402 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30403     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
30404 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
30405     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30406 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30407     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
30408 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
30409     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30410 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30411     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30412 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30413     (
30414       cat <<\_ASBOX
30415 ## ----------------------------------------- ##
30416 ## Report this to the package-unused lists.  ##
30417 ## ----------------------------------------- ##
30418 _ASBOX
30419     ) |
30420       sed "s/^/$as_me: WARNING:     /" >&2
30421     ;;
30422 esac
30423 echo "$as_me:$LINENO: checking for $ac_header" >&5
30424 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30425 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30426   echo $ECHO_N "(cached) $ECHO_C" >&6
30427 else
30428   eval "$as_ac_Header=\$ac_header_preproc"
30429 fi
30430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30431 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30432
30433 fi
30434 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30435   cat >>confdefs.h <<_ACEOF
30436 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30437 _ACEOF
30438  ac_has_fenv_h=yes
30439 else
30440   ac_has_fenv_h=no
30441 fi
30442
30443 done
30444
30445   ac_c99_fenv_tr1=no;
30446   if test x"$ac_has_fenv_h" = x"yes"; then
30447     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
30448 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
30449     cat >conftest.$ac_ext <<_ACEOF
30450 /* confdefs.h.  */
30451 _ACEOF
30452 cat confdefs.h >>conftest.$ac_ext
30453 cat >>conftest.$ac_ext <<_ACEOF
30454 /* end confdefs.h.  */
30455 #include <fenv.h>
30456 int
30457 main ()
30458 {
30459 int except, mode;
30460                     fexcept_t* pflag;
30461                     fenv_t* penv;
30462                     int ret;
30463                     ret = feclearexcept(except);
30464                     ret = fegetexceptflag(pflag, except);
30465                     ret = feraiseexcept(except);
30466                     ret = fesetexceptflag(pflag, except);
30467                     ret = fetestexcept(except);
30468                     ret = fegetround();
30469                     ret = fesetround(mode);
30470                     ret = fegetenv(penv);
30471                     ret = feholdexcept(penv);
30472                     ret = fesetenv(penv);
30473                     ret = feupdateenv(penv);
30474
30475   ;
30476   return 0;
30477 }
30478 _ACEOF
30479 rm -f conftest.$ac_objext
30480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30481   (eval $ac_compile) 2>conftest.er1
30482   ac_status=$?
30483   grep -v '^ *+' conftest.er1 >conftest.err
30484   rm -f conftest.er1
30485   cat conftest.err >&5
30486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30487   (exit $ac_status); } &&
30488          { ac_try='test -z "$ac_cxx_werror_flag"
30489                          || test ! -s conftest.err'
30490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30491   (eval $ac_try) 2>&5
30492   ac_status=$?
30493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30494   (exit $ac_status); }; } &&
30495          { ac_try='test -s conftest.$ac_objext'
30496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30497   (eval $ac_try) 2>&5
30498   ac_status=$?
30499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30500   (exit $ac_status); }; }; then
30501   ac_c99_fenv_tr1=yes
30502 else
30503   echo "$as_me: failed program was:" >&5
30504 sed 's/^/| /' conftest.$ac_ext >&5
30505
30506 ac_c99_fenv_tr1=no
30507 fi
30508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30509   fi
30510   echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
30511 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
30512   if test x"$ac_c99_fenv_tr1" = x"yes"; then
30513
30514 cat >>confdefs.h <<\_ACEOF
30515 #define _GLIBCXX_USE_C99_FENV_TR1 1
30516 _ACEOF
30517
30518   fi
30519
30520   # Check for the existence of <stdint.h> types.
30521   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
30522 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
30523   if test "${ac_c99_stdint_tr1+set}" = set; then
30524   echo $ECHO_N "(cached) $ECHO_C" >&6
30525 else
30526
30527   cat >conftest.$ac_ext <<_ACEOF
30528 /* confdefs.h.  */
30529 _ACEOF
30530 cat confdefs.h >>conftest.$ac_ext
30531 cat >>conftest.$ac_ext <<_ACEOF
30532 /* end confdefs.h.  */
30533 #include <stdint.h>
30534 int
30535 main ()
30536 {
30537 typedef int8_t          my_int8_t;
30538                   typedef int16_t         my_int16_t;
30539                   typedef int32_t         my_int32_t;
30540                   typedef int64_t         my_int64_t;
30541                   typedef int_fast8_t     my_int_fast8_t;
30542                   typedef int_fast16_t    my_int_fast16_t;
30543                   typedef int_fast32_t    my_int_fast32_t;
30544                   typedef int_fast64_t    my_int_fast64_t;
30545                   typedef int_least8_t    my_int_least8_t;
30546                   typedef int_least16_t   my_int_least16_t;
30547                   typedef int_least32_t   my_int_least32_t;
30548                   typedef int_least64_t   my_int_least64_t;
30549                   typedef intmax_t        my_intmax_t;
30550                   typedef intptr_t        my_intptr_t;
30551                   typedef uint8_t         my_uint8_t;
30552                   typedef uint16_t        my_uint16_t;
30553                   typedef uint32_t        my_uint32_t;
30554                   typedef uint64_t        my_uint64_t;
30555                   typedef uint_fast8_t    my_uint_fast8_t;
30556                   typedef uint_fast16_t   my_uint_fast16_t;
30557                   typedef uint_fast32_t   my_uint_fast32_t;
30558                   typedef uint_fast64_t   my_uint_fast64_t;
30559                   typedef uint_least8_t   my_uint_least8_t;
30560                   typedef uint_least16_t  my_uint_least16_t;
30561                   typedef uint_least32_t  my_uint_least32_t;
30562                   typedef uint_least64_t  my_uint_least64_t;
30563                   typedef uintmax_t       my_uintmax_t;
30564                   typedef uintptr_t       my_uintptr_t;
30565
30566   ;
30567   return 0;
30568 }
30569 _ACEOF
30570 rm -f conftest.$ac_objext
30571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30572   (eval $ac_compile) 2>conftest.er1
30573   ac_status=$?
30574   grep -v '^ *+' conftest.er1 >conftest.err
30575   rm -f conftest.er1
30576   cat conftest.err >&5
30577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30578   (exit $ac_status); } &&
30579          { ac_try='test -z "$ac_cxx_werror_flag"
30580                          || test ! -s conftest.err'
30581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30582   (eval $ac_try) 2>&5
30583   ac_status=$?
30584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30585   (exit $ac_status); }; } &&
30586          { ac_try='test -s conftest.$ac_objext'
30587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30588   (eval $ac_try) 2>&5
30589   ac_status=$?
30590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30591   (exit $ac_status); }; }; then
30592   ac_c99_stdint_tr1=yes
30593 else
30594   echo "$as_me: failed program was:" >&5
30595 sed 's/^/| /' conftest.$ac_ext >&5
30596
30597 ac_c99_stdint_tr1=no
30598 fi
30599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30600
30601 fi
30602
30603   echo "$as_me:$LINENO: result: $ac_c99_stdint_tr1" >&5
30604 echo "${ECHO_T}$ac_c99_stdint_tr1" >&6
30605   if test x"$ac_c99_stdint_tr1" = x"yes"; then
30606
30607 cat >>confdefs.h <<\_ACEOF
30608 #define _GLIBCXX_USE_C99_STDINT_TR1 1
30609 _ACEOF
30610
30611   fi
30612
30613   # Check for the existence of <math.h> functions.
30614   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
30615 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
30616   if test "${ac_c99_math_tr1+set}" = set; then
30617   echo $ECHO_N "(cached) $ECHO_C" >&6
30618 else
30619
30620   cat >conftest.$ac_ext <<_ACEOF
30621 /* confdefs.h.  */
30622 _ACEOF
30623 cat confdefs.h >>conftest.$ac_ext
30624 cat >>conftest.$ac_ext <<_ACEOF
30625 /* end confdefs.h.  */
30626 #include <math.h>
30627 int
30628 main ()
30629 {
30630 acosh(0.0);
30631                   acoshf(0.0f);
30632                   acoshl(0.0l);
30633                   asinh(0.0);
30634                   asinhf(0.0f);
30635                   asinhl(0.0l);
30636                   atanh(0.0);
30637                   atanhf(0.0f);
30638                   atanhl(0.0l);
30639                   cbrt(0.0);
30640                   cbrtf(0.0f);
30641                   cbrtl(0.0l);
30642                   copysign(0.0, 0.0);
30643                   copysignf(0.0f, 0.0f);
30644                   copysignl(0.0l, 0.0l);
30645                   erf(0.0);
30646                   erff(0.0f);
30647                   erfl(0.0l);
30648                   erfc(0.0);
30649                   erfcf(0.0f);
30650                   erfcl(0.0l);
30651                   exp2(0.0);
30652                   exp2f(0.0f);
30653                   exp2l(0.0l);
30654                   expm1(0.0);
30655                   expm1f(0.0f);
30656                   expm1l(0.0l);
30657                   fdim(0.0, 0.0);
30658                   fdimf(0.0f, 0.0f);
30659                   fdiml(0.0l, 0.0l);
30660                   fma(0.0, 0.0, 0.0);
30661                   fmaf(0.0f, 0.0f, 0.0f);
30662                   fmal(0.0l, 0.0l, 0.0l);
30663                   fmax(0.0, 0.0);
30664                   fmaxf(0.0f, 0.0f);
30665                   fmaxl(0.0l, 0.0l);
30666                   fmin(0.0, 0.0);
30667                   fminf(0.0f, 0.0f);
30668                   fminl(0.0l, 0.0l);
30669                   hypot(0.0, 0.0);
30670                   hypotf(0.0f, 0.0f);
30671                   hypotl(0.0l, 0.0l);
30672                   ilogb(0.0);
30673                   ilogbf(0.0f);
30674                   ilogbl(0.0l);
30675                   lgamma(0.0);
30676                   lgammaf(0.0f);
30677                   lgammal(0.0l);
30678                   llrint(0.0);
30679                   llrintf(0.0f);
30680                   llrintl(0.0l);
30681                   llround(0.0);
30682                   llroundf(0.0f);
30683                   llroundl(0.0l);
30684                   log1p(0.0);
30685                   log1pf(0.0f);
30686                   log1pl(0.0l);
30687                   log2(0.0);
30688                   log2f(0.0f);
30689                   log2l(0.0l);
30690                   logb(0.0);
30691                   logbf(0.0f);
30692                   logbl(0.0l);
30693                   lrint(0.0);
30694                   lrintf(0.0f);
30695                   lrintl(0.0l);
30696                   lround(0.0);
30697                   lroundf(0.0f);
30698                   lroundl(0.0l);
30699                   nan(0);
30700                   nanf(0);
30701                   nanl(0);
30702                   nearbyint(0.0);
30703                   nearbyintf(0.0f);
30704                   nearbyintl(0.0l);
30705                   nextafter(0.0, 0.0);
30706                   nextafterf(0.0f, 0.0f);
30707                   nextafterl(0.0l, 0.0l);
30708                   nexttoward(0.0, 0.0);
30709                   nexttowardf(0.0f, 0.0f);
30710                   nexttowardl(0.0l, 0.0l);
30711                   remainder(0.0, 0.0);
30712                   remainderf(0.0f, 0.0f);
30713                   remainderl(0.0l, 0.0l);
30714                   remquo(0.0, 0.0, 0);
30715                   remquo(0.0f, 0.0f, 0);
30716                   remquo(0.0l, 0.0l, 0);
30717                   rint(0.0);
30718                   rintf(0.0f);
30719                   rintl(0.0l);
30720                   round(0.0);
30721                   roundf(0.0f);
30722                   roundl(0.0l);
30723                   scalbln(0.0, 0l);
30724                   scalblnf(0.0f, 0l);
30725                   scalblnl(0.0l, 0l);
30726                   scalbn(0.0, 0);
30727                   scalbnf(0.0f, 0);
30728                   scalbnl(0.0l, 0);
30729                   tgamma(0.0);
30730                   tgammaf(0.0f);
30731                   tgammal(0.0l);
30732                   trunc(0.0);
30733                   truncf(0.0f);
30734                   truncl(0.0l);
30735
30736   ;
30737   return 0;
30738 }
30739 _ACEOF
30740 rm -f conftest.$ac_objext
30741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30742   (eval $ac_compile) 2>conftest.er1
30743   ac_status=$?
30744   grep -v '^ *+' conftest.er1 >conftest.err
30745   rm -f conftest.er1
30746   cat conftest.err >&5
30747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30748   (exit $ac_status); } &&
30749          { ac_try='test -z "$ac_cxx_werror_flag"
30750                          || test ! -s conftest.err'
30751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30752   (eval $ac_try) 2>&5
30753   ac_status=$?
30754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30755   (exit $ac_status); }; } &&
30756          { ac_try='test -s conftest.$ac_objext'
30757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30758   (eval $ac_try) 2>&5
30759   ac_status=$?
30760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30761   (exit $ac_status); }; }; then
30762   ac_c99_math_tr1=yes
30763 else
30764   echo "$as_me: failed program was:" >&5
30765 sed 's/^/| /' conftest.$ac_ext >&5
30766
30767 ac_c99_math_tr1=no
30768 fi
30769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30770
30771 fi
30772
30773   echo "$as_me:$LINENO: result: $ac_c99_math_tr1" >&5
30774 echo "${ECHO_T}$ac_c99_math_tr1" >&6
30775   if test x"$ac_c99_math_tr1" = x"yes"; then
30776
30777 cat >>confdefs.h <<\_ACEOF
30778 #define _GLIBCXX_USE_C99_MATH_TR1 1
30779 _ACEOF
30780
30781   fi
30782
30783   # Check for the existence of <inttypes.h> functions (NB: doesn't make
30784   # sense if the previous check fails, per C99, 7.8/1).
30785   ac_c99_inttypes_tr1=no;
30786   if test x"$ac_c99_stdint_tr1" = x"yes"; then
30787     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
30788 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
30789     cat >conftest.$ac_ext <<_ACEOF
30790 /* confdefs.h.  */
30791 _ACEOF
30792 cat confdefs.h >>conftest.$ac_ext
30793 cat >>conftest.$ac_ext <<_ACEOF
30794 /* end confdefs.h.  */
30795 #include <inttypes.h>
30796 int
30797 main ()
30798 {
30799 intmax_t i, numer, denom, base;
30800                     const char* s;
30801                     char** endptr;
30802                     intmax_t ret = imaxabs(i);
30803                     imaxdiv_t dret = imaxdiv(numer, denom);
30804                     ret = strtoimax(s, endptr, base);
30805                     uintmax_t uret = strtoumax(s, endptr, base);
30806
30807   ;
30808   return 0;
30809 }
30810 _ACEOF
30811 rm -f conftest.$ac_objext
30812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30813   (eval $ac_compile) 2>conftest.er1
30814   ac_status=$?
30815   grep -v '^ *+' conftest.er1 >conftest.err
30816   rm -f conftest.er1
30817   cat conftest.err >&5
30818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30819   (exit $ac_status); } &&
30820          { ac_try='test -z "$ac_cxx_werror_flag"
30821                          || test ! -s conftest.err'
30822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30823   (eval $ac_try) 2>&5
30824   ac_status=$?
30825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30826   (exit $ac_status); }; } &&
30827          { ac_try='test -s conftest.$ac_objext'
30828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30829   (eval $ac_try) 2>&5
30830   ac_status=$?
30831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30832   (exit $ac_status); }; }; then
30833   ac_c99_inttypes_tr1=yes
30834 else
30835   echo "$as_me: failed program was:" >&5
30836 sed 's/^/| /' conftest.$ac_ext >&5
30837
30838 ac_c99_inttypes_tr1=no
30839 fi
30840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30841   fi
30842   echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
30843 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
30844   if test x"$ac_c99_inttypes_tr1" = x"yes"; then
30845
30846 cat >>confdefs.h <<\_ACEOF
30847 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
30848 _ACEOF
30849
30850   fi
30851
30852   ac_ext=c
30853 ac_cpp='$CPP $CPPFLAGS'
30854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30857
30858
30859
30860   # For TLS support.
30861
30862    # Check whether --enable-tls or --disable-tls was given.
30863 if test "${enable_tls+set}" = set; then
30864   enableval="$enable_tls"
30865
30866       case "$enableval" in
30867        yes|no) ;;
30868        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
30869 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
30870    { (exit 1); exit 1; }; } ;;
30871       esac
30872
30873 else
30874   enable_tls=yes
30875 fi;
30876
30877   echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
30878 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
30879 if test "${have_tls+set}" = set; then
30880   echo $ECHO_N "(cached) $ECHO_C" >&6
30881 else
30882
30883     if test "$cross_compiling" = yes; then
30884   cat >conftest.$ac_ext <<_ACEOF
30885 __thread int foo;
30886 _ACEOF
30887 rm -f conftest.$ac_objext
30888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30889   (eval $ac_compile) 2>conftest.er1
30890   ac_status=$?
30891   grep -v '^ *+' conftest.er1 >conftest.err
30892   rm -f conftest.er1
30893   cat conftest.err >&5
30894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30895   (exit $ac_status); } &&
30896          { ac_try='test -z "$ac_c_werror_flag"
30897                          || test ! -s conftest.err'
30898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30899   (eval $ac_try) 2>&5
30900   ac_status=$?
30901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30902   (exit $ac_status); }; } &&
30903          { ac_try='test -s conftest.$ac_objext'
30904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30905   (eval $ac_try) 2>&5
30906   ac_status=$?
30907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30908   (exit $ac_status); }; }; then
30909   have_tls=yes
30910 else
30911   echo "$as_me: failed program was:" >&5
30912 sed 's/^/| /' conftest.$ac_ext >&5
30913
30914 have_tls=no
30915 fi
30916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30917
30918 else
30919   cat >conftest.$ac_ext <<_ACEOF
30920 __thread int a; int b; int main() { return a = b; }
30921 _ACEOF
30922 rm -f conftest$ac_exeext
30923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30924   (eval $ac_link) 2>&5
30925   ac_status=$?
30926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30927   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30929   (eval $ac_try) 2>&5
30930   ac_status=$?
30931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30932   (exit $ac_status); }; }; then
30933                     save_LDFLAGS="$LDFLAGS"
30934       LDFLAGS="-static $LDFLAGS"
30935       if test "$cross_compiling" = yes; then
30936   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
30937 See \`config.log' for more details." >&5
30938 echo "$as_me: error: cannot run test program while cross compiling
30939 See \`config.log' for more details." >&2;}
30940    { (exit 1); exit 1; }; }
30941 else
30942   cat >conftest.$ac_ext <<_ACEOF
30943 __thread int a; int b; int main() { return a = b; }
30944 _ACEOF
30945 rm -f conftest$ac_exeext
30946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30947   (eval $ac_link) 2>&5
30948   ac_status=$?
30949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30950   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30952   (eval $ac_try) 2>&5
30953   ac_status=$?
30954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30955   (exit $ac_status); }; }; then
30956   have_tls=yes
30957 else
30958   echo "$as_me: program exited with status $ac_status" >&5
30959 echo "$as_me: failed program was:" >&5
30960 sed 's/^/| /' conftest.$ac_ext >&5
30961
30962 ( exit $ac_status )
30963 have_tls=no
30964 fi
30965 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30966 fi
30967       LDFLAGS="$save_LDFLAGS"
30968 else
30969   echo "$as_me: program exited with status $ac_status" >&5
30970 echo "$as_me: failed program was:" >&5
30971 sed 's/^/| /' conftest.$ac_ext >&5
30972
30973 ( exit $ac_status )
30974 have_tls=no
30975 fi
30976 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30977 fi
30978 fi
30979 echo "$as_me:$LINENO: result: $have_tls" >&5
30980 echo "${ECHO_T}$have_tls" >&6
30981   if test "$enable_tls $have_tls" = "yes yes"; then
30982
30983 cat >>confdefs.h <<\_ACEOF
30984 #define HAVE_TLS 1
30985 _ACEOF
30986
30987   fi
30988
30989
30990   if test "${ac_cv_header_locale_h+set}" = set; then
30991   echo "$as_me:$LINENO: checking for locale.h" >&5
30992 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30993 if test "${ac_cv_header_locale_h+set}" = set; then
30994   echo $ECHO_N "(cached) $ECHO_C" >&6
30995 fi
30996 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30997 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30998 else
30999   # Is the header compilable?
31000 echo "$as_me:$LINENO: checking locale.h usability" >&5
31001 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
31002 cat >conftest.$ac_ext <<_ACEOF
31003 /* confdefs.h.  */
31004 _ACEOF
31005 cat confdefs.h >>conftest.$ac_ext
31006 cat >>conftest.$ac_ext <<_ACEOF
31007 /* end confdefs.h.  */
31008 $ac_includes_default
31009 #include <locale.h>
31010 _ACEOF
31011 rm -f conftest.$ac_objext
31012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31013   (eval $ac_compile) 2>conftest.er1
31014   ac_status=$?
31015   grep -v '^ *+' conftest.er1 >conftest.err
31016   rm -f conftest.er1
31017   cat conftest.err >&5
31018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31019   (exit $ac_status); } &&
31020          { ac_try='test -z "$ac_c_werror_flag"
31021                          || test ! -s conftest.err'
31022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31023   (eval $ac_try) 2>&5
31024   ac_status=$?
31025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31026   (exit $ac_status); }; } &&
31027          { ac_try='test -s conftest.$ac_objext'
31028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31029   (eval $ac_try) 2>&5
31030   ac_status=$?
31031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31032   (exit $ac_status); }; }; then
31033   ac_header_compiler=yes
31034 else
31035   echo "$as_me: failed program was:" >&5
31036 sed 's/^/| /' conftest.$ac_ext >&5
31037
31038 ac_header_compiler=no
31039 fi
31040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31041 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31042 echo "${ECHO_T}$ac_header_compiler" >&6
31043
31044 # Is the header present?
31045 echo "$as_me:$LINENO: checking locale.h presence" >&5
31046 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
31047 cat >conftest.$ac_ext <<_ACEOF
31048 /* confdefs.h.  */
31049 _ACEOF
31050 cat confdefs.h >>conftest.$ac_ext
31051 cat >>conftest.$ac_ext <<_ACEOF
31052 /* end confdefs.h.  */
31053 #include <locale.h>
31054 _ACEOF
31055 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31056   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31057   ac_status=$?
31058   grep -v '^ *+' conftest.er1 >conftest.err
31059   rm -f conftest.er1
31060   cat conftest.err >&5
31061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31062   (exit $ac_status); } >/dev/null; then
31063   if test -s conftest.err; then
31064     ac_cpp_err=$ac_c_preproc_warn_flag
31065     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31066   else
31067     ac_cpp_err=
31068   fi
31069 else
31070   ac_cpp_err=yes
31071 fi
31072 if test -z "$ac_cpp_err"; then
31073   ac_header_preproc=yes
31074 else
31075   echo "$as_me: failed program was:" >&5
31076 sed 's/^/| /' conftest.$ac_ext >&5
31077
31078   ac_header_preproc=no
31079 fi
31080 rm -f conftest.err conftest.$ac_ext
31081 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31082 echo "${ECHO_T}$ac_header_preproc" >&6
31083
31084 # So?  What about this header?
31085 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31086   yes:no: )
31087     { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
31088 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31089     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
31090 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
31091     ac_header_preproc=yes
31092     ;;
31093   no:yes:* )
31094     { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
31095 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
31096     { echo "$as_me:$LINENO: WARNING: locale.h:     check for missing prerequisite headers?" >&5
31097 echo "$as_me: WARNING: locale.h:     check for missing prerequisite headers?" >&2;}
31098     { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
31099 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
31100     { echo "$as_me:$LINENO: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&5
31101 echo "$as_me: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&2;}
31102     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
31103 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
31104     { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
31105 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
31106     (
31107       cat <<\_ASBOX
31108 ## ----------------------------------------- ##
31109 ## Report this to the package-unused lists.  ##
31110 ## ----------------------------------------- ##
31111 _ASBOX
31112     ) |
31113       sed "s/^/$as_me: WARNING:     /" >&2
31114     ;;
31115 esac
31116 echo "$as_me:$LINENO: checking for locale.h" >&5
31117 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
31118 if test "${ac_cv_header_locale_h+set}" = set; then
31119   echo $ECHO_N "(cached) $ECHO_C" >&6
31120 else
31121   ac_cv_header_locale_h=$ac_header_preproc
31122 fi
31123 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
31124 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
31125
31126 fi
31127 if test $ac_cv_header_locale_h = yes; then
31128
31129     echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
31130 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
31131 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
31132   echo $ECHO_N "(cached) $ECHO_C" >&6
31133 else
31134   if test x$gcc_no_link = xyes; then
31135   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31137    { (exit 1); exit 1; }; }
31138 fi
31139 cat >conftest.$ac_ext <<_ACEOF
31140 /* confdefs.h.  */
31141 _ACEOF
31142 cat confdefs.h >>conftest.$ac_ext
31143 cat >>conftest.$ac_ext <<_ACEOF
31144 /* end confdefs.h.  */
31145 #include <locale.h>
31146 int
31147 main ()
31148 {
31149 return LC_MESSAGES
31150   ;
31151   return 0;
31152 }
31153 _ACEOF
31154 rm -f conftest.$ac_objext conftest$ac_exeext
31155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31156   (eval $ac_link) 2>conftest.er1
31157   ac_status=$?
31158   grep -v '^ *+' conftest.er1 >conftest.err
31159   rm -f conftest.er1
31160   cat conftest.err >&5
31161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31162   (exit $ac_status); } &&
31163          { ac_try='test -z "$ac_c_werror_flag"
31164                          || test ! -s conftest.err'
31165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31166   (eval $ac_try) 2>&5
31167   ac_status=$?
31168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31169   (exit $ac_status); }; } &&
31170          { ac_try='test -s conftest$ac_exeext'
31171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31172   (eval $ac_try) 2>&5
31173   ac_status=$?
31174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31175   (exit $ac_status); }; }; then
31176   ac_cv_val_LC_MESSAGES=yes
31177 else
31178   echo "$as_me: failed program was:" >&5
31179 sed 's/^/| /' conftest.$ac_ext >&5
31180
31181 ac_cv_val_LC_MESSAGES=no
31182 fi
31183 rm -f conftest.err conftest.$ac_objext \
31184       conftest$ac_exeext conftest.$ac_ext
31185 fi
31186 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
31187 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
31188     if test $ac_cv_val_LC_MESSAGES = yes; then
31189
31190 cat >>confdefs.h <<\_ACEOF
31191 #define HAVE_LC_MESSAGES 1
31192 _ACEOF
31193
31194     fi
31195
31196 fi
31197
31198
31199
31200
31201   cat >conftest.$ac_ext <<_ACEOF
31202 /* confdefs.h.  */
31203 _ACEOF
31204 cat confdefs.h >>conftest.$ac_ext
31205 cat >>conftest.$ac_ext <<_ACEOF
31206 /* end confdefs.h.  */
31207 #include <setjmp.h>
31208 int
31209 main ()
31210 {
31211 sigjmp_buf env;
31212      while (! sigsetjmp (env, 1))
31213        siglongjmp (env, 1);
31214
31215   ;
31216   return 0;
31217 }
31218 _ACEOF
31219 rm -f conftest.$ac_objext
31220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31221   (eval $ac_compile) 2>conftest.er1
31222   ac_status=$?
31223   grep -v '^ *+' conftest.er1 >conftest.err
31224   rm -f conftest.er1
31225   cat conftest.err >&5
31226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31227   (exit $ac_status); } &&
31228          { ac_try='test -z "$ac_c_werror_flag"
31229                          || test ! -s conftest.err'
31230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31231   (eval $ac_try) 2>&5
31232   ac_status=$?
31233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31234   (exit $ac_status); }; } &&
31235          { ac_try='test -s conftest.$ac_objext'
31236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31237   (eval $ac_try) 2>&5
31238   ac_status=$?
31239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31240   (exit $ac_status); }; }; then
31241
31242 cat >>confdefs.h <<\_ACEOF
31243 #define HAVE_SIGSETJMP 1
31244 _ACEOF
31245
31246 else
31247   echo "$as_me: failed program was:" >&5
31248 sed 's/^/| /' conftest.$ac_ext >&5
31249
31250 fi
31251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31252
31253   if test x$gcc_no_link = xyes; then
31254   if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
31255     ac_cv_func_mmap_fixed_mapped=no
31256   fi
31257 fi
31258 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
31259
31260
31261 for ac_header in stdlib.h unistd.h
31262 do
31263 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31264 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31265   echo "$as_me:$LINENO: checking for $ac_header" >&5
31266 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31267 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31268   echo $ECHO_N "(cached) $ECHO_C" >&6
31269 fi
31270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31271 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31272 else
31273   # Is the header compilable?
31274 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31275 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31276 cat >conftest.$ac_ext <<_ACEOF
31277 /* confdefs.h.  */
31278 _ACEOF
31279 cat confdefs.h >>conftest.$ac_ext
31280 cat >>conftest.$ac_ext <<_ACEOF
31281 /* end confdefs.h.  */
31282 $ac_includes_default
31283 #include <$ac_header>
31284 _ACEOF
31285 rm -f conftest.$ac_objext
31286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31287   (eval $ac_compile) 2>conftest.er1
31288   ac_status=$?
31289   grep -v '^ *+' conftest.er1 >conftest.err
31290   rm -f conftest.er1
31291   cat conftest.err >&5
31292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31293   (exit $ac_status); } &&
31294          { ac_try='test -z "$ac_c_werror_flag"
31295                          || test ! -s conftest.err'
31296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31297   (eval $ac_try) 2>&5
31298   ac_status=$?
31299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31300   (exit $ac_status); }; } &&
31301          { ac_try='test -s conftest.$ac_objext'
31302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31303   (eval $ac_try) 2>&5
31304   ac_status=$?
31305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31306   (exit $ac_status); }; }; then
31307   ac_header_compiler=yes
31308 else
31309   echo "$as_me: failed program was:" >&5
31310 sed 's/^/| /' conftest.$ac_ext >&5
31311
31312 ac_header_compiler=no
31313 fi
31314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31315 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31316 echo "${ECHO_T}$ac_header_compiler" >&6
31317
31318 # Is the header present?
31319 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31320 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31321 cat >conftest.$ac_ext <<_ACEOF
31322 /* confdefs.h.  */
31323 _ACEOF
31324 cat confdefs.h >>conftest.$ac_ext
31325 cat >>conftest.$ac_ext <<_ACEOF
31326 /* end confdefs.h.  */
31327 #include <$ac_header>
31328 _ACEOF
31329 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31330   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31331   ac_status=$?
31332   grep -v '^ *+' conftest.er1 >conftest.err
31333   rm -f conftest.er1
31334   cat conftest.err >&5
31335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31336   (exit $ac_status); } >/dev/null; then
31337   if test -s conftest.err; then
31338     ac_cpp_err=$ac_c_preproc_warn_flag
31339     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31340   else
31341     ac_cpp_err=
31342   fi
31343 else
31344   ac_cpp_err=yes
31345 fi
31346 if test -z "$ac_cpp_err"; then
31347   ac_header_preproc=yes
31348 else
31349   echo "$as_me: failed program was:" >&5
31350 sed 's/^/| /' conftest.$ac_ext >&5
31351
31352   ac_header_preproc=no
31353 fi
31354 rm -f conftest.err conftest.$ac_ext
31355 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31356 echo "${ECHO_T}$ac_header_preproc" >&6
31357
31358 # So?  What about this header?
31359 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31360   yes:no: )
31361     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31362 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31363     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31364 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31365     ac_header_preproc=yes
31366     ;;
31367   no:yes:* )
31368     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31369 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31370     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
31371 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
31372     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31373 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31374     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
31375 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
31376     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31377 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31378     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31379 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31380     (
31381       cat <<\_ASBOX
31382 ## ----------------------------------------- ##
31383 ## Report this to the package-unused lists.  ##
31384 ## ----------------------------------------- ##
31385 _ASBOX
31386     ) |
31387       sed "s/^/$as_me: WARNING:     /" >&2
31388     ;;
31389 esac
31390 echo "$as_me:$LINENO: checking for $ac_header" >&5
31391 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31392 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31393   echo $ECHO_N "(cached) $ECHO_C" >&6
31394 else
31395   eval "$as_ac_Header=\$ac_header_preproc"
31396 fi
31397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31398 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31399
31400 fi
31401 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31402   cat >>confdefs.h <<_ACEOF
31403 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31404 _ACEOF
31405
31406 fi
31407
31408 done
31409
31410
31411 for ac_func in getpagesize
31412 do
31413 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31414 echo "$as_me:$LINENO: checking for $ac_func" >&5
31415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31416 if eval "test \"\${$as_ac_var+set}\" = set"; then
31417   echo $ECHO_N "(cached) $ECHO_C" >&6
31418 else
31419   if test x$gcc_no_link = xyes; then
31420   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31422    { (exit 1); exit 1; }; }
31423 fi
31424 cat >conftest.$ac_ext <<_ACEOF
31425 /* confdefs.h.  */
31426 _ACEOF
31427 cat confdefs.h >>conftest.$ac_ext
31428 cat >>conftest.$ac_ext <<_ACEOF
31429 /* end confdefs.h.  */
31430 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31431    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31432 #define $ac_func innocuous_$ac_func
31433
31434 /* System header to define __stub macros and hopefully few prototypes,
31435     which can conflict with char $ac_func (); below.
31436     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31437     <limits.h> exists even on freestanding compilers.  */
31438
31439 #ifdef __STDC__
31440 # include <limits.h>
31441 #else
31442 # include <assert.h>
31443 #endif
31444
31445 #undef $ac_func
31446
31447 /* Override any gcc2 internal prototype to avoid an error.  */
31448 #ifdef __cplusplus
31449 extern "C"
31450 {
31451 #endif
31452 /* We use char because int might match the return type of a gcc2
31453    builtin and then its argument prototype would still apply.  */
31454 char $ac_func ();
31455 /* The GNU C library defines this for functions which it implements
31456     to always fail with ENOSYS.  Some functions are actually named
31457     something starting with __ and the normal name is an alias.  */
31458 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31459 choke me
31460 #else
31461 char (*f) () = $ac_func;
31462 #endif
31463 #ifdef __cplusplus
31464 }
31465 #endif
31466
31467 int
31468 main ()
31469 {
31470 return f != $ac_func;
31471   ;
31472   return 0;
31473 }
31474 _ACEOF
31475 rm -f conftest.$ac_objext conftest$ac_exeext
31476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31477   (eval $ac_link) 2>conftest.er1
31478   ac_status=$?
31479   grep -v '^ *+' conftest.er1 >conftest.err
31480   rm -f conftest.er1
31481   cat conftest.err >&5
31482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31483   (exit $ac_status); } &&
31484          { ac_try='test -z "$ac_c_werror_flag"
31485                          || test ! -s conftest.err'
31486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31487   (eval $ac_try) 2>&5
31488   ac_status=$?
31489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31490   (exit $ac_status); }; } &&
31491          { ac_try='test -s conftest$ac_exeext'
31492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31493   (eval $ac_try) 2>&5
31494   ac_status=$?
31495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31496   (exit $ac_status); }; }; then
31497   eval "$as_ac_var=yes"
31498 else
31499   echo "$as_me: failed program was:" >&5
31500 sed 's/^/| /' conftest.$ac_ext >&5
31501
31502 eval "$as_ac_var=no"
31503 fi
31504 rm -f conftest.err conftest.$ac_objext \
31505       conftest$ac_exeext conftest.$ac_ext
31506 fi
31507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31508 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31509 if test `eval echo '${'$as_ac_var'}'` = yes; then
31510   cat >>confdefs.h <<_ACEOF
31511 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31512 _ACEOF
31513
31514 fi
31515 done
31516
31517 echo "$as_me:$LINENO: checking for working mmap" >&5
31518 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
31519 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
31520   echo $ECHO_N "(cached) $ECHO_C" >&6
31521 else
31522   if test "$cross_compiling" = yes; then
31523   ac_cv_func_mmap_fixed_mapped=no
31524 else
31525   cat >conftest.$ac_ext <<_ACEOF
31526 /* confdefs.h.  */
31527 _ACEOF
31528 cat confdefs.h >>conftest.$ac_ext
31529 cat >>conftest.$ac_ext <<_ACEOF
31530 /* end confdefs.h.  */
31531 $ac_includes_default
31532 /* malloc might have been renamed as rpl_malloc. */
31533 #undef malloc
31534
31535 /* Thanks to Mike Haertel and Jim Avera for this test.
31536    Here is a matrix of mmap possibilities:
31537         mmap private not fixed
31538         mmap private fixed at somewhere currently unmapped
31539         mmap private fixed at somewhere already mapped
31540         mmap shared not fixed
31541         mmap shared fixed at somewhere currently unmapped
31542         mmap shared fixed at somewhere already mapped
31543    For private mappings, we should verify that changes cannot be read()
31544    back from the file, nor mmap's back from the file at a different
31545    address.  (There have been systems where private was not correctly
31546    implemented like the infamous i386 svr4.0, and systems where the
31547    VM page cache was not coherent with the file system buffer cache
31548    like early versions of FreeBSD and possibly contemporary NetBSD.)
31549    For shared mappings, we should conversely verify that changes get
31550    propagated back to all the places they're supposed to be.
31551
31552    Grep wants private fixed already mapped.
31553    The main things grep needs to know about mmap are:
31554    * does it exist and is it safe to write into the mmap'd area
31555    * how to use it (BSD variants)  */
31556
31557 #include <fcntl.h>
31558 #include <sys/mman.h>
31559
31560 #if !STDC_HEADERS && !HAVE_STDLIB_H
31561 char *malloc ();
31562 #endif
31563
31564 /* This mess was copied from the GNU getpagesize.h.  */
31565 #if !HAVE_GETPAGESIZE
31566 /* Assume that all systems that can run configure have sys/param.h.  */
31567 # if !HAVE_SYS_PARAM_H
31568 #  define HAVE_SYS_PARAM_H 1
31569 # endif
31570
31571 # ifdef _SC_PAGESIZE
31572 #  define getpagesize() sysconf(_SC_PAGESIZE)
31573 # else /* no _SC_PAGESIZE */
31574 #  if HAVE_SYS_PARAM_H
31575 #   include <sys/param.h>
31576 #   ifdef EXEC_PAGESIZE
31577 #    define getpagesize() EXEC_PAGESIZE
31578 #   else /* no EXEC_PAGESIZE */
31579 #    ifdef NBPG
31580 #     define getpagesize() NBPG * CLSIZE
31581 #     ifndef CLSIZE
31582 #      define CLSIZE 1
31583 #     endif /* no CLSIZE */
31584 #    else /* no NBPG */
31585 #     ifdef NBPC
31586 #      define getpagesize() NBPC
31587 #     else /* no NBPC */
31588 #      ifdef PAGESIZE
31589 #       define getpagesize() PAGESIZE
31590 #      endif /* PAGESIZE */
31591 #     endif /* no NBPC */
31592 #    endif /* no NBPG */
31593 #   endif /* no EXEC_PAGESIZE */
31594 #  else /* no HAVE_SYS_PARAM_H */
31595 #   define getpagesize() 8192   /* punt totally */
31596 #  endif /* no HAVE_SYS_PARAM_H */
31597 # endif /* no _SC_PAGESIZE */
31598
31599 #endif /* no HAVE_GETPAGESIZE */
31600
31601 int
31602 main ()
31603 {
31604   char *data, *data2, *data3;
31605   int i, pagesize;
31606   int fd;
31607
31608   pagesize = getpagesize ();
31609
31610   /* First, make a file with some known garbage in it. */
31611   data = (char *) malloc (pagesize);
31612   if (!data)
31613     exit (1);
31614   for (i = 0; i < pagesize; ++i)
31615     *(data + i) = rand ();
31616   umask (0);
31617   fd = creat ("conftest.mmap", 0600);
31618   if (fd < 0)
31619     exit (1);
31620   if (write (fd, data, pagesize) != pagesize)
31621     exit (1);
31622   close (fd);
31623
31624   /* Next, try to mmap the file at a fixed address which already has
31625      something else allocated at it.  If we can, also make sure that
31626      we see the same garbage.  */
31627   fd = open ("conftest.mmap", O_RDWR);
31628   if (fd < 0)
31629     exit (1);
31630   data2 = (char *) malloc (2 * pagesize);
31631   if (!data2)
31632     exit (1);
31633   data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
31634   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
31635                      MAP_PRIVATE | MAP_FIXED, fd, 0L))
31636     exit (1);
31637   for (i = 0; i < pagesize; ++i)
31638     if (*(data + i) != *(data2 + i))
31639       exit (1);
31640
31641   /* Finally, make sure that changes to the mapped area do not
31642      percolate back to the file as seen by read().  (This is a bug on
31643      some variants of i386 svr4.0.)  */
31644   for (i = 0; i < pagesize; ++i)
31645     *(data2 + i) = *(data2 + i) + 1;
31646   data3 = (char *) malloc (pagesize);
31647   if (!data3)
31648     exit (1);
31649   if (read (fd, data3, pagesize) != pagesize)
31650     exit (1);
31651   for (i = 0; i < pagesize; ++i)
31652     if (*(data + i) != *(data3 + i))
31653       exit (1);
31654   close (fd);
31655   exit (0);
31656 }
31657 _ACEOF
31658 rm -f conftest$ac_exeext
31659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31660   (eval $ac_link) 2>&5
31661   ac_status=$?
31662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31663   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31665   (eval $ac_try) 2>&5
31666   ac_status=$?
31667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31668   (exit $ac_status); }; }; then
31669   ac_cv_func_mmap_fixed_mapped=yes
31670 else
31671   echo "$as_me: program exited with status $ac_status" >&5
31672 echo "$as_me: failed program was:" >&5
31673 sed 's/^/| /' conftest.$ac_ext >&5
31674
31675 ( exit $ac_status )
31676 ac_cv_func_mmap_fixed_mapped=no
31677 fi
31678 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31679 fi
31680 fi
31681 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
31682 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
31683 if test $ac_cv_func_mmap_fixed_mapped = yes; then
31684
31685 cat >>confdefs.h <<\_ACEOF
31686 #define HAVE_MMAP 1
31687 _ACEOF
31688
31689 fi
31690 rm -f conftest.mmap
31691
31692 fi
31693
31694 else
31695
31696   # This lets us hard-code the functionality we know we'll have in the cross
31697   # target environment.  "Let" is a sugar-coated word placed on an especially
31698   # dull and tedious hack, actually.
31699   #
31700   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
31701   # that involve linking, can't be used:
31702   #    "cannot open sim-crt0.o"
31703   #    "cannot open crt0.o"
31704   # etc.  All this is because there currently exists no unified, consistent
31705   # way for top level CC information to be passed down to target directories:
31706   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
31707   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
31708   # crosses can be removed.
31709
31710   # If Canadian cross, then don't pick up tools from the build directory.
31711   # Used only in GLIBCXX_EXPORT_INCLUDES.
31712   if test -n "$with_cross_host" &&
31713      test x"$build_alias" != x"$with_cross_host" &&
31714      test x"$build" != x"$target";
31715   then
31716     CANADIAN=yes
31717   else
31718     CANADIAN=no
31719   fi
31720
31721   # Construct crosses by hand, eliminating bits that need ld...
31722   # GLIBCXX_CHECK_COMPILER_FEATURES
31723   # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
31724   # GLIBCXX_CHECK_MATH_SUPPORT
31725
31726   # First, test for "known" system libraries.  We may be using newlib even
31727   # on a hosted environment.
31728   if test "x${with_newlib}" = "xyes"; then
31729     os_include_dir="os/newlib"
31730     cat >>confdefs.h <<\_ACEOF
31731 #define HAVE_HYPOT 1
31732 _ACEOF
31733
31734
31735     # GLIBCXX_CHECK_STDLIB_SUPPORT
31736     cat >>confdefs.h <<\_ACEOF
31737 #define HAVE_STRTOF 1
31738 _ACEOF
31739
31740     # AC_FUNC_MMAP
31741     cat >>confdefs.h <<\_ACEOF
31742 #define HAVE_MMAP 1
31743 _ACEOF
31744
31745
31746     cat >>confdefs.h <<\_ACEOF
31747 #define HAVE_ACOSF 1
31748 _ACEOF
31749
31750     cat >>confdefs.h <<\_ACEOF
31751 #define HAVE_ASINF 1
31752 _ACEOF
31753
31754     cat >>confdefs.h <<\_ACEOF
31755 #define HAVE_ATAN2F 1
31756 _ACEOF
31757
31758     cat >>confdefs.h <<\_ACEOF
31759 #define HAVE_ATANF 1
31760 _ACEOF
31761
31762     cat >>confdefs.h <<\_ACEOF
31763 #define HAVE_CEILF 1
31764 _ACEOF
31765
31766     cat >>confdefs.h <<\_ACEOF
31767 #define HAVE_COPYSIGN 1
31768 _ACEOF
31769
31770     cat >>confdefs.h <<\_ACEOF
31771 #define HAVE_COPYSIGNF 1
31772 _ACEOF
31773
31774     cat >>confdefs.h <<\_ACEOF
31775 #define HAVE_COSF 1
31776 _ACEOF
31777
31778     cat >>confdefs.h <<\_ACEOF
31779 #define HAVE_COSHF 1
31780 _ACEOF
31781
31782     cat >>confdefs.h <<\_ACEOF
31783 #define HAVE_EXPF 1
31784 _ACEOF
31785
31786     cat >>confdefs.h <<\_ACEOF
31787 #define HAVE_FABSF 1
31788 _ACEOF
31789
31790     cat >>confdefs.h <<\_ACEOF
31791 #define HAVE_FLOORF 1
31792 _ACEOF
31793
31794     cat >>confdefs.h <<\_ACEOF
31795 #define HAVE_FMODF 1
31796 _ACEOF
31797
31798     cat >>confdefs.h <<\_ACEOF
31799 #define HAVE_FREXPF 1
31800 _ACEOF
31801
31802     cat >>confdefs.h <<\_ACEOF
31803 #define HAVE_LDEXPF 1
31804 _ACEOF
31805
31806     cat >>confdefs.h <<\_ACEOF
31807 #define HAVE_LOG10F 1
31808 _ACEOF
31809
31810     cat >>confdefs.h <<\_ACEOF
31811 #define HAVE_LOGF 1
31812 _ACEOF
31813
31814     cat >>confdefs.h <<\_ACEOF
31815 #define HAVE_MODFF 1
31816 _ACEOF
31817
31818     cat >>confdefs.h <<\_ACEOF
31819 #define HAVE_POWF 1
31820 _ACEOF
31821
31822     cat >>confdefs.h <<\_ACEOF
31823 #define HAVE_SINF 1
31824 _ACEOF
31825
31826     cat >>confdefs.h <<\_ACEOF
31827 #define HAVE_SINHF 1
31828 _ACEOF
31829
31830     cat >>confdefs.h <<\_ACEOF
31831 #define HAVE_SQRTF 1
31832 _ACEOF
31833
31834     cat >>confdefs.h <<\_ACEOF
31835 #define HAVE_TANF 1
31836 _ACEOF
31837
31838     cat >>confdefs.h <<\_ACEOF
31839 #define HAVE_TANHF 1
31840 _ACEOF
31841
31842
31843     cat >>confdefs.h <<\_ACEOF
31844 #define HAVE_S_ISREG 1
31845 _ACEOF
31846
31847     cat >>confdefs.h <<\_ACEOF
31848 #define HAVE_S_IFREG 1
31849 _ACEOF
31850
31851   else
31852
31853 # Base decisions on target environment.
31854 case "${host}" in
31855   arm*-*-symbianelf*)
31856     # This is a freestanding configuration; there is nothing to do here.
31857     ;;
31858
31859   *-darwin*)
31860     # Darwin versions vary, but the linker should work in a cross environment,
31861     # so we just check for all the features here.
31862     # Check for available headers.
31863
31864
31865
31866
31867
31868
31869
31870
31871
31872
31873
31874
31875
31876 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
31877     machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
31878     sys/types.h
31879 do
31880 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31881 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31882   echo "$as_me:$LINENO: checking for $ac_header" >&5
31883 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31884 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31885   echo $ECHO_N "(cached) $ECHO_C" >&6
31886 fi
31887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31888 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31889 else
31890   # Is the header compilable?
31891 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31892 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31893 cat >conftest.$ac_ext <<_ACEOF
31894 /* confdefs.h.  */
31895 _ACEOF
31896 cat confdefs.h >>conftest.$ac_ext
31897 cat >>conftest.$ac_ext <<_ACEOF
31898 /* end confdefs.h.  */
31899 $ac_includes_default
31900 #include <$ac_header>
31901 _ACEOF
31902 rm -f conftest.$ac_objext
31903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31904   (eval $ac_compile) 2>conftest.er1
31905   ac_status=$?
31906   grep -v '^ *+' conftest.er1 >conftest.err
31907   rm -f conftest.er1
31908   cat conftest.err >&5
31909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31910   (exit $ac_status); } &&
31911          { ac_try='test -z "$ac_c_werror_flag"
31912                          || test ! -s conftest.err'
31913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31914   (eval $ac_try) 2>&5
31915   ac_status=$?
31916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31917   (exit $ac_status); }; } &&
31918          { ac_try='test -s conftest.$ac_objext'
31919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31920   (eval $ac_try) 2>&5
31921   ac_status=$?
31922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31923   (exit $ac_status); }; }; then
31924   ac_header_compiler=yes
31925 else
31926   echo "$as_me: failed program was:" >&5
31927 sed 's/^/| /' conftest.$ac_ext >&5
31928
31929 ac_header_compiler=no
31930 fi
31931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31932 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31933 echo "${ECHO_T}$ac_header_compiler" >&6
31934
31935 # Is the header present?
31936 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31937 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31938 cat >conftest.$ac_ext <<_ACEOF
31939 /* confdefs.h.  */
31940 _ACEOF
31941 cat confdefs.h >>conftest.$ac_ext
31942 cat >>conftest.$ac_ext <<_ACEOF
31943 /* end confdefs.h.  */
31944 #include <$ac_header>
31945 _ACEOF
31946 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31947   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31948   ac_status=$?
31949   grep -v '^ *+' conftest.er1 >conftest.err
31950   rm -f conftest.er1
31951   cat conftest.err >&5
31952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31953   (exit $ac_status); } >/dev/null; then
31954   if test -s conftest.err; then
31955     ac_cpp_err=$ac_c_preproc_warn_flag
31956     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31957   else
31958     ac_cpp_err=
31959   fi
31960 else
31961   ac_cpp_err=yes
31962 fi
31963 if test -z "$ac_cpp_err"; then
31964   ac_header_preproc=yes
31965 else
31966   echo "$as_me: failed program was:" >&5
31967 sed 's/^/| /' conftest.$ac_ext >&5
31968
31969   ac_header_preproc=no
31970 fi
31971 rm -f conftest.err conftest.$ac_ext
31972 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31973 echo "${ECHO_T}$ac_header_preproc" >&6
31974
31975 # So?  What about this header?
31976 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31977   yes:no: )
31978     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31979 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31980     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31981 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31982     ac_header_preproc=yes
31983     ;;
31984   no:yes:* )
31985     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31986 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31987     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
31988 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
31989     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31990 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31991     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
31992 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
31993     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31994 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31995     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31996 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31997     (
31998       cat <<\_ASBOX
31999 ## ----------------------------------------- ##
32000 ## Report this to the package-unused lists.  ##
32001 ## ----------------------------------------- ##
32002 _ASBOX
32003     ) |
32004       sed "s/^/$as_me: WARNING:     /" >&2
32005     ;;
32006 esac
32007 echo "$as_me:$LINENO: checking for $ac_header" >&5
32008 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32009 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32010   echo $ECHO_N "(cached) $ECHO_C" >&6
32011 else
32012   eval "$as_ac_Header=\$ac_header_preproc"
32013 fi
32014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32015 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32016
32017 fi
32018 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32019   cat >>confdefs.h <<_ACEOF
32020 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32021 _ACEOF
32022
32023 fi
32024
32025 done
32026
32027
32028
32029   # All these tests are for C++; save the language and the compiler flags.
32030   # The CXXFLAGS thing is suspicious, but based on similar bits previously
32031   # found in GLIBCXX_CONFIGURE.
32032
32033
32034   ac_ext=cc
32035 ac_cpp='$CXXCPP $CPPFLAGS'
32036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32039
32040   ac_test_CXXFLAGS="${CXXFLAGS+set}"
32041   ac_save_CXXFLAGS="$CXXFLAGS"
32042
32043   # Check for maintainer-mode bits.
32044   if test x"$USE_MAINTAINER_MODE" = xno; then
32045     WERROR=''
32046   else
32047     WERROR='-Werror'
32048   fi
32049
32050   # Check for -ffunction-sections -fdata-sections
32051   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
32052 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
32053   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
32054   cat >conftest.$ac_ext <<_ACEOF
32055 /* confdefs.h.  */
32056 _ACEOF
32057 cat confdefs.h >>conftest.$ac_ext
32058 cat >>conftest.$ac_ext <<_ACEOF
32059 /* end confdefs.h.  */
32060
32061 int
32062 main ()
32063 {
32064 int foo;
32065   ;
32066   return 0;
32067 }
32068 _ACEOF
32069 rm -f conftest.$ac_objext
32070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32071   (eval $ac_compile) 2>conftest.er1
32072   ac_status=$?
32073   grep -v '^ *+' conftest.er1 >conftest.err
32074   rm -f conftest.er1
32075   cat conftest.err >&5
32076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32077   (exit $ac_status); } &&
32078          { ac_try='test -z "$ac_cxx_werror_flag"
32079                          || test ! -s conftest.err'
32080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32081   (eval $ac_try) 2>&5
32082   ac_status=$?
32083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32084   (exit $ac_status); }; } &&
32085          { ac_try='test -s conftest.$ac_objext'
32086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32087   (eval $ac_try) 2>&5
32088   ac_status=$?
32089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32090   (exit $ac_status); }; }; then
32091   ac_fdsections=yes
32092 else
32093   echo "$as_me: failed program was:" >&5
32094 sed 's/^/| /' conftest.$ac_ext >&5
32095
32096 ac_fdsections=no
32097 fi
32098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32099   if test "$ac_test_CXXFLAGS" = set; then
32100     CXXFLAGS="$ac_save_CXXFLAGS"
32101   else
32102     # this is the suspicious part
32103     CXXFLAGS=''
32104   fi
32105   if test x"$ac_fdsections" = x"yes"; then
32106     SECTION_FLAGS='-ffunction-sections -fdata-sections'
32107   fi
32108   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
32109 echo "${ECHO_T}$ac_fdsections" >&6
32110
32111   ac_ext=c
32112 ac_cpp='$CPP $CPPFLAGS'
32113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32116
32117
32118
32119
32120     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
32121
32122   ac_test_CXXFLAGS="${CXXFLAGS+set}"
32123   ac_save_CXXFLAGS="$CXXFLAGS"
32124   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32125
32126     echo "$as_me:$LINENO: checking for sin in -lm" >&5
32127 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
32128 if test "${ac_cv_lib_m_sin+set}" = set; then
32129   echo $ECHO_N "(cached) $ECHO_C" >&6
32130 else
32131   ac_check_lib_save_LIBS=$LIBS
32132 LIBS="-lm  $LIBS"
32133 if test x$gcc_no_link = xyes; then
32134   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32136    { (exit 1); exit 1; }; }
32137 fi
32138 cat >conftest.$ac_ext <<_ACEOF
32139 /* confdefs.h.  */
32140 _ACEOF
32141 cat confdefs.h >>conftest.$ac_ext
32142 cat >>conftest.$ac_ext <<_ACEOF
32143 /* end confdefs.h.  */
32144
32145 /* Override any gcc2 internal prototype to avoid an error.  */
32146 #ifdef __cplusplus
32147 extern "C"
32148 #endif
32149 /* We use char because int might match the return type of a gcc2
32150    builtin and then its argument prototype would still apply.  */
32151 char sin ();
32152 int
32153 main ()
32154 {
32155 sin ();
32156   ;
32157   return 0;
32158 }
32159 _ACEOF
32160 rm -f conftest.$ac_objext conftest$ac_exeext
32161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32162   (eval $ac_link) 2>conftest.er1
32163   ac_status=$?
32164   grep -v '^ *+' conftest.er1 >conftest.err
32165   rm -f conftest.er1
32166   cat conftest.err >&5
32167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32168   (exit $ac_status); } &&
32169          { ac_try='test -z "$ac_c_werror_flag"
32170                          || test ! -s conftest.err'
32171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32172   (eval $ac_try) 2>&5
32173   ac_status=$?
32174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32175   (exit $ac_status); }; } &&
32176          { ac_try='test -s conftest$ac_exeext'
32177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32178   (eval $ac_try) 2>&5
32179   ac_status=$?
32180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32181   (exit $ac_status); }; }; then
32182   ac_cv_lib_m_sin=yes
32183 else
32184   echo "$as_me: failed program was:" >&5
32185 sed 's/^/| /' conftest.$ac_ext >&5
32186
32187 ac_cv_lib_m_sin=no
32188 fi
32189 rm -f conftest.err conftest.$ac_objext \
32190       conftest$ac_exeext conftest.$ac_ext
32191 LIBS=$ac_check_lib_save_LIBS
32192 fi
32193 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
32194 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
32195 if test $ac_cv_lib_m_sin = yes; then
32196   libm="-lm"
32197 fi
32198
32199   ac_save_LIBS="$LIBS"
32200   LIBS="$LIBS $libm"
32201
32202
32203
32204   echo "$as_me:$LINENO: checking for isinf declaration" >&5
32205 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
32206   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
32207     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
32208   echo $ECHO_N "(cached) $ECHO_C" >&6
32209 else
32210
32211
32212
32213       ac_ext=cc
32214 ac_cpp='$CXXCPP $CPPFLAGS'
32215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32218
32219       cat >conftest.$ac_ext <<_ACEOF
32220 /* confdefs.h.  */
32221 _ACEOF
32222 cat confdefs.h >>conftest.$ac_ext
32223 cat >>conftest.$ac_ext <<_ACEOF
32224 /* end confdefs.h.  */
32225 #include <math.h>
32226                       #ifdef HAVE_IEEEFP_H
32227                       #include <ieeefp.h>
32228                       #endif
32229
32230 int
32231 main ()
32232 {
32233  isinf(0);
32234   ;
32235   return 0;
32236 }
32237 _ACEOF
32238 rm -f conftest.$ac_objext
32239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32240   (eval $ac_compile) 2>conftest.er1
32241   ac_status=$?
32242   grep -v '^ *+' conftest.er1 >conftest.err
32243   rm -f conftest.er1
32244   cat conftest.err >&5
32245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32246   (exit $ac_status); } &&
32247          { ac_try='test -z "$ac_cxx_werror_flag"
32248                          || test ! -s conftest.err'
32249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32250   (eval $ac_try) 2>&5
32251   ac_status=$?
32252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32253   (exit $ac_status); }; } &&
32254          { ac_try='test -s conftest.$ac_objext'
32255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32256   (eval $ac_try) 2>&5
32257   ac_status=$?
32258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32259   (exit $ac_status); }; }; then
32260   glibcxx_cv_func_isinf_use=yes
32261 else
32262   echo "$as_me: failed program was:" >&5
32263 sed 's/^/| /' conftest.$ac_ext >&5
32264
32265 glibcxx_cv_func_isinf_use=no
32266 fi
32267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32268       ac_ext=c
32269 ac_cpp='$CPP $CPPFLAGS'
32270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32273
32274
32275 fi
32276
32277   fi
32278   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
32279 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
32280
32281   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
32282
32283 for ac_func in isinf
32284 do
32285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32286 echo "$as_me:$LINENO: checking for $ac_func" >&5
32287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32288 if eval "test \"\${$as_ac_var+set}\" = set"; then
32289   echo $ECHO_N "(cached) $ECHO_C" >&6
32290 else
32291   if test x$gcc_no_link = xyes; then
32292   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32294    { (exit 1); exit 1; }; }
32295 fi
32296 cat >conftest.$ac_ext <<_ACEOF
32297 /* confdefs.h.  */
32298 _ACEOF
32299 cat confdefs.h >>conftest.$ac_ext
32300 cat >>conftest.$ac_ext <<_ACEOF
32301 /* end confdefs.h.  */
32302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32303    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32304 #define $ac_func innocuous_$ac_func
32305
32306 /* System header to define __stub macros and hopefully few prototypes,
32307     which can conflict with char $ac_func (); below.
32308     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32309     <limits.h> exists even on freestanding compilers.  */
32310
32311 #ifdef __STDC__
32312 # include <limits.h>
32313 #else
32314 # include <assert.h>
32315 #endif
32316
32317 #undef $ac_func
32318
32319 /* Override any gcc2 internal prototype to avoid an error.  */
32320 #ifdef __cplusplus
32321 extern "C"
32322 {
32323 #endif
32324 /* We use char because int might match the return type of a gcc2
32325    builtin and then its argument prototype would still apply.  */
32326 char $ac_func ();
32327 /* The GNU C library defines this for functions which it implements
32328     to always fail with ENOSYS.  Some functions are actually named
32329     something starting with __ and the normal name is an alias.  */
32330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32331 choke me
32332 #else
32333 char (*f) () = $ac_func;
32334 #endif
32335 #ifdef __cplusplus
32336 }
32337 #endif
32338
32339 int
32340 main ()
32341 {
32342 return f != $ac_func;
32343   ;
32344   return 0;
32345 }
32346 _ACEOF
32347 rm -f conftest.$ac_objext conftest$ac_exeext
32348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32349   (eval $ac_link) 2>conftest.er1
32350   ac_status=$?
32351   grep -v '^ *+' conftest.er1 >conftest.err
32352   rm -f conftest.er1
32353   cat conftest.err >&5
32354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32355   (exit $ac_status); } &&
32356          { ac_try='test -z "$ac_c_werror_flag"
32357                          || test ! -s conftest.err'
32358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32359   (eval $ac_try) 2>&5
32360   ac_status=$?
32361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32362   (exit $ac_status); }; } &&
32363          { ac_try='test -s conftest$ac_exeext'
32364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32365   (eval $ac_try) 2>&5
32366   ac_status=$?
32367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32368   (exit $ac_status); }; }; then
32369   eval "$as_ac_var=yes"
32370 else
32371   echo "$as_me: failed program was:" >&5
32372 sed 's/^/| /' conftest.$ac_ext >&5
32373
32374 eval "$as_ac_var=no"
32375 fi
32376 rm -f conftest.err conftest.$ac_objext \
32377       conftest$ac_exeext conftest.$ac_ext
32378 fi
32379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32381 if test `eval echo '${'$as_ac_var'}'` = yes; then
32382   cat >>confdefs.h <<_ACEOF
32383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32384 _ACEOF
32385
32386 fi
32387 done
32388
32389   else
32390
32391   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
32392 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
32393   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
32394     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
32395   echo $ECHO_N "(cached) $ECHO_C" >&6
32396 else
32397
32398
32399
32400       ac_ext=cc
32401 ac_cpp='$CXXCPP $CPPFLAGS'
32402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32405
32406       cat >conftest.$ac_ext <<_ACEOF
32407 /* confdefs.h.  */
32408 _ACEOF
32409 cat confdefs.h >>conftest.$ac_ext
32410 cat >>conftest.$ac_ext <<_ACEOF
32411 /* end confdefs.h.  */
32412 #include <math.h>
32413                       #ifdef HAVE_IEEEFP_H
32414                       #include <ieeefp.h>
32415                       #endif
32416
32417 int
32418 main ()
32419 {
32420  _isinf(0);
32421   ;
32422   return 0;
32423 }
32424 _ACEOF
32425 rm -f conftest.$ac_objext
32426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32427   (eval $ac_compile) 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_cxx_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_objext'
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   glibcxx_cv_func__isinf_use=yes
32448 else
32449   echo "$as_me: failed program was:" >&5
32450 sed 's/^/| /' conftest.$ac_ext >&5
32451
32452 glibcxx_cv_func__isinf_use=no
32453 fi
32454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32455       ac_ext=c
32456 ac_cpp='$CPP $CPPFLAGS'
32457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32460
32461
32462 fi
32463
32464   fi
32465   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
32466 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
32467
32468     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
32469
32470 for ac_func in _isinf
32471 do
32472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32473 echo "$as_me:$LINENO: checking for $ac_func" >&5
32474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32475 if eval "test \"\${$as_ac_var+set}\" = set"; then
32476   echo $ECHO_N "(cached) $ECHO_C" >&6
32477 else
32478   if test x$gcc_no_link = xyes; then
32479   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32481    { (exit 1); exit 1; }; }
32482 fi
32483 cat >conftest.$ac_ext <<_ACEOF
32484 /* confdefs.h.  */
32485 _ACEOF
32486 cat confdefs.h >>conftest.$ac_ext
32487 cat >>conftest.$ac_ext <<_ACEOF
32488 /* end confdefs.h.  */
32489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32490    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32491 #define $ac_func innocuous_$ac_func
32492
32493 /* System header to define __stub macros and hopefully few prototypes,
32494     which can conflict with char $ac_func (); below.
32495     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32496     <limits.h> exists even on freestanding compilers.  */
32497
32498 #ifdef __STDC__
32499 # include <limits.h>
32500 #else
32501 # include <assert.h>
32502 #endif
32503
32504 #undef $ac_func
32505
32506 /* Override any gcc2 internal prototype to avoid an error.  */
32507 #ifdef __cplusplus
32508 extern "C"
32509 {
32510 #endif
32511 /* We use char because int might match the return type of a gcc2
32512    builtin and then its argument prototype would still apply.  */
32513 char $ac_func ();
32514 /* The GNU C library defines this for functions which it implements
32515     to always fail with ENOSYS.  Some functions are actually named
32516     something starting with __ and the normal name is an alias.  */
32517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32518 choke me
32519 #else
32520 char (*f) () = $ac_func;
32521 #endif
32522 #ifdef __cplusplus
32523 }
32524 #endif
32525
32526 int
32527 main ()
32528 {
32529 return f != $ac_func;
32530   ;
32531   return 0;
32532 }
32533 _ACEOF
32534 rm -f conftest.$ac_objext conftest$ac_exeext
32535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32536   (eval $ac_link) 2>conftest.er1
32537   ac_status=$?
32538   grep -v '^ *+' conftest.er1 >conftest.err
32539   rm -f conftest.er1
32540   cat conftest.err >&5
32541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32542   (exit $ac_status); } &&
32543          { ac_try='test -z "$ac_c_werror_flag"
32544                          || test ! -s conftest.err'
32545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32546   (eval $ac_try) 2>&5
32547   ac_status=$?
32548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32549   (exit $ac_status); }; } &&
32550          { ac_try='test -s conftest$ac_exeext'
32551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32552   (eval $ac_try) 2>&5
32553   ac_status=$?
32554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32555   (exit $ac_status); }; }; then
32556   eval "$as_ac_var=yes"
32557 else
32558   echo "$as_me: failed program was:" >&5
32559 sed 's/^/| /' conftest.$ac_ext >&5
32560
32561 eval "$as_ac_var=no"
32562 fi
32563 rm -f conftest.err conftest.$ac_objext \
32564       conftest$ac_exeext conftest.$ac_ext
32565 fi
32566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32568 if test `eval echo '${'$as_ac_var'}'` = yes; then
32569   cat >>confdefs.h <<_ACEOF
32570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32571 _ACEOF
32572
32573 fi
32574 done
32575
32576     fi
32577   fi
32578
32579
32580
32581
32582
32583
32584   echo "$as_me:$LINENO: checking for isnan declaration" >&5
32585 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
32586   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
32587     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
32588   echo $ECHO_N "(cached) $ECHO_C" >&6
32589 else
32590
32591
32592
32593       ac_ext=cc
32594 ac_cpp='$CXXCPP $CPPFLAGS'
32595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32598
32599       cat >conftest.$ac_ext <<_ACEOF
32600 /* confdefs.h.  */
32601 _ACEOF
32602 cat confdefs.h >>conftest.$ac_ext
32603 cat >>conftest.$ac_ext <<_ACEOF
32604 /* end confdefs.h.  */
32605 #include <math.h>
32606                       #ifdef HAVE_IEEEFP_H
32607                       #include <ieeefp.h>
32608                       #endif
32609
32610 int
32611 main ()
32612 {
32613  isnan(0);
32614   ;
32615   return 0;
32616 }
32617 _ACEOF
32618 rm -f conftest.$ac_objext
32619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32620   (eval $ac_compile) 2>conftest.er1
32621   ac_status=$?
32622   grep -v '^ *+' conftest.er1 >conftest.err
32623   rm -f conftest.er1
32624   cat conftest.err >&5
32625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32626   (exit $ac_status); } &&
32627          { ac_try='test -z "$ac_cxx_werror_flag"
32628                          || test ! -s conftest.err'
32629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32630   (eval $ac_try) 2>&5
32631   ac_status=$?
32632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32633   (exit $ac_status); }; } &&
32634          { ac_try='test -s conftest.$ac_objext'
32635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32636   (eval $ac_try) 2>&5
32637   ac_status=$?
32638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32639   (exit $ac_status); }; }; then
32640   glibcxx_cv_func_isnan_use=yes
32641 else
32642   echo "$as_me: failed program was:" >&5
32643 sed 's/^/| /' conftest.$ac_ext >&5
32644
32645 glibcxx_cv_func_isnan_use=no
32646 fi
32647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32648       ac_ext=c
32649 ac_cpp='$CPP $CPPFLAGS'
32650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32653
32654
32655 fi
32656
32657   fi
32658   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
32659 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
32660
32661   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
32662
32663 for ac_func in isnan
32664 do
32665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32666 echo "$as_me:$LINENO: checking for $ac_func" >&5
32667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32668 if eval "test \"\${$as_ac_var+set}\" = set"; then
32669   echo $ECHO_N "(cached) $ECHO_C" >&6
32670 else
32671   if test x$gcc_no_link = xyes; then
32672   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32674    { (exit 1); exit 1; }; }
32675 fi
32676 cat >conftest.$ac_ext <<_ACEOF
32677 /* confdefs.h.  */
32678 _ACEOF
32679 cat confdefs.h >>conftest.$ac_ext
32680 cat >>conftest.$ac_ext <<_ACEOF
32681 /* end confdefs.h.  */
32682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32683    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32684 #define $ac_func innocuous_$ac_func
32685
32686 /* System header to define __stub macros and hopefully few prototypes,
32687     which can conflict with char $ac_func (); below.
32688     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32689     <limits.h> exists even on freestanding compilers.  */
32690
32691 #ifdef __STDC__
32692 # include <limits.h>
32693 #else
32694 # include <assert.h>
32695 #endif
32696
32697 #undef $ac_func
32698
32699 /* Override any gcc2 internal prototype to avoid an error.  */
32700 #ifdef __cplusplus
32701 extern "C"
32702 {
32703 #endif
32704 /* We use char because int might match the return type of a gcc2
32705    builtin and then its argument prototype would still apply.  */
32706 char $ac_func ();
32707 /* The GNU C library defines this for functions which it implements
32708     to always fail with ENOSYS.  Some functions are actually named
32709     something starting with __ and the normal name is an alias.  */
32710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32711 choke me
32712 #else
32713 char (*f) () = $ac_func;
32714 #endif
32715 #ifdef __cplusplus
32716 }
32717 #endif
32718
32719 int
32720 main ()
32721 {
32722 return f != $ac_func;
32723   ;
32724   return 0;
32725 }
32726 _ACEOF
32727 rm -f conftest.$ac_objext conftest$ac_exeext
32728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32729   (eval $ac_link) 2>conftest.er1
32730   ac_status=$?
32731   grep -v '^ *+' conftest.er1 >conftest.err
32732   rm -f conftest.er1
32733   cat conftest.err >&5
32734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32735   (exit $ac_status); } &&
32736          { ac_try='test -z "$ac_c_werror_flag"
32737                          || test ! -s conftest.err'
32738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32739   (eval $ac_try) 2>&5
32740   ac_status=$?
32741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32742   (exit $ac_status); }; } &&
32743          { ac_try='test -s conftest$ac_exeext'
32744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32745   (eval $ac_try) 2>&5
32746   ac_status=$?
32747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32748   (exit $ac_status); }; }; then
32749   eval "$as_ac_var=yes"
32750 else
32751   echo "$as_me: failed program was:" >&5
32752 sed 's/^/| /' conftest.$ac_ext >&5
32753
32754 eval "$as_ac_var=no"
32755 fi
32756 rm -f conftest.err conftest.$ac_objext \
32757       conftest$ac_exeext conftest.$ac_ext
32758 fi
32759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32761 if test `eval echo '${'$as_ac_var'}'` = yes; then
32762   cat >>confdefs.h <<_ACEOF
32763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32764 _ACEOF
32765
32766 fi
32767 done
32768
32769   else
32770
32771   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
32772 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
32773   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
32774     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
32775   echo $ECHO_N "(cached) $ECHO_C" >&6
32776 else
32777
32778
32779
32780       ac_ext=cc
32781 ac_cpp='$CXXCPP $CPPFLAGS'
32782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32785
32786       cat >conftest.$ac_ext <<_ACEOF
32787 /* confdefs.h.  */
32788 _ACEOF
32789 cat confdefs.h >>conftest.$ac_ext
32790 cat >>conftest.$ac_ext <<_ACEOF
32791 /* end confdefs.h.  */
32792 #include <math.h>
32793                       #ifdef HAVE_IEEEFP_H
32794                       #include <ieeefp.h>
32795                       #endif
32796
32797 int
32798 main ()
32799 {
32800  _isnan(0);
32801   ;
32802   return 0;
32803 }
32804 _ACEOF
32805 rm -f conftest.$ac_objext
32806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32807   (eval $ac_compile) 2>conftest.er1
32808   ac_status=$?
32809   grep -v '^ *+' conftest.er1 >conftest.err
32810   rm -f conftest.er1
32811   cat conftest.err >&5
32812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32813   (exit $ac_status); } &&
32814          { ac_try='test -z "$ac_cxx_werror_flag"
32815                          || test ! -s conftest.err'
32816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32817   (eval $ac_try) 2>&5
32818   ac_status=$?
32819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32820   (exit $ac_status); }; } &&
32821          { ac_try='test -s conftest.$ac_objext'
32822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32823   (eval $ac_try) 2>&5
32824   ac_status=$?
32825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32826   (exit $ac_status); }; }; then
32827   glibcxx_cv_func__isnan_use=yes
32828 else
32829   echo "$as_me: failed program was:" >&5
32830 sed 's/^/| /' conftest.$ac_ext >&5
32831
32832 glibcxx_cv_func__isnan_use=no
32833 fi
32834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32835       ac_ext=c
32836 ac_cpp='$CPP $CPPFLAGS'
32837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32840
32841
32842 fi
32843
32844   fi
32845   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
32846 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
32847
32848     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32849
32850 for ac_func in _isnan
32851 do
32852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32853 echo "$as_me:$LINENO: checking for $ac_func" >&5
32854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32855 if eval "test \"\${$as_ac_var+set}\" = set"; then
32856   echo $ECHO_N "(cached) $ECHO_C" >&6
32857 else
32858   if test x$gcc_no_link = xyes; then
32859   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32861    { (exit 1); exit 1; }; }
32862 fi
32863 cat >conftest.$ac_ext <<_ACEOF
32864 /* confdefs.h.  */
32865 _ACEOF
32866 cat confdefs.h >>conftest.$ac_ext
32867 cat >>conftest.$ac_ext <<_ACEOF
32868 /* end confdefs.h.  */
32869 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32870    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32871 #define $ac_func innocuous_$ac_func
32872
32873 /* System header to define __stub macros and hopefully few prototypes,
32874     which can conflict with char $ac_func (); below.
32875     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32876     <limits.h> exists even on freestanding compilers.  */
32877
32878 #ifdef __STDC__
32879 # include <limits.h>
32880 #else
32881 # include <assert.h>
32882 #endif
32883
32884 #undef $ac_func
32885
32886 /* Override any gcc2 internal prototype to avoid an error.  */
32887 #ifdef __cplusplus
32888 extern "C"
32889 {
32890 #endif
32891 /* We use char because int might match the return type of a gcc2
32892    builtin and then its argument prototype would still apply.  */
32893 char $ac_func ();
32894 /* The GNU C library defines this for functions which it implements
32895     to always fail with ENOSYS.  Some functions are actually named
32896     something starting with __ and the normal name is an alias.  */
32897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32898 choke me
32899 #else
32900 char (*f) () = $ac_func;
32901 #endif
32902 #ifdef __cplusplus
32903 }
32904 #endif
32905
32906 int
32907 main ()
32908 {
32909 return f != $ac_func;
32910   ;
32911   return 0;
32912 }
32913 _ACEOF
32914 rm -f conftest.$ac_objext conftest$ac_exeext
32915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32916   (eval $ac_link) 2>conftest.er1
32917   ac_status=$?
32918   grep -v '^ *+' conftest.er1 >conftest.err
32919   rm -f conftest.er1
32920   cat conftest.err >&5
32921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32922   (exit $ac_status); } &&
32923          { ac_try='test -z "$ac_c_werror_flag"
32924                          || test ! -s conftest.err'
32925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32926   (eval $ac_try) 2>&5
32927   ac_status=$?
32928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32929   (exit $ac_status); }; } &&
32930          { ac_try='test -s conftest$ac_exeext'
32931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32932   (eval $ac_try) 2>&5
32933   ac_status=$?
32934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32935   (exit $ac_status); }; }; then
32936   eval "$as_ac_var=yes"
32937 else
32938   echo "$as_me: failed program was:" >&5
32939 sed 's/^/| /' conftest.$ac_ext >&5
32940
32941 eval "$as_ac_var=no"
32942 fi
32943 rm -f conftest.err conftest.$ac_objext \
32944       conftest$ac_exeext conftest.$ac_ext
32945 fi
32946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32948 if test `eval echo '${'$as_ac_var'}'` = yes; then
32949   cat >>confdefs.h <<_ACEOF
32950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32951 _ACEOF
32952
32953 fi
32954 done
32955
32956     fi
32957   fi
32958
32959
32960
32961
32962
32963
32964   echo "$as_me:$LINENO: checking for finite declaration" >&5
32965 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
32966   if test x${glibcxx_cv_func_finite_use+set} != xset; then
32967     if test "${glibcxx_cv_func_finite_use+set}" = set; then
32968   echo $ECHO_N "(cached) $ECHO_C" >&6
32969 else
32970
32971
32972
32973       ac_ext=cc
32974 ac_cpp='$CXXCPP $CPPFLAGS'
32975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32978
32979       cat >conftest.$ac_ext <<_ACEOF
32980 /* confdefs.h.  */
32981 _ACEOF
32982 cat confdefs.h >>conftest.$ac_ext
32983 cat >>conftest.$ac_ext <<_ACEOF
32984 /* end confdefs.h.  */
32985 #include <math.h>
32986                       #ifdef HAVE_IEEEFP_H
32987                       #include <ieeefp.h>
32988                       #endif
32989
32990 int
32991 main ()
32992 {
32993  finite(0);
32994   ;
32995   return 0;
32996 }
32997 _ACEOF
32998 rm -f conftest.$ac_objext
32999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33000   (eval $ac_compile) 2>conftest.er1
33001   ac_status=$?
33002   grep -v '^ *+' conftest.er1 >conftest.err
33003   rm -f conftest.er1
33004   cat conftest.err >&5
33005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33006   (exit $ac_status); } &&
33007          { ac_try='test -z "$ac_cxx_werror_flag"
33008                          || test ! -s conftest.err'
33009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33010   (eval $ac_try) 2>&5
33011   ac_status=$?
33012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33013   (exit $ac_status); }; } &&
33014          { ac_try='test -s conftest.$ac_objext'
33015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33016   (eval $ac_try) 2>&5
33017   ac_status=$?
33018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33019   (exit $ac_status); }; }; then
33020   glibcxx_cv_func_finite_use=yes
33021 else
33022   echo "$as_me: failed program was:" >&5
33023 sed 's/^/| /' conftest.$ac_ext >&5
33024
33025 glibcxx_cv_func_finite_use=no
33026 fi
33027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33028       ac_ext=c
33029 ac_cpp='$CPP $CPPFLAGS'
33030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33033
33034
33035 fi
33036
33037   fi
33038   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
33039 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
33040
33041   if test x$glibcxx_cv_func_finite_use = x"yes"; then
33042
33043 for ac_func in finite
33044 do
33045 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33046 echo "$as_me:$LINENO: checking for $ac_func" >&5
33047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33048 if eval "test \"\${$as_ac_var+set}\" = set"; then
33049   echo $ECHO_N "(cached) $ECHO_C" >&6
33050 else
33051   if test x$gcc_no_link = xyes; then
33052   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33053 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33054    { (exit 1); exit 1; }; }
33055 fi
33056 cat >conftest.$ac_ext <<_ACEOF
33057 /* confdefs.h.  */
33058 _ACEOF
33059 cat confdefs.h >>conftest.$ac_ext
33060 cat >>conftest.$ac_ext <<_ACEOF
33061 /* end confdefs.h.  */
33062 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33063    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33064 #define $ac_func innocuous_$ac_func
33065
33066 /* System header to define __stub macros and hopefully few prototypes,
33067     which can conflict with char $ac_func (); below.
33068     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33069     <limits.h> exists even on freestanding compilers.  */
33070
33071 #ifdef __STDC__
33072 # include <limits.h>
33073 #else
33074 # include <assert.h>
33075 #endif
33076
33077 #undef $ac_func
33078
33079 /* Override any gcc2 internal prototype to avoid an error.  */
33080 #ifdef __cplusplus
33081 extern "C"
33082 {
33083 #endif
33084 /* We use char because int might match the return type of a gcc2
33085    builtin and then its argument prototype would still apply.  */
33086 char $ac_func ();
33087 /* The GNU C library defines this for functions which it implements
33088     to always fail with ENOSYS.  Some functions are actually named
33089     something starting with __ and the normal name is an alias.  */
33090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33091 choke me
33092 #else
33093 char (*f) () = $ac_func;
33094 #endif
33095 #ifdef __cplusplus
33096 }
33097 #endif
33098
33099 int
33100 main ()
33101 {
33102 return f != $ac_func;
33103   ;
33104   return 0;
33105 }
33106 _ACEOF
33107 rm -f conftest.$ac_objext conftest$ac_exeext
33108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33109   (eval $ac_link) 2>conftest.er1
33110   ac_status=$?
33111   grep -v '^ *+' conftest.er1 >conftest.err
33112   rm -f conftest.er1
33113   cat conftest.err >&5
33114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33115   (exit $ac_status); } &&
33116          { ac_try='test -z "$ac_c_werror_flag"
33117                          || test ! -s conftest.err'
33118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33119   (eval $ac_try) 2>&5
33120   ac_status=$?
33121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33122   (exit $ac_status); }; } &&
33123          { ac_try='test -s conftest$ac_exeext'
33124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33125   (eval $ac_try) 2>&5
33126   ac_status=$?
33127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33128   (exit $ac_status); }; }; then
33129   eval "$as_ac_var=yes"
33130 else
33131   echo "$as_me: failed program was:" >&5
33132 sed 's/^/| /' conftest.$ac_ext >&5
33133
33134 eval "$as_ac_var=no"
33135 fi
33136 rm -f conftest.err conftest.$ac_objext \
33137       conftest$ac_exeext conftest.$ac_ext
33138 fi
33139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33140 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33141 if test `eval echo '${'$as_ac_var'}'` = yes; then
33142   cat >>confdefs.h <<_ACEOF
33143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33144 _ACEOF
33145
33146 fi
33147 done
33148
33149   else
33150
33151   echo "$as_me:$LINENO: checking for _finite declaration" >&5
33152 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
33153   if test x${glibcxx_cv_func__finite_use+set} != xset; then
33154     if test "${glibcxx_cv_func__finite_use+set}" = set; then
33155   echo $ECHO_N "(cached) $ECHO_C" >&6
33156 else
33157
33158
33159
33160       ac_ext=cc
33161 ac_cpp='$CXXCPP $CPPFLAGS'
33162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33165
33166       cat >conftest.$ac_ext <<_ACEOF
33167 /* confdefs.h.  */
33168 _ACEOF
33169 cat confdefs.h >>conftest.$ac_ext
33170 cat >>conftest.$ac_ext <<_ACEOF
33171 /* end confdefs.h.  */
33172 #include <math.h>
33173                       #ifdef HAVE_IEEEFP_H
33174                       #include <ieeefp.h>
33175                       #endif
33176
33177 int
33178 main ()
33179 {
33180  _finite(0);
33181   ;
33182   return 0;
33183 }
33184 _ACEOF
33185 rm -f conftest.$ac_objext
33186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33187   (eval $ac_compile) 2>conftest.er1
33188   ac_status=$?
33189   grep -v '^ *+' conftest.er1 >conftest.err
33190   rm -f conftest.er1
33191   cat conftest.err >&5
33192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33193   (exit $ac_status); } &&
33194          { ac_try='test -z "$ac_cxx_werror_flag"
33195                          || test ! -s conftest.err'
33196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33197   (eval $ac_try) 2>&5
33198   ac_status=$?
33199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33200   (exit $ac_status); }; } &&
33201          { ac_try='test -s conftest.$ac_objext'
33202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33203   (eval $ac_try) 2>&5
33204   ac_status=$?
33205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33206   (exit $ac_status); }; }; then
33207   glibcxx_cv_func__finite_use=yes
33208 else
33209   echo "$as_me: failed program was:" >&5
33210 sed 's/^/| /' conftest.$ac_ext >&5
33211
33212 glibcxx_cv_func__finite_use=no
33213 fi
33214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33215       ac_ext=c
33216 ac_cpp='$CPP $CPPFLAGS'
33217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33220
33221
33222 fi
33223
33224   fi
33225   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
33226 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
33227
33228     if test x$glibcxx_cv_func__finite_use = x"yes"; then
33229
33230 for ac_func in _finite
33231 do
33232 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33233 echo "$as_me:$LINENO: checking for $ac_func" >&5
33234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33235 if eval "test \"\${$as_ac_var+set}\" = set"; then
33236   echo $ECHO_N "(cached) $ECHO_C" >&6
33237 else
33238   if test x$gcc_no_link = xyes; then
33239   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33241    { (exit 1); exit 1; }; }
33242 fi
33243 cat >conftest.$ac_ext <<_ACEOF
33244 /* confdefs.h.  */
33245 _ACEOF
33246 cat confdefs.h >>conftest.$ac_ext
33247 cat >>conftest.$ac_ext <<_ACEOF
33248 /* end confdefs.h.  */
33249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33250    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33251 #define $ac_func innocuous_$ac_func
33252
33253 /* System header to define __stub macros and hopefully few prototypes,
33254     which can conflict with char $ac_func (); below.
33255     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33256     <limits.h> exists even on freestanding compilers.  */
33257
33258 #ifdef __STDC__
33259 # include <limits.h>
33260 #else
33261 # include <assert.h>
33262 #endif
33263
33264 #undef $ac_func
33265
33266 /* Override any gcc2 internal prototype to avoid an error.  */
33267 #ifdef __cplusplus
33268 extern "C"
33269 {
33270 #endif
33271 /* We use char because int might match the return type of a gcc2
33272    builtin and then its argument prototype would still apply.  */
33273 char $ac_func ();
33274 /* The GNU C library defines this for functions which it implements
33275     to always fail with ENOSYS.  Some functions are actually named
33276     something starting with __ and the normal name is an alias.  */
33277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33278 choke me
33279 #else
33280 char (*f) () = $ac_func;
33281 #endif
33282 #ifdef __cplusplus
33283 }
33284 #endif
33285
33286 int
33287 main ()
33288 {
33289 return f != $ac_func;
33290   ;
33291   return 0;
33292 }
33293 _ACEOF
33294 rm -f conftest.$ac_objext conftest$ac_exeext
33295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33296   (eval $ac_link) 2>conftest.er1
33297   ac_status=$?
33298   grep -v '^ *+' conftest.er1 >conftest.err
33299   rm -f conftest.er1
33300   cat conftest.err >&5
33301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33302   (exit $ac_status); } &&
33303          { ac_try='test -z "$ac_c_werror_flag"
33304                          || test ! -s conftest.err'
33305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33306   (eval $ac_try) 2>&5
33307   ac_status=$?
33308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33309   (exit $ac_status); }; } &&
33310          { ac_try='test -s conftest$ac_exeext'
33311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33312   (eval $ac_try) 2>&5
33313   ac_status=$?
33314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33315   (exit $ac_status); }; }; then
33316   eval "$as_ac_var=yes"
33317 else
33318   echo "$as_me: failed program was:" >&5
33319 sed 's/^/| /' conftest.$ac_ext >&5
33320
33321 eval "$as_ac_var=no"
33322 fi
33323 rm -f conftest.err conftest.$ac_objext \
33324       conftest$ac_exeext conftest.$ac_ext
33325 fi
33326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33327 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33328 if test `eval echo '${'$as_ac_var'}'` = yes; then
33329   cat >>confdefs.h <<_ACEOF
33330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33331 _ACEOF
33332
33333 fi
33334 done
33335
33336     fi
33337   fi
33338
33339
33340
33341
33342
33343
33344   echo "$as_me:$LINENO: checking for copysign declaration" >&5
33345 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
33346   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
33347     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
33348   echo $ECHO_N "(cached) $ECHO_C" >&6
33349 else
33350
33351
33352
33353       ac_ext=cc
33354 ac_cpp='$CXXCPP $CPPFLAGS'
33355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33358
33359       cat >conftest.$ac_ext <<_ACEOF
33360 /* confdefs.h.  */
33361 _ACEOF
33362 cat confdefs.h >>conftest.$ac_ext
33363 cat >>conftest.$ac_ext <<_ACEOF
33364 /* end confdefs.h.  */
33365 #include <math.h>
33366 int
33367 main ()
33368 {
33369  copysign(0, 0);
33370   ;
33371   return 0;
33372 }
33373 _ACEOF
33374 rm -f conftest.$ac_objext
33375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33376   (eval $ac_compile) 2>conftest.er1
33377   ac_status=$?
33378   grep -v '^ *+' conftest.er1 >conftest.err
33379   rm -f conftest.er1
33380   cat conftest.err >&5
33381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33382   (exit $ac_status); } &&
33383          { ac_try='test -z "$ac_cxx_werror_flag"
33384                          || test ! -s conftest.err'
33385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33386   (eval $ac_try) 2>&5
33387   ac_status=$?
33388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33389   (exit $ac_status); }; } &&
33390          { ac_try='test -s conftest.$ac_objext'
33391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33392   (eval $ac_try) 2>&5
33393   ac_status=$?
33394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33395   (exit $ac_status); }; }; then
33396   glibcxx_cv_func_copysign_use=yes
33397 else
33398   echo "$as_me: failed program was:" >&5
33399 sed 's/^/| /' conftest.$ac_ext >&5
33400
33401 glibcxx_cv_func_copysign_use=no
33402 fi
33403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33404       ac_ext=c
33405 ac_cpp='$CPP $CPPFLAGS'
33406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33409
33410
33411 fi
33412
33413   fi
33414   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
33415 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
33416
33417   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
33418
33419 for ac_func in copysign
33420 do
33421 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33422 echo "$as_me:$LINENO: checking for $ac_func" >&5
33423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33424 if eval "test \"\${$as_ac_var+set}\" = set"; then
33425   echo $ECHO_N "(cached) $ECHO_C" >&6
33426 else
33427   if test x$gcc_no_link = xyes; then
33428   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33430    { (exit 1); exit 1; }; }
33431 fi
33432 cat >conftest.$ac_ext <<_ACEOF
33433 /* confdefs.h.  */
33434 _ACEOF
33435 cat confdefs.h >>conftest.$ac_ext
33436 cat >>conftest.$ac_ext <<_ACEOF
33437 /* end confdefs.h.  */
33438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33439    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33440 #define $ac_func innocuous_$ac_func
33441
33442 /* System header to define __stub macros and hopefully few prototypes,
33443     which can conflict with char $ac_func (); below.
33444     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33445     <limits.h> exists even on freestanding compilers.  */
33446
33447 #ifdef __STDC__
33448 # include <limits.h>
33449 #else
33450 # include <assert.h>
33451 #endif
33452
33453 #undef $ac_func
33454
33455 /* Override any gcc2 internal prototype to avoid an error.  */
33456 #ifdef __cplusplus
33457 extern "C"
33458 {
33459 #endif
33460 /* We use char because int might match the return type of a gcc2
33461    builtin and then its argument prototype would still apply.  */
33462 char $ac_func ();
33463 /* The GNU C library defines this for functions which it implements
33464     to always fail with ENOSYS.  Some functions are actually named
33465     something starting with __ and the normal name is an alias.  */
33466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33467 choke me
33468 #else
33469 char (*f) () = $ac_func;
33470 #endif
33471 #ifdef __cplusplus
33472 }
33473 #endif
33474
33475 int
33476 main ()
33477 {
33478 return f != $ac_func;
33479   ;
33480   return 0;
33481 }
33482 _ACEOF
33483 rm -f conftest.$ac_objext conftest$ac_exeext
33484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33485   (eval $ac_link) 2>conftest.er1
33486   ac_status=$?
33487   grep -v '^ *+' conftest.er1 >conftest.err
33488   rm -f conftest.er1
33489   cat conftest.err >&5
33490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33491   (exit $ac_status); } &&
33492          { ac_try='test -z "$ac_c_werror_flag"
33493                          || test ! -s conftest.err'
33494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33495   (eval $ac_try) 2>&5
33496   ac_status=$?
33497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33498   (exit $ac_status); }; } &&
33499          { ac_try='test -s conftest$ac_exeext'
33500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33501   (eval $ac_try) 2>&5
33502   ac_status=$?
33503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33504   (exit $ac_status); }; }; then
33505   eval "$as_ac_var=yes"
33506 else
33507   echo "$as_me: failed program was:" >&5
33508 sed 's/^/| /' conftest.$ac_ext >&5
33509
33510 eval "$as_ac_var=no"
33511 fi
33512 rm -f conftest.err conftest.$ac_objext \
33513       conftest$ac_exeext conftest.$ac_ext
33514 fi
33515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33516 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33517 if test `eval echo '${'$as_ac_var'}'` = yes; then
33518   cat >>confdefs.h <<_ACEOF
33519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33520 _ACEOF
33521
33522 fi
33523 done
33524
33525   else
33526
33527   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
33528 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
33529   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
33530     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
33531   echo $ECHO_N "(cached) $ECHO_C" >&6
33532 else
33533
33534
33535
33536       ac_ext=cc
33537 ac_cpp='$CXXCPP $CPPFLAGS'
33538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33541
33542       cat >conftest.$ac_ext <<_ACEOF
33543 /* confdefs.h.  */
33544 _ACEOF
33545 cat confdefs.h >>conftest.$ac_ext
33546 cat >>conftest.$ac_ext <<_ACEOF
33547 /* end confdefs.h.  */
33548 #include <math.h>
33549 int
33550 main ()
33551 {
33552  _copysign(0, 0);
33553   ;
33554   return 0;
33555 }
33556 _ACEOF
33557 rm -f conftest.$ac_objext
33558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33559   (eval $ac_compile) 2>conftest.er1
33560   ac_status=$?
33561   grep -v '^ *+' conftest.er1 >conftest.err
33562   rm -f conftest.er1
33563   cat conftest.err >&5
33564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33565   (exit $ac_status); } &&
33566          { ac_try='test -z "$ac_cxx_werror_flag"
33567                          || test ! -s conftest.err'
33568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33569   (eval $ac_try) 2>&5
33570   ac_status=$?
33571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33572   (exit $ac_status); }; } &&
33573          { ac_try='test -s conftest.$ac_objext'
33574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33575   (eval $ac_try) 2>&5
33576   ac_status=$?
33577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33578   (exit $ac_status); }; }; then
33579   glibcxx_cv_func__copysign_use=yes
33580 else
33581   echo "$as_me: failed program was:" >&5
33582 sed 's/^/| /' conftest.$ac_ext >&5
33583
33584 glibcxx_cv_func__copysign_use=no
33585 fi
33586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33587       ac_ext=c
33588 ac_cpp='$CPP $CPPFLAGS'
33589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33592
33593
33594 fi
33595
33596   fi
33597   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
33598 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
33599
33600     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
33601
33602 for ac_func in _copysign
33603 do
33604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33605 echo "$as_me:$LINENO: checking for $ac_func" >&5
33606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33607 if eval "test \"\${$as_ac_var+set}\" = set"; then
33608   echo $ECHO_N "(cached) $ECHO_C" >&6
33609 else
33610   if test x$gcc_no_link = xyes; then
33611   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33613    { (exit 1); exit 1; }; }
33614 fi
33615 cat >conftest.$ac_ext <<_ACEOF
33616 /* confdefs.h.  */
33617 _ACEOF
33618 cat confdefs.h >>conftest.$ac_ext
33619 cat >>conftest.$ac_ext <<_ACEOF
33620 /* end confdefs.h.  */
33621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33622    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33623 #define $ac_func innocuous_$ac_func
33624
33625 /* System header to define __stub macros and hopefully few prototypes,
33626     which can conflict with char $ac_func (); below.
33627     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33628     <limits.h> exists even on freestanding compilers.  */
33629
33630 #ifdef __STDC__
33631 # include <limits.h>
33632 #else
33633 # include <assert.h>
33634 #endif
33635
33636 #undef $ac_func
33637
33638 /* Override any gcc2 internal prototype to avoid an error.  */
33639 #ifdef __cplusplus
33640 extern "C"
33641 {
33642 #endif
33643 /* We use char because int might match the return type of a gcc2
33644    builtin and then its argument prototype would still apply.  */
33645 char $ac_func ();
33646 /* The GNU C library defines this for functions which it implements
33647     to always fail with ENOSYS.  Some functions are actually named
33648     something starting with __ and the normal name is an alias.  */
33649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33650 choke me
33651 #else
33652 char (*f) () = $ac_func;
33653 #endif
33654 #ifdef __cplusplus
33655 }
33656 #endif
33657
33658 int
33659 main ()
33660 {
33661 return f != $ac_func;
33662   ;
33663   return 0;
33664 }
33665 _ACEOF
33666 rm -f conftest.$ac_objext conftest$ac_exeext
33667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33668   (eval $ac_link) 2>conftest.er1
33669   ac_status=$?
33670   grep -v '^ *+' conftest.er1 >conftest.err
33671   rm -f conftest.er1
33672   cat conftest.err >&5
33673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33674   (exit $ac_status); } &&
33675          { ac_try='test -z "$ac_c_werror_flag"
33676                          || test ! -s conftest.err'
33677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33678   (eval $ac_try) 2>&5
33679   ac_status=$?
33680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33681   (exit $ac_status); }; } &&
33682          { ac_try='test -s conftest$ac_exeext'
33683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33684   (eval $ac_try) 2>&5
33685   ac_status=$?
33686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33687   (exit $ac_status); }; }; then
33688   eval "$as_ac_var=yes"
33689 else
33690   echo "$as_me: failed program was:" >&5
33691 sed 's/^/| /' conftest.$ac_ext >&5
33692
33693 eval "$as_ac_var=no"
33694 fi
33695 rm -f conftest.err conftest.$ac_objext \
33696       conftest$ac_exeext conftest.$ac_ext
33697 fi
33698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33699 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33700 if test `eval echo '${'$as_ac_var'}'` = yes; then
33701   cat >>confdefs.h <<_ACEOF
33702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33703 _ACEOF
33704
33705 fi
33706 done
33707
33708     fi
33709   fi
33710
33711
33712
33713
33714
33715
33716   echo "$as_me:$LINENO: checking for sincos declaration" >&5
33717 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
33718   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
33719     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
33720   echo $ECHO_N "(cached) $ECHO_C" >&6
33721 else
33722
33723
33724
33725       ac_ext=cc
33726 ac_cpp='$CXXCPP $CPPFLAGS'
33727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33730
33731       cat >conftest.$ac_ext <<_ACEOF
33732 /* confdefs.h.  */
33733 _ACEOF
33734 cat confdefs.h >>conftest.$ac_ext
33735 cat >>conftest.$ac_ext <<_ACEOF
33736 /* end confdefs.h.  */
33737 #include <math.h>
33738 int
33739 main ()
33740 {
33741  sincos(0, 0, 0);
33742   ;
33743   return 0;
33744 }
33745 _ACEOF
33746 rm -f conftest.$ac_objext
33747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33748   (eval $ac_compile) 2>conftest.er1
33749   ac_status=$?
33750   grep -v '^ *+' conftest.er1 >conftest.err
33751   rm -f conftest.er1
33752   cat conftest.err >&5
33753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33754   (exit $ac_status); } &&
33755          { ac_try='test -z "$ac_cxx_werror_flag"
33756                          || test ! -s conftest.err'
33757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33758   (eval $ac_try) 2>&5
33759   ac_status=$?
33760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33761   (exit $ac_status); }; } &&
33762          { ac_try='test -s conftest.$ac_objext'
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); }; }; then
33768   glibcxx_cv_func_sincos_use=yes
33769 else
33770   echo "$as_me: failed program was:" >&5
33771 sed 's/^/| /' conftest.$ac_ext >&5
33772
33773 glibcxx_cv_func_sincos_use=no
33774 fi
33775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33776       ac_ext=c
33777 ac_cpp='$CPP $CPPFLAGS'
33778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33781
33782
33783 fi
33784
33785   fi
33786   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
33787 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
33788
33789   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33790
33791 for ac_func in sincos
33792 do
33793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33794 echo "$as_me:$LINENO: checking for $ac_func" >&5
33795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33796 if eval "test \"\${$as_ac_var+set}\" = set"; then
33797   echo $ECHO_N "(cached) $ECHO_C" >&6
33798 else
33799   if test x$gcc_no_link = xyes; then
33800   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33802    { (exit 1); exit 1; }; }
33803 fi
33804 cat >conftest.$ac_ext <<_ACEOF
33805 /* confdefs.h.  */
33806 _ACEOF
33807 cat confdefs.h >>conftest.$ac_ext
33808 cat >>conftest.$ac_ext <<_ACEOF
33809 /* end confdefs.h.  */
33810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33811    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33812 #define $ac_func innocuous_$ac_func
33813
33814 /* System header to define __stub macros and hopefully few prototypes,
33815     which can conflict with char $ac_func (); below.
33816     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33817     <limits.h> exists even on freestanding compilers.  */
33818
33819 #ifdef __STDC__
33820 # include <limits.h>
33821 #else
33822 # include <assert.h>
33823 #endif
33824
33825 #undef $ac_func
33826
33827 /* Override any gcc2 internal prototype to avoid an error.  */
33828 #ifdef __cplusplus
33829 extern "C"
33830 {
33831 #endif
33832 /* We use char because int might match the return type of a gcc2
33833    builtin and then its argument prototype would still apply.  */
33834 char $ac_func ();
33835 /* The GNU C library defines this for functions which it implements
33836     to always fail with ENOSYS.  Some functions are actually named
33837     something starting with __ and the normal name is an alias.  */
33838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33839 choke me
33840 #else
33841 char (*f) () = $ac_func;
33842 #endif
33843 #ifdef __cplusplus
33844 }
33845 #endif
33846
33847 int
33848 main ()
33849 {
33850 return f != $ac_func;
33851   ;
33852   return 0;
33853 }
33854 _ACEOF
33855 rm -f conftest.$ac_objext conftest$ac_exeext
33856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33857   (eval $ac_link) 2>conftest.er1
33858   ac_status=$?
33859   grep -v '^ *+' conftest.er1 >conftest.err
33860   rm -f conftest.er1
33861   cat conftest.err >&5
33862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33863   (exit $ac_status); } &&
33864          { ac_try='test -z "$ac_c_werror_flag"
33865                          || test ! -s conftest.err'
33866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33867   (eval $ac_try) 2>&5
33868   ac_status=$?
33869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33870   (exit $ac_status); }; } &&
33871          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
33877   eval "$as_ac_var=yes"
33878 else
33879   echo "$as_me: failed program was:" >&5
33880 sed 's/^/| /' conftest.$ac_ext >&5
33881
33882 eval "$as_ac_var=no"
33883 fi
33884 rm -f conftest.err conftest.$ac_objext \
33885       conftest$ac_exeext conftest.$ac_ext
33886 fi
33887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33888 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33889 if test `eval echo '${'$as_ac_var'}'` = yes; then
33890   cat >>confdefs.h <<_ACEOF
33891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33892 _ACEOF
33893
33894 fi
33895 done
33896
33897   else
33898
33899   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
33900 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
33901   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33902     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
33903   echo $ECHO_N "(cached) $ECHO_C" >&6
33904 else
33905
33906
33907
33908       ac_ext=cc
33909 ac_cpp='$CXXCPP $CPPFLAGS'
33910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33913
33914       cat >conftest.$ac_ext <<_ACEOF
33915 /* confdefs.h.  */
33916 _ACEOF
33917 cat confdefs.h >>conftest.$ac_ext
33918 cat >>conftest.$ac_ext <<_ACEOF
33919 /* end confdefs.h.  */
33920 #include <math.h>
33921 int
33922 main ()
33923 {
33924  _sincos(0, 0, 0);
33925   ;
33926   return 0;
33927 }
33928 _ACEOF
33929 rm -f conftest.$ac_objext
33930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33931   (eval $ac_compile) 2>conftest.er1
33932   ac_status=$?
33933   grep -v '^ *+' conftest.er1 >conftest.err
33934   rm -f conftest.er1
33935   cat conftest.err >&5
33936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33937   (exit $ac_status); } &&
33938          { ac_try='test -z "$ac_cxx_werror_flag"
33939                          || test ! -s conftest.err'
33940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33941   (eval $ac_try) 2>&5
33942   ac_status=$?
33943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33944   (exit $ac_status); }; } &&
33945          { ac_try='test -s conftest.$ac_objext'
33946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33947   (eval $ac_try) 2>&5
33948   ac_status=$?
33949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33950   (exit $ac_status); }; }; then
33951   glibcxx_cv_func__sincos_use=yes
33952 else
33953   echo "$as_me: failed program was:" >&5
33954 sed 's/^/| /' conftest.$ac_ext >&5
33955
33956 glibcxx_cv_func__sincos_use=no
33957 fi
33958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33959       ac_ext=c
33960 ac_cpp='$CPP $CPPFLAGS'
33961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33964
33965
33966 fi
33967
33968   fi
33969   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
33970 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
33971
33972     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33973
33974 for ac_func in _sincos
33975 do
33976 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33977 echo "$as_me:$LINENO: checking for $ac_func" >&5
33978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33979 if eval "test \"\${$as_ac_var+set}\" = set"; then
33980   echo $ECHO_N "(cached) $ECHO_C" >&6
33981 else
33982   if test x$gcc_no_link = xyes; then
33983   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33985    { (exit 1); exit 1; }; }
33986 fi
33987 cat >conftest.$ac_ext <<_ACEOF
33988 /* confdefs.h.  */
33989 _ACEOF
33990 cat confdefs.h >>conftest.$ac_ext
33991 cat >>conftest.$ac_ext <<_ACEOF
33992 /* end confdefs.h.  */
33993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33994    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33995 #define $ac_func innocuous_$ac_func
33996
33997 /* System header to define __stub macros and hopefully few prototypes,
33998     which can conflict with char $ac_func (); below.
33999     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34000     <limits.h> exists even on freestanding compilers.  */
34001
34002 #ifdef __STDC__
34003 # include <limits.h>
34004 #else
34005 # include <assert.h>
34006 #endif
34007
34008 #undef $ac_func
34009
34010 /* Override any gcc2 internal prototype to avoid an error.  */
34011 #ifdef __cplusplus
34012 extern "C"
34013 {
34014 #endif
34015 /* We use char because int might match the return type of a gcc2
34016    builtin and then its argument prototype would still apply.  */
34017 char $ac_func ();
34018 /* The GNU C library defines this for functions which it implements
34019     to always fail with ENOSYS.  Some functions are actually named
34020     something starting with __ and the normal name is an alias.  */
34021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34022 choke me
34023 #else
34024 char (*f) () = $ac_func;
34025 #endif
34026 #ifdef __cplusplus
34027 }
34028 #endif
34029
34030 int
34031 main ()
34032 {
34033 return f != $ac_func;
34034   ;
34035   return 0;
34036 }
34037 _ACEOF
34038 rm -f conftest.$ac_objext conftest$ac_exeext
34039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34040   (eval $ac_link) 2>conftest.er1
34041   ac_status=$?
34042   grep -v '^ *+' conftest.er1 >conftest.err
34043   rm -f conftest.er1
34044   cat conftest.err >&5
34045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34046   (exit $ac_status); } &&
34047          { ac_try='test -z "$ac_c_werror_flag"
34048                          || test ! -s conftest.err'
34049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34050   (eval $ac_try) 2>&5
34051   ac_status=$?
34052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34053   (exit $ac_status); }; } &&
34054          { ac_try='test -s conftest$ac_exeext'
34055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34056   (eval $ac_try) 2>&5
34057   ac_status=$?
34058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34059   (exit $ac_status); }; }; then
34060   eval "$as_ac_var=yes"
34061 else
34062   echo "$as_me: failed program was:" >&5
34063 sed 's/^/| /' conftest.$ac_ext >&5
34064
34065 eval "$as_ac_var=no"
34066 fi
34067 rm -f conftest.err conftest.$ac_objext \
34068       conftest$ac_exeext conftest.$ac_ext
34069 fi
34070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34072 if test `eval echo '${'$as_ac_var'}'` = yes; then
34073   cat >>confdefs.h <<_ACEOF
34074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34075 _ACEOF
34076
34077 fi
34078 done
34079
34080     fi
34081   fi
34082
34083
34084
34085
34086
34087
34088   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
34089 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
34090   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34091     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
34092   echo $ECHO_N "(cached) $ECHO_C" >&6
34093 else
34094
34095
34096
34097       ac_ext=cc
34098 ac_cpp='$CXXCPP $CPPFLAGS'
34099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34102
34103       cat >conftest.$ac_ext <<_ACEOF
34104 /* confdefs.h.  */
34105 _ACEOF
34106 cat confdefs.h >>conftest.$ac_ext
34107 cat >>conftest.$ac_ext <<_ACEOF
34108 /* end confdefs.h.  */
34109 #include <math.h>
34110                       #ifdef HAVE_IEEEFP_H
34111                       #include <ieeefp.h>
34112                       #endif
34113
34114 int
34115 main ()
34116 {
34117  fpclass(0);
34118   ;
34119   return 0;
34120 }
34121 _ACEOF
34122 rm -f conftest.$ac_objext
34123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34124   (eval $ac_compile) 2>conftest.er1
34125   ac_status=$?
34126   grep -v '^ *+' conftest.er1 >conftest.err
34127   rm -f conftest.er1
34128   cat conftest.err >&5
34129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34130   (exit $ac_status); } &&
34131          { ac_try='test -z "$ac_cxx_werror_flag"
34132                          || test ! -s conftest.err'
34133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34134   (eval $ac_try) 2>&5
34135   ac_status=$?
34136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34137   (exit $ac_status); }; } &&
34138          { ac_try='test -s conftest.$ac_objext'
34139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34140   (eval $ac_try) 2>&5
34141   ac_status=$?
34142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34143   (exit $ac_status); }; }; then
34144   glibcxx_cv_func_fpclass_use=yes
34145 else
34146   echo "$as_me: failed program was:" >&5
34147 sed 's/^/| /' conftest.$ac_ext >&5
34148
34149 glibcxx_cv_func_fpclass_use=no
34150 fi
34151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34152       ac_ext=c
34153 ac_cpp='$CPP $CPPFLAGS'
34154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34157
34158
34159 fi
34160
34161   fi
34162   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
34163 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
34164
34165   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34166
34167 for ac_func in fpclass
34168 do
34169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34170 echo "$as_me:$LINENO: checking for $ac_func" >&5
34171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34172 if eval "test \"\${$as_ac_var+set}\" = set"; then
34173   echo $ECHO_N "(cached) $ECHO_C" >&6
34174 else
34175   if test x$gcc_no_link = xyes; then
34176   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34178    { (exit 1); exit 1; }; }
34179 fi
34180 cat >conftest.$ac_ext <<_ACEOF
34181 /* confdefs.h.  */
34182 _ACEOF
34183 cat confdefs.h >>conftest.$ac_ext
34184 cat >>conftest.$ac_ext <<_ACEOF
34185 /* end confdefs.h.  */
34186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34187    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34188 #define $ac_func innocuous_$ac_func
34189
34190 /* System header to define __stub macros and hopefully few prototypes,
34191     which can conflict with char $ac_func (); below.
34192     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34193     <limits.h> exists even on freestanding compilers.  */
34194
34195 #ifdef __STDC__
34196 # include <limits.h>
34197 #else
34198 # include <assert.h>
34199 #endif
34200
34201 #undef $ac_func
34202
34203 /* Override any gcc2 internal prototype to avoid an error.  */
34204 #ifdef __cplusplus
34205 extern "C"
34206 {
34207 #endif
34208 /* We use char because int might match the return type of a gcc2
34209    builtin and then its argument prototype would still apply.  */
34210 char $ac_func ();
34211 /* The GNU C library defines this for functions which it implements
34212     to always fail with ENOSYS.  Some functions are actually named
34213     something starting with __ and the normal name is an alias.  */
34214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34215 choke me
34216 #else
34217 char (*f) () = $ac_func;
34218 #endif
34219 #ifdef __cplusplus
34220 }
34221 #endif
34222
34223 int
34224 main ()
34225 {
34226 return f != $ac_func;
34227   ;
34228   return 0;
34229 }
34230 _ACEOF
34231 rm -f conftest.$ac_objext conftest$ac_exeext
34232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34233   (eval $ac_link) 2>conftest.er1
34234   ac_status=$?
34235   grep -v '^ *+' conftest.er1 >conftest.err
34236   rm -f conftest.er1
34237   cat conftest.err >&5
34238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34239   (exit $ac_status); } &&
34240          { ac_try='test -z "$ac_c_werror_flag"
34241                          || test ! -s conftest.err'
34242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34243   (eval $ac_try) 2>&5
34244   ac_status=$?
34245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34246   (exit $ac_status); }; } &&
34247          { ac_try='test -s conftest$ac_exeext'
34248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34249   (eval $ac_try) 2>&5
34250   ac_status=$?
34251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34252   (exit $ac_status); }; }; then
34253   eval "$as_ac_var=yes"
34254 else
34255   echo "$as_me: failed program was:" >&5
34256 sed 's/^/| /' conftest.$ac_ext >&5
34257
34258 eval "$as_ac_var=no"
34259 fi
34260 rm -f conftest.err conftest.$ac_objext \
34261       conftest$ac_exeext conftest.$ac_ext
34262 fi
34263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34265 if test `eval echo '${'$as_ac_var'}'` = yes; then
34266   cat >>confdefs.h <<_ACEOF
34267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34268 _ACEOF
34269
34270 fi
34271 done
34272
34273   else
34274
34275   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
34276 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
34277   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34278     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
34279   echo $ECHO_N "(cached) $ECHO_C" >&6
34280 else
34281
34282
34283
34284       ac_ext=cc
34285 ac_cpp='$CXXCPP $CPPFLAGS'
34286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34289
34290       cat >conftest.$ac_ext <<_ACEOF
34291 /* confdefs.h.  */
34292 _ACEOF
34293 cat confdefs.h >>conftest.$ac_ext
34294 cat >>conftest.$ac_ext <<_ACEOF
34295 /* end confdefs.h.  */
34296 #include <math.h>
34297                       #ifdef HAVE_IEEEFP_H
34298                       #include <ieeefp.h>
34299                       #endif
34300
34301 int
34302 main ()
34303 {
34304  _fpclass(0);
34305   ;
34306   return 0;
34307 }
34308 _ACEOF
34309 rm -f conftest.$ac_objext
34310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34311   (eval $ac_compile) 2>conftest.er1
34312   ac_status=$?
34313   grep -v '^ *+' conftest.er1 >conftest.err
34314   rm -f conftest.er1
34315   cat conftest.err >&5
34316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34317   (exit $ac_status); } &&
34318          { ac_try='test -z "$ac_cxx_werror_flag"
34319                          || test ! -s conftest.err'
34320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34321   (eval $ac_try) 2>&5
34322   ac_status=$?
34323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34324   (exit $ac_status); }; } &&
34325          { ac_try='test -s conftest.$ac_objext'
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); }; }; then
34331   glibcxx_cv_func__fpclass_use=yes
34332 else
34333   echo "$as_me: failed program was:" >&5
34334 sed 's/^/| /' conftest.$ac_ext >&5
34335
34336 glibcxx_cv_func__fpclass_use=no
34337 fi
34338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34339       ac_ext=c
34340 ac_cpp='$CPP $CPPFLAGS'
34341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34344
34345
34346 fi
34347
34348   fi
34349   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
34350 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
34351
34352     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34353
34354 for ac_func in _fpclass
34355 do
34356 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34357 echo "$as_me:$LINENO: checking for $ac_func" >&5
34358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34359 if eval "test \"\${$as_ac_var+set}\" = set"; then
34360   echo $ECHO_N "(cached) $ECHO_C" >&6
34361 else
34362   if test x$gcc_no_link = xyes; then
34363   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34364 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34365    { (exit 1); exit 1; }; }
34366 fi
34367 cat >conftest.$ac_ext <<_ACEOF
34368 /* confdefs.h.  */
34369 _ACEOF
34370 cat confdefs.h >>conftest.$ac_ext
34371 cat >>conftest.$ac_ext <<_ACEOF
34372 /* end confdefs.h.  */
34373 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34374    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34375 #define $ac_func innocuous_$ac_func
34376
34377 /* System header to define __stub macros and hopefully few prototypes,
34378     which can conflict with char $ac_func (); below.
34379     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34380     <limits.h> exists even on freestanding compilers.  */
34381
34382 #ifdef __STDC__
34383 # include <limits.h>
34384 #else
34385 # include <assert.h>
34386 #endif
34387
34388 #undef $ac_func
34389
34390 /* Override any gcc2 internal prototype to avoid an error.  */
34391 #ifdef __cplusplus
34392 extern "C"
34393 {
34394 #endif
34395 /* We use char because int might match the return type of a gcc2
34396    builtin and then its argument prototype would still apply.  */
34397 char $ac_func ();
34398 /* The GNU C library defines this for functions which it implements
34399     to always fail with ENOSYS.  Some functions are actually named
34400     something starting with __ and the normal name is an alias.  */
34401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34402 choke me
34403 #else
34404 char (*f) () = $ac_func;
34405 #endif
34406 #ifdef __cplusplus
34407 }
34408 #endif
34409
34410 int
34411 main ()
34412 {
34413 return f != $ac_func;
34414   ;
34415   return 0;
34416 }
34417 _ACEOF
34418 rm -f conftest.$ac_objext conftest$ac_exeext
34419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34420   (eval $ac_link) 2>conftest.er1
34421   ac_status=$?
34422   grep -v '^ *+' conftest.er1 >conftest.err
34423   rm -f conftest.er1
34424   cat conftest.err >&5
34425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34426   (exit $ac_status); } &&
34427          { ac_try='test -z "$ac_c_werror_flag"
34428                          || test ! -s conftest.err'
34429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34430   (eval $ac_try) 2>&5
34431   ac_status=$?
34432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34433   (exit $ac_status); }; } &&
34434          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
34440   eval "$as_ac_var=yes"
34441 else
34442   echo "$as_me: failed program was:" >&5
34443 sed 's/^/| /' conftest.$ac_ext >&5
34444
34445 eval "$as_ac_var=no"
34446 fi
34447 rm -f conftest.err conftest.$ac_objext \
34448       conftest$ac_exeext conftest.$ac_ext
34449 fi
34450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34451 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34452 if test `eval echo '${'$as_ac_var'}'` = yes; then
34453   cat >>confdefs.h <<_ACEOF
34454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34455 _ACEOF
34456
34457 fi
34458 done
34459
34460     fi
34461   fi
34462
34463
34464
34465
34466
34467
34468   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
34469 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
34470   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34471     if test "${glibcxx_cv_func_qfpclass_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                       #ifdef HAVE_IEEEFP_H
34491                       #include <ieeefp.h>
34492                       #endif
34493
34494 int
34495 main ()
34496 {
34497  qfpclass(0);
34498   ;
34499   return 0;
34500 }
34501 _ACEOF
34502 rm -f conftest.$ac_objext
34503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34504   (eval $ac_compile) 2>conftest.er1
34505   ac_status=$?
34506   grep -v '^ *+' conftest.er1 >conftest.err
34507   rm -f conftest.er1
34508   cat conftest.err >&5
34509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34510   (exit $ac_status); } &&
34511          { ac_try='test -z "$ac_cxx_werror_flag"
34512                          || test ! -s conftest.err'
34513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34514   (eval $ac_try) 2>&5
34515   ac_status=$?
34516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34517   (exit $ac_status); }; } &&
34518          { ac_try='test -s conftest.$ac_objext'
34519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34520   (eval $ac_try) 2>&5
34521   ac_status=$?
34522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34523   (exit $ac_status); }; }; then
34524   glibcxx_cv_func_qfpclass_use=yes
34525 else
34526   echo "$as_me: failed program was:" >&5
34527 sed 's/^/| /' conftest.$ac_ext >&5
34528
34529 glibcxx_cv_func_qfpclass_use=no
34530 fi
34531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34532       ac_ext=c
34533 ac_cpp='$CPP $CPPFLAGS'
34534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34537
34538
34539 fi
34540
34541   fi
34542   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
34543 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
34544
34545   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34546
34547 for ac_func in qfpclass
34548 do
34549 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34550 echo "$as_me:$LINENO: checking for $ac_func" >&5
34551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34552 if eval "test \"\${$as_ac_var+set}\" = set"; then
34553   echo $ECHO_N "(cached) $ECHO_C" >&6
34554 else
34555   if test x$gcc_no_link = xyes; then
34556   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34558    { (exit 1); exit 1; }; }
34559 fi
34560 cat >conftest.$ac_ext <<_ACEOF
34561 /* confdefs.h.  */
34562 _ACEOF
34563 cat confdefs.h >>conftest.$ac_ext
34564 cat >>conftest.$ac_ext <<_ACEOF
34565 /* end confdefs.h.  */
34566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34567    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34568 #define $ac_func innocuous_$ac_func
34569
34570 /* System header to define __stub macros and hopefully few prototypes,
34571     which can conflict with char $ac_func (); below.
34572     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34573     <limits.h> exists even on freestanding compilers.  */
34574
34575 #ifdef __STDC__
34576 # include <limits.h>
34577 #else
34578 # include <assert.h>
34579 #endif
34580
34581 #undef $ac_func
34582
34583 /* Override any gcc2 internal prototype to avoid an error.  */
34584 #ifdef __cplusplus
34585 extern "C"
34586 {
34587 #endif
34588 /* We use char because int might match the return type of a gcc2
34589    builtin and then its argument prototype would still apply.  */
34590 char $ac_func ();
34591 /* The GNU C library defines this for functions which it implements
34592     to always fail with ENOSYS.  Some functions are actually named
34593     something starting with __ and the normal name is an alias.  */
34594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34595 choke me
34596 #else
34597 char (*f) () = $ac_func;
34598 #endif
34599 #ifdef __cplusplus
34600 }
34601 #endif
34602
34603 int
34604 main ()
34605 {
34606 return f != $ac_func;
34607   ;
34608   return 0;
34609 }
34610 _ACEOF
34611 rm -f conftest.$ac_objext conftest$ac_exeext
34612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34613   (eval $ac_link) 2>conftest.er1
34614   ac_status=$?
34615   grep -v '^ *+' conftest.er1 >conftest.err
34616   rm -f conftest.er1
34617   cat conftest.err >&5
34618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34619   (exit $ac_status); } &&
34620          { ac_try='test -z "$ac_c_werror_flag"
34621                          || test ! -s conftest.err'
34622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34623   (eval $ac_try) 2>&5
34624   ac_status=$?
34625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34626   (exit $ac_status); }; } &&
34627          { ac_try='test -s conftest$ac_exeext'
34628   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34629   (eval $ac_try) 2>&5
34630   ac_status=$?
34631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34632   (exit $ac_status); }; }; then
34633   eval "$as_ac_var=yes"
34634 else
34635   echo "$as_me: failed program was:" >&5
34636 sed 's/^/| /' conftest.$ac_ext >&5
34637
34638 eval "$as_ac_var=no"
34639 fi
34640 rm -f conftest.err conftest.$ac_objext \
34641       conftest$ac_exeext conftest.$ac_ext
34642 fi
34643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34645 if test `eval echo '${'$as_ac_var'}'` = yes; then
34646   cat >>confdefs.h <<_ACEOF
34647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34648 _ACEOF
34649
34650 fi
34651 done
34652
34653   else
34654
34655   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
34656 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
34657   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34658     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
34659   echo $ECHO_N "(cached) $ECHO_C" >&6
34660 else
34661
34662
34663
34664       ac_ext=cc
34665 ac_cpp='$CXXCPP $CPPFLAGS'
34666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34669
34670       cat >conftest.$ac_ext <<_ACEOF
34671 /* confdefs.h.  */
34672 _ACEOF
34673 cat confdefs.h >>conftest.$ac_ext
34674 cat >>conftest.$ac_ext <<_ACEOF
34675 /* end confdefs.h.  */
34676 #include <math.h>
34677                       #ifdef HAVE_IEEEFP_H
34678                       #include <ieeefp.h>
34679                       #endif
34680
34681 int
34682 main ()
34683 {
34684  _qfpclass(0);
34685   ;
34686   return 0;
34687 }
34688 _ACEOF
34689 rm -f conftest.$ac_objext
34690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34691   (eval $ac_compile) 2>conftest.er1
34692   ac_status=$?
34693   grep -v '^ *+' conftest.er1 >conftest.err
34694   rm -f conftest.er1
34695   cat conftest.err >&5
34696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34697   (exit $ac_status); } &&
34698          { ac_try='test -z "$ac_cxx_werror_flag"
34699                          || test ! -s conftest.err'
34700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34701   (eval $ac_try) 2>&5
34702   ac_status=$?
34703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34704   (exit $ac_status); }; } &&
34705          { ac_try='test -s conftest.$ac_objext'
34706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34707   (eval $ac_try) 2>&5
34708   ac_status=$?
34709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34710   (exit $ac_status); }; }; then
34711   glibcxx_cv_func__qfpclass_use=yes
34712 else
34713   echo "$as_me: failed program was:" >&5
34714 sed 's/^/| /' conftest.$ac_ext >&5
34715
34716 glibcxx_cv_func__qfpclass_use=no
34717 fi
34718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34719       ac_ext=c
34720 ac_cpp='$CPP $CPPFLAGS'
34721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34724
34725
34726 fi
34727
34728   fi
34729   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
34730 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
34731
34732     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34733
34734 for ac_func in _qfpclass
34735 do
34736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34737 echo "$as_me:$LINENO: checking for $ac_func" >&5
34738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34739 if eval "test \"\${$as_ac_var+set}\" = set"; then
34740   echo $ECHO_N "(cached) $ECHO_C" >&6
34741 else
34742   if test x$gcc_no_link = xyes; then
34743   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34745    { (exit 1); exit 1; }; }
34746 fi
34747 cat >conftest.$ac_ext <<_ACEOF
34748 /* confdefs.h.  */
34749 _ACEOF
34750 cat confdefs.h >>conftest.$ac_ext
34751 cat >>conftest.$ac_ext <<_ACEOF
34752 /* end confdefs.h.  */
34753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34754    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34755 #define $ac_func innocuous_$ac_func
34756
34757 /* System header to define __stub macros and hopefully few prototypes,
34758     which can conflict with char $ac_func (); below.
34759     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34760     <limits.h> exists even on freestanding compilers.  */
34761
34762 #ifdef __STDC__
34763 # include <limits.h>
34764 #else
34765 # include <assert.h>
34766 #endif
34767
34768 #undef $ac_func
34769
34770 /* Override any gcc2 internal prototype to avoid an error.  */
34771 #ifdef __cplusplus
34772 extern "C"
34773 {
34774 #endif
34775 /* We use char because int might match the return type of a gcc2
34776    builtin and then its argument prototype would still apply.  */
34777 char $ac_func ();
34778 /* The GNU C library defines this for functions which it implements
34779     to always fail with ENOSYS.  Some functions are actually named
34780     something starting with __ and the normal name is an alias.  */
34781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34782 choke me
34783 #else
34784 char (*f) () = $ac_func;
34785 #endif
34786 #ifdef __cplusplus
34787 }
34788 #endif
34789
34790 int
34791 main ()
34792 {
34793 return f != $ac_func;
34794   ;
34795   return 0;
34796 }
34797 _ACEOF
34798 rm -f conftest.$ac_objext conftest$ac_exeext
34799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34800   (eval $ac_link) 2>conftest.er1
34801   ac_status=$?
34802   grep -v '^ *+' conftest.er1 >conftest.err
34803   rm -f conftest.er1
34804   cat conftest.err >&5
34805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34806   (exit $ac_status); } &&
34807          { ac_try='test -z "$ac_c_werror_flag"
34808                          || test ! -s conftest.err'
34809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34810   (eval $ac_try) 2>&5
34811   ac_status=$?
34812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34813   (exit $ac_status); }; } &&
34814          { ac_try='test -s conftest$ac_exeext'
34815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34816   (eval $ac_try) 2>&5
34817   ac_status=$?
34818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34819   (exit $ac_status); }; }; then
34820   eval "$as_ac_var=yes"
34821 else
34822   echo "$as_me: failed program was:" >&5
34823 sed 's/^/| /' conftest.$ac_ext >&5
34824
34825 eval "$as_ac_var=no"
34826 fi
34827 rm -f conftest.err conftest.$ac_objext \
34828       conftest$ac_exeext conftest.$ac_ext
34829 fi
34830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34832 if test `eval echo '${'$as_ac_var'}'` = yes; then
34833   cat >>confdefs.h <<_ACEOF
34834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34835 _ACEOF
34836
34837 fi
34838 done
34839
34840     fi
34841   fi
34842
34843
34844
34845
34846
34847
34848   echo "$as_me:$LINENO: checking for hypot declaration" >&5
34849 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
34850   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34851     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
34852   echo $ECHO_N "(cached) $ECHO_C" >&6
34853 else
34854
34855
34856
34857       ac_ext=cc
34858 ac_cpp='$CXXCPP $CPPFLAGS'
34859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34862
34863       cat >conftest.$ac_ext <<_ACEOF
34864 /* confdefs.h.  */
34865 _ACEOF
34866 cat confdefs.h >>conftest.$ac_ext
34867 cat >>conftest.$ac_ext <<_ACEOF
34868 /* end confdefs.h.  */
34869 #include <math.h>
34870 int
34871 main ()
34872 {
34873  hypot(0, 0);
34874   ;
34875   return 0;
34876 }
34877 _ACEOF
34878 rm -f conftest.$ac_objext
34879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34880   (eval $ac_compile) 2>conftest.er1
34881   ac_status=$?
34882   grep -v '^ *+' conftest.er1 >conftest.err
34883   rm -f conftest.er1
34884   cat conftest.err >&5
34885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34886   (exit $ac_status); } &&
34887          { ac_try='test -z "$ac_cxx_werror_flag"
34888                          || test ! -s conftest.err'
34889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34890   (eval $ac_try) 2>&5
34891   ac_status=$?
34892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34893   (exit $ac_status); }; } &&
34894          { ac_try='test -s conftest.$ac_objext'
34895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34896   (eval $ac_try) 2>&5
34897   ac_status=$?
34898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34899   (exit $ac_status); }; }; then
34900   glibcxx_cv_func_hypot_use=yes
34901 else
34902   echo "$as_me: failed program was:" >&5
34903 sed 's/^/| /' conftest.$ac_ext >&5
34904
34905 glibcxx_cv_func_hypot_use=no
34906 fi
34907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34908       ac_ext=c
34909 ac_cpp='$CPP $CPPFLAGS'
34910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34913
34914
34915 fi
34916
34917   fi
34918   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
34919 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
34920
34921   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34922
34923 for ac_func in hypot
34924 do
34925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34926 echo "$as_me:$LINENO: checking for $ac_func" >&5
34927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34928 if eval "test \"\${$as_ac_var+set}\" = set"; then
34929   echo $ECHO_N "(cached) $ECHO_C" >&6
34930 else
34931   if test x$gcc_no_link = xyes; then
34932   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34934    { (exit 1); exit 1; }; }
34935 fi
34936 cat >conftest.$ac_ext <<_ACEOF
34937 /* confdefs.h.  */
34938 _ACEOF
34939 cat confdefs.h >>conftest.$ac_ext
34940 cat >>conftest.$ac_ext <<_ACEOF
34941 /* end confdefs.h.  */
34942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34943    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34944 #define $ac_func innocuous_$ac_func
34945
34946 /* System header to define __stub macros and hopefully few prototypes,
34947     which can conflict with char $ac_func (); below.
34948     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34949     <limits.h> exists even on freestanding compilers.  */
34950
34951 #ifdef __STDC__
34952 # include <limits.h>
34953 #else
34954 # include <assert.h>
34955 #endif
34956
34957 #undef $ac_func
34958
34959 /* Override any gcc2 internal prototype to avoid an error.  */
34960 #ifdef __cplusplus
34961 extern "C"
34962 {
34963 #endif
34964 /* We use char because int might match the return type of a gcc2
34965    builtin and then its argument prototype would still apply.  */
34966 char $ac_func ();
34967 /* The GNU C library defines this for functions which it implements
34968     to always fail with ENOSYS.  Some functions are actually named
34969     something starting with __ and the normal name is an alias.  */
34970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34971 choke me
34972 #else
34973 char (*f) () = $ac_func;
34974 #endif
34975 #ifdef __cplusplus
34976 }
34977 #endif
34978
34979 int
34980 main ()
34981 {
34982 return f != $ac_func;
34983   ;
34984   return 0;
34985 }
34986 _ACEOF
34987 rm -f conftest.$ac_objext conftest$ac_exeext
34988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34989   (eval $ac_link) 2>conftest.er1
34990   ac_status=$?
34991   grep -v '^ *+' conftest.er1 >conftest.err
34992   rm -f conftest.er1
34993   cat conftest.err >&5
34994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34995   (exit $ac_status); } &&
34996          { ac_try='test -z "$ac_c_werror_flag"
34997                          || test ! -s conftest.err'
34998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34999   (eval $ac_try) 2>&5
35000   ac_status=$?
35001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35002   (exit $ac_status); }; } &&
35003          { ac_try='test -s conftest$ac_exeext'
35004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35005   (eval $ac_try) 2>&5
35006   ac_status=$?
35007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35008   (exit $ac_status); }; }; then
35009   eval "$as_ac_var=yes"
35010 else
35011   echo "$as_me: failed program was:" >&5
35012 sed 's/^/| /' conftest.$ac_ext >&5
35013
35014 eval "$as_ac_var=no"
35015 fi
35016 rm -f conftest.err conftest.$ac_objext \
35017       conftest$ac_exeext conftest.$ac_ext
35018 fi
35019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35021 if test `eval echo '${'$as_ac_var'}'` = yes; then
35022   cat >>confdefs.h <<_ACEOF
35023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35024 _ACEOF
35025
35026 fi
35027 done
35028
35029   else
35030
35031   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
35032 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
35033   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
35034     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
35035   echo $ECHO_N "(cached) $ECHO_C" >&6
35036 else
35037
35038
35039
35040       ac_ext=cc
35041 ac_cpp='$CXXCPP $CPPFLAGS'
35042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35045
35046       cat >conftest.$ac_ext <<_ACEOF
35047 /* confdefs.h.  */
35048 _ACEOF
35049 cat confdefs.h >>conftest.$ac_ext
35050 cat >>conftest.$ac_ext <<_ACEOF
35051 /* end confdefs.h.  */
35052 #include <math.h>
35053 int
35054 main ()
35055 {
35056  _hypot(0, 0);
35057   ;
35058   return 0;
35059 }
35060 _ACEOF
35061 rm -f conftest.$ac_objext
35062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35063   (eval $ac_compile) 2>conftest.er1
35064   ac_status=$?
35065   grep -v '^ *+' conftest.er1 >conftest.err
35066   rm -f conftest.er1
35067   cat conftest.err >&5
35068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35069   (exit $ac_status); } &&
35070          { ac_try='test -z "$ac_cxx_werror_flag"
35071                          || test ! -s conftest.err'
35072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35073   (eval $ac_try) 2>&5
35074   ac_status=$?
35075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35076   (exit $ac_status); }; } &&
35077          { ac_try='test -s conftest.$ac_objext'
35078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35079   (eval $ac_try) 2>&5
35080   ac_status=$?
35081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35082   (exit $ac_status); }; }; then
35083   glibcxx_cv_func__hypot_use=yes
35084 else
35085   echo "$as_me: failed program was:" >&5
35086 sed 's/^/| /' conftest.$ac_ext >&5
35087
35088 glibcxx_cv_func__hypot_use=no
35089 fi
35090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35091       ac_ext=c
35092 ac_cpp='$CPP $CPPFLAGS'
35093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35096
35097
35098 fi
35099
35100   fi
35101   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
35102 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
35103
35104     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
35105
35106 for ac_func in _hypot
35107 do
35108 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35109 echo "$as_me:$LINENO: checking for $ac_func" >&5
35110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35111 if eval "test \"\${$as_ac_var+set}\" = set"; then
35112   echo $ECHO_N "(cached) $ECHO_C" >&6
35113 else
35114   if test x$gcc_no_link = xyes; then
35115   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35117    { (exit 1); exit 1; }; }
35118 fi
35119 cat >conftest.$ac_ext <<_ACEOF
35120 /* confdefs.h.  */
35121 _ACEOF
35122 cat confdefs.h >>conftest.$ac_ext
35123 cat >>conftest.$ac_ext <<_ACEOF
35124 /* end confdefs.h.  */
35125 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35126    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35127 #define $ac_func innocuous_$ac_func
35128
35129 /* System header to define __stub macros and hopefully few prototypes,
35130     which can conflict with char $ac_func (); below.
35131     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35132     <limits.h> exists even on freestanding compilers.  */
35133
35134 #ifdef __STDC__
35135 # include <limits.h>
35136 #else
35137 # include <assert.h>
35138 #endif
35139
35140 #undef $ac_func
35141
35142 /* Override any gcc2 internal prototype to avoid an error.  */
35143 #ifdef __cplusplus
35144 extern "C"
35145 {
35146 #endif
35147 /* We use char because int might match the return type of a gcc2
35148    builtin and then its argument prototype would still apply.  */
35149 char $ac_func ();
35150 /* The GNU C library defines this for functions which it implements
35151     to always fail with ENOSYS.  Some functions are actually named
35152     something starting with __ and the normal name is an alias.  */
35153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35154 choke me
35155 #else
35156 char (*f) () = $ac_func;
35157 #endif
35158 #ifdef __cplusplus
35159 }
35160 #endif
35161
35162 int
35163 main ()
35164 {
35165 return f != $ac_func;
35166   ;
35167   return 0;
35168 }
35169 _ACEOF
35170 rm -f conftest.$ac_objext conftest$ac_exeext
35171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35172   (eval $ac_link) 2>conftest.er1
35173   ac_status=$?
35174   grep -v '^ *+' conftest.er1 >conftest.err
35175   rm -f conftest.er1
35176   cat conftest.err >&5
35177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35178   (exit $ac_status); } &&
35179          { ac_try='test -z "$ac_c_werror_flag"
35180                          || test ! -s conftest.err'
35181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35182   (eval $ac_try) 2>&5
35183   ac_status=$?
35184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35185   (exit $ac_status); }; } &&
35186          { ac_try='test -s conftest$ac_exeext'
35187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35188   (eval $ac_try) 2>&5
35189   ac_status=$?
35190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35191   (exit $ac_status); }; }; then
35192   eval "$as_ac_var=yes"
35193 else
35194   echo "$as_me: failed program was:" >&5
35195 sed 's/^/| /' conftest.$ac_ext >&5
35196
35197 eval "$as_ac_var=no"
35198 fi
35199 rm -f conftest.err conftest.$ac_objext \
35200       conftest$ac_exeext conftest.$ac_ext
35201 fi
35202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35203 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35204 if test `eval echo '${'$as_ac_var'}'` = yes; then
35205   cat >>confdefs.h <<_ACEOF
35206 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35207 _ACEOF
35208
35209 fi
35210 done
35211
35212     fi
35213   fi
35214
35215
35216
35217
35218
35219
35220     echo "$as_me:$LINENO: checking for float trig functions" >&5
35221 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
35222   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
35223   echo $ECHO_N "(cached) $ECHO_C" >&6
35224 else
35225
35226
35227
35228     ac_ext=cc
35229 ac_cpp='$CXXCPP $CPPFLAGS'
35230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35233
35234     cat >conftest.$ac_ext <<_ACEOF
35235 /* confdefs.h.  */
35236 _ACEOF
35237 cat confdefs.h >>conftest.$ac_ext
35238 cat >>conftest.$ac_ext <<_ACEOF
35239 /* end confdefs.h.  */
35240 #include <math.h>
35241 int
35242 main ()
35243 {
35244 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
35245   ;
35246   return 0;
35247 }
35248 _ACEOF
35249 rm -f conftest.$ac_objext
35250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35251   (eval $ac_compile) 2>conftest.er1
35252   ac_status=$?
35253   grep -v '^ *+' conftest.er1 >conftest.err
35254   rm -f conftest.er1
35255   cat conftest.err >&5
35256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35257   (exit $ac_status); } &&
35258          { ac_try='test -z "$ac_cxx_werror_flag"
35259                          || test ! -s conftest.err'
35260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35261   (eval $ac_try) 2>&5
35262   ac_status=$?
35263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35264   (exit $ac_status); }; } &&
35265          { ac_try='test -s conftest.$ac_objext'
35266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35267   (eval $ac_try) 2>&5
35268   ac_status=$?
35269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35270   (exit $ac_status); }; }; then
35271   glibcxx_cv_func_float_trig_use=yes
35272 else
35273   echo "$as_me: failed program was:" >&5
35274 sed 's/^/| /' conftest.$ac_ext >&5
35275
35276 glibcxx_cv_func_float_trig_use=no
35277 fi
35278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35279     ac_ext=c
35280 ac_cpp='$CPP $CPPFLAGS'
35281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35284
35285 fi
35286
35287   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
35288 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
35289   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
35290
35291
35292
35293
35294
35295
35296
35297
35298
35299 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
35300 do
35301 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35302 echo "$as_me:$LINENO: checking for $ac_func" >&5
35303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35304 if eval "test \"\${$as_ac_var+set}\" = set"; then
35305   echo $ECHO_N "(cached) $ECHO_C" >&6
35306 else
35307   if test x$gcc_no_link = xyes; then
35308   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35309 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35310    { (exit 1); exit 1; }; }
35311 fi
35312 cat >conftest.$ac_ext <<_ACEOF
35313 /* confdefs.h.  */
35314 _ACEOF
35315 cat confdefs.h >>conftest.$ac_ext
35316 cat >>conftest.$ac_ext <<_ACEOF
35317 /* end confdefs.h.  */
35318 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35319    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35320 #define $ac_func innocuous_$ac_func
35321
35322 /* System header to define __stub macros and hopefully few prototypes,
35323     which can conflict with char $ac_func (); below.
35324     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35325     <limits.h> exists even on freestanding compilers.  */
35326
35327 #ifdef __STDC__
35328 # include <limits.h>
35329 #else
35330 # include <assert.h>
35331 #endif
35332
35333 #undef $ac_func
35334
35335 /* Override any gcc2 internal prototype to avoid an error.  */
35336 #ifdef __cplusplus
35337 extern "C"
35338 {
35339 #endif
35340 /* We use char because int might match the return type of a gcc2
35341    builtin and then its argument prototype would still apply.  */
35342 char $ac_func ();
35343 /* The GNU C library defines this for functions which it implements
35344     to always fail with ENOSYS.  Some functions are actually named
35345     something starting with __ and the normal name is an alias.  */
35346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35347 choke me
35348 #else
35349 char (*f) () = $ac_func;
35350 #endif
35351 #ifdef __cplusplus
35352 }
35353 #endif
35354
35355 int
35356 main ()
35357 {
35358 return f != $ac_func;
35359   ;
35360   return 0;
35361 }
35362 _ACEOF
35363 rm -f conftest.$ac_objext conftest$ac_exeext
35364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35365   (eval $ac_link) 2>conftest.er1
35366   ac_status=$?
35367   grep -v '^ *+' conftest.er1 >conftest.err
35368   rm -f conftest.er1
35369   cat conftest.err >&5
35370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35371   (exit $ac_status); } &&
35372          { ac_try='test -z "$ac_c_werror_flag"
35373                          || test ! -s conftest.err'
35374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35375   (eval $ac_try) 2>&5
35376   ac_status=$?
35377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35378   (exit $ac_status); }; } &&
35379          { ac_try='test -s conftest$ac_exeext'
35380   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35381   (eval $ac_try) 2>&5
35382   ac_status=$?
35383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35384   (exit $ac_status); }; }; then
35385   eval "$as_ac_var=yes"
35386 else
35387   echo "$as_me: failed program was:" >&5
35388 sed 's/^/| /' conftest.$ac_ext >&5
35389
35390 eval "$as_ac_var=no"
35391 fi
35392 rm -f conftest.err conftest.$ac_objext \
35393       conftest$ac_exeext conftest.$ac_ext
35394 fi
35395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35396 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35397 if test `eval echo '${'$as_ac_var'}'` = yes; then
35398   cat >>confdefs.h <<_ACEOF
35399 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35400 _ACEOF
35401
35402 fi
35403 done
35404
35405   else
35406     echo "$as_me:$LINENO: checking for _float trig functions" >&5
35407 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
35408     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
35409   echo $ECHO_N "(cached) $ECHO_C" >&6
35410 else
35411
35412
35413
35414       ac_ext=cc
35415 ac_cpp='$CXXCPP $CPPFLAGS'
35416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35419
35420       cat >conftest.$ac_ext <<_ACEOF
35421 /* confdefs.h.  */
35422 _ACEOF
35423 cat confdefs.h >>conftest.$ac_ext
35424 cat >>conftest.$ac_ext <<_ACEOF
35425 /* end confdefs.h.  */
35426 #include <math.h>
35427 int
35428 main ()
35429 {
35430 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
35431   ;
35432   return 0;
35433 }
35434 _ACEOF
35435 rm -f conftest.$ac_objext
35436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35437   (eval $ac_compile) 2>conftest.er1
35438   ac_status=$?
35439   grep -v '^ *+' conftest.er1 >conftest.err
35440   rm -f conftest.er1
35441   cat conftest.err >&5
35442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35443   (exit $ac_status); } &&
35444          { ac_try='test -z "$ac_cxx_werror_flag"
35445                          || test ! -s conftest.err'
35446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35447   (eval $ac_try) 2>&5
35448   ac_status=$?
35449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35450   (exit $ac_status); }; } &&
35451          { ac_try='test -s conftest.$ac_objext'
35452   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35453   (eval $ac_try) 2>&5
35454   ac_status=$?
35455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35456   (exit $ac_status); }; }; then
35457   glibcxx_cv_func__float_trig_use=yes
35458 else
35459   echo "$as_me: failed program was:" >&5
35460 sed 's/^/| /' conftest.$ac_ext >&5
35461
35462 glibcxx_cv_func__float_trig_use=no
35463 fi
35464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35465       ac_ext=c
35466 ac_cpp='$CPP $CPPFLAGS'
35467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35470
35471 fi
35472
35473     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
35474 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
35475     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
35476
35477
35478
35479
35480
35481
35482
35483
35484
35485 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
35486 do
35487 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35488 echo "$as_me:$LINENO: checking for $ac_func" >&5
35489 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35490 if eval "test \"\${$as_ac_var+set}\" = set"; then
35491   echo $ECHO_N "(cached) $ECHO_C" >&6
35492 else
35493   if test x$gcc_no_link = xyes; then
35494   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35495 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35496    { (exit 1); exit 1; }; }
35497 fi
35498 cat >conftest.$ac_ext <<_ACEOF
35499 /* confdefs.h.  */
35500 _ACEOF
35501 cat confdefs.h >>conftest.$ac_ext
35502 cat >>conftest.$ac_ext <<_ACEOF
35503 /* end confdefs.h.  */
35504 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35505    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35506 #define $ac_func innocuous_$ac_func
35507
35508 /* System header to define __stub macros and hopefully few prototypes,
35509     which can conflict with char $ac_func (); below.
35510     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35511     <limits.h> exists even on freestanding compilers.  */
35512
35513 #ifdef __STDC__
35514 # include <limits.h>
35515 #else
35516 # include <assert.h>
35517 #endif
35518
35519 #undef $ac_func
35520
35521 /* Override any gcc2 internal prototype to avoid an error.  */
35522 #ifdef __cplusplus
35523 extern "C"
35524 {
35525 #endif
35526 /* We use char because int might match the return type of a gcc2
35527    builtin and then its argument prototype would still apply.  */
35528 char $ac_func ();
35529 /* The GNU C library defines this for functions which it implements
35530     to always fail with ENOSYS.  Some functions are actually named
35531     something starting with __ and the normal name is an alias.  */
35532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35533 choke me
35534 #else
35535 char (*f) () = $ac_func;
35536 #endif
35537 #ifdef __cplusplus
35538 }
35539 #endif
35540
35541 int
35542 main ()
35543 {
35544 return f != $ac_func;
35545   ;
35546   return 0;
35547 }
35548 _ACEOF
35549 rm -f conftest.$ac_objext conftest$ac_exeext
35550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35551   (eval $ac_link) 2>conftest.er1
35552   ac_status=$?
35553   grep -v '^ *+' conftest.er1 >conftest.err
35554   rm -f conftest.er1
35555   cat conftest.err >&5
35556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35557   (exit $ac_status); } &&
35558          { ac_try='test -z "$ac_c_werror_flag"
35559                          || test ! -s conftest.err'
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); }; } &&
35565          { ac_try='test -s conftest$ac_exeext'
35566   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35567   (eval $ac_try) 2>&5
35568   ac_status=$?
35569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35570   (exit $ac_status); }; }; then
35571   eval "$as_ac_var=yes"
35572 else
35573   echo "$as_me: failed program was:" >&5
35574 sed 's/^/| /' conftest.$ac_ext >&5
35575
35576 eval "$as_ac_var=no"
35577 fi
35578 rm -f conftest.err conftest.$ac_objext \
35579       conftest$ac_exeext conftest.$ac_ext
35580 fi
35581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35582 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35583 if test `eval echo '${'$as_ac_var'}'` = yes; then
35584   cat >>confdefs.h <<_ACEOF
35585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35586 _ACEOF
35587
35588 fi
35589 done
35590
35591     fi
35592   fi
35593
35594
35595
35596
35597
35598
35599
35600
35601
35602
35603
35604
35605
35606
35607     echo "$as_me:$LINENO: checking for float round functions" >&5
35608 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
35609   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
35610   echo $ECHO_N "(cached) $ECHO_C" >&6
35611 else
35612
35613
35614
35615     ac_ext=cc
35616 ac_cpp='$CXXCPP $CPPFLAGS'
35617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35620
35621     cat >conftest.$ac_ext <<_ACEOF
35622 /* confdefs.h.  */
35623 _ACEOF
35624 cat confdefs.h >>conftest.$ac_ext
35625 cat >>conftest.$ac_ext <<_ACEOF
35626 /* end confdefs.h.  */
35627 #include <math.h>
35628 int
35629 main ()
35630 {
35631 ceilf (0); floorf (0);
35632   ;
35633   return 0;
35634 }
35635 _ACEOF
35636 rm -f conftest.$ac_objext
35637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35638   (eval $ac_compile) 2>conftest.er1
35639   ac_status=$?
35640   grep -v '^ *+' conftest.er1 >conftest.err
35641   rm -f conftest.er1
35642   cat conftest.err >&5
35643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35644   (exit $ac_status); } &&
35645          { ac_try='test -z "$ac_cxx_werror_flag"
35646                          || test ! -s conftest.err'
35647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35648   (eval $ac_try) 2>&5
35649   ac_status=$?
35650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35651   (exit $ac_status); }; } &&
35652          { ac_try='test -s conftest.$ac_objext'
35653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35654   (eval $ac_try) 2>&5
35655   ac_status=$?
35656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35657   (exit $ac_status); }; }; then
35658   glibcxx_cv_func_float_round_use=yes
35659 else
35660   echo "$as_me: failed program was:" >&5
35661 sed 's/^/| /' conftest.$ac_ext >&5
35662
35663 glibcxx_cv_func_float_round_use=no
35664 fi
35665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35666     ac_ext=c
35667 ac_cpp='$CPP $CPPFLAGS'
35668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35671
35672 fi
35673
35674   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
35675 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
35676   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
35677
35678
35679 for ac_func in ceilf floorf
35680 do
35681 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35682 echo "$as_me:$LINENO: checking for $ac_func" >&5
35683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35684 if eval "test \"\${$as_ac_var+set}\" = set"; then
35685   echo $ECHO_N "(cached) $ECHO_C" >&6
35686 else
35687   if test x$gcc_no_link = xyes; then
35688   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35689 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35690    { (exit 1); exit 1; }; }
35691 fi
35692 cat >conftest.$ac_ext <<_ACEOF
35693 /* confdefs.h.  */
35694 _ACEOF
35695 cat confdefs.h >>conftest.$ac_ext
35696 cat >>conftest.$ac_ext <<_ACEOF
35697 /* end confdefs.h.  */
35698 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35699    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35700 #define $ac_func innocuous_$ac_func
35701
35702 /* System header to define __stub macros and hopefully few prototypes,
35703     which can conflict with char $ac_func (); below.
35704     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35705     <limits.h> exists even on freestanding compilers.  */
35706
35707 #ifdef __STDC__
35708 # include <limits.h>
35709 #else
35710 # include <assert.h>
35711 #endif
35712
35713 #undef $ac_func
35714
35715 /* Override any gcc2 internal prototype to avoid an error.  */
35716 #ifdef __cplusplus
35717 extern "C"
35718 {
35719 #endif
35720 /* We use char because int might match the return type of a gcc2
35721    builtin and then its argument prototype would still apply.  */
35722 char $ac_func ();
35723 /* The GNU C library defines this for functions which it implements
35724     to always fail with ENOSYS.  Some functions are actually named
35725     something starting with __ and the normal name is an alias.  */
35726 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35727 choke me
35728 #else
35729 char (*f) () = $ac_func;
35730 #endif
35731 #ifdef __cplusplus
35732 }
35733 #endif
35734
35735 int
35736 main ()
35737 {
35738 return f != $ac_func;
35739   ;
35740   return 0;
35741 }
35742 _ACEOF
35743 rm -f conftest.$ac_objext conftest$ac_exeext
35744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35745   (eval $ac_link) 2>conftest.er1
35746   ac_status=$?
35747   grep -v '^ *+' conftest.er1 >conftest.err
35748   rm -f conftest.er1
35749   cat conftest.err >&5
35750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35751   (exit $ac_status); } &&
35752          { ac_try='test -z "$ac_c_werror_flag"
35753                          || test ! -s conftest.err'
35754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35755   (eval $ac_try) 2>&5
35756   ac_status=$?
35757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35758   (exit $ac_status); }; } &&
35759          { ac_try='test -s conftest$ac_exeext'
35760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35761   (eval $ac_try) 2>&5
35762   ac_status=$?
35763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35764   (exit $ac_status); }; }; then
35765   eval "$as_ac_var=yes"
35766 else
35767   echo "$as_me: failed program was:" >&5
35768 sed 's/^/| /' conftest.$ac_ext >&5
35769
35770 eval "$as_ac_var=no"
35771 fi
35772 rm -f conftest.err conftest.$ac_objext \
35773       conftest$ac_exeext conftest.$ac_ext
35774 fi
35775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35776 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35777 if test `eval echo '${'$as_ac_var'}'` = yes; then
35778   cat >>confdefs.h <<_ACEOF
35779 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35780 _ACEOF
35781
35782 fi
35783 done
35784
35785   else
35786     echo "$as_me:$LINENO: checking for _float round functions" >&5
35787 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
35788     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
35789   echo $ECHO_N "(cached) $ECHO_C" >&6
35790 else
35791
35792
35793
35794       ac_ext=cc
35795 ac_cpp='$CXXCPP $CPPFLAGS'
35796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35799
35800       cat >conftest.$ac_ext <<_ACEOF
35801 /* confdefs.h.  */
35802 _ACEOF
35803 cat confdefs.h >>conftest.$ac_ext
35804 cat >>conftest.$ac_ext <<_ACEOF
35805 /* end confdefs.h.  */
35806 #include <math.h>
35807 int
35808 main ()
35809 {
35810 _ceilf (0); _floorf (0);
35811   ;
35812   return 0;
35813 }
35814 _ACEOF
35815 rm -f conftest.$ac_objext
35816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35817   (eval $ac_compile) 2>conftest.er1
35818   ac_status=$?
35819   grep -v '^ *+' conftest.er1 >conftest.err
35820   rm -f conftest.er1
35821   cat conftest.err >&5
35822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35823   (exit $ac_status); } &&
35824          { ac_try='test -z "$ac_cxx_werror_flag"
35825                          || test ! -s conftest.err'
35826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35827   (eval $ac_try) 2>&5
35828   ac_status=$?
35829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35830   (exit $ac_status); }; } &&
35831          { ac_try='test -s conftest.$ac_objext'
35832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35833   (eval $ac_try) 2>&5
35834   ac_status=$?
35835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35836   (exit $ac_status); }; }; then
35837   glibcxx_cv_func__float_round_use=yes
35838 else
35839   echo "$as_me: failed program was:" >&5
35840 sed 's/^/| /' conftest.$ac_ext >&5
35841
35842 glibcxx_cv_func__float_round_use=no
35843 fi
35844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35845       ac_ext=c
35846 ac_cpp='$CPP $CPPFLAGS'
35847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35850
35851 fi
35852
35853     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
35854 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
35855     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
35856
35857
35858 for ac_func in _ceilf _floorf
35859 do
35860 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35861 echo "$as_me:$LINENO: checking for $ac_func" >&5
35862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35863 if eval "test \"\${$as_ac_var+set}\" = set"; then
35864   echo $ECHO_N "(cached) $ECHO_C" >&6
35865 else
35866   if test x$gcc_no_link = xyes; then
35867   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35869    { (exit 1); exit 1; }; }
35870 fi
35871 cat >conftest.$ac_ext <<_ACEOF
35872 /* confdefs.h.  */
35873 _ACEOF
35874 cat confdefs.h >>conftest.$ac_ext
35875 cat >>conftest.$ac_ext <<_ACEOF
35876 /* end confdefs.h.  */
35877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35878    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35879 #define $ac_func innocuous_$ac_func
35880
35881 /* System header to define __stub macros and hopefully few prototypes,
35882     which can conflict with char $ac_func (); below.
35883     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35884     <limits.h> exists even on freestanding compilers.  */
35885
35886 #ifdef __STDC__
35887 # include <limits.h>
35888 #else
35889 # include <assert.h>
35890 #endif
35891
35892 #undef $ac_func
35893
35894 /* Override any gcc2 internal prototype to avoid an error.  */
35895 #ifdef __cplusplus
35896 extern "C"
35897 {
35898 #endif
35899 /* We use char because int might match the return type of a gcc2
35900    builtin and then its argument prototype would still apply.  */
35901 char $ac_func ();
35902 /* The GNU C library defines this for functions which it implements
35903     to always fail with ENOSYS.  Some functions are actually named
35904     something starting with __ and the normal name is an alias.  */
35905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35906 choke me
35907 #else
35908 char (*f) () = $ac_func;
35909 #endif
35910 #ifdef __cplusplus
35911 }
35912 #endif
35913
35914 int
35915 main ()
35916 {
35917 return f != $ac_func;
35918   ;
35919   return 0;
35920 }
35921 _ACEOF
35922 rm -f conftest.$ac_objext conftest$ac_exeext
35923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35924   (eval $ac_link) 2>conftest.er1
35925   ac_status=$?
35926   grep -v '^ *+' conftest.er1 >conftest.err
35927   rm -f conftest.er1
35928   cat conftest.err >&5
35929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35930   (exit $ac_status); } &&
35931          { ac_try='test -z "$ac_c_werror_flag"
35932                          || test ! -s conftest.err'
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); }; } &&
35938          { ac_try='test -s conftest$ac_exeext'
35939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35940   (eval $ac_try) 2>&5
35941   ac_status=$?
35942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35943   (exit $ac_status); }; }; then
35944   eval "$as_ac_var=yes"
35945 else
35946   echo "$as_me: failed program was:" >&5
35947 sed 's/^/| /' conftest.$ac_ext >&5
35948
35949 eval "$as_ac_var=no"
35950 fi
35951 rm -f conftest.err conftest.$ac_objext \
35952       conftest$ac_exeext conftest.$ac_ext
35953 fi
35954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35956 if test `eval echo '${'$as_ac_var'}'` = yes; then
35957   cat >>confdefs.h <<_ACEOF
35958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35959 _ACEOF
35960
35961 fi
35962 done
35963
35964     fi
35965   fi
35966
35967
35968
35969
35970
35971
35972
35973
35974   echo "$as_me:$LINENO: checking for expf declaration" >&5
35975 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
35976   if test x${glibcxx_cv_func_expf_use+set} != xset; then
35977     if test "${glibcxx_cv_func_expf_use+set}" = set; then
35978   echo $ECHO_N "(cached) $ECHO_C" >&6
35979 else
35980
35981
35982
35983       ac_ext=cc
35984 ac_cpp='$CXXCPP $CPPFLAGS'
35985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35988
35989       cat >conftest.$ac_ext <<_ACEOF
35990 /* confdefs.h.  */
35991 _ACEOF
35992 cat confdefs.h >>conftest.$ac_ext
35993 cat >>conftest.$ac_ext <<_ACEOF
35994 /* end confdefs.h.  */
35995 #include <math.h>
35996                       #ifdef HAVE_IEEEFP_H
35997                       #include <ieeefp.h>
35998                       #endif
35999
36000 int
36001 main ()
36002 {
36003  expf(0);
36004   ;
36005   return 0;
36006 }
36007 _ACEOF
36008 rm -f conftest.$ac_objext
36009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36010   (eval $ac_compile) 2>conftest.er1
36011   ac_status=$?
36012   grep -v '^ *+' conftest.er1 >conftest.err
36013   rm -f conftest.er1
36014   cat conftest.err >&5
36015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36016   (exit $ac_status); } &&
36017          { ac_try='test -z "$ac_cxx_werror_flag"
36018                          || test ! -s conftest.err'
36019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36020   (eval $ac_try) 2>&5
36021   ac_status=$?
36022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36023   (exit $ac_status); }; } &&
36024          { ac_try='test -s conftest.$ac_objext'
36025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36026   (eval $ac_try) 2>&5
36027   ac_status=$?
36028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36029   (exit $ac_status); }; }; then
36030   glibcxx_cv_func_expf_use=yes
36031 else
36032   echo "$as_me: failed program was:" >&5
36033 sed 's/^/| /' conftest.$ac_ext >&5
36034
36035 glibcxx_cv_func_expf_use=no
36036 fi
36037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36038       ac_ext=c
36039 ac_cpp='$CPP $CPPFLAGS'
36040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36043
36044
36045 fi
36046
36047   fi
36048   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
36049 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
36050
36051   if test x$glibcxx_cv_func_expf_use = x"yes"; then
36052
36053 for ac_func in expf
36054 do
36055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36056 echo "$as_me:$LINENO: checking for $ac_func" >&5
36057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36058 if eval "test \"\${$as_ac_var+set}\" = set"; then
36059   echo $ECHO_N "(cached) $ECHO_C" >&6
36060 else
36061   if test x$gcc_no_link = xyes; then
36062   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36064    { (exit 1); exit 1; }; }
36065 fi
36066 cat >conftest.$ac_ext <<_ACEOF
36067 /* confdefs.h.  */
36068 _ACEOF
36069 cat confdefs.h >>conftest.$ac_ext
36070 cat >>conftest.$ac_ext <<_ACEOF
36071 /* end confdefs.h.  */
36072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36073    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36074 #define $ac_func innocuous_$ac_func
36075
36076 /* System header to define __stub macros and hopefully few prototypes,
36077     which can conflict with char $ac_func (); below.
36078     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36079     <limits.h> exists even on freestanding compilers.  */
36080
36081 #ifdef __STDC__
36082 # include <limits.h>
36083 #else
36084 # include <assert.h>
36085 #endif
36086
36087 #undef $ac_func
36088
36089 /* Override any gcc2 internal prototype to avoid an error.  */
36090 #ifdef __cplusplus
36091 extern "C"
36092 {
36093 #endif
36094 /* We use char because int might match the return type of a gcc2
36095    builtin and then its argument prototype would still apply.  */
36096 char $ac_func ();
36097 /* The GNU C library defines this for functions which it implements
36098     to always fail with ENOSYS.  Some functions are actually named
36099     something starting with __ and the normal name is an alias.  */
36100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36101 choke me
36102 #else
36103 char (*f) () = $ac_func;
36104 #endif
36105 #ifdef __cplusplus
36106 }
36107 #endif
36108
36109 int
36110 main ()
36111 {
36112 return f != $ac_func;
36113   ;
36114   return 0;
36115 }
36116 _ACEOF
36117 rm -f conftest.$ac_objext conftest$ac_exeext
36118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36119   (eval $ac_link) 2>conftest.er1
36120   ac_status=$?
36121   grep -v '^ *+' conftest.er1 >conftest.err
36122   rm -f conftest.er1
36123   cat conftest.err >&5
36124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36125   (exit $ac_status); } &&
36126          { ac_try='test -z "$ac_c_werror_flag"
36127                          || test ! -s conftest.err'
36128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36129   (eval $ac_try) 2>&5
36130   ac_status=$?
36131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36132   (exit $ac_status); }; } &&
36133          { ac_try='test -s conftest$ac_exeext'
36134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36135   (eval $ac_try) 2>&5
36136   ac_status=$?
36137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36138   (exit $ac_status); }; }; then
36139   eval "$as_ac_var=yes"
36140 else
36141   echo "$as_me: failed program was:" >&5
36142 sed 's/^/| /' conftest.$ac_ext >&5
36143
36144 eval "$as_ac_var=no"
36145 fi
36146 rm -f conftest.err conftest.$ac_objext \
36147       conftest$ac_exeext conftest.$ac_ext
36148 fi
36149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36150 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36151 if test `eval echo '${'$as_ac_var'}'` = yes; then
36152   cat >>confdefs.h <<_ACEOF
36153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36154 _ACEOF
36155
36156 fi
36157 done
36158
36159   else
36160
36161   echo "$as_me:$LINENO: checking for _expf declaration" >&5
36162 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
36163   if test x${glibcxx_cv_func__expf_use+set} != xset; then
36164     if test "${glibcxx_cv_func__expf_use+set}" = set; then
36165   echo $ECHO_N "(cached) $ECHO_C" >&6
36166 else
36167
36168
36169
36170       ac_ext=cc
36171 ac_cpp='$CXXCPP $CPPFLAGS'
36172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36175
36176       cat >conftest.$ac_ext <<_ACEOF
36177 /* confdefs.h.  */
36178 _ACEOF
36179 cat confdefs.h >>conftest.$ac_ext
36180 cat >>conftest.$ac_ext <<_ACEOF
36181 /* end confdefs.h.  */
36182 #include <math.h>
36183                       #ifdef HAVE_IEEEFP_H
36184                       #include <ieeefp.h>
36185                       #endif
36186
36187 int
36188 main ()
36189 {
36190  _expf(0);
36191   ;
36192   return 0;
36193 }
36194 _ACEOF
36195 rm -f conftest.$ac_objext
36196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36197   (eval $ac_compile) 2>conftest.er1
36198   ac_status=$?
36199   grep -v '^ *+' conftest.er1 >conftest.err
36200   rm -f conftest.er1
36201   cat conftest.err >&5
36202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36203   (exit $ac_status); } &&
36204          { ac_try='test -z "$ac_cxx_werror_flag"
36205                          || test ! -s conftest.err'
36206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36207   (eval $ac_try) 2>&5
36208   ac_status=$?
36209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36210   (exit $ac_status); }; } &&
36211          { ac_try='test -s conftest.$ac_objext'
36212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36213   (eval $ac_try) 2>&5
36214   ac_status=$?
36215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36216   (exit $ac_status); }; }; then
36217   glibcxx_cv_func__expf_use=yes
36218 else
36219   echo "$as_me: failed program was:" >&5
36220 sed 's/^/| /' conftest.$ac_ext >&5
36221
36222 glibcxx_cv_func__expf_use=no
36223 fi
36224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36225       ac_ext=c
36226 ac_cpp='$CPP $CPPFLAGS'
36227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36230
36231
36232 fi
36233
36234   fi
36235   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
36236 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
36237
36238     if test x$glibcxx_cv_func__expf_use = x"yes"; then
36239
36240 for ac_func in _expf
36241 do
36242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36243 echo "$as_me:$LINENO: checking for $ac_func" >&5
36244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36245 if eval "test \"\${$as_ac_var+set}\" = set"; then
36246   echo $ECHO_N "(cached) $ECHO_C" >&6
36247 else
36248   if test x$gcc_no_link = xyes; then
36249   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36251    { (exit 1); exit 1; }; }
36252 fi
36253 cat >conftest.$ac_ext <<_ACEOF
36254 /* confdefs.h.  */
36255 _ACEOF
36256 cat confdefs.h >>conftest.$ac_ext
36257 cat >>conftest.$ac_ext <<_ACEOF
36258 /* end confdefs.h.  */
36259 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36260    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36261 #define $ac_func innocuous_$ac_func
36262
36263 /* System header to define __stub macros and hopefully few prototypes,
36264     which can conflict with char $ac_func (); below.
36265     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36266     <limits.h> exists even on freestanding compilers.  */
36267
36268 #ifdef __STDC__
36269 # include <limits.h>
36270 #else
36271 # include <assert.h>
36272 #endif
36273
36274 #undef $ac_func
36275
36276 /* Override any gcc2 internal prototype to avoid an error.  */
36277 #ifdef __cplusplus
36278 extern "C"
36279 {
36280 #endif
36281 /* We use char because int might match the return type of a gcc2
36282    builtin and then its argument prototype would still apply.  */
36283 char $ac_func ();
36284 /* The GNU C library defines this for functions which it implements
36285     to always fail with ENOSYS.  Some functions are actually named
36286     something starting with __ and the normal name is an alias.  */
36287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36288 choke me
36289 #else
36290 char (*f) () = $ac_func;
36291 #endif
36292 #ifdef __cplusplus
36293 }
36294 #endif
36295
36296 int
36297 main ()
36298 {
36299 return f != $ac_func;
36300   ;
36301   return 0;
36302 }
36303 _ACEOF
36304 rm -f conftest.$ac_objext conftest$ac_exeext
36305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36306   (eval $ac_link) 2>conftest.er1
36307   ac_status=$?
36308   grep -v '^ *+' conftest.er1 >conftest.err
36309   rm -f conftest.er1
36310   cat conftest.err >&5
36311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36312   (exit $ac_status); } &&
36313          { ac_try='test -z "$ac_c_werror_flag"
36314                          || test ! -s conftest.err'
36315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36316   (eval $ac_try) 2>&5
36317   ac_status=$?
36318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36319   (exit $ac_status); }; } &&
36320          { ac_try='test -s conftest$ac_exeext'
36321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36322   (eval $ac_try) 2>&5
36323   ac_status=$?
36324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36325   (exit $ac_status); }; }; then
36326   eval "$as_ac_var=yes"
36327 else
36328   echo "$as_me: failed program was:" >&5
36329 sed 's/^/| /' conftest.$ac_ext >&5
36330
36331 eval "$as_ac_var=no"
36332 fi
36333 rm -f conftest.err conftest.$ac_objext \
36334       conftest$ac_exeext conftest.$ac_ext
36335 fi
36336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36338 if test `eval echo '${'$as_ac_var'}'` = yes; then
36339   cat >>confdefs.h <<_ACEOF
36340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36341 _ACEOF
36342
36343 fi
36344 done
36345
36346     fi
36347   fi
36348
36349
36350
36351
36352
36353
36354   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
36355 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
36356   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36357     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
36358   echo $ECHO_N "(cached) $ECHO_C" >&6
36359 else
36360
36361
36362
36363       ac_ext=cc
36364 ac_cpp='$CXXCPP $CPPFLAGS'
36365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36368
36369       cat >conftest.$ac_ext <<_ACEOF
36370 /* confdefs.h.  */
36371 _ACEOF
36372 cat confdefs.h >>conftest.$ac_ext
36373 cat >>conftest.$ac_ext <<_ACEOF
36374 /* end confdefs.h.  */
36375 #include <math.h>
36376                       #ifdef HAVE_IEEEFP_H
36377                       #include <ieeefp.h>
36378                       #endif
36379
36380 int
36381 main ()
36382 {
36383  isnanf(0);
36384   ;
36385   return 0;
36386 }
36387 _ACEOF
36388 rm -f conftest.$ac_objext
36389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36390   (eval $ac_compile) 2>conftest.er1
36391   ac_status=$?
36392   grep -v '^ *+' conftest.er1 >conftest.err
36393   rm -f conftest.er1
36394   cat conftest.err >&5
36395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36396   (exit $ac_status); } &&
36397          { ac_try='test -z "$ac_cxx_werror_flag"
36398                          || test ! -s conftest.err'
36399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36400   (eval $ac_try) 2>&5
36401   ac_status=$?
36402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36403   (exit $ac_status); }; } &&
36404          { ac_try='test -s conftest.$ac_objext'
36405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36406   (eval $ac_try) 2>&5
36407   ac_status=$?
36408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36409   (exit $ac_status); }; }; then
36410   glibcxx_cv_func_isnanf_use=yes
36411 else
36412   echo "$as_me: failed program was:" >&5
36413 sed 's/^/| /' conftest.$ac_ext >&5
36414
36415 glibcxx_cv_func_isnanf_use=no
36416 fi
36417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36418       ac_ext=c
36419 ac_cpp='$CPP $CPPFLAGS'
36420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36423
36424
36425 fi
36426
36427   fi
36428   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
36429 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
36430
36431   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36432
36433 for ac_func in isnanf
36434 do
36435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36436 echo "$as_me:$LINENO: checking for $ac_func" >&5
36437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36438 if eval "test \"\${$as_ac_var+set}\" = set"; then
36439   echo $ECHO_N "(cached) $ECHO_C" >&6
36440 else
36441   if test x$gcc_no_link = xyes; then
36442   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36444    { (exit 1); exit 1; }; }
36445 fi
36446 cat >conftest.$ac_ext <<_ACEOF
36447 /* confdefs.h.  */
36448 _ACEOF
36449 cat confdefs.h >>conftest.$ac_ext
36450 cat >>conftest.$ac_ext <<_ACEOF
36451 /* end confdefs.h.  */
36452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36453    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36454 #define $ac_func innocuous_$ac_func
36455
36456 /* System header to define __stub macros and hopefully few prototypes,
36457     which can conflict with char $ac_func (); below.
36458     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36459     <limits.h> exists even on freestanding compilers.  */
36460
36461 #ifdef __STDC__
36462 # include <limits.h>
36463 #else
36464 # include <assert.h>
36465 #endif
36466
36467 #undef $ac_func
36468
36469 /* Override any gcc2 internal prototype to avoid an error.  */
36470 #ifdef __cplusplus
36471 extern "C"
36472 {
36473 #endif
36474 /* We use char because int might match the return type of a gcc2
36475    builtin and then its argument prototype would still apply.  */
36476 char $ac_func ();
36477 /* The GNU C library defines this for functions which it implements
36478     to always fail with ENOSYS.  Some functions are actually named
36479     something starting with __ and the normal name is an alias.  */
36480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36481 choke me
36482 #else
36483 char (*f) () = $ac_func;
36484 #endif
36485 #ifdef __cplusplus
36486 }
36487 #endif
36488
36489 int
36490 main ()
36491 {
36492 return f != $ac_func;
36493   ;
36494   return 0;
36495 }
36496 _ACEOF
36497 rm -f conftest.$ac_objext conftest$ac_exeext
36498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36499   (eval $ac_link) 2>conftest.er1
36500   ac_status=$?
36501   grep -v '^ *+' conftest.er1 >conftest.err
36502   rm -f conftest.er1
36503   cat conftest.err >&5
36504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36505   (exit $ac_status); } &&
36506          { ac_try='test -z "$ac_c_werror_flag"
36507                          || test ! -s conftest.err'
36508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36509   (eval $ac_try) 2>&5
36510   ac_status=$?
36511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36512   (exit $ac_status); }; } &&
36513          { ac_try='test -s conftest$ac_exeext'
36514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36515   (eval $ac_try) 2>&5
36516   ac_status=$?
36517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36518   (exit $ac_status); }; }; then
36519   eval "$as_ac_var=yes"
36520 else
36521   echo "$as_me: failed program was:" >&5
36522 sed 's/^/| /' conftest.$ac_ext >&5
36523
36524 eval "$as_ac_var=no"
36525 fi
36526 rm -f conftest.err conftest.$ac_objext \
36527       conftest$ac_exeext conftest.$ac_ext
36528 fi
36529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36531 if test `eval echo '${'$as_ac_var'}'` = yes; then
36532   cat >>confdefs.h <<_ACEOF
36533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36534 _ACEOF
36535
36536 fi
36537 done
36538
36539   else
36540
36541   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
36542 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
36543   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36544     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
36545   echo $ECHO_N "(cached) $ECHO_C" >&6
36546 else
36547
36548
36549
36550       ac_ext=cc
36551 ac_cpp='$CXXCPP $CPPFLAGS'
36552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36555
36556       cat >conftest.$ac_ext <<_ACEOF
36557 /* confdefs.h.  */
36558 _ACEOF
36559 cat confdefs.h >>conftest.$ac_ext
36560 cat >>conftest.$ac_ext <<_ACEOF
36561 /* end confdefs.h.  */
36562 #include <math.h>
36563                       #ifdef HAVE_IEEEFP_H
36564                       #include <ieeefp.h>
36565                       #endif
36566
36567 int
36568 main ()
36569 {
36570  _isnanf(0);
36571   ;
36572   return 0;
36573 }
36574 _ACEOF
36575 rm -f conftest.$ac_objext
36576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36577   (eval $ac_compile) 2>conftest.er1
36578   ac_status=$?
36579   grep -v '^ *+' conftest.er1 >conftest.err
36580   rm -f conftest.er1
36581   cat conftest.err >&5
36582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36583   (exit $ac_status); } &&
36584          { ac_try='test -z "$ac_cxx_werror_flag"
36585                          || test ! -s conftest.err'
36586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36587   (eval $ac_try) 2>&5
36588   ac_status=$?
36589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36590   (exit $ac_status); }; } &&
36591          { ac_try='test -s conftest.$ac_objext'
36592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36593   (eval $ac_try) 2>&5
36594   ac_status=$?
36595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36596   (exit $ac_status); }; }; then
36597   glibcxx_cv_func__isnanf_use=yes
36598 else
36599   echo "$as_me: failed program was:" >&5
36600 sed 's/^/| /' conftest.$ac_ext >&5
36601
36602 glibcxx_cv_func__isnanf_use=no
36603 fi
36604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36605       ac_ext=c
36606 ac_cpp='$CPP $CPPFLAGS'
36607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36610
36611
36612 fi
36613
36614   fi
36615   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
36616 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
36617
36618     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36619
36620 for ac_func in _isnanf
36621 do
36622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36623 echo "$as_me:$LINENO: checking for $ac_func" >&5
36624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36625 if eval "test \"\${$as_ac_var+set}\" = set"; then
36626   echo $ECHO_N "(cached) $ECHO_C" >&6
36627 else
36628   if test x$gcc_no_link = xyes; then
36629   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36631    { (exit 1); exit 1; }; }
36632 fi
36633 cat >conftest.$ac_ext <<_ACEOF
36634 /* confdefs.h.  */
36635 _ACEOF
36636 cat confdefs.h >>conftest.$ac_ext
36637 cat >>conftest.$ac_ext <<_ACEOF
36638 /* end confdefs.h.  */
36639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36640    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36641 #define $ac_func innocuous_$ac_func
36642
36643 /* System header to define __stub macros and hopefully few prototypes,
36644     which can conflict with char $ac_func (); below.
36645     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36646     <limits.h> exists even on freestanding compilers.  */
36647
36648 #ifdef __STDC__
36649 # include <limits.h>
36650 #else
36651 # include <assert.h>
36652 #endif
36653
36654 #undef $ac_func
36655
36656 /* Override any gcc2 internal prototype to avoid an error.  */
36657 #ifdef __cplusplus
36658 extern "C"
36659 {
36660 #endif
36661 /* We use char because int might match the return type of a gcc2
36662    builtin and then its argument prototype would still apply.  */
36663 char $ac_func ();
36664 /* The GNU C library defines this for functions which it implements
36665     to always fail with ENOSYS.  Some functions are actually named
36666     something starting with __ and the normal name is an alias.  */
36667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36668 choke me
36669 #else
36670 char (*f) () = $ac_func;
36671 #endif
36672 #ifdef __cplusplus
36673 }
36674 #endif
36675
36676 int
36677 main ()
36678 {
36679 return f != $ac_func;
36680   ;
36681   return 0;
36682 }
36683 _ACEOF
36684 rm -f conftest.$ac_objext conftest$ac_exeext
36685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36686   (eval $ac_link) 2>conftest.er1
36687   ac_status=$?
36688   grep -v '^ *+' conftest.er1 >conftest.err
36689   rm -f conftest.er1
36690   cat conftest.err >&5
36691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36692   (exit $ac_status); } &&
36693          { ac_try='test -z "$ac_c_werror_flag"
36694                          || test ! -s conftest.err'
36695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36696   (eval $ac_try) 2>&5
36697   ac_status=$?
36698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36699   (exit $ac_status); }; } &&
36700          { ac_try='test -s conftest$ac_exeext'
36701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36702   (eval $ac_try) 2>&5
36703   ac_status=$?
36704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36705   (exit $ac_status); }; }; then
36706   eval "$as_ac_var=yes"
36707 else
36708   echo "$as_me: failed program was:" >&5
36709 sed 's/^/| /' conftest.$ac_ext >&5
36710
36711 eval "$as_ac_var=no"
36712 fi
36713 rm -f conftest.err conftest.$ac_objext \
36714       conftest$ac_exeext conftest.$ac_ext
36715 fi
36716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36718 if test `eval echo '${'$as_ac_var'}'` = yes; then
36719   cat >>confdefs.h <<_ACEOF
36720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36721 _ACEOF
36722
36723 fi
36724 done
36725
36726     fi
36727   fi
36728
36729
36730
36731
36732
36733
36734   echo "$as_me:$LINENO: checking for isinff declaration" >&5
36735 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
36736   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36737     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
36738   echo $ECHO_N "(cached) $ECHO_C" >&6
36739 else
36740
36741
36742
36743       ac_ext=cc
36744 ac_cpp='$CXXCPP $CPPFLAGS'
36745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36748
36749       cat >conftest.$ac_ext <<_ACEOF
36750 /* confdefs.h.  */
36751 _ACEOF
36752 cat confdefs.h >>conftest.$ac_ext
36753 cat >>conftest.$ac_ext <<_ACEOF
36754 /* end confdefs.h.  */
36755 #include <math.h>
36756                       #ifdef HAVE_IEEEFP_H
36757                       #include <ieeefp.h>
36758                       #endif
36759
36760 int
36761 main ()
36762 {
36763  isinff(0);
36764   ;
36765   return 0;
36766 }
36767 _ACEOF
36768 rm -f conftest.$ac_objext
36769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36770   (eval $ac_compile) 2>conftest.er1
36771   ac_status=$?
36772   grep -v '^ *+' conftest.er1 >conftest.err
36773   rm -f conftest.er1
36774   cat conftest.err >&5
36775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36776   (exit $ac_status); } &&
36777          { ac_try='test -z "$ac_cxx_werror_flag"
36778                          || test ! -s conftest.err'
36779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36780   (eval $ac_try) 2>&5
36781   ac_status=$?
36782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36783   (exit $ac_status); }; } &&
36784          { ac_try='test -s conftest.$ac_objext'
36785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36786   (eval $ac_try) 2>&5
36787   ac_status=$?
36788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36789   (exit $ac_status); }; }; then
36790   glibcxx_cv_func_isinff_use=yes
36791 else
36792   echo "$as_me: failed program was:" >&5
36793 sed 's/^/| /' conftest.$ac_ext >&5
36794
36795 glibcxx_cv_func_isinff_use=no
36796 fi
36797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36798       ac_ext=c
36799 ac_cpp='$CPP $CPPFLAGS'
36800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36803
36804
36805 fi
36806
36807   fi
36808   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
36809 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
36810
36811   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36812
36813 for ac_func in isinff
36814 do
36815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36816 echo "$as_me:$LINENO: checking for $ac_func" >&5
36817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36818 if eval "test \"\${$as_ac_var+set}\" = set"; then
36819   echo $ECHO_N "(cached) $ECHO_C" >&6
36820 else
36821   if test x$gcc_no_link = xyes; then
36822   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36824    { (exit 1); exit 1; }; }
36825 fi
36826 cat >conftest.$ac_ext <<_ACEOF
36827 /* confdefs.h.  */
36828 _ACEOF
36829 cat confdefs.h >>conftest.$ac_ext
36830 cat >>conftest.$ac_ext <<_ACEOF
36831 /* end confdefs.h.  */
36832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36833    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36834 #define $ac_func innocuous_$ac_func
36835
36836 /* System header to define __stub macros and hopefully few prototypes,
36837     which can conflict with char $ac_func (); below.
36838     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36839     <limits.h> exists even on freestanding compilers.  */
36840
36841 #ifdef __STDC__
36842 # include <limits.h>
36843 #else
36844 # include <assert.h>
36845 #endif
36846
36847 #undef $ac_func
36848
36849 /* Override any gcc2 internal prototype to avoid an error.  */
36850 #ifdef __cplusplus
36851 extern "C"
36852 {
36853 #endif
36854 /* We use char because int might match the return type of a gcc2
36855    builtin and then its argument prototype would still apply.  */
36856 char $ac_func ();
36857 /* The GNU C library defines this for functions which it implements
36858     to always fail with ENOSYS.  Some functions are actually named
36859     something starting with __ and the normal name is an alias.  */
36860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36861 choke me
36862 #else
36863 char (*f) () = $ac_func;
36864 #endif
36865 #ifdef __cplusplus
36866 }
36867 #endif
36868
36869 int
36870 main ()
36871 {
36872 return f != $ac_func;
36873   ;
36874   return 0;
36875 }
36876 _ACEOF
36877 rm -f conftest.$ac_objext conftest$ac_exeext
36878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36879   (eval $ac_link) 2>conftest.er1
36880   ac_status=$?
36881   grep -v '^ *+' conftest.er1 >conftest.err
36882   rm -f conftest.er1
36883   cat conftest.err >&5
36884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36885   (exit $ac_status); } &&
36886          { ac_try='test -z "$ac_c_werror_flag"
36887                          || test ! -s conftest.err'
36888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36889   (eval $ac_try) 2>&5
36890   ac_status=$?
36891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36892   (exit $ac_status); }; } &&
36893          { ac_try='test -s conftest$ac_exeext'
36894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36895   (eval $ac_try) 2>&5
36896   ac_status=$?
36897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36898   (exit $ac_status); }; }; then
36899   eval "$as_ac_var=yes"
36900 else
36901   echo "$as_me: failed program was:" >&5
36902 sed 's/^/| /' conftest.$ac_ext >&5
36903
36904 eval "$as_ac_var=no"
36905 fi
36906 rm -f conftest.err conftest.$ac_objext \
36907       conftest$ac_exeext conftest.$ac_ext
36908 fi
36909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36911 if test `eval echo '${'$as_ac_var'}'` = yes; then
36912   cat >>confdefs.h <<_ACEOF
36913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36914 _ACEOF
36915
36916 fi
36917 done
36918
36919   else
36920
36921   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
36922 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
36923   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36924     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
36925   echo $ECHO_N "(cached) $ECHO_C" >&6
36926 else
36927
36928
36929
36930       ac_ext=cc
36931 ac_cpp='$CXXCPP $CPPFLAGS'
36932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36935
36936       cat >conftest.$ac_ext <<_ACEOF
36937 /* confdefs.h.  */
36938 _ACEOF
36939 cat confdefs.h >>conftest.$ac_ext
36940 cat >>conftest.$ac_ext <<_ACEOF
36941 /* end confdefs.h.  */
36942 #include <math.h>
36943                       #ifdef HAVE_IEEEFP_H
36944                       #include <ieeefp.h>
36945                       #endif
36946
36947 int
36948 main ()
36949 {
36950  _isinff(0);
36951   ;
36952   return 0;
36953 }
36954 _ACEOF
36955 rm -f conftest.$ac_objext
36956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36957   (eval $ac_compile) 2>conftest.er1
36958   ac_status=$?
36959   grep -v '^ *+' conftest.er1 >conftest.err
36960   rm -f conftest.er1
36961   cat conftest.err >&5
36962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36963   (exit $ac_status); } &&
36964          { ac_try='test -z "$ac_cxx_werror_flag"
36965                          || test ! -s conftest.err'
36966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36967   (eval $ac_try) 2>&5
36968   ac_status=$?
36969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36970   (exit $ac_status); }; } &&
36971          { ac_try='test -s conftest.$ac_objext'
36972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36973   (eval $ac_try) 2>&5
36974   ac_status=$?
36975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36976   (exit $ac_status); }; }; then
36977   glibcxx_cv_func__isinff_use=yes
36978 else
36979   echo "$as_me: failed program was:" >&5
36980 sed 's/^/| /' conftest.$ac_ext >&5
36981
36982 glibcxx_cv_func__isinff_use=no
36983 fi
36984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36985       ac_ext=c
36986 ac_cpp='$CPP $CPPFLAGS'
36987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36990
36991
36992 fi
36993
36994   fi
36995   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
36996 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
36997
36998     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
36999
37000 for ac_func in _isinff
37001 do
37002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37003 echo "$as_me:$LINENO: checking for $ac_func" >&5
37004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37005 if eval "test \"\${$as_ac_var+set}\" = set"; then
37006   echo $ECHO_N "(cached) $ECHO_C" >&6
37007 else
37008   if test x$gcc_no_link = xyes; then
37009   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37011    { (exit 1); exit 1; }; }
37012 fi
37013 cat >conftest.$ac_ext <<_ACEOF
37014 /* confdefs.h.  */
37015 _ACEOF
37016 cat confdefs.h >>conftest.$ac_ext
37017 cat >>conftest.$ac_ext <<_ACEOF
37018 /* end confdefs.h.  */
37019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37020    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37021 #define $ac_func innocuous_$ac_func
37022
37023 /* System header to define __stub macros and hopefully few prototypes,
37024     which can conflict with char $ac_func (); below.
37025     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37026     <limits.h> exists even on freestanding compilers.  */
37027
37028 #ifdef __STDC__
37029 # include <limits.h>
37030 #else
37031 # include <assert.h>
37032 #endif
37033
37034 #undef $ac_func
37035
37036 /* Override any gcc2 internal prototype to avoid an error.  */
37037 #ifdef __cplusplus
37038 extern "C"
37039 {
37040 #endif
37041 /* We use char because int might match the return type of a gcc2
37042    builtin and then its argument prototype would still apply.  */
37043 char $ac_func ();
37044 /* The GNU C library defines this for functions which it implements
37045     to always fail with ENOSYS.  Some functions are actually named
37046     something starting with __ and the normal name is an alias.  */
37047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37048 choke me
37049 #else
37050 char (*f) () = $ac_func;
37051 #endif
37052 #ifdef __cplusplus
37053 }
37054 #endif
37055
37056 int
37057 main ()
37058 {
37059 return f != $ac_func;
37060   ;
37061   return 0;
37062 }
37063 _ACEOF
37064 rm -f conftest.$ac_objext conftest$ac_exeext
37065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37066   (eval $ac_link) 2>conftest.er1
37067   ac_status=$?
37068   grep -v '^ *+' conftest.er1 >conftest.err
37069   rm -f conftest.er1
37070   cat conftest.err >&5
37071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37072   (exit $ac_status); } &&
37073          { ac_try='test -z "$ac_c_werror_flag"
37074                          || test ! -s conftest.err'
37075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37076   (eval $ac_try) 2>&5
37077   ac_status=$?
37078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37079   (exit $ac_status); }; } &&
37080          { ac_try='test -s conftest$ac_exeext'
37081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37082   (eval $ac_try) 2>&5
37083   ac_status=$?
37084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37085   (exit $ac_status); }; }; then
37086   eval "$as_ac_var=yes"
37087 else
37088   echo "$as_me: failed program was:" >&5
37089 sed 's/^/| /' conftest.$ac_ext >&5
37090
37091 eval "$as_ac_var=no"
37092 fi
37093 rm -f conftest.err conftest.$ac_objext \
37094       conftest$ac_exeext conftest.$ac_ext
37095 fi
37096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37098 if test `eval echo '${'$as_ac_var'}'` = yes; then
37099   cat >>confdefs.h <<_ACEOF
37100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37101 _ACEOF
37102
37103 fi
37104 done
37105
37106     fi
37107   fi
37108
37109
37110
37111
37112
37113
37114   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
37115 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
37116   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
37117     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
37118   echo $ECHO_N "(cached) $ECHO_C" >&6
37119 else
37120
37121
37122
37123       ac_ext=cc
37124 ac_cpp='$CXXCPP $CPPFLAGS'
37125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37128
37129       cat >conftest.$ac_ext <<_ACEOF
37130 /* confdefs.h.  */
37131 _ACEOF
37132 cat confdefs.h >>conftest.$ac_ext
37133 cat >>conftest.$ac_ext <<_ACEOF
37134 /* end confdefs.h.  */
37135 #include <math.h>
37136 int
37137 main ()
37138 {
37139  atan2f(0, 0);
37140   ;
37141   return 0;
37142 }
37143 _ACEOF
37144 rm -f conftest.$ac_objext
37145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37146   (eval $ac_compile) 2>conftest.er1
37147   ac_status=$?
37148   grep -v '^ *+' conftest.er1 >conftest.err
37149   rm -f conftest.er1
37150   cat conftest.err >&5
37151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37152   (exit $ac_status); } &&
37153          { ac_try='test -z "$ac_cxx_werror_flag"
37154                          || test ! -s conftest.err'
37155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37156   (eval $ac_try) 2>&5
37157   ac_status=$?
37158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37159   (exit $ac_status); }; } &&
37160          { ac_try='test -s conftest.$ac_objext'
37161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37162   (eval $ac_try) 2>&5
37163   ac_status=$?
37164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37165   (exit $ac_status); }; }; then
37166   glibcxx_cv_func_atan2f_use=yes
37167 else
37168   echo "$as_me: failed program was:" >&5
37169 sed 's/^/| /' conftest.$ac_ext >&5
37170
37171 glibcxx_cv_func_atan2f_use=no
37172 fi
37173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37174       ac_ext=c
37175 ac_cpp='$CPP $CPPFLAGS'
37176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37179
37180
37181 fi
37182
37183   fi
37184   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
37185 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
37186
37187   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
37188
37189 for ac_func in atan2f
37190 do
37191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37192 echo "$as_me:$LINENO: checking for $ac_func" >&5
37193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37194 if eval "test \"\${$as_ac_var+set}\" = set"; then
37195   echo $ECHO_N "(cached) $ECHO_C" >&6
37196 else
37197   if test x$gcc_no_link = xyes; then
37198   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37200    { (exit 1); exit 1; }; }
37201 fi
37202 cat >conftest.$ac_ext <<_ACEOF
37203 /* confdefs.h.  */
37204 _ACEOF
37205 cat confdefs.h >>conftest.$ac_ext
37206 cat >>conftest.$ac_ext <<_ACEOF
37207 /* end confdefs.h.  */
37208 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37209    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37210 #define $ac_func innocuous_$ac_func
37211
37212 /* System header to define __stub macros and hopefully few prototypes,
37213     which can conflict with char $ac_func (); below.
37214     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37215     <limits.h> exists even on freestanding compilers.  */
37216
37217 #ifdef __STDC__
37218 # include <limits.h>
37219 #else
37220 # include <assert.h>
37221 #endif
37222
37223 #undef $ac_func
37224
37225 /* Override any gcc2 internal prototype to avoid an error.  */
37226 #ifdef __cplusplus
37227 extern "C"
37228 {
37229 #endif
37230 /* We use char because int might match the return type of a gcc2
37231    builtin and then its argument prototype would still apply.  */
37232 char $ac_func ();
37233 /* The GNU C library defines this for functions which it implements
37234     to always fail with ENOSYS.  Some functions are actually named
37235     something starting with __ and the normal name is an alias.  */
37236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37237 choke me
37238 #else
37239 char (*f) () = $ac_func;
37240 #endif
37241 #ifdef __cplusplus
37242 }
37243 #endif
37244
37245 int
37246 main ()
37247 {
37248 return f != $ac_func;
37249   ;
37250   return 0;
37251 }
37252 _ACEOF
37253 rm -f conftest.$ac_objext conftest$ac_exeext
37254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37255   (eval $ac_link) 2>conftest.er1
37256   ac_status=$?
37257   grep -v '^ *+' conftest.er1 >conftest.err
37258   rm -f conftest.er1
37259   cat conftest.err >&5
37260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37261   (exit $ac_status); } &&
37262          { ac_try='test -z "$ac_c_werror_flag"
37263                          || test ! -s conftest.err'
37264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37265   (eval $ac_try) 2>&5
37266   ac_status=$?
37267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37268   (exit $ac_status); }; } &&
37269          { ac_try='test -s conftest$ac_exeext'
37270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37271   (eval $ac_try) 2>&5
37272   ac_status=$?
37273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37274   (exit $ac_status); }; }; then
37275   eval "$as_ac_var=yes"
37276 else
37277   echo "$as_me: failed program was:" >&5
37278 sed 's/^/| /' conftest.$ac_ext >&5
37279
37280 eval "$as_ac_var=no"
37281 fi
37282 rm -f conftest.err conftest.$ac_objext \
37283       conftest$ac_exeext conftest.$ac_ext
37284 fi
37285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37287 if test `eval echo '${'$as_ac_var'}'` = yes; then
37288   cat >>confdefs.h <<_ACEOF
37289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37290 _ACEOF
37291
37292 fi
37293 done
37294
37295   else
37296
37297   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
37298 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
37299   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
37300     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
37301   echo $ECHO_N "(cached) $ECHO_C" >&6
37302 else
37303
37304
37305
37306       ac_ext=cc
37307 ac_cpp='$CXXCPP $CPPFLAGS'
37308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37311
37312       cat >conftest.$ac_ext <<_ACEOF
37313 /* confdefs.h.  */
37314 _ACEOF
37315 cat confdefs.h >>conftest.$ac_ext
37316 cat >>conftest.$ac_ext <<_ACEOF
37317 /* end confdefs.h.  */
37318 #include <math.h>
37319 int
37320 main ()
37321 {
37322  _atan2f(0, 0);
37323   ;
37324   return 0;
37325 }
37326 _ACEOF
37327 rm -f conftest.$ac_objext
37328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37329   (eval $ac_compile) 2>conftest.er1
37330   ac_status=$?
37331   grep -v '^ *+' conftest.er1 >conftest.err
37332   rm -f conftest.er1
37333   cat conftest.err >&5
37334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37335   (exit $ac_status); } &&
37336          { ac_try='test -z "$ac_cxx_werror_flag"
37337                          || test ! -s conftest.err'
37338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37339   (eval $ac_try) 2>&5
37340   ac_status=$?
37341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37342   (exit $ac_status); }; } &&
37343          { ac_try='test -s conftest.$ac_objext'
37344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37345   (eval $ac_try) 2>&5
37346   ac_status=$?
37347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37348   (exit $ac_status); }; }; then
37349   glibcxx_cv_func__atan2f_use=yes
37350 else
37351   echo "$as_me: failed program was:" >&5
37352 sed 's/^/| /' conftest.$ac_ext >&5
37353
37354 glibcxx_cv_func__atan2f_use=no
37355 fi
37356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37357       ac_ext=c
37358 ac_cpp='$CPP $CPPFLAGS'
37359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37362
37363
37364 fi
37365
37366   fi
37367   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
37368 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
37369
37370     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
37371
37372 for ac_func in _atan2f
37373 do
37374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37375 echo "$as_me:$LINENO: checking for $ac_func" >&5
37376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37377 if eval "test \"\${$as_ac_var+set}\" = set"; then
37378   echo $ECHO_N "(cached) $ECHO_C" >&6
37379 else
37380   if test x$gcc_no_link = xyes; then
37381   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37383    { (exit 1); exit 1; }; }
37384 fi
37385 cat >conftest.$ac_ext <<_ACEOF
37386 /* confdefs.h.  */
37387 _ACEOF
37388 cat confdefs.h >>conftest.$ac_ext
37389 cat >>conftest.$ac_ext <<_ACEOF
37390 /* end confdefs.h.  */
37391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37392    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37393 #define $ac_func innocuous_$ac_func
37394
37395 /* System header to define __stub macros and hopefully few prototypes,
37396     which can conflict with char $ac_func (); below.
37397     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37398     <limits.h> exists even on freestanding compilers.  */
37399
37400 #ifdef __STDC__
37401 # include <limits.h>
37402 #else
37403 # include <assert.h>
37404 #endif
37405
37406 #undef $ac_func
37407
37408 /* Override any gcc2 internal prototype to avoid an error.  */
37409 #ifdef __cplusplus
37410 extern "C"
37411 {
37412 #endif
37413 /* We use char because int might match the return type of a gcc2
37414    builtin and then its argument prototype would still apply.  */
37415 char $ac_func ();
37416 /* The GNU C library defines this for functions which it implements
37417     to always fail with ENOSYS.  Some functions are actually named
37418     something starting with __ and the normal name is an alias.  */
37419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37420 choke me
37421 #else
37422 char (*f) () = $ac_func;
37423 #endif
37424 #ifdef __cplusplus
37425 }
37426 #endif
37427
37428 int
37429 main ()
37430 {
37431 return f != $ac_func;
37432   ;
37433   return 0;
37434 }
37435 _ACEOF
37436 rm -f conftest.$ac_objext conftest$ac_exeext
37437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37438   (eval $ac_link) 2>conftest.er1
37439   ac_status=$?
37440   grep -v '^ *+' conftest.er1 >conftest.err
37441   rm -f conftest.er1
37442   cat conftest.err >&5
37443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37444   (exit $ac_status); } &&
37445          { ac_try='test -z "$ac_c_werror_flag"
37446                          || test ! -s conftest.err'
37447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37448   (eval $ac_try) 2>&5
37449   ac_status=$?
37450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37451   (exit $ac_status); }; } &&
37452          { ac_try='test -s conftest$ac_exeext'
37453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37454   (eval $ac_try) 2>&5
37455   ac_status=$?
37456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37457   (exit $ac_status); }; }; then
37458   eval "$as_ac_var=yes"
37459 else
37460   echo "$as_me: failed program was:" >&5
37461 sed 's/^/| /' conftest.$ac_ext >&5
37462
37463 eval "$as_ac_var=no"
37464 fi
37465 rm -f conftest.err conftest.$ac_objext \
37466       conftest$ac_exeext conftest.$ac_ext
37467 fi
37468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37470 if test `eval echo '${'$as_ac_var'}'` = yes; then
37471   cat >>confdefs.h <<_ACEOF
37472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37473 _ACEOF
37474
37475 fi
37476 done
37477
37478     fi
37479   fi
37480
37481
37482
37483
37484
37485
37486   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
37487 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
37488   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
37489     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
37490   echo $ECHO_N "(cached) $ECHO_C" >&6
37491 else
37492
37493
37494
37495       ac_ext=cc
37496 ac_cpp='$CXXCPP $CPPFLAGS'
37497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37500
37501       cat >conftest.$ac_ext <<_ACEOF
37502 /* confdefs.h.  */
37503 _ACEOF
37504 cat confdefs.h >>conftest.$ac_ext
37505 cat >>conftest.$ac_ext <<_ACEOF
37506 /* end confdefs.h.  */
37507 #include <math.h>
37508                       #ifdef HAVE_IEEEFP_H
37509                       #include <ieeefp.h>
37510                       #endif
37511
37512 int
37513 main ()
37514 {
37515  fabsf(0);
37516   ;
37517   return 0;
37518 }
37519 _ACEOF
37520 rm -f conftest.$ac_objext
37521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37522   (eval $ac_compile) 2>conftest.er1
37523   ac_status=$?
37524   grep -v '^ *+' conftest.er1 >conftest.err
37525   rm -f conftest.er1
37526   cat conftest.err >&5
37527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37528   (exit $ac_status); } &&
37529          { ac_try='test -z "$ac_cxx_werror_flag"
37530                          || test ! -s conftest.err'
37531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37532   (eval $ac_try) 2>&5
37533   ac_status=$?
37534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37535   (exit $ac_status); }; } &&
37536          { ac_try='test -s conftest.$ac_objext'
37537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37538   (eval $ac_try) 2>&5
37539   ac_status=$?
37540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37541   (exit $ac_status); }; }; then
37542   glibcxx_cv_func_fabsf_use=yes
37543 else
37544   echo "$as_me: failed program was:" >&5
37545 sed 's/^/| /' conftest.$ac_ext >&5
37546
37547 glibcxx_cv_func_fabsf_use=no
37548 fi
37549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37550       ac_ext=c
37551 ac_cpp='$CPP $CPPFLAGS'
37552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37555
37556
37557 fi
37558
37559   fi
37560   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
37561 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
37562
37563   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
37564
37565 for ac_func in fabsf
37566 do
37567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37568 echo "$as_me:$LINENO: checking for $ac_func" >&5
37569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37570 if eval "test \"\${$as_ac_var+set}\" = set"; then
37571   echo $ECHO_N "(cached) $ECHO_C" >&6
37572 else
37573   if test x$gcc_no_link = xyes; then
37574   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37576    { (exit 1); exit 1; }; }
37577 fi
37578 cat >conftest.$ac_ext <<_ACEOF
37579 /* confdefs.h.  */
37580 _ACEOF
37581 cat confdefs.h >>conftest.$ac_ext
37582 cat >>conftest.$ac_ext <<_ACEOF
37583 /* end confdefs.h.  */
37584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37585    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37586 #define $ac_func innocuous_$ac_func
37587
37588 /* System header to define __stub macros and hopefully few prototypes,
37589     which can conflict with char $ac_func (); below.
37590     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37591     <limits.h> exists even on freestanding compilers.  */
37592
37593 #ifdef __STDC__
37594 # include <limits.h>
37595 #else
37596 # include <assert.h>
37597 #endif
37598
37599 #undef $ac_func
37600
37601 /* Override any gcc2 internal prototype to avoid an error.  */
37602 #ifdef __cplusplus
37603 extern "C"
37604 {
37605 #endif
37606 /* We use char because int might match the return type of a gcc2
37607    builtin and then its argument prototype would still apply.  */
37608 char $ac_func ();
37609 /* The GNU C library defines this for functions which it implements
37610     to always fail with ENOSYS.  Some functions are actually named
37611     something starting with __ and the normal name is an alias.  */
37612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37613 choke me
37614 #else
37615 char (*f) () = $ac_func;
37616 #endif
37617 #ifdef __cplusplus
37618 }
37619 #endif
37620
37621 int
37622 main ()
37623 {
37624 return f != $ac_func;
37625   ;
37626   return 0;
37627 }
37628 _ACEOF
37629 rm -f conftest.$ac_objext conftest$ac_exeext
37630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37631   (eval $ac_link) 2>conftest.er1
37632   ac_status=$?
37633   grep -v '^ *+' conftest.er1 >conftest.err
37634   rm -f conftest.er1
37635   cat conftest.err >&5
37636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37637   (exit $ac_status); } &&
37638          { ac_try='test -z "$ac_c_werror_flag"
37639                          || test ! -s conftest.err'
37640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37641   (eval $ac_try) 2>&5
37642   ac_status=$?
37643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37644   (exit $ac_status); }; } &&
37645          { ac_try='test -s conftest$ac_exeext'
37646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37647   (eval $ac_try) 2>&5
37648   ac_status=$?
37649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37650   (exit $ac_status); }; }; then
37651   eval "$as_ac_var=yes"
37652 else
37653   echo "$as_me: failed program was:" >&5
37654 sed 's/^/| /' conftest.$ac_ext >&5
37655
37656 eval "$as_ac_var=no"
37657 fi
37658 rm -f conftest.err conftest.$ac_objext \
37659       conftest$ac_exeext conftest.$ac_ext
37660 fi
37661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37663 if test `eval echo '${'$as_ac_var'}'` = yes; then
37664   cat >>confdefs.h <<_ACEOF
37665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37666 _ACEOF
37667
37668 fi
37669 done
37670
37671   else
37672
37673   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
37674 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
37675   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
37676     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
37677   echo $ECHO_N "(cached) $ECHO_C" >&6
37678 else
37679
37680
37681
37682       ac_ext=cc
37683 ac_cpp='$CXXCPP $CPPFLAGS'
37684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37687
37688       cat >conftest.$ac_ext <<_ACEOF
37689 /* confdefs.h.  */
37690 _ACEOF
37691 cat confdefs.h >>conftest.$ac_ext
37692 cat >>conftest.$ac_ext <<_ACEOF
37693 /* end confdefs.h.  */
37694 #include <math.h>
37695                       #ifdef HAVE_IEEEFP_H
37696                       #include <ieeefp.h>
37697                       #endif
37698
37699 int
37700 main ()
37701 {
37702  _fabsf(0);
37703   ;
37704   return 0;
37705 }
37706 _ACEOF
37707 rm -f conftest.$ac_objext
37708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37709   (eval $ac_compile) 2>conftest.er1
37710   ac_status=$?
37711   grep -v '^ *+' conftest.er1 >conftest.err
37712   rm -f conftest.er1
37713   cat conftest.err >&5
37714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37715   (exit $ac_status); } &&
37716          { ac_try='test -z "$ac_cxx_werror_flag"
37717                          || test ! -s conftest.err'
37718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37719   (eval $ac_try) 2>&5
37720   ac_status=$?
37721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37722   (exit $ac_status); }; } &&
37723          { ac_try='test -s conftest.$ac_objext'
37724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37725   (eval $ac_try) 2>&5
37726   ac_status=$?
37727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37728   (exit $ac_status); }; }; then
37729   glibcxx_cv_func__fabsf_use=yes
37730 else
37731   echo "$as_me: failed program was:" >&5
37732 sed 's/^/| /' conftest.$ac_ext >&5
37733
37734 glibcxx_cv_func__fabsf_use=no
37735 fi
37736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37737       ac_ext=c
37738 ac_cpp='$CPP $CPPFLAGS'
37739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37742
37743
37744 fi
37745
37746   fi
37747   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
37748 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
37749
37750     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37751
37752 for ac_func in _fabsf
37753 do
37754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37755 echo "$as_me:$LINENO: checking for $ac_func" >&5
37756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37757 if eval "test \"\${$as_ac_var+set}\" = set"; then
37758   echo $ECHO_N "(cached) $ECHO_C" >&6
37759 else
37760   if test x$gcc_no_link = xyes; then
37761   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37763    { (exit 1); exit 1; }; }
37764 fi
37765 cat >conftest.$ac_ext <<_ACEOF
37766 /* confdefs.h.  */
37767 _ACEOF
37768 cat confdefs.h >>conftest.$ac_ext
37769 cat >>conftest.$ac_ext <<_ACEOF
37770 /* end confdefs.h.  */
37771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37772    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37773 #define $ac_func innocuous_$ac_func
37774
37775 /* System header to define __stub macros and hopefully few prototypes,
37776     which can conflict with char $ac_func (); below.
37777     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37778     <limits.h> exists even on freestanding compilers.  */
37779
37780 #ifdef __STDC__
37781 # include <limits.h>
37782 #else
37783 # include <assert.h>
37784 #endif
37785
37786 #undef $ac_func
37787
37788 /* Override any gcc2 internal prototype to avoid an error.  */
37789 #ifdef __cplusplus
37790 extern "C"
37791 {
37792 #endif
37793 /* We use char because int might match the return type of a gcc2
37794    builtin and then its argument prototype would still apply.  */
37795 char $ac_func ();
37796 /* The GNU C library defines this for functions which it implements
37797     to always fail with ENOSYS.  Some functions are actually named
37798     something starting with __ and the normal name is an alias.  */
37799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37800 choke me
37801 #else
37802 char (*f) () = $ac_func;
37803 #endif
37804 #ifdef __cplusplus
37805 }
37806 #endif
37807
37808 int
37809 main ()
37810 {
37811 return f != $ac_func;
37812   ;
37813   return 0;
37814 }
37815 _ACEOF
37816 rm -f conftest.$ac_objext conftest$ac_exeext
37817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37818   (eval $ac_link) 2>conftest.er1
37819   ac_status=$?
37820   grep -v '^ *+' conftest.er1 >conftest.err
37821   rm -f conftest.er1
37822   cat conftest.err >&5
37823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37824   (exit $ac_status); } &&
37825          { ac_try='test -z "$ac_c_werror_flag"
37826                          || test ! -s conftest.err'
37827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37828   (eval $ac_try) 2>&5
37829   ac_status=$?
37830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37831   (exit $ac_status); }; } &&
37832          { ac_try='test -s conftest$ac_exeext'
37833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37834   (eval $ac_try) 2>&5
37835   ac_status=$?
37836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37837   (exit $ac_status); }; }; then
37838   eval "$as_ac_var=yes"
37839 else
37840   echo "$as_me: failed program was:" >&5
37841 sed 's/^/| /' conftest.$ac_ext >&5
37842
37843 eval "$as_ac_var=no"
37844 fi
37845 rm -f conftest.err conftest.$ac_objext \
37846       conftest$ac_exeext conftest.$ac_ext
37847 fi
37848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37850 if test `eval echo '${'$as_ac_var'}'` = yes; then
37851   cat >>confdefs.h <<_ACEOF
37852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37853 _ACEOF
37854
37855 fi
37856 done
37857
37858     fi
37859   fi
37860
37861
37862
37863
37864
37865
37866   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
37867 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
37868   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37869     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
37870   echo $ECHO_N "(cached) $ECHO_C" >&6
37871 else
37872
37873
37874
37875       ac_ext=cc
37876 ac_cpp='$CXXCPP $CPPFLAGS'
37877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37880
37881       cat >conftest.$ac_ext <<_ACEOF
37882 /* confdefs.h.  */
37883 _ACEOF
37884 cat confdefs.h >>conftest.$ac_ext
37885 cat >>conftest.$ac_ext <<_ACEOF
37886 /* end confdefs.h.  */
37887 #include <math.h>
37888 int
37889 main ()
37890 {
37891  fmodf(0, 0);
37892   ;
37893   return 0;
37894 }
37895 _ACEOF
37896 rm -f conftest.$ac_objext
37897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37898   (eval $ac_compile) 2>conftest.er1
37899   ac_status=$?
37900   grep -v '^ *+' conftest.er1 >conftest.err
37901   rm -f conftest.er1
37902   cat conftest.err >&5
37903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37904   (exit $ac_status); } &&
37905          { ac_try='test -z "$ac_cxx_werror_flag"
37906                          || test ! -s conftest.err'
37907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37908   (eval $ac_try) 2>&5
37909   ac_status=$?
37910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37911   (exit $ac_status); }; } &&
37912          { ac_try='test -s conftest.$ac_objext'
37913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37914   (eval $ac_try) 2>&5
37915   ac_status=$?
37916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37917   (exit $ac_status); }; }; then
37918   glibcxx_cv_func_fmodf_use=yes
37919 else
37920   echo "$as_me: failed program was:" >&5
37921 sed 's/^/| /' conftest.$ac_ext >&5
37922
37923 glibcxx_cv_func_fmodf_use=no
37924 fi
37925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37926       ac_ext=c
37927 ac_cpp='$CPP $CPPFLAGS'
37928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37931
37932
37933 fi
37934
37935   fi
37936   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
37937 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
37938
37939   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37940
37941 for ac_func in fmodf
37942 do
37943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37944 echo "$as_me:$LINENO: checking for $ac_func" >&5
37945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37946 if eval "test \"\${$as_ac_var+set}\" = set"; then
37947   echo $ECHO_N "(cached) $ECHO_C" >&6
37948 else
37949   if test x$gcc_no_link = xyes; then
37950   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37952    { (exit 1); exit 1; }; }
37953 fi
37954 cat >conftest.$ac_ext <<_ACEOF
37955 /* confdefs.h.  */
37956 _ACEOF
37957 cat confdefs.h >>conftest.$ac_ext
37958 cat >>conftest.$ac_ext <<_ACEOF
37959 /* end confdefs.h.  */
37960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37961    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37962 #define $ac_func innocuous_$ac_func
37963
37964 /* System header to define __stub macros and hopefully few prototypes,
37965     which can conflict with char $ac_func (); below.
37966     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37967     <limits.h> exists even on freestanding compilers.  */
37968
37969 #ifdef __STDC__
37970 # include <limits.h>
37971 #else
37972 # include <assert.h>
37973 #endif
37974
37975 #undef $ac_func
37976
37977 /* Override any gcc2 internal prototype to avoid an error.  */
37978 #ifdef __cplusplus
37979 extern "C"
37980 {
37981 #endif
37982 /* We use char because int might match the return type of a gcc2
37983    builtin and then its argument prototype would still apply.  */
37984 char $ac_func ();
37985 /* The GNU C library defines this for functions which it implements
37986     to always fail with ENOSYS.  Some functions are actually named
37987     something starting with __ and the normal name is an alias.  */
37988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37989 choke me
37990 #else
37991 char (*f) () = $ac_func;
37992 #endif
37993 #ifdef __cplusplus
37994 }
37995 #endif
37996
37997 int
37998 main ()
37999 {
38000 return f != $ac_func;
38001   ;
38002   return 0;
38003 }
38004 _ACEOF
38005 rm -f conftest.$ac_objext conftest$ac_exeext
38006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38007   (eval $ac_link) 2>conftest.er1
38008   ac_status=$?
38009   grep -v '^ *+' conftest.er1 >conftest.err
38010   rm -f conftest.er1
38011   cat conftest.err >&5
38012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38013   (exit $ac_status); } &&
38014          { ac_try='test -z "$ac_c_werror_flag"
38015                          || test ! -s conftest.err'
38016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38017   (eval $ac_try) 2>&5
38018   ac_status=$?
38019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38020   (exit $ac_status); }; } &&
38021          { ac_try='test -s conftest$ac_exeext'
38022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38023   (eval $ac_try) 2>&5
38024   ac_status=$?
38025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38026   (exit $ac_status); }; }; then
38027   eval "$as_ac_var=yes"
38028 else
38029   echo "$as_me: failed program was:" >&5
38030 sed 's/^/| /' conftest.$ac_ext >&5
38031
38032 eval "$as_ac_var=no"
38033 fi
38034 rm -f conftest.err conftest.$ac_objext \
38035       conftest$ac_exeext conftest.$ac_ext
38036 fi
38037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38039 if test `eval echo '${'$as_ac_var'}'` = yes; then
38040   cat >>confdefs.h <<_ACEOF
38041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38042 _ACEOF
38043
38044 fi
38045 done
38046
38047   else
38048
38049   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
38050 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
38051   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
38052     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
38053   echo $ECHO_N "(cached) $ECHO_C" >&6
38054 else
38055
38056
38057
38058       ac_ext=cc
38059 ac_cpp='$CXXCPP $CPPFLAGS'
38060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38063
38064       cat >conftest.$ac_ext <<_ACEOF
38065 /* confdefs.h.  */
38066 _ACEOF
38067 cat confdefs.h >>conftest.$ac_ext
38068 cat >>conftest.$ac_ext <<_ACEOF
38069 /* end confdefs.h.  */
38070 #include <math.h>
38071 int
38072 main ()
38073 {
38074  _fmodf(0, 0);
38075   ;
38076   return 0;
38077 }
38078 _ACEOF
38079 rm -f conftest.$ac_objext
38080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38081   (eval $ac_compile) 2>conftest.er1
38082   ac_status=$?
38083   grep -v '^ *+' conftest.er1 >conftest.err
38084   rm -f conftest.er1
38085   cat conftest.err >&5
38086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38087   (exit $ac_status); } &&
38088          { ac_try='test -z "$ac_cxx_werror_flag"
38089                          || test ! -s conftest.err'
38090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38091   (eval $ac_try) 2>&5
38092   ac_status=$?
38093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38094   (exit $ac_status); }; } &&
38095          { ac_try='test -s conftest.$ac_objext'
38096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38097   (eval $ac_try) 2>&5
38098   ac_status=$?
38099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38100   (exit $ac_status); }; }; then
38101   glibcxx_cv_func__fmodf_use=yes
38102 else
38103   echo "$as_me: failed program was:" >&5
38104 sed 's/^/| /' conftest.$ac_ext >&5
38105
38106 glibcxx_cv_func__fmodf_use=no
38107 fi
38108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38109       ac_ext=c
38110 ac_cpp='$CPP $CPPFLAGS'
38111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38114
38115
38116 fi
38117
38118   fi
38119   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
38120 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
38121
38122     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
38123
38124 for ac_func in _fmodf
38125 do
38126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38127 echo "$as_me:$LINENO: checking for $ac_func" >&5
38128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38129 if eval "test \"\${$as_ac_var+set}\" = set"; then
38130   echo $ECHO_N "(cached) $ECHO_C" >&6
38131 else
38132   if test x$gcc_no_link = xyes; then
38133   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38135    { (exit 1); exit 1; }; }
38136 fi
38137 cat >conftest.$ac_ext <<_ACEOF
38138 /* confdefs.h.  */
38139 _ACEOF
38140 cat confdefs.h >>conftest.$ac_ext
38141 cat >>conftest.$ac_ext <<_ACEOF
38142 /* end confdefs.h.  */
38143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38144    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38145 #define $ac_func innocuous_$ac_func
38146
38147 /* System header to define __stub macros and hopefully few prototypes,
38148     which can conflict with char $ac_func (); below.
38149     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38150     <limits.h> exists even on freestanding compilers.  */
38151
38152 #ifdef __STDC__
38153 # include <limits.h>
38154 #else
38155 # include <assert.h>
38156 #endif
38157
38158 #undef $ac_func
38159
38160 /* Override any gcc2 internal prototype to avoid an error.  */
38161 #ifdef __cplusplus
38162 extern "C"
38163 {
38164 #endif
38165 /* We use char because int might match the return type of a gcc2
38166    builtin and then its argument prototype would still apply.  */
38167 char $ac_func ();
38168 /* The GNU C library defines this for functions which it implements
38169     to always fail with ENOSYS.  Some functions are actually named
38170     something starting with __ and the normal name is an alias.  */
38171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38172 choke me
38173 #else
38174 char (*f) () = $ac_func;
38175 #endif
38176 #ifdef __cplusplus
38177 }
38178 #endif
38179
38180 int
38181 main ()
38182 {
38183 return f != $ac_func;
38184   ;
38185   return 0;
38186 }
38187 _ACEOF
38188 rm -f conftest.$ac_objext conftest$ac_exeext
38189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38190   (eval $ac_link) 2>conftest.er1
38191   ac_status=$?
38192   grep -v '^ *+' conftest.er1 >conftest.err
38193   rm -f conftest.er1
38194   cat conftest.err >&5
38195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38196   (exit $ac_status); } &&
38197          { ac_try='test -z "$ac_c_werror_flag"
38198                          || test ! -s conftest.err'
38199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38200   (eval $ac_try) 2>&5
38201   ac_status=$?
38202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38203   (exit $ac_status); }; } &&
38204          { ac_try='test -s conftest$ac_exeext'
38205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38206   (eval $ac_try) 2>&5
38207   ac_status=$?
38208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38209   (exit $ac_status); }; }; then
38210   eval "$as_ac_var=yes"
38211 else
38212   echo "$as_me: failed program was:" >&5
38213 sed 's/^/| /' conftest.$ac_ext >&5
38214
38215 eval "$as_ac_var=no"
38216 fi
38217 rm -f conftest.err conftest.$ac_objext \
38218       conftest$ac_exeext conftest.$ac_ext
38219 fi
38220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38221 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38222 if test `eval echo '${'$as_ac_var'}'` = yes; then
38223   cat >>confdefs.h <<_ACEOF
38224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38225 _ACEOF
38226
38227 fi
38228 done
38229
38230     fi
38231   fi
38232
38233
38234
38235
38236
38237
38238   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
38239 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
38240   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
38241     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
38242   echo $ECHO_N "(cached) $ECHO_C" >&6
38243 else
38244
38245
38246
38247       ac_ext=cc
38248 ac_cpp='$CXXCPP $CPPFLAGS'
38249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38252
38253       cat >conftest.$ac_ext <<_ACEOF
38254 /* confdefs.h.  */
38255 _ACEOF
38256 cat confdefs.h >>conftest.$ac_ext
38257 cat >>conftest.$ac_ext <<_ACEOF
38258 /* end confdefs.h.  */
38259 #include <math.h>
38260 int
38261 main ()
38262 {
38263  frexpf(0, 0);
38264   ;
38265   return 0;
38266 }
38267 _ACEOF
38268 rm -f conftest.$ac_objext
38269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38270   (eval $ac_compile) 2>conftest.er1
38271   ac_status=$?
38272   grep -v '^ *+' conftest.er1 >conftest.err
38273   rm -f conftest.er1
38274   cat conftest.err >&5
38275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38276   (exit $ac_status); } &&
38277          { ac_try='test -z "$ac_cxx_werror_flag"
38278                          || test ! -s conftest.err'
38279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38280   (eval $ac_try) 2>&5
38281   ac_status=$?
38282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38283   (exit $ac_status); }; } &&
38284          { ac_try='test -s conftest.$ac_objext'
38285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38286   (eval $ac_try) 2>&5
38287   ac_status=$?
38288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38289   (exit $ac_status); }; }; then
38290   glibcxx_cv_func_frexpf_use=yes
38291 else
38292   echo "$as_me: failed program was:" >&5
38293 sed 's/^/| /' conftest.$ac_ext >&5
38294
38295 glibcxx_cv_func_frexpf_use=no
38296 fi
38297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38298       ac_ext=c
38299 ac_cpp='$CPP $CPPFLAGS'
38300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38303
38304
38305 fi
38306
38307   fi
38308   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
38309 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
38310
38311   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
38312
38313 for ac_func in frexpf
38314 do
38315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38316 echo "$as_me:$LINENO: checking for $ac_func" >&5
38317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38318 if eval "test \"\${$as_ac_var+set}\" = set"; then
38319   echo $ECHO_N "(cached) $ECHO_C" >&6
38320 else
38321   if test x$gcc_no_link = xyes; then
38322   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38324    { (exit 1); exit 1; }; }
38325 fi
38326 cat >conftest.$ac_ext <<_ACEOF
38327 /* confdefs.h.  */
38328 _ACEOF
38329 cat confdefs.h >>conftest.$ac_ext
38330 cat >>conftest.$ac_ext <<_ACEOF
38331 /* end confdefs.h.  */
38332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38333    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38334 #define $ac_func innocuous_$ac_func
38335
38336 /* System header to define __stub macros and hopefully few prototypes,
38337     which can conflict with char $ac_func (); below.
38338     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38339     <limits.h> exists even on freestanding compilers.  */
38340
38341 #ifdef __STDC__
38342 # include <limits.h>
38343 #else
38344 # include <assert.h>
38345 #endif
38346
38347 #undef $ac_func
38348
38349 /* Override any gcc2 internal prototype to avoid an error.  */
38350 #ifdef __cplusplus
38351 extern "C"
38352 {
38353 #endif
38354 /* We use char because int might match the return type of a gcc2
38355    builtin and then its argument prototype would still apply.  */
38356 char $ac_func ();
38357 /* The GNU C library defines this for functions which it implements
38358     to always fail with ENOSYS.  Some functions are actually named
38359     something starting with __ and the normal name is an alias.  */
38360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38361 choke me
38362 #else
38363 char (*f) () = $ac_func;
38364 #endif
38365 #ifdef __cplusplus
38366 }
38367 #endif
38368
38369 int
38370 main ()
38371 {
38372 return f != $ac_func;
38373   ;
38374   return 0;
38375 }
38376 _ACEOF
38377 rm -f conftest.$ac_objext conftest$ac_exeext
38378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38379   (eval $ac_link) 2>conftest.er1
38380   ac_status=$?
38381   grep -v '^ *+' conftest.er1 >conftest.err
38382   rm -f conftest.er1
38383   cat conftest.err >&5
38384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38385   (exit $ac_status); } &&
38386          { ac_try='test -z "$ac_c_werror_flag"
38387                          || test ! -s conftest.err'
38388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38389   (eval $ac_try) 2>&5
38390   ac_status=$?
38391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38392   (exit $ac_status); }; } &&
38393          { ac_try='test -s conftest$ac_exeext'
38394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38395   (eval $ac_try) 2>&5
38396   ac_status=$?
38397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38398   (exit $ac_status); }; }; then
38399   eval "$as_ac_var=yes"
38400 else
38401   echo "$as_me: failed program was:" >&5
38402 sed 's/^/| /' conftest.$ac_ext >&5
38403
38404 eval "$as_ac_var=no"
38405 fi
38406 rm -f conftest.err conftest.$ac_objext \
38407       conftest$ac_exeext conftest.$ac_ext
38408 fi
38409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38410 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38411 if test `eval echo '${'$as_ac_var'}'` = yes; then
38412   cat >>confdefs.h <<_ACEOF
38413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38414 _ACEOF
38415
38416 fi
38417 done
38418
38419   else
38420
38421   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
38422 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
38423   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
38424     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
38425   echo $ECHO_N "(cached) $ECHO_C" >&6
38426 else
38427
38428
38429
38430       ac_ext=cc
38431 ac_cpp='$CXXCPP $CPPFLAGS'
38432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38435
38436       cat >conftest.$ac_ext <<_ACEOF
38437 /* confdefs.h.  */
38438 _ACEOF
38439 cat confdefs.h >>conftest.$ac_ext
38440 cat >>conftest.$ac_ext <<_ACEOF
38441 /* end confdefs.h.  */
38442 #include <math.h>
38443 int
38444 main ()
38445 {
38446  _frexpf(0, 0);
38447   ;
38448   return 0;
38449 }
38450 _ACEOF
38451 rm -f conftest.$ac_objext
38452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38453   (eval $ac_compile) 2>conftest.er1
38454   ac_status=$?
38455   grep -v '^ *+' conftest.er1 >conftest.err
38456   rm -f conftest.er1
38457   cat conftest.err >&5
38458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38459   (exit $ac_status); } &&
38460          { ac_try='test -z "$ac_cxx_werror_flag"
38461                          || test ! -s conftest.err'
38462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38463   (eval $ac_try) 2>&5
38464   ac_status=$?
38465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38466   (exit $ac_status); }; } &&
38467          { ac_try='test -s conftest.$ac_objext'
38468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38469   (eval $ac_try) 2>&5
38470   ac_status=$?
38471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38472   (exit $ac_status); }; }; then
38473   glibcxx_cv_func__frexpf_use=yes
38474 else
38475   echo "$as_me: failed program was:" >&5
38476 sed 's/^/| /' conftest.$ac_ext >&5
38477
38478 glibcxx_cv_func__frexpf_use=no
38479 fi
38480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38481       ac_ext=c
38482 ac_cpp='$CPP $CPPFLAGS'
38483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38486
38487
38488 fi
38489
38490   fi
38491   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
38492 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
38493
38494     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
38495
38496 for ac_func in _frexpf
38497 do
38498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38499 echo "$as_me:$LINENO: checking for $ac_func" >&5
38500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38501 if eval "test \"\${$as_ac_var+set}\" = set"; then
38502   echo $ECHO_N "(cached) $ECHO_C" >&6
38503 else
38504   if test x$gcc_no_link = xyes; then
38505   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38507    { (exit 1); exit 1; }; }
38508 fi
38509 cat >conftest.$ac_ext <<_ACEOF
38510 /* confdefs.h.  */
38511 _ACEOF
38512 cat confdefs.h >>conftest.$ac_ext
38513 cat >>conftest.$ac_ext <<_ACEOF
38514 /* end confdefs.h.  */
38515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38516    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38517 #define $ac_func innocuous_$ac_func
38518
38519 /* System header to define __stub macros and hopefully few prototypes,
38520     which can conflict with char $ac_func (); below.
38521     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38522     <limits.h> exists even on freestanding compilers.  */
38523
38524 #ifdef __STDC__
38525 # include <limits.h>
38526 #else
38527 # include <assert.h>
38528 #endif
38529
38530 #undef $ac_func
38531
38532 /* Override any gcc2 internal prototype to avoid an error.  */
38533 #ifdef __cplusplus
38534 extern "C"
38535 {
38536 #endif
38537 /* We use char because int might match the return type of a gcc2
38538    builtin and then its argument prototype would still apply.  */
38539 char $ac_func ();
38540 /* The GNU C library defines this for functions which it implements
38541     to always fail with ENOSYS.  Some functions are actually named
38542     something starting with __ and the normal name is an alias.  */
38543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38544 choke me
38545 #else
38546 char (*f) () = $ac_func;
38547 #endif
38548 #ifdef __cplusplus
38549 }
38550 #endif
38551
38552 int
38553 main ()
38554 {
38555 return f != $ac_func;
38556   ;
38557   return 0;
38558 }
38559 _ACEOF
38560 rm -f conftest.$ac_objext conftest$ac_exeext
38561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38562   (eval $ac_link) 2>conftest.er1
38563   ac_status=$?
38564   grep -v '^ *+' conftest.er1 >conftest.err
38565   rm -f conftest.er1
38566   cat conftest.err >&5
38567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38568   (exit $ac_status); } &&
38569          { ac_try='test -z "$ac_c_werror_flag"
38570                          || test ! -s conftest.err'
38571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38572   (eval $ac_try) 2>&5
38573   ac_status=$?
38574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38575   (exit $ac_status); }; } &&
38576          { ac_try='test -s conftest$ac_exeext'
38577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38578   (eval $ac_try) 2>&5
38579   ac_status=$?
38580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38581   (exit $ac_status); }; }; then
38582   eval "$as_ac_var=yes"
38583 else
38584   echo "$as_me: failed program was:" >&5
38585 sed 's/^/| /' conftest.$ac_ext >&5
38586
38587 eval "$as_ac_var=no"
38588 fi
38589 rm -f conftest.err conftest.$ac_objext \
38590       conftest$ac_exeext conftest.$ac_ext
38591 fi
38592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38594 if test `eval echo '${'$as_ac_var'}'` = yes; then
38595   cat >>confdefs.h <<_ACEOF
38596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38597 _ACEOF
38598
38599 fi
38600 done
38601
38602     fi
38603   fi
38604
38605
38606
38607
38608
38609
38610   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
38611 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
38612   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
38613     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
38614   echo $ECHO_N "(cached) $ECHO_C" >&6
38615 else
38616
38617
38618
38619       ac_ext=cc
38620 ac_cpp='$CXXCPP $CPPFLAGS'
38621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38624
38625       cat >conftest.$ac_ext <<_ACEOF
38626 /* confdefs.h.  */
38627 _ACEOF
38628 cat confdefs.h >>conftest.$ac_ext
38629 cat >>conftest.$ac_ext <<_ACEOF
38630 /* end confdefs.h.  */
38631 #include <math.h>
38632 int
38633 main ()
38634 {
38635  hypotf(0, 0);
38636   ;
38637   return 0;
38638 }
38639 _ACEOF
38640 rm -f conftest.$ac_objext
38641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38642   (eval $ac_compile) 2>conftest.er1
38643   ac_status=$?
38644   grep -v '^ *+' conftest.er1 >conftest.err
38645   rm -f conftest.er1
38646   cat conftest.err >&5
38647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38648   (exit $ac_status); } &&
38649          { ac_try='test -z "$ac_cxx_werror_flag"
38650                          || test ! -s conftest.err'
38651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38652   (eval $ac_try) 2>&5
38653   ac_status=$?
38654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38655   (exit $ac_status); }; } &&
38656          { ac_try='test -s conftest.$ac_objext'
38657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38658   (eval $ac_try) 2>&5
38659   ac_status=$?
38660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38661   (exit $ac_status); }; }; then
38662   glibcxx_cv_func_hypotf_use=yes
38663 else
38664   echo "$as_me: failed program was:" >&5
38665 sed 's/^/| /' conftest.$ac_ext >&5
38666
38667 glibcxx_cv_func_hypotf_use=no
38668 fi
38669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38670       ac_ext=c
38671 ac_cpp='$CPP $CPPFLAGS'
38672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38675
38676
38677 fi
38678
38679   fi
38680   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
38681 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
38682
38683   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
38684
38685 for ac_func in hypotf
38686 do
38687 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38688 echo "$as_me:$LINENO: checking for $ac_func" >&5
38689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38690 if eval "test \"\${$as_ac_var+set}\" = set"; then
38691   echo $ECHO_N "(cached) $ECHO_C" >&6
38692 else
38693   if test x$gcc_no_link = xyes; then
38694   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38696    { (exit 1); exit 1; }; }
38697 fi
38698 cat >conftest.$ac_ext <<_ACEOF
38699 /* confdefs.h.  */
38700 _ACEOF
38701 cat confdefs.h >>conftest.$ac_ext
38702 cat >>conftest.$ac_ext <<_ACEOF
38703 /* end confdefs.h.  */
38704 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38705    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38706 #define $ac_func innocuous_$ac_func
38707
38708 /* System header to define __stub macros and hopefully few prototypes,
38709     which can conflict with char $ac_func (); below.
38710     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38711     <limits.h> exists even on freestanding compilers.  */
38712
38713 #ifdef __STDC__
38714 # include <limits.h>
38715 #else
38716 # include <assert.h>
38717 #endif
38718
38719 #undef $ac_func
38720
38721 /* Override any gcc2 internal prototype to avoid an error.  */
38722 #ifdef __cplusplus
38723 extern "C"
38724 {
38725 #endif
38726 /* We use char because int might match the return type of a gcc2
38727    builtin and then its argument prototype would still apply.  */
38728 char $ac_func ();
38729 /* The GNU C library defines this for functions which it implements
38730     to always fail with ENOSYS.  Some functions are actually named
38731     something starting with __ and the normal name is an alias.  */
38732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38733 choke me
38734 #else
38735 char (*f) () = $ac_func;
38736 #endif
38737 #ifdef __cplusplus
38738 }
38739 #endif
38740
38741 int
38742 main ()
38743 {
38744 return f != $ac_func;
38745   ;
38746   return 0;
38747 }
38748 _ACEOF
38749 rm -f conftest.$ac_objext conftest$ac_exeext
38750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38751   (eval $ac_link) 2>conftest.er1
38752   ac_status=$?
38753   grep -v '^ *+' conftest.er1 >conftest.err
38754   rm -f conftest.er1
38755   cat conftest.err >&5
38756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38757   (exit $ac_status); } &&
38758          { ac_try='test -z "$ac_c_werror_flag"
38759                          || test ! -s conftest.err'
38760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38761   (eval $ac_try) 2>&5
38762   ac_status=$?
38763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38764   (exit $ac_status); }; } &&
38765          { ac_try='test -s conftest$ac_exeext'
38766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38767   (eval $ac_try) 2>&5
38768   ac_status=$?
38769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38770   (exit $ac_status); }; }; then
38771   eval "$as_ac_var=yes"
38772 else
38773   echo "$as_me: failed program was:" >&5
38774 sed 's/^/| /' conftest.$ac_ext >&5
38775
38776 eval "$as_ac_var=no"
38777 fi
38778 rm -f conftest.err conftest.$ac_objext \
38779       conftest$ac_exeext conftest.$ac_ext
38780 fi
38781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38782 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38783 if test `eval echo '${'$as_ac_var'}'` = yes; then
38784   cat >>confdefs.h <<_ACEOF
38785 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38786 _ACEOF
38787
38788 fi
38789 done
38790
38791   else
38792
38793   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
38794 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
38795   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
38796     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
38797   echo $ECHO_N "(cached) $ECHO_C" >&6
38798 else
38799
38800
38801
38802       ac_ext=cc
38803 ac_cpp='$CXXCPP $CPPFLAGS'
38804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38807
38808       cat >conftest.$ac_ext <<_ACEOF
38809 /* confdefs.h.  */
38810 _ACEOF
38811 cat confdefs.h >>conftest.$ac_ext
38812 cat >>conftest.$ac_ext <<_ACEOF
38813 /* end confdefs.h.  */
38814 #include <math.h>
38815 int
38816 main ()
38817 {
38818  _hypotf(0, 0);
38819   ;
38820   return 0;
38821 }
38822 _ACEOF
38823 rm -f conftest.$ac_objext
38824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38825   (eval $ac_compile) 2>conftest.er1
38826   ac_status=$?
38827   grep -v '^ *+' conftest.er1 >conftest.err
38828   rm -f conftest.er1
38829   cat conftest.err >&5
38830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38831   (exit $ac_status); } &&
38832          { ac_try='test -z "$ac_cxx_werror_flag"
38833                          || test ! -s conftest.err'
38834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38835   (eval $ac_try) 2>&5
38836   ac_status=$?
38837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38838   (exit $ac_status); }; } &&
38839          { ac_try='test -s conftest.$ac_objext'
38840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38841   (eval $ac_try) 2>&5
38842   ac_status=$?
38843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38844   (exit $ac_status); }; }; then
38845   glibcxx_cv_func__hypotf_use=yes
38846 else
38847   echo "$as_me: failed program was:" >&5
38848 sed 's/^/| /' conftest.$ac_ext >&5
38849
38850 glibcxx_cv_func__hypotf_use=no
38851 fi
38852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38853       ac_ext=c
38854 ac_cpp='$CPP $CPPFLAGS'
38855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38858
38859
38860 fi
38861
38862   fi
38863   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
38864 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
38865
38866     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
38867
38868 for ac_func in _hypotf
38869 do
38870 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38871 echo "$as_me:$LINENO: checking for $ac_func" >&5
38872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38873 if eval "test \"\${$as_ac_var+set}\" = set"; then
38874   echo $ECHO_N "(cached) $ECHO_C" >&6
38875 else
38876   if test x$gcc_no_link = xyes; then
38877   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38879    { (exit 1); exit 1; }; }
38880 fi
38881 cat >conftest.$ac_ext <<_ACEOF
38882 /* confdefs.h.  */
38883 _ACEOF
38884 cat confdefs.h >>conftest.$ac_ext
38885 cat >>conftest.$ac_ext <<_ACEOF
38886 /* end confdefs.h.  */
38887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38888    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38889 #define $ac_func innocuous_$ac_func
38890
38891 /* System header to define __stub macros and hopefully few prototypes,
38892     which can conflict with char $ac_func (); below.
38893     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38894     <limits.h> exists even on freestanding compilers.  */
38895
38896 #ifdef __STDC__
38897 # include <limits.h>
38898 #else
38899 # include <assert.h>
38900 #endif
38901
38902 #undef $ac_func
38903
38904 /* Override any gcc2 internal prototype to avoid an error.  */
38905 #ifdef __cplusplus
38906 extern "C"
38907 {
38908 #endif
38909 /* We use char because int might match the return type of a gcc2
38910    builtin and then its argument prototype would still apply.  */
38911 char $ac_func ();
38912 /* The GNU C library defines this for functions which it implements
38913     to always fail with ENOSYS.  Some functions are actually named
38914     something starting with __ and the normal name is an alias.  */
38915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38916 choke me
38917 #else
38918 char (*f) () = $ac_func;
38919 #endif
38920 #ifdef __cplusplus
38921 }
38922 #endif
38923
38924 int
38925 main ()
38926 {
38927 return f != $ac_func;
38928   ;
38929   return 0;
38930 }
38931 _ACEOF
38932 rm -f conftest.$ac_objext conftest$ac_exeext
38933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38934   (eval $ac_link) 2>conftest.er1
38935   ac_status=$?
38936   grep -v '^ *+' conftest.er1 >conftest.err
38937   rm -f conftest.er1
38938   cat conftest.err >&5
38939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38940   (exit $ac_status); } &&
38941          { ac_try='test -z "$ac_c_werror_flag"
38942                          || test ! -s conftest.err'
38943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38944   (eval $ac_try) 2>&5
38945   ac_status=$?
38946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38947   (exit $ac_status); }; } &&
38948          { ac_try='test -s conftest$ac_exeext'
38949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38950   (eval $ac_try) 2>&5
38951   ac_status=$?
38952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38953   (exit $ac_status); }; }; then
38954   eval "$as_ac_var=yes"
38955 else
38956   echo "$as_me: failed program was:" >&5
38957 sed 's/^/| /' conftest.$ac_ext >&5
38958
38959 eval "$as_ac_var=no"
38960 fi
38961 rm -f conftest.err conftest.$ac_objext \
38962       conftest$ac_exeext conftest.$ac_ext
38963 fi
38964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38965 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38966 if test `eval echo '${'$as_ac_var'}'` = yes; then
38967   cat >>confdefs.h <<_ACEOF
38968 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38969 _ACEOF
38970
38971 fi
38972 done
38973
38974     fi
38975   fi
38976
38977
38978
38979
38980
38981
38982   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
38983 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
38984   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
38985     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
38986   echo $ECHO_N "(cached) $ECHO_C" >&6
38987 else
38988
38989
38990
38991       ac_ext=cc
38992 ac_cpp='$CXXCPP $CPPFLAGS'
38993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38996
38997       cat >conftest.$ac_ext <<_ACEOF
38998 /* confdefs.h.  */
38999 _ACEOF
39000 cat confdefs.h >>conftest.$ac_ext
39001 cat >>conftest.$ac_ext <<_ACEOF
39002 /* end confdefs.h.  */
39003 #include <math.h>
39004 int
39005 main ()
39006 {
39007  ldexpf(0, 0);
39008   ;
39009   return 0;
39010 }
39011 _ACEOF
39012 rm -f conftest.$ac_objext
39013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39014   (eval $ac_compile) 2>conftest.er1
39015   ac_status=$?
39016   grep -v '^ *+' conftest.er1 >conftest.err
39017   rm -f conftest.er1
39018   cat conftest.err >&5
39019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39020   (exit $ac_status); } &&
39021          { ac_try='test -z "$ac_cxx_werror_flag"
39022                          || test ! -s conftest.err'
39023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39024   (eval $ac_try) 2>&5
39025   ac_status=$?
39026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39027   (exit $ac_status); }; } &&
39028          { ac_try='test -s conftest.$ac_objext'
39029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39030   (eval $ac_try) 2>&5
39031   ac_status=$?
39032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39033   (exit $ac_status); }; }; then
39034   glibcxx_cv_func_ldexpf_use=yes
39035 else
39036   echo "$as_me: failed program was:" >&5
39037 sed 's/^/| /' conftest.$ac_ext >&5
39038
39039 glibcxx_cv_func_ldexpf_use=no
39040 fi
39041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39042       ac_ext=c
39043 ac_cpp='$CPP $CPPFLAGS'
39044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39047
39048
39049 fi
39050
39051   fi
39052   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
39053 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
39054
39055   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
39056
39057 for ac_func in ldexpf
39058 do
39059 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39060 echo "$as_me:$LINENO: checking for $ac_func" >&5
39061 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39062 if eval "test \"\${$as_ac_var+set}\" = set"; then
39063   echo $ECHO_N "(cached) $ECHO_C" >&6
39064 else
39065   if test x$gcc_no_link = xyes; then
39066   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39067 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39068    { (exit 1); exit 1; }; }
39069 fi
39070 cat >conftest.$ac_ext <<_ACEOF
39071 /* confdefs.h.  */
39072 _ACEOF
39073 cat confdefs.h >>conftest.$ac_ext
39074 cat >>conftest.$ac_ext <<_ACEOF
39075 /* end confdefs.h.  */
39076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39077    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39078 #define $ac_func innocuous_$ac_func
39079
39080 /* System header to define __stub macros and hopefully few prototypes,
39081     which can conflict with char $ac_func (); below.
39082     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39083     <limits.h> exists even on freestanding compilers.  */
39084
39085 #ifdef __STDC__
39086 # include <limits.h>
39087 #else
39088 # include <assert.h>
39089 #endif
39090
39091 #undef $ac_func
39092
39093 /* Override any gcc2 internal prototype to avoid an error.  */
39094 #ifdef __cplusplus
39095 extern "C"
39096 {
39097 #endif
39098 /* We use char because int might match the return type of a gcc2
39099    builtin and then its argument prototype would still apply.  */
39100 char $ac_func ();
39101 /* The GNU C library defines this for functions which it implements
39102     to always fail with ENOSYS.  Some functions are actually named
39103     something starting with __ and the normal name is an alias.  */
39104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39105 choke me
39106 #else
39107 char (*f) () = $ac_func;
39108 #endif
39109 #ifdef __cplusplus
39110 }
39111 #endif
39112
39113 int
39114 main ()
39115 {
39116 return f != $ac_func;
39117   ;
39118   return 0;
39119 }
39120 _ACEOF
39121 rm -f conftest.$ac_objext conftest$ac_exeext
39122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39123   (eval $ac_link) 2>conftest.er1
39124   ac_status=$?
39125   grep -v '^ *+' conftest.er1 >conftest.err
39126   rm -f conftest.er1
39127   cat conftest.err >&5
39128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39129   (exit $ac_status); } &&
39130          { ac_try='test -z "$ac_c_werror_flag"
39131                          || test ! -s conftest.err'
39132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39133   (eval $ac_try) 2>&5
39134   ac_status=$?
39135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39136   (exit $ac_status); }; } &&
39137          { ac_try='test -s conftest$ac_exeext'
39138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39139   (eval $ac_try) 2>&5
39140   ac_status=$?
39141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39142   (exit $ac_status); }; }; then
39143   eval "$as_ac_var=yes"
39144 else
39145   echo "$as_me: failed program was:" >&5
39146 sed 's/^/| /' conftest.$ac_ext >&5
39147
39148 eval "$as_ac_var=no"
39149 fi
39150 rm -f conftest.err conftest.$ac_objext \
39151       conftest$ac_exeext conftest.$ac_ext
39152 fi
39153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39154 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39155 if test `eval echo '${'$as_ac_var'}'` = yes; then
39156   cat >>confdefs.h <<_ACEOF
39157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39158 _ACEOF
39159
39160 fi
39161 done
39162
39163   else
39164
39165   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
39166 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
39167   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
39168     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
39169   echo $ECHO_N "(cached) $ECHO_C" >&6
39170 else
39171
39172
39173
39174       ac_ext=cc
39175 ac_cpp='$CXXCPP $CPPFLAGS'
39176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39179
39180       cat >conftest.$ac_ext <<_ACEOF
39181 /* confdefs.h.  */
39182 _ACEOF
39183 cat confdefs.h >>conftest.$ac_ext
39184 cat >>conftest.$ac_ext <<_ACEOF
39185 /* end confdefs.h.  */
39186 #include <math.h>
39187 int
39188 main ()
39189 {
39190  _ldexpf(0, 0);
39191   ;
39192   return 0;
39193 }
39194 _ACEOF
39195 rm -f conftest.$ac_objext
39196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39197   (eval $ac_compile) 2>conftest.er1
39198   ac_status=$?
39199   grep -v '^ *+' conftest.er1 >conftest.err
39200   rm -f conftest.er1
39201   cat conftest.err >&5
39202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39203   (exit $ac_status); } &&
39204          { ac_try='test -z "$ac_cxx_werror_flag"
39205                          || test ! -s conftest.err'
39206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39207   (eval $ac_try) 2>&5
39208   ac_status=$?
39209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39210   (exit $ac_status); }; } &&
39211          { ac_try='test -s conftest.$ac_objext'
39212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39213   (eval $ac_try) 2>&5
39214   ac_status=$?
39215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39216   (exit $ac_status); }; }; then
39217   glibcxx_cv_func__ldexpf_use=yes
39218 else
39219   echo "$as_me: failed program was:" >&5
39220 sed 's/^/| /' conftest.$ac_ext >&5
39221
39222 glibcxx_cv_func__ldexpf_use=no
39223 fi
39224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39225       ac_ext=c
39226 ac_cpp='$CPP $CPPFLAGS'
39227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39230
39231
39232 fi
39233
39234   fi
39235   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
39236 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
39237
39238     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
39239
39240 for ac_func in _ldexpf
39241 do
39242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39243 echo "$as_me:$LINENO: checking for $ac_func" >&5
39244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39245 if eval "test \"\${$as_ac_var+set}\" = set"; then
39246   echo $ECHO_N "(cached) $ECHO_C" >&6
39247 else
39248   if test x$gcc_no_link = xyes; then
39249   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39251    { (exit 1); exit 1; }; }
39252 fi
39253 cat >conftest.$ac_ext <<_ACEOF
39254 /* confdefs.h.  */
39255 _ACEOF
39256 cat confdefs.h >>conftest.$ac_ext
39257 cat >>conftest.$ac_ext <<_ACEOF
39258 /* end confdefs.h.  */
39259 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39260    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39261 #define $ac_func innocuous_$ac_func
39262
39263 /* System header to define __stub macros and hopefully few prototypes,
39264     which can conflict with char $ac_func (); below.
39265     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39266     <limits.h> exists even on freestanding compilers.  */
39267
39268 #ifdef __STDC__
39269 # include <limits.h>
39270 #else
39271 # include <assert.h>
39272 #endif
39273
39274 #undef $ac_func
39275
39276 /* Override any gcc2 internal prototype to avoid an error.  */
39277 #ifdef __cplusplus
39278 extern "C"
39279 {
39280 #endif
39281 /* We use char because int might match the return type of a gcc2
39282    builtin and then its argument prototype would still apply.  */
39283 char $ac_func ();
39284 /* The GNU C library defines this for functions which it implements
39285     to always fail with ENOSYS.  Some functions are actually named
39286     something starting with __ and the normal name is an alias.  */
39287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39288 choke me
39289 #else
39290 char (*f) () = $ac_func;
39291 #endif
39292 #ifdef __cplusplus
39293 }
39294 #endif
39295
39296 int
39297 main ()
39298 {
39299 return f != $ac_func;
39300   ;
39301   return 0;
39302 }
39303 _ACEOF
39304 rm -f conftest.$ac_objext conftest$ac_exeext
39305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39306   (eval $ac_link) 2>conftest.er1
39307   ac_status=$?
39308   grep -v '^ *+' conftest.er1 >conftest.err
39309   rm -f conftest.er1
39310   cat conftest.err >&5
39311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39312   (exit $ac_status); } &&
39313          { ac_try='test -z "$ac_c_werror_flag"
39314                          || test ! -s conftest.err'
39315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39316   (eval $ac_try) 2>&5
39317   ac_status=$?
39318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39319   (exit $ac_status); }; } &&
39320          { ac_try='test -s conftest$ac_exeext'
39321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39322   (eval $ac_try) 2>&5
39323   ac_status=$?
39324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39325   (exit $ac_status); }; }; then
39326   eval "$as_ac_var=yes"
39327 else
39328   echo "$as_me: failed program was:" >&5
39329 sed 's/^/| /' conftest.$ac_ext >&5
39330
39331 eval "$as_ac_var=no"
39332 fi
39333 rm -f conftest.err conftest.$ac_objext \
39334       conftest$ac_exeext conftest.$ac_ext
39335 fi
39336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39338 if test `eval echo '${'$as_ac_var'}'` = yes; then
39339   cat >>confdefs.h <<_ACEOF
39340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39341 _ACEOF
39342
39343 fi
39344 done
39345
39346     fi
39347   fi
39348
39349
39350
39351
39352
39353
39354   echo "$as_me:$LINENO: checking for logf declaration" >&5
39355 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
39356   if test x${glibcxx_cv_func_logf_use+set} != xset; then
39357     if test "${glibcxx_cv_func_logf_use+set}" = set; then
39358   echo $ECHO_N "(cached) $ECHO_C" >&6
39359 else
39360
39361
39362
39363       ac_ext=cc
39364 ac_cpp='$CXXCPP $CPPFLAGS'
39365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39368
39369       cat >conftest.$ac_ext <<_ACEOF
39370 /* confdefs.h.  */
39371 _ACEOF
39372 cat confdefs.h >>conftest.$ac_ext
39373 cat >>conftest.$ac_ext <<_ACEOF
39374 /* end confdefs.h.  */
39375 #include <math.h>
39376                       #ifdef HAVE_IEEEFP_H
39377                       #include <ieeefp.h>
39378                       #endif
39379
39380 int
39381 main ()
39382 {
39383  logf(0);
39384   ;
39385   return 0;
39386 }
39387 _ACEOF
39388 rm -f conftest.$ac_objext
39389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39390   (eval $ac_compile) 2>conftest.er1
39391   ac_status=$?
39392   grep -v '^ *+' conftest.er1 >conftest.err
39393   rm -f conftest.er1
39394   cat conftest.err >&5
39395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39396   (exit $ac_status); } &&
39397          { ac_try='test -z "$ac_cxx_werror_flag"
39398                          || test ! -s conftest.err'
39399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39400   (eval $ac_try) 2>&5
39401   ac_status=$?
39402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39403   (exit $ac_status); }; } &&
39404          { ac_try='test -s conftest.$ac_objext'
39405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39406   (eval $ac_try) 2>&5
39407   ac_status=$?
39408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39409   (exit $ac_status); }; }; then
39410   glibcxx_cv_func_logf_use=yes
39411 else
39412   echo "$as_me: failed program was:" >&5
39413 sed 's/^/| /' conftest.$ac_ext >&5
39414
39415 glibcxx_cv_func_logf_use=no
39416 fi
39417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39418       ac_ext=c
39419 ac_cpp='$CPP $CPPFLAGS'
39420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39423
39424
39425 fi
39426
39427   fi
39428   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
39429 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
39430
39431   if test x$glibcxx_cv_func_logf_use = x"yes"; then
39432
39433 for ac_func in logf
39434 do
39435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39436 echo "$as_me:$LINENO: checking for $ac_func" >&5
39437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39438 if eval "test \"\${$as_ac_var+set}\" = set"; then
39439   echo $ECHO_N "(cached) $ECHO_C" >&6
39440 else
39441   if test x$gcc_no_link = xyes; then
39442   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39444    { (exit 1); exit 1; }; }
39445 fi
39446 cat >conftest.$ac_ext <<_ACEOF
39447 /* confdefs.h.  */
39448 _ACEOF
39449 cat confdefs.h >>conftest.$ac_ext
39450 cat >>conftest.$ac_ext <<_ACEOF
39451 /* end confdefs.h.  */
39452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39453    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39454 #define $ac_func innocuous_$ac_func
39455
39456 /* System header to define __stub macros and hopefully few prototypes,
39457     which can conflict with char $ac_func (); below.
39458     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39459     <limits.h> exists even on freestanding compilers.  */
39460
39461 #ifdef __STDC__
39462 # include <limits.h>
39463 #else
39464 # include <assert.h>
39465 #endif
39466
39467 #undef $ac_func
39468
39469 /* Override any gcc2 internal prototype to avoid an error.  */
39470 #ifdef __cplusplus
39471 extern "C"
39472 {
39473 #endif
39474 /* We use char because int might match the return type of a gcc2
39475    builtin and then its argument prototype would still apply.  */
39476 char $ac_func ();
39477 /* The GNU C library defines this for functions which it implements
39478     to always fail with ENOSYS.  Some functions are actually named
39479     something starting with __ and the normal name is an alias.  */
39480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39481 choke me
39482 #else
39483 char (*f) () = $ac_func;
39484 #endif
39485 #ifdef __cplusplus
39486 }
39487 #endif
39488
39489 int
39490 main ()
39491 {
39492 return f != $ac_func;
39493   ;
39494   return 0;
39495 }
39496 _ACEOF
39497 rm -f conftest.$ac_objext conftest$ac_exeext
39498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39499   (eval $ac_link) 2>conftest.er1
39500   ac_status=$?
39501   grep -v '^ *+' conftest.er1 >conftest.err
39502   rm -f conftest.er1
39503   cat conftest.err >&5
39504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39505   (exit $ac_status); } &&
39506          { ac_try='test -z "$ac_c_werror_flag"
39507                          || test ! -s conftest.err'
39508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39509   (eval $ac_try) 2>&5
39510   ac_status=$?
39511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39512   (exit $ac_status); }; } &&
39513          { ac_try='test -s conftest$ac_exeext'
39514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39515   (eval $ac_try) 2>&5
39516   ac_status=$?
39517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39518   (exit $ac_status); }; }; then
39519   eval "$as_ac_var=yes"
39520 else
39521   echo "$as_me: failed program was:" >&5
39522 sed 's/^/| /' conftest.$ac_ext >&5
39523
39524 eval "$as_ac_var=no"
39525 fi
39526 rm -f conftest.err conftest.$ac_objext \
39527       conftest$ac_exeext conftest.$ac_ext
39528 fi
39529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39531 if test `eval echo '${'$as_ac_var'}'` = yes; then
39532   cat >>confdefs.h <<_ACEOF
39533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39534 _ACEOF
39535
39536 fi
39537 done
39538
39539   else
39540
39541   echo "$as_me:$LINENO: checking for _logf declaration" >&5
39542 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
39543   if test x${glibcxx_cv_func__logf_use+set} != xset; then
39544     if test "${glibcxx_cv_func__logf_use+set}" = set; then
39545   echo $ECHO_N "(cached) $ECHO_C" >&6
39546 else
39547
39548
39549
39550       ac_ext=cc
39551 ac_cpp='$CXXCPP $CPPFLAGS'
39552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39555
39556       cat >conftest.$ac_ext <<_ACEOF
39557 /* confdefs.h.  */
39558 _ACEOF
39559 cat confdefs.h >>conftest.$ac_ext
39560 cat >>conftest.$ac_ext <<_ACEOF
39561 /* end confdefs.h.  */
39562 #include <math.h>
39563                       #ifdef HAVE_IEEEFP_H
39564                       #include <ieeefp.h>
39565                       #endif
39566
39567 int
39568 main ()
39569 {
39570  _logf(0);
39571   ;
39572   return 0;
39573 }
39574 _ACEOF
39575 rm -f conftest.$ac_objext
39576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39577   (eval $ac_compile) 2>conftest.er1
39578   ac_status=$?
39579   grep -v '^ *+' conftest.er1 >conftest.err
39580   rm -f conftest.er1
39581   cat conftest.err >&5
39582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39583   (exit $ac_status); } &&
39584          { ac_try='test -z "$ac_cxx_werror_flag"
39585                          || test ! -s conftest.err'
39586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39587   (eval $ac_try) 2>&5
39588   ac_status=$?
39589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39590   (exit $ac_status); }; } &&
39591          { ac_try='test -s conftest.$ac_objext'
39592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39593   (eval $ac_try) 2>&5
39594   ac_status=$?
39595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39596   (exit $ac_status); }; }; then
39597   glibcxx_cv_func__logf_use=yes
39598 else
39599   echo "$as_me: failed program was:" >&5
39600 sed 's/^/| /' conftest.$ac_ext >&5
39601
39602 glibcxx_cv_func__logf_use=no
39603 fi
39604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39605       ac_ext=c
39606 ac_cpp='$CPP $CPPFLAGS'
39607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39610
39611
39612 fi
39613
39614   fi
39615   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
39616 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
39617
39618     if test x$glibcxx_cv_func__logf_use = x"yes"; then
39619
39620 for ac_func in _logf
39621 do
39622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39623 echo "$as_me:$LINENO: checking for $ac_func" >&5
39624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39625 if eval "test \"\${$as_ac_var+set}\" = set"; then
39626   echo $ECHO_N "(cached) $ECHO_C" >&6
39627 else
39628   if test x$gcc_no_link = xyes; then
39629   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39631    { (exit 1); exit 1; }; }
39632 fi
39633 cat >conftest.$ac_ext <<_ACEOF
39634 /* confdefs.h.  */
39635 _ACEOF
39636 cat confdefs.h >>conftest.$ac_ext
39637 cat >>conftest.$ac_ext <<_ACEOF
39638 /* end confdefs.h.  */
39639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39640    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39641 #define $ac_func innocuous_$ac_func
39642
39643 /* System header to define __stub macros and hopefully few prototypes,
39644     which can conflict with char $ac_func (); below.
39645     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39646     <limits.h> exists even on freestanding compilers.  */
39647
39648 #ifdef __STDC__
39649 # include <limits.h>
39650 #else
39651 # include <assert.h>
39652 #endif
39653
39654 #undef $ac_func
39655
39656 /* Override any gcc2 internal prototype to avoid an error.  */
39657 #ifdef __cplusplus
39658 extern "C"
39659 {
39660 #endif
39661 /* We use char because int might match the return type of a gcc2
39662    builtin and then its argument prototype would still apply.  */
39663 char $ac_func ();
39664 /* The GNU C library defines this for functions which it implements
39665     to always fail with ENOSYS.  Some functions are actually named
39666     something starting with __ and the normal name is an alias.  */
39667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39668 choke me
39669 #else
39670 char (*f) () = $ac_func;
39671 #endif
39672 #ifdef __cplusplus
39673 }
39674 #endif
39675
39676 int
39677 main ()
39678 {
39679 return f != $ac_func;
39680   ;
39681   return 0;
39682 }
39683 _ACEOF
39684 rm -f conftest.$ac_objext conftest$ac_exeext
39685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39686   (eval $ac_link) 2>conftest.er1
39687   ac_status=$?
39688   grep -v '^ *+' conftest.er1 >conftest.err
39689   rm -f conftest.er1
39690   cat conftest.err >&5
39691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39692   (exit $ac_status); } &&
39693          { ac_try='test -z "$ac_c_werror_flag"
39694                          || test ! -s conftest.err'
39695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39696   (eval $ac_try) 2>&5
39697   ac_status=$?
39698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39699   (exit $ac_status); }; } &&
39700          { ac_try='test -s conftest$ac_exeext'
39701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39702   (eval $ac_try) 2>&5
39703   ac_status=$?
39704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39705   (exit $ac_status); }; }; then
39706   eval "$as_ac_var=yes"
39707 else
39708   echo "$as_me: failed program was:" >&5
39709 sed 's/^/| /' conftest.$ac_ext >&5
39710
39711 eval "$as_ac_var=no"
39712 fi
39713 rm -f conftest.err conftest.$ac_objext \
39714       conftest$ac_exeext conftest.$ac_ext
39715 fi
39716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39718 if test `eval echo '${'$as_ac_var'}'` = yes; then
39719   cat >>confdefs.h <<_ACEOF
39720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39721 _ACEOF
39722
39723 fi
39724 done
39725
39726     fi
39727   fi
39728
39729
39730
39731
39732
39733
39734   echo "$as_me:$LINENO: checking for log10f declaration" >&5
39735 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
39736   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
39737     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
39738   echo $ECHO_N "(cached) $ECHO_C" >&6
39739 else
39740
39741
39742
39743       ac_ext=cc
39744 ac_cpp='$CXXCPP $CPPFLAGS'
39745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39748
39749       cat >conftest.$ac_ext <<_ACEOF
39750 /* confdefs.h.  */
39751 _ACEOF
39752 cat confdefs.h >>conftest.$ac_ext
39753 cat >>conftest.$ac_ext <<_ACEOF
39754 /* end confdefs.h.  */
39755 #include <math.h>
39756                       #ifdef HAVE_IEEEFP_H
39757                       #include <ieeefp.h>
39758                       #endif
39759
39760 int
39761 main ()
39762 {
39763  log10f(0);
39764   ;
39765   return 0;
39766 }
39767 _ACEOF
39768 rm -f conftest.$ac_objext
39769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39770   (eval $ac_compile) 2>conftest.er1
39771   ac_status=$?
39772   grep -v '^ *+' conftest.er1 >conftest.err
39773   rm -f conftest.er1
39774   cat conftest.err >&5
39775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39776   (exit $ac_status); } &&
39777          { ac_try='test -z "$ac_cxx_werror_flag"
39778                          || test ! -s conftest.err'
39779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39780   (eval $ac_try) 2>&5
39781   ac_status=$?
39782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39783   (exit $ac_status); }; } &&
39784          { ac_try='test -s conftest.$ac_objext'
39785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39786   (eval $ac_try) 2>&5
39787   ac_status=$?
39788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39789   (exit $ac_status); }; }; then
39790   glibcxx_cv_func_log10f_use=yes
39791 else
39792   echo "$as_me: failed program was:" >&5
39793 sed 's/^/| /' conftest.$ac_ext >&5
39794
39795 glibcxx_cv_func_log10f_use=no
39796 fi
39797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39798       ac_ext=c
39799 ac_cpp='$CPP $CPPFLAGS'
39800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39803
39804
39805 fi
39806
39807   fi
39808   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
39809 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
39810
39811   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
39812
39813 for ac_func in log10f
39814 do
39815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39816 echo "$as_me:$LINENO: checking for $ac_func" >&5
39817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39818 if eval "test \"\${$as_ac_var+set}\" = set"; then
39819   echo $ECHO_N "(cached) $ECHO_C" >&6
39820 else
39821   if test x$gcc_no_link = xyes; then
39822   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39824    { (exit 1); exit 1; }; }
39825 fi
39826 cat >conftest.$ac_ext <<_ACEOF
39827 /* confdefs.h.  */
39828 _ACEOF
39829 cat confdefs.h >>conftest.$ac_ext
39830 cat >>conftest.$ac_ext <<_ACEOF
39831 /* end confdefs.h.  */
39832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39833    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39834 #define $ac_func innocuous_$ac_func
39835
39836 /* System header to define __stub macros and hopefully few prototypes,
39837     which can conflict with char $ac_func (); below.
39838     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39839     <limits.h> exists even on freestanding compilers.  */
39840
39841 #ifdef __STDC__
39842 # include <limits.h>
39843 #else
39844 # include <assert.h>
39845 #endif
39846
39847 #undef $ac_func
39848
39849 /* Override any gcc2 internal prototype to avoid an error.  */
39850 #ifdef __cplusplus
39851 extern "C"
39852 {
39853 #endif
39854 /* We use char because int might match the return type of a gcc2
39855    builtin and then its argument prototype would still apply.  */
39856 char $ac_func ();
39857 /* The GNU C library defines this for functions which it implements
39858     to always fail with ENOSYS.  Some functions are actually named
39859     something starting with __ and the normal name is an alias.  */
39860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39861 choke me
39862 #else
39863 char (*f) () = $ac_func;
39864 #endif
39865 #ifdef __cplusplus
39866 }
39867 #endif
39868
39869 int
39870 main ()
39871 {
39872 return f != $ac_func;
39873   ;
39874   return 0;
39875 }
39876 _ACEOF
39877 rm -f conftest.$ac_objext conftest$ac_exeext
39878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39879   (eval $ac_link) 2>conftest.er1
39880   ac_status=$?
39881   grep -v '^ *+' conftest.er1 >conftest.err
39882   rm -f conftest.er1
39883   cat conftest.err >&5
39884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39885   (exit $ac_status); } &&
39886          { ac_try='test -z "$ac_c_werror_flag"
39887                          || test ! -s conftest.err'
39888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39889   (eval $ac_try) 2>&5
39890   ac_status=$?
39891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39892   (exit $ac_status); }; } &&
39893          { ac_try='test -s conftest$ac_exeext'
39894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39895   (eval $ac_try) 2>&5
39896   ac_status=$?
39897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39898   (exit $ac_status); }; }; then
39899   eval "$as_ac_var=yes"
39900 else
39901   echo "$as_me: failed program was:" >&5
39902 sed 's/^/| /' conftest.$ac_ext >&5
39903
39904 eval "$as_ac_var=no"
39905 fi
39906 rm -f conftest.err conftest.$ac_objext \
39907       conftest$ac_exeext conftest.$ac_ext
39908 fi
39909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39911 if test `eval echo '${'$as_ac_var'}'` = yes; then
39912   cat >>confdefs.h <<_ACEOF
39913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39914 _ACEOF
39915
39916 fi
39917 done
39918
39919   else
39920
39921   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
39922 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
39923   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
39924     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
39925   echo $ECHO_N "(cached) $ECHO_C" >&6
39926 else
39927
39928
39929
39930       ac_ext=cc
39931 ac_cpp='$CXXCPP $CPPFLAGS'
39932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39935
39936       cat >conftest.$ac_ext <<_ACEOF
39937 /* confdefs.h.  */
39938 _ACEOF
39939 cat confdefs.h >>conftest.$ac_ext
39940 cat >>conftest.$ac_ext <<_ACEOF
39941 /* end confdefs.h.  */
39942 #include <math.h>
39943                       #ifdef HAVE_IEEEFP_H
39944                       #include <ieeefp.h>
39945                       #endif
39946
39947 int
39948 main ()
39949 {
39950  _log10f(0);
39951   ;
39952   return 0;
39953 }
39954 _ACEOF
39955 rm -f conftest.$ac_objext
39956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39957   (eval $ac_compile) 2>conftest.er1
39958   ac_status=$?
39959   grep -v '^ *+' conftest.er1 >conftest.err
39960   rm -f conftest.er1
39961   cat conftest.err >&5
39962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39963   (exit $ac_status); } &&
39964          { ac_try='test -z "$ac_cxx_werror_flag"
39965                          || test ! -s conftest.err'
39966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39967   (eval $ac_try) 2>&5
39968   ac_status=$?
39969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39970   (exit $ac_status); }; } &&
39971          { ac_try='test -s conftest.$ac_objext'
39972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39973   (eval $ac_try) 2>&5
39974   ac_status=$?
39975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39976   (exit $ac_status); }; }; then
39977   glibcxx_cv_func__log10f_use=yes
39978 else
39979   echo "$as_me: failed program was:" >&5
39980 sed 's/^/| /' conftest.$ac_ext >&5
39981
39982 glibcxx_cv_func__log10f_use=no
39983 fi
39984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39985       ac_ext=c
39986 ac_cpp='$CPP $CPPFLAGS'
39987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39990
39991
39992 fi
39993
39994   fi
39995   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
39996 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
39997
39998     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
39999
40000 for ac_func in _log10f
40001 do
40002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40003 echo "$as_me:$LINENO: checking for $ac_func" >&5
40004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40005 if eval "test \"\${$as_ac_var+set}\" = set"; then
40006   echo $ECHO_N "(cached) $ECHO_C" >&6
40007 else
40008   if test x$gcc_no_link = xyes; then
40009   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40011    { (exit 1); exit 1; }; }
40012 fi
40013 cat >conftest.$ac_ext <<_ACEOF
40014 /* confdefs.h.  */
40015 _ACEOF
40016 cat confdefs.h >>conftest.$ac_ext
40017 cat >>conftest.$ac_ext <<_ACEOF
40018 /* end confdefs.h.  */
40019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40020    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40021 #define $ac_func innocuous_$ac_func
40022
40023 /* System header to define __stub macros and hopefully few prototypes,
40024     which can conflict with char $ac_func (); below.
40025     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40026     <limits.h> exists even on freestanding compilers.  */
40027
40028 #ifdef __STDC__
40029 # include <limits.h>
40030 #else
40031 # include <assert.h>
40032 #endif
40033
40034 #undef $ac_func
40035
40036 /* Override any gcc2 internal prototype to avoid an error.  */
40037 #ifdef __cplusplus
40038 extern "C"
40039 {
40040 #endif
40041 /* We use char because int might match the return type of a gcc2
40042    builtin and then its argument prototype would still apply.  */
40043 char $ac_func ();
40044 /* The GNU C library defines this for functions which it implements
40045     to always fail with ENOSYS.  Some functions are actually named
40046     something starting with __ and the normal name is an alias.  */
40047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40048 choke me
40049 #else
40050 char (*f) () = $ac_func;
40051 #endif
40052 #ifdef __cplusplus
40053 }
40054 #endif
40055
40056 int
40057 main ()
40058 {
40059 return f != $ac_func;
40060   ;
40061   return 0;
40062 }
40063 _ACEOF
40064 rm -f conftest.$ac_objext conftest$ac_exeext
40065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40066   (eval $ac_link) 2>conftest.er1
40067   ac_status=$?
40068   grep -v '^ *+' conftest.er1 >conftest.err
40069   rm -f conftest.er1
40070   cat conftest.err >&5
40071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40072   (exit $ac_status); } &&
40073          { ac_try='test -z "$ac_c_werror_flag"
40074                          || test ! -s conftest.err'
40075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40076   (eval $ac_try) 2>&5
40077   ac_status=$?
40078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40079   (exit $ac_status); }; } &&
40080          { ac_try='test -s conftest$ac_exeext'
40081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40082   (eval $ac_try) 2>&5
40083   ac_status=$?
40084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40085   (exit $ac_status); }; }; then
40086   eval "$as_ac_var=yes"
40087 else
40088   echo "$as_me: failed program was:" >&5
40089 sed 's/^/| /' conftest.$ac_ext >&5
40090
40091 eval "$as_ac_var=no"
40092 fi
40093 rm -f conftest.err conftest.$ac_objext \
40094       conftest$ac_exeext conftest.$ac_ext
40095 fi
40096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40098 if test `eval echo '${'$as_ac_var'}'` = yes; then
40099   cat >>confdefs.h <<_ACEOF
40100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40101 _ACEOF
40102
40103 fi
40104 done
40105
40106     fi
40107   fi
40108
40109
40110
40111
40112
40113
40114   echo "$as_me:$LINENO: checking for modff declaration" >&5
40115 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
40116   if test x${glibcxx_cv_func_modff_use+set} != xset; then
40117     if test "${glibcxx_cv_func_modff_use+set}" = set; then
40118   echo $ECHO_N "(cached) $ECHO_C" >&6
40119 else
40120
40121
40122
40123       ac_ext=cc
40124 ac_cpp='$CXXCPP $CPPFLAGS'
40125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40128
40129       cat >conftest.$ac_ext <<_ACEOF
40130 /* confdefs.h.  */
40131 _ACEOF
40132 cat confdefs.h >>conftest.$ac_ext
40133 cat >>conftest.$ac_ext <<_ACEOF
40134 /* end confdefs.h.  */
40135 #include <math.h>
40136 int
40137 main ()
40138 {
40139  modff(0, 0);
40140   ;
40141   return 0;
40142 }
40143 _ACEOF
40144 rm -f conftest.$ac_objext
40145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40146   (eval $ac_compile) 2>conftest.er1
40147   ac_status=$?
40148   grep -v '^ *+' conftest.er1 >conftest.err
40149   rm -f conftest.er1
40150   cat conftest.err >&5
40151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40152   (exit $ac_status); } &&
40153          { ac_try='test -z "$ac_cxx_werror_flag"
40154                          || test ! -s conftest.err'
40155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40156   (eval $ac_try) 2>&5
40157   ac_status=$?
40158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40159   (exit $ac_status); }; } &&
40160          { ac_try='test -s conftest.$ac_objext'
40161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40162   (eval $ac_try) 2>&5
40163   ac_status=$?
40164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40165   (exit $ac_status); }; }; then
40166   glibcxx_cv_func_modff_use=yes
40167 else
40168   echo "$as_me: failed program was:" >&5
40169 sed 's/^/| /' conftest.$ac_ext >&5
40170
40171 glibcxx_cv_func_modff_use=no
40172 fi
40173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40174       ac_ext=c
40175 ac_cpp='$CPP $CPPFLAGS'
40176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40179
40180
40181 fi
40182
40183   fi
40184   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
40185 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
40186
40187   if test x$glibcxx_cv_func_modff_use = x"yes"; then
40188
40189 for ac_func in modff
40190 do
40191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40192 echo "$as_me:$LINENO: checking for $ac_func" >&5
40193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40194 if eval "test \"\${$as_ac_var+set}\" = set"; then
40195   echo $ECHO_N "(cached) $ECHO_C" >&6
40196 else
40197   if test x$gcc_no_link = xyes; then
40198   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40200    { (exit 1); exit 1; }; }
40201 fi
40202 cat >conftest.$ac_ext <<_ACEOF
40203 /* confdefs.h.  */
40204 _ACEOF
40205 cat confdefs.h >>conftest.$ac_ext
40206 cat >>conftest.$ac_ext <<_ACEOF
40207 /* end confdefs.h.  */
40208 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40209    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40210 #define $ac_func innocuous_$ac_func
40211
40212 /* System header to define __stub macros and hopefully few prototypes,
40213     which can conflict with char $ac_func (); below.
40214     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40215     <limits.h> exists even on freestanding compilers.  */
40216
40217 #ifdef __STDC__
40218 # include <limits.h>
40219 #else
40220 # include <assert.h>
40221 #endif
40222
40223 #undef $ac_func
40224
40225 /* Override any gcc2 internal prototype to avoid an error.  */
40226 #ifdef __cplusplus
40227 extern "C"
40228 {
40229 #endif
40230 /* We use char because int might match the return type of a gcc2
40231    builtin and then its argument prototype would still apply.  */
40232 char $ac_func ();
40233 /* The GNU C library defines this for functions which it implements
40234     to always fail with ENOSYS.  Some functions are actually named
40235     something starting with __ and the normal name is an alias.  */
40236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40237 choke me
40238 #else
40239 char (*f) () = $ac_func;
40240 #endif
40241 #ifdef __cplusplus
40242 }
40243 #endif
40244
40245 int
40246 main ()
40247 {
40248 return f != $ac_func;
40249   ;
40250   return 0;
40251 }
40252 _ACEOF
40253 rm -f conftest.$ac_objext conftest$ac_exeext
40254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40255   (eval $ac_link) 2>conftest.er1
40256   ac_status=$?
40257   grep -v '^ *+' conftest.er1 >conftest.err
40258   rm -f conftest.er1
40259   cat conftest.err >&5
40260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40261   (exit $ac_status); } &&
40262          { ac_try='test -z "$ac_c_werror_flag"
40263                          || test ! -s conftest.err'
40264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40265   (eval $ac_try) 2>&5
40266   ac_status=$?
40267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40268   (exit $ac_status); }; } &&
40269          { ac_try='test -s conftest$ac_exeext'
40270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40271   (eval $ac_try) 2>&5
40272   ac_status=$?
40273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40274   (exit $ac_status); }; }; then
40275   eval "$as_ac_var=yes"
40276 else
40277   echo "$as_me: failed program was:" >&5
40278 sed 's/^/| /' conftest.$ac_ext >&5
40279
40280 eval "$as_ac_var=no"
40281 fi
40282 rm -f conftest.err conftest.$ac_objext \
40283       conftest$ac_exeext conftest.$ac_ext
40284 fi
40285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40287 if test `eval echo '${'$as_ac_var'}'` = yes; then
40288   cat >>confdefs.h <<_ACEOF
40289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40290 _ACEOF
40291
40292 fi
40293 done
40294
40295   else
40296
40297   echo "$as_me:$LINENO: checking for _modff declaration" >&5
40298 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
40299   if test x${glibcxx_cv_func__modff_use+set} != xset; then
40300     if test "${glibcxx_cv_func__modff_use+set}" = set; then
40301   echo $ECHO_N "(cached) $ECHO_C" >&6
40302 else
40303
40304
40305
40306       ac_ext=cc
40307 ac_cpp='$CXXCPP $CPPFLAGS'
40308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40311
40312       cat >conftest.$ac_ext <<_ACEOF
40313 /* confdefs.h.  */
40314 _ACEOF
40315 cat confdefs.h >>conftest.$ac_ext
40316 cat >>conftest.$ac_ext <<_ACEOF
40317 /* end confdefs.h.  */
40318 #include <math.h>
40319 int
40320 main ()
40321 {
40322  _modff(0, 0);
40323   ;
40324   return 0;
40325 }
40326 _ACEOF
40327 rm -f conftest.$ac_objext
40328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40329   (eval $ac_compile) 2>conftest.er1
40330   ac_status=$?
40331   grep -v '^ *+' conftest.er1 >conftest.err
40332   rm -f conftest.er1
40333   cat conftest.err >&5
40334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40335   (exit $ac_status); } &&
40336          { ac_try='test -z "$ac_cxx_werror_flag"
40337                          || test ! -s conftest.err'
40338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40339   (eval $ac_try) 2>&5
40340   ac_status=$?
40341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40342   (exit $ac_status); }; } &&
40343          { ac_try='test -s conftest.$ac_objext'
40344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40345   (eval $ac_try) 2>&5
40346   ac_status=$?
40347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40348   (exit $ac_status); }; }; then
40349   glibcxx_cv_func__modff_use=yes
40350 else
40351   echo "$as_me: failed program was:" >&5
40352 sed 's/^/| /' conftest.$ac_ext >&5
40353
40354 glibcxx_cv_func__modff_use=no
40355 fi
40356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40357       ac_ext=c
40358 ac_cpp='$CPP $CPPFLAGS'
40359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40362
40363
40364 fi
40365
40366   fi
40367   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
40368 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
40369
40370     if test x$glibcxx_cv_func__modff_use = x"yes"; then
40371
40372 for ac_func in _modff
40373 do
40374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40375 echo "$as_me:$LINENO: checking for $ac_func" >&5
40376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40377 if eval "test \"\${$as_ac_var+set}\" = set"; then
40378   echo $ECHO_N "(cached) $ECHO_C" >&6
40379 else
40380   if test x$gcc_no_link = xyes; then
40381   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40383    { (exit 1); exit 1; }; }
40384 fi
40385 cat >conftest.$ac_ext <<_ACEOF
40386 /* confdefs.h.  */
40387 _ACEOF
40388 cat confdefs.h >>conftest.$ac_ext
40389 cat >>conftest.$ac_ext <<_ACEOF
40390 /* end confdefs.h.  */
40391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40392    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40393 #define $ac_func innocuous_$ac_func
40394
40395 /* System header to define __stub macros and hopefully few prototypes,
40396     which can conflict with char $ac_func (); below.
40397     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40398     <limits.h> exists even on freestanding compilers.  */
40399
40400 #ifdef __STDC__
40401 # include <limits.h>
40402 #else
40403 # include <assert.h>
40404 #endif
40405
40406 #undef $ac_func
40407
40408 /* Override any gcc2 internal prototype to avoid an error.  */
40409 #ifdef __cplusplus
40410 extern "C"
40411 {
40412 #endif
40413 /* We use char because int might match the return type of a gcc2
40414    builtin and then its argument prototype would still apply.  */
40415 char $ac_func ();
40416 /* The GNU C library defines this for functions which it implements
40417     to always fail with ENOSYS.  Some functions are actually named
40418     something starting with __ and the normal name is an alias.  */
40419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40420 choke me
40421 #else
40422 char (*f) () = $ac_func;
40423 #endif
40424 #ifdef __cplusplus
40425 }
40426 #endif
40427
40428 int
40429 main ()
40430 {
40431 return f != $ac_func;
40432   ;
40433   return 0;
40434 }
40435 _ACEOF
40436 rm -f conftest.$ac_objext conftest$ac_exeext
40437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40438   (eval $ac_link) 2>conftest.er1
40439   ac_status=$?
40440   grep -v '^ *+' conftest.er1 >conftest.err
40441   rm -f conftest.er1
40442   cat conftest.err >&5
40443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40444   (exit $ac_status); } &&
40445          { ac_try='test -z "$ac_c_werror_flag"
40446                          || test ! -s conftest.err'
40447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40448   (eval $ac_try) 2>&5
40449   ac_status=$?
40450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40451   (exit $ac_status); }; } &&
40452          { ac_try='test -s conftest$ac_exeext'
40453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40454   (eval $ac_try) 2>&5
40455   ac_status=$?
40456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40457   (exit $ac_status); }; }; then
40458   eval "$as_ac_var=yes"
40459 else
40460   echo "$as_me: failed program was:" >&5
40461 sed 's/^/| /' conftest.$ac_ext >&5
40462
40463 eval "$as_ac_var=no"
40464 fi
40465 rm -f conftest.err conftest.$ac_objext \
40466       conftest$ac_exeext conftest.$ac_ext
40467 fi
40468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40470 if test `eval echo '${'$as_ac_var'}'` = yes; then
40471   cat >>confdefs.h <<_ACEOF
40472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40473 _ACEOF
40474
40475 fi
40476 done
40477
40478     fi
40479   fi
40480
40481
40482
40483
40484
40485
40486   echo "$as_me:$LINENO: checking for modf declaration" >&5
40487 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
40488   if test x${glibcxx_cv_func_modf_use+set} != xset; then
40489     if test "${glibcxx_cv_func_modf_use+set}" = set; then
40490   echo $ECHO_N "(cached) $ECHO_C" >&6
40491 else
40492
40493
40494
40495       ac_ext=cc
40496 ac_cpp='$CXXCPP $CPPFLAGS'
40497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40500
40501       cat >conftest.$ac_ext <<_ACEOF
40502 /* confdefs.h.  */
40503 _ACEOF
40504 cat confdefs.h >>conftest.$ac_ext
40505 cat >>conftest.$ac_ext <<_ACEOF
40506 /* end confdefs.h.  */
40507 #include <math.h>
40508 int
40509 main ()
40510 {
40511  modf(0, 0);
40512   ;
40513   return 0;
40514 }
40515 _ACEOF
40516 rm -f conftest.$ac_objext
40517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40518   (eval $ac_compile) 2>conftest.er1
40519   ac_status=$?
40520   grep -v '^ *+' conftest.er1 >conftest.err
40521   rm -f conftest.er1
40522   cat conftest.err >&5
40523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40524   (exit $ac_status); } &&
40525          { ac_try='test -z "$ac_cxx_werror_flag"
40526                          || test ! -s conftest.err'
40527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40528   (eval $ac_try) 2>&5
40529   ac_status=$?
40530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40531   (exit $ac_status); }; } &&
40532          { ac_try='test -s conftest.$ac_objext'
40533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40534   (eval $ac_try) 2>&5
40535   ac_status=$?
40536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40537   (exit $ac_status); }; }; then
40538   glibcxx_cv_func_modf_use=yes
40539 else
40540   echo "$as_me: failed program was:" >&5
40541 sed 's/^/| /' conftest.$ac_ext >&5
40542
40543 glibcxx_cv_func_modf_use=no
40544 fi
40545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40546       ac_ext=c
40547 ac_cpp='$CPP $CPPFLAGS'
40548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40551
40552
40553 fi
40554
40555   fi
40556   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
40557 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
40558
40559   if test x$glibcxx_cv_func_modf_use = x"yes"; then
40560
40561 for ac_func in modf
40562 do
40563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40564 echo "$as_me:$LINENO: checking for $ac_func" >&5
40565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40566 if eval "test \"\${$as_ac_var+set}\" = set"; then
40567   echo $ECHO_N "(cached) $ECHO_C" >&6
40568 else
40569   if test x$gcc_no_link = xyes; then
40570   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40572    { (exit 1); exit 1; }; }
40573 fi
40574 cat >conftest.$ac_ext <<_ACEOF
40575 /* confdefs.h.  */
40576 _ACEOF
40577 cat confdefs.h >>conftest.$ac_ext
40578 cat >>conftest.$ac_ext <<_ACEOF
40579 /* end confdefs.h.  */
40580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40581    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40582 #define $ac_func innocuous_$ac_func
40583
40584 /* System header to define __stub macros and hopefully few prototypes,
40585     which can conflict with char $ac_func (); below.
40586     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40587     <limits.h> exists even on freestanding compilers.  */
40588
40589 #ifdef __STDC__
40590 # include <limits.h>
40591 #else
40592 # include <assert.h>
40593 #endif
40594
40595 #undef $ac_func
40596
40597 /* Override any gcc2 internal prototype to avoid an error.  */
40598 #ifdef __cplusplus
40599 extern "C"
40600 {
40601 #endif
40602 /* We use char because int might match the return type of a gcc2
40603    builtin and then its argument prototype would still apply.  */
40604 char $ac_func ();
40605 /* The GNU C library defines this for functions which it implements
40606     to always fail with ENOSYS.  Some functions are actually named
40607     something starting with __ and the normal name is an alias.  */
40608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40609 choke me
40610 #else
40611 char (*f) () = $ac_func;
40612 #endif
40613 #ifdef __cplusplus
40614 }
40615 #endif
40616
40617 int
40618 main ()
40619 {
40620 return f != $ac_func;
40621   ;
40622   return 0;
40623 }
40624 _ACEOF
40625 rm -f conftest.$ac_objext conftest$ac_exeext
40626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40627   (eval $ac_link) 2>conftest.er1
40628   ac_status=$?
40629   grep -v '^ *+' conftest.er1 >conftest.err
40630   rm -f conftest.er1
40631   cat conftest.err >&5
40632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40633   (exit $ac_status); } &&
40634          { ac_try='test -z "$ac_c_werror_flag"
40635                          || test ! -s conftest.err'
40636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40637   (eval $ac_try) 2>&5
40638   ac_status=$?
40639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40640   (exit $ac_status); }; } &&
40641          { ac_try='test -s conftest$ac_exeext'
40642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40643   (eval $ac_try) 2>&5
40644   ac_status=$?
40645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40646   (exit $ac_status); }; }; then
40647   eval "$as_ac_var=yes"
40648 else
40649   echo "$as_me: failed program was:" >&5
40650 sed 's/^/| /' conftest.$ac_ext >&5
40651
40652 eval "$as_ac_var=no"
40653 fi
40654 rm -f conftest.err conftest.$ac_objext \
40655       conftest$ac_exeext conftest.$ac_ext
40656 fi
40657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40659 if test `eval echo '${'$as_ac_var'}'` = yes; then
40660   cat >>confdefs.h <<_ACEOF
40661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40662 _ACEOF
40663
40664 fi
40665 done
40666
40667   else
40668
40669   echo "$as_me:$LINENO: checking for _modf declaration" >&5
40670 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
40671   if test x${glibcxx_cv_func__modf_use+set} != xset; then
40672     if test "${glibcxx_cv_func__modf_use+set}" = set; then
40673   echo $ECHO_N "(cached) $ECHO_C" >&6
40674 else
40675
40676
40677
40678       ac_ext=cc
40679 ac_cpp='$CXXCPP $CPPFLAGS'
40680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40683
40684       cat >conftest.$ac_ext <<_ACEOF
40685 /* confdefs.h.  */
40686 _ACEOF
40687 cat confdefs.h >>conftest.$ac_ext
40688 cat >>conftest.$ac_ext <<_ACEOF
40689 /* end confdefs.h.  */
40690 #include <math.h>
40691 int
40692 main ()
40693 {
40694  _modf(0, 0);
40695   ;
40696   return 0;
40697 }
40698 _ACEOF
40699 rm -f conftest.$ac_objext
40700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40701   (eval $ac_compile) 2>conftest.er1
40702   ac_status=$?
40703   grep -v '^ *+' conftest.er1 >conftest.err
40704   rm -f conftest.er1
40705   cat conftest.err >&5
40706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40707   (exit $ac_status); } &&
40708          { ac_try='test -z "$ac_cxx_werror_flag"
40709                          || test ! -s conftest.err'
40710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40711   (eval $ac_try) 2>&5
40712   ac_status=$?
40713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40714   (exit $ac_status); }; } &&
40715          { ac_try='test -s conftest.$ac_objext'
40716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40717   (eval $ac_try) 2>&5
40718   ac_status=$?
40719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40720   (exit $ac_status); }; }; then
40721   glibcxx_cv_func__modf_use=yes
40722 else
40723   echo "$as_me: failed program was:" >&5
40724 sed 's/^/| /' conftest.$ac_ext >&5
40725
40726 glibcxx_cv_func__modf_use=no
40727 fi
40728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40729       ac_ext=c
40730 ac_cpp='$CPP $CPPFLAGS'
40731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40734
40735
40736 fi
40737
40738   fi
40739   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
40740 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
40741
40742     if test x$glibcxx_cv_func__modf_use = x"yes"; then
40743
40744 for ac_func in _modf
40745 do
40746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40747 echo "$as_me:$LINENO: checking for $ac_func" >&5
40748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40749 if eval "test \"\${$as_ac_var+set}\" = set"; then
40750   echo $ECHO_N "(cached) $ECHO_C" >&6
40751 else
40752   if test x$gcc_no_link = xyes; then
40753   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40755    { (exit 1); exit 1; }; }
40756 fi
40757 cat >conftest.$ac_ext <<_ACEOF
40758 /* confdefs.h.  */
40759 _ACEOF
40760 cat confdefs.h >>conftest.$ac_ext
40761 cat >>conftest.$ac_ext <<_ACEOF
40762 /* end confdefs.h.  */
40763 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40764    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40765 #define $ac_func innocuous_$ac_func
40766
40767 /* System header to define __stub macros and hopefully few prototypes,
40768     which can conflict with char $ac_func (); below.
40769     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40770     <limits.h> exists even on freestanding compilers.  */
40771
40772 #ifdef __STDC__
40773 # include <limits.h>
40774 #else
40775 # include <assert.h>
40776 #endif
40777
40778 #undef $ac_func
40779
40780 /* Override any gcc2 internal prototype to avoid an error.  */
40781 #ifdef __cplusplus
40782 extern "C"
40783 {
40784 #endif
40785 /* We use char because int might match the return type of a gcc2
40786    builtin and then its argument prototype would still apply.  */
40787 char $ac_func ();
40788 /* The GNU C library defines this for functions which it implements
40789     to always fail with ENOSYS.  Some functions are actually named
40790     something starting with __ and the normal name is an alias.  */
40791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40792 choke me
40793 #else
40794 char (*f) () = $ac_func;
40795 #endif
40796 #ifdef __cplusplus
40797 }
40798 #endif
40799
40800 int
40801 main ()
40802 {
40803 return f != $ac_func;
40804   ;
40805   return 0;
40806 }
40807 _ACEOF
40808 rm -f conftest.$ac_objext conftest$ac_exeext
40809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40810   (eval $ac_link) 2>conftest.er1
40811   ac_status=$?
40812   grep -v '^ *+' conftest.er1 >conftest.err
40813   rm -f conftest.er1
40814   cat conftest.err >&5
40815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40816   (exit $ac_status); } &&
40817          { ac_try='test -z "$ac_c_werror_flag"
40818                          || test ! -s conftest.err'
40819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40820   (eval $ac_try) 2>&5
40821   ac_status=$?
40822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40823   (exit $ac_status); }; } &&
40824          { ac_try='test -s conftest$ac_exeext'
40825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40826   (eval $ac_try) 2>&5
40827   ac_status=$?
40828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40829   (exit $ac_status); }; }; then
40830   eval "$as_ac_var=yes"
40831 else
40832   echo "$as_me: failed program was:" >&5
40833 sed 's/^/| /' conftest.$ac_ext >&5
40834
40835 eval "$as_ac_var=no"
40836 fi
40837 rm -f conftest.err conftest.$ac_objext \
40838       conftest$ac_exeext conftest.$ac_ext
40839 fi
40840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40841 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40842 if test `eval echo '${'$as_ac_var'}'` = yes; then
40843   cat >>confdefs.h <<_ACEOF
40844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40845 _ACEOF
40846
40847 fi
40848 done
40849
40850     fi
40851   fi
40852
40853
40854
40855
40856
40857
40858   echo "$as_me:$LINENO: checking for powf declaration" >&5
40859 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
40860   if test x${glibcxx_cv_func_powf_use+set} != xset; then
40861     if test "${glibcxx_cv_func_powf_use+set}" = set; then
40862   echo $ECHO_N "(cached) $ECHO_C" >&6
40863 else
40864
40865
40866
40867       ac_ext=cc
40868 ac_cpp='$CXXCPP $CPPFLAGS'
40869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40872
40873       cat >conftest.$ac_ext <<_ACEOF
40874 /* confdefs.h.  */
40875 _ACEOF
40876 cat confdefs.h >>conftest.$ac_ext
40877 cat >>conftest.$ac_ext <<_ACEOF
40878 /* end confdefs.h.  */
40879 #include <math.h>
40880 int
40881 main ()
40882 {
40883  powf(0, 0);
40884   ;
40885   return 0;
40886 }
40887 _ACEOF
40888 rm -f conftest.$ac_objext
40889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40890   (eval $ac_compile) 2>conftest.er1
40891   ac_status=$?
40892   grep -v '^ *+' conftest.er1 >conftest.err
40893   rm -f conftest.er1
40894   cat conftest.err >&5
40895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40896   (exit $ac_status); } &&
40897          { ac_try='test -z "$ac_cxx_werror_flag"
40898                          || test ! -s conftest.err'
40899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40900   (eval $ac_try) 2>&5
40901   ac_status=$?
40902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40903   (exit $ac_status); }; } &&
40904          { ac_try='test -s conftest.$ac_objext'
40905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40906   (eval $ac_try) 2>&5
40907   ac_status=$?
40908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40909   (exit $ac_status); }; }; then
40910   glibcxx_cv_func_powf_use=yes
40911 else
40912   echo "$as_me: failed program was:" >&5
40913 sed 's/^/| /' conftest.$ac_ext >&5
40914
40915 glibcxx_cv_func_powf_use=no
40916 fi
40917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40918       ac_ext=c
40919 ac_cpp='$CPP $CPPFLAGS'
40920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40923
40924
40925 fi
40926
40927   fi
40928   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
40929 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
40930
40931   if test x$glibcxx_cv_func_powf_use = x"yes"; then
40932
40933 for ac_func in powf
40934 do
40935 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40936 echo "$as_me:$LINENO: checking for $ac_func" >&5
40937 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40938 if eval "test \"\${$as_ac_var+set}\" = set"; then
40939   echo $ECHO_N "(cached) $ECHO_C" >&6
40940 else
40941   if test x$gcc_no_link = xyes; then
40942   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40943 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40944    { (exit 1); exit 1; }; }
40945 fi
40946 cat >conftest.$ac_ext <<_ACEOF
40947 /* confdefs.h.  */
40948 _ACEOF
40949 cat confdefs.h >>conftest.$ac_ext
40950 cat >>conftest.$ac_ext <<_ACEOF
40951 /* end confdefs.h.  */
40952 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40953    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40954 #define $ac_func innocuous_$ac_func
40955
40956 /* System header to define __stub macros and hopefully few prototypes,
40957     which can conflict with char $ac_func (); below.
40958     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40959     <limits.h> exists even on freestanding compilers.  */
40960
40961 #ifdef __STDC__
40962 # include <limits.h>
40963 #else
40964 # include <assert.h>
40965 #endif
40966
40967 #undef $ac_func
40968
40969 /* Override any gcc2 internal prototype to avoid an error.  */
40970 #ifdef __cplusplus
40971 extern "C"
40972 {
40973 #endif
40974 /* We use char because int might match the return type of a gcc2
40975    builtin and then its argument prototype would still apply.  */
40976 char $ac_func ();
40977 /* The GNU C library defines this for functions which it implements
40978     to always fail with ENOSYS.  Some functions are actually named
40979     something starting with __ and the normal name is an alias.  */
40980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40981 choke me
40982 #else
40983 char (*f) () = $ac_func;
40984 #endif
40985 #ifdef __cplusplus
40986 }
40987 #endif
40988
40989 int
40990 main ()
40991 {
40992 return f != $ac_func;
40993   ;
40994   return 0;
40995 }
40996 _ACEOF
40997 rm -f conftest.$ac_objext conftest$ac_exeext
40998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40999   (eval $ac_link) 2>conftest.er1
41000   ac_status=$?
41001   grep -v '^ *+' conftest.er1 >conftest.err
41002   rm -f conftest.er1
41003   cat conftest.err >&5
41004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41005   (exit $ac_status); } &&
41006          { ac_try='test -z "$ac_c_werror_flag"
41007                          || test ! -s conftest.err'
41008   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41009   (eval $ac_try) 2>&5
41010   ac_status=$?
41011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41012   (exit $ac_status); }; } &&
41013          { ac_try='test -s conftest$ac_exeext'
41014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41015   (eval $ac_try) 2>&5
41016   ac_status=$?
41017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41018   (exit $ac_status); }; }; then
41019   eval "$as_ac_var=yes"
41020 else
41021   echo "$as_me: failed program was:" >&5
41022 sed 's/^/| /' conftest.$ac_ext >&5
41023
41024 eval "$as_ac_var=no"
41025 fi
41026 rm -f conftest.err conftest.$ac_objext \
41027       conftest$ac_exeext conftest.$ac_ext
41028 fi
41029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41030 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41031 if test `eval echo '${'$as_ac_var'}'` = yes; then
41032   cat >>confdefs.h <<_ACEOF
41033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41034 _ACEOF
41035
41036 fi
41037 done
41038
41039   else
41040
41041   echo "$as_me:$LINENO: checking for _powf declaration" >&5
41042 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
41043   if test x${glibcxx_cv_func__powf_use+set} != xset; then
41044     if test "${glibcxx_cv_func__powf_use+set}" = set; then
41045   echo $ECHO_N "(cached) $ECHO_C" >&6
41046 else
41047
41048
41049
41050       ac_ext=cc
41051 ac_cpp='$CXXCPP $CPPFLAGS'
41052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41055
41056       cat >conftest.$ac_ext <<_ACEOF
41057 /* confdefs.h.  */
41058 _ACEOF
41059 cat confdefs.h >>conftest.$ac_ext
41060 cat >>conftest.$ac_ext <<_ACEOF
41061 /* end confdefs.h.  */
41062 #include <math.h>
41063 int
41064 main ()
41065 {
41066  _powf(0, 0);
41067   ;
41068   return 0;
41069 }
41070 _ACEOF
41071 rm -f conftest.$ac_objext
41072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41073   (eval $ac_compile) 2>conftest.er1
41074   ac_status=$?
41075   grep -v '^ *+' conftest.er1 >conftest.err
41076   rm -f conftest.er1
41077   cat conftest.err >&5
41078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41079   (exit $ac_status); } &&
41080          { ac_try='test -z "$ac_cxx_werror_flag"
41081                          || test ! -s conftest.err'
41082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41083   (eval $ac_try) 2>&5
41084   ac_status=$?
41085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41086   (exit $ac_status); }; } &&
41087          { ac_try='test -s conftest.$ac_objext'
41088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41089   (eval $ac_try) 2>&5
41090   ac_status=$?
41091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41092   (exit $ac_status); }; }; then
41093   glibcxx_cv_func__powf_use=yes
41094 else
41095   echo "$as_me: failed program was:" >&5
41096 sed 's/^/| /' conftest.$ac_ext >&5
41097
41098 glibcxx_cv_func__powf_use=no
41099 fi
41100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41101       ac_ext=c
41102 ac_cpp='$CPP $CPPFLAGS'
41103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41106
41107
41108 fi
41109
41110   fi
41111   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
41112 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
41113
41114     if test x$glibcxx_cv_func__powf_use = x"yes"; then
41115
41116 for ac_func in _powf
41117 do
41118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41119 echo "$as_me:$LINENO: checking for $ac_func" >&5
41120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41121 if eval "test \"\${$as_ac_var+set}\" = set"; then
41122   echo $ECHO_N "(cached) $ECHO_C" >&6
41123 else
41124   if test x$gcc_no_link = xyes; then
41125   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41127    { (exit 1); exit 1; }; }
41128 fi
41129 cat >conftest.$ac_ext <<_ACEOF
41130 /* confdefs.h.  */
41131 _ACEOF
41132 cat confdefs.h >>conftest.$ac_ext
41133 cat >>conftest.$ac_ext <<_ACEOF
41134 /* end confdefs.h.  */
41135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41136    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41137 #define $ac_func innocuous_$ac_func
41138
41139 /* System header to define __stub macros and hopefully few prototypes,
41140     which can conflict with char $ac_func (); below.
41141     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41142     <limits.h> exists even on freestanding compilers.  */
41143
41144 #ifdef __STDC__
41145 # include <limits.h>
41146 #else
41147 # include <assert.h>
41148 #endif
41149
41150 #undef $ac_func
41151
41152 /* Override any gcc2 internal prototype to avoid an error.  */
41153 #ifdef __cplusplus
41154 extern "C"
41155 {
41156 #endif
41157 /* We use char because int might match the return type of a gcc2
41158    builtin and then its argument prototype would still apply.  */
41159 char $ac_func ();
41160 /* The GNU C library defines this for functions which it implements
41161     to always fail with ENOSYS.  Some functions are actually named
41162     something starting with __ and the normal name is an alias.  */
41163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41164 choke me
41165 #else
41166 char (*f) () = $ac_func;
41167 #endif
41168 #ifdef __cplusplus
41169 }
41170 #endif
41171
41172 int
41173 main ()
41174 {
41175 return f != $ac_func;
41176   ;
41177   return 0;
41178 }
41179 _ACEOF
41180 rm -f conftest.$ac_objext conftest$ac_exeext
41181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41182   (eval $ac_link) 2>conftest.er1
41183   ac_status=$?
41184   grep -v '^ *+' conftest.er1 >conftest.err
41185   rm -f conftest.er1
41186   cat conftest.err >&5
41187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41188   (exit $ac_status); } &&
41189          { ac_try='test -z "$ac_c_werror_flag"
41190                          || test ! -s conftest.err'
41191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41192   (eval $ac_try) 2>&5
41193   ac_status=$?
41194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41195   (exit $ac_status); }; } &&
41196          { ac_try='test -s conftest$ac_exeext'
41197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41198   (eval $ac_try) 2>&5
41199   ac_status=$?
41200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41201   (exit $ac_status); }; }; then
41202   eval "$as_ac_var=yes"
41203 else
41204   echo "$as_me: failed program was:" >&5
41205 sed 's/^/| /' conftest.$ac_ext >&5
41206
41207 eval "$as_ac_var=no"
41208 fi
41209 rm -f conftest.err conftest.$ac_objext \
41210       conftest$ac_exeext conftest.$ac_ext
41211 fi
41212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41214 if test `eval echo '${'$as_ac_var'}'` = yes; then
41215   cat >>confdefs.h <<_ACEOF
41216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41217 _ACEOF
41218
41219 fi
41220 done
41221
41222     fi
41223   fi
41224
41225
41226
41227
41228
41229
41230   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
41231 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
41232   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41233     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
41234   echo $ECHO_N "(cached) $ECHO_C" >&6
41235 else
41236
41237
41238
41239       ac_ext=cc
41240 ac_cpp='$CXXCPP $CPPFLAGS'
41241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41244
41245       cat >conftest.$ac_ext <<_ACEOF
41246 /* confdefs.h.  */
41247 _ACEOF
41248 cat confdefs.h >>conftest.$ac_ext
41249 cat >>conftest.$ac_ext <<_ACEOF
41250 /* end confdefs.h.  */
41251 #include <math.h>
41252                       #ifdef HAVE_IEEEFP_H
41253                       #include <ieeefp.h>
41254                       #endif
41255
41256 int
41257 main ()
41258 {
41259  sqrtf(0);
41260   ;
41261   return 0;
41262 }
41263 _ACEOF
41264 rm -f conftest.$ac_objext
41265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41266   (eval $ac_compile) 2>conftest.er1
41267   ac_status=$?
41268   grep -v '^ *+' conftest.er1 >conftest.err
41269   rm -f conftest.er1
41270   cat conftest.err >&5
41271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41272   (exit $ac_status); } &&
41273          { ac_try='test -z "$ac_cxx_werror_flag"
41274                          || test ! -s conftest.err'
41275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41276   (eval $ac_try) 2>&5
41277   ac_status=$?
41278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41279   (exit $ac_status); }; } &&
41280          { ac_try='test -s conftest.$ac_objext'
41281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41282   (eval $ac_try) 2>&5
41283   ac_status=$?
41284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41285   (exit $ac_status); }; }; then
41286   glibcxx_cv_func_sqrtf_use=yes
41287 else
41288   echo "$as_me: failed program was:" >&5
41289 sed 's/^/| /' conftest.$ac_ext >&5
41290
41291 glibcxx_cv_func_sqrtf_use=no
41292 fi
41293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41294       ac_ext=c
41295 ac_cpp='$CPP $CPPFLAGS'
41296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41299
41300
41301 fi
41302
41303   fi
41304   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
41305 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
41306
41307   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41308
41309 for ac_func in sqrtf
41310 do
41311 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41312 echo "$as_me:$LINENO: checking for $ac_func" >&5
41313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41314 if eval "test \"\${$as_ac_var+set}\" = set"; then
41315   echo $ECHO_N "(cached) $ECHO_C" >&6
41316 else
41317   if test x$gcc_no_link = xyes; then
41318   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41320    { (exit 1); exit 1; }; }
41321 fi
41322 cat >conftest.$ac_ext <<_ACEOF
41323 /* confdefs.h.  */
41324 _ACEOF
41325 cat confdefs.h >>conftest.$ac_ext
41326 cat >>conftest.$ac_ext <<_ACEOF
41327 /* end confdefs.h.  */
41328 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41329    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41330 #define $ac_func innocuous_$ac_func
41331
41332 /* System header to define __stub macros and hopefully few prototypes,
41333     which can conflict with char $ac_func (); below.
41334     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41335     <limits.h> exists even on freestanding compilers.  */
41336
41337 #ifdef __STDC__
41338 # include <limits.h>
41339 #else
41340 # include <assert.h>
41341 #endif
41342
41343 #undef $ac_func
41344
41345 /* Override any gcc2 internal prototype to avoid an error.  */
41346 #ifdef __cplusplus
41347 extern "C"
41348 {
41349 #endif
41350 /* We use char because int might match the return type of a gcc2
41351    builtin and then its argument prototype would still apply.  */
41352 char $ac_func ();
41353 /* The GNU C library defines this for functions which it implements
41354     to always fail with ENOSYS.  Some functions are actually named
41355     something starting with __ and the normal name is an alias.  */
41356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41357 choke me
41358 #else
41359 char (*f) () = $ac_func;
41360 #endif
41361 #ifdef __cplusplus
41362 }
41363 #endif
41364
41365 int
41366 main ()
41367 {
41368 return f != $ac_func;
41369   ;
41370   return 0;
41371 }
41372 _ACEOF
41373 rm -f conftest.$ac_objext conftest$ac_exeext
41374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41375   (eval $ac_link) 2>conftest.er1
41376   ac_status=$?
41377   grep -v '^ *+' conftest.er1 >conftest.err
41378   rm -f conftest.er1
41379   cat conftest.err >&5
41380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41381   (exit $ac_status); } &&
41382          { ac_try='test -z "$ac_c_werror_flag"
41383                          || test ! -s conftest.err'
41384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41385   (eval $ac_try) 2>&5
41386   ac_status=$?
41387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41388   (exit $ac_status); }; } &&
41389          { ac_try='test -s conftest$ac_exeext'
41390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41391   (eval $ac_try) 2>&5
41392   ac_status=$?
41393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41394   (exit $ac_status); }; }; then
41395   eval "$as_ac_var=yes"
41396 else
41397   echo "$as_me: failed program was:" >&5
41398 sed 's/^/| /' conftest.$ac_ext >&5
41399
41400 eval "$as_ac_var=no"
41401 fi
41402 rm -f conftest.err conftest.$ac_objext \
41403       conftest$ac_exeext conftest.$ac_ext
41404 fi
41405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41406 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41407 if test `eval echo '${'$as_ac_var'}'` = yes; then
41408   cat >>confdefs.h <<_ACEOF
41409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41410 _ACEOF
41411
41412 fi
41413 done
41414
41415   else
41416
41417   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
41418 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
41419   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41420     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
41421   echo $ECHO_N "(cached) $ECHO_C" >&6
41422 else
41423
41424
41425
41426       ac_ext=cc
41427 ac_cpp='$CXXCPP $CPPFLAGS'
41428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41431
41432       cat >conftest.$ac_ext <<_ACEOF
41433 /* confdefs.h.  */
41434 _ACEOF
41435 cat confdefs.h >>conftest.$ac_ext
41436 cat >>conftest.$ac_ext <<_ACEOF
41437 /* end confdefs.h.  */
41438 #include <math.h>
41439                       #ifdef HAVE_IEEEFP_H
41440                       #include <ieeefp.h>
41441                       #endif
41442
41443 int
41444 main ()
41445 {
41446  _sqrtf(0);
41447   ;
41448   return 0;
41449 }
41450 _ACEOF
41451 rm -f conftest.$ac_objext
41452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41453   (eval $ac_compile) 2>conftest.er1
41454   ac_status=$?
41455   grep -v '^ *+' conftest.er1 >conftest.err
41456   rm -f conftest.er1
41457   cat conftest.err >&5
41458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41459   (exit $ac_status); } &&
41460          { ac_try='test -z "$ac_cxx_werror_flag"
41461                          || test ! -s conftest.err'
41462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41463   (eval $ac_try) 2>&5
41464   ac_status=$?
41465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41466   (exit $ac_status); }; } &&
41467          { ac_try='test -s conftest.$ac_objext'
41468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41469   (eval $ac_try) 2>&5
41470   ac_status=$?
41471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41472   (exit $ac_status); }; }; then
41473   glibcxx_cv_func__sqrtf_use=yes
41474 else
41475   echo "$as_me: failed program was:" >&5
41476 sed 's/^/| /' conftest.$ac_ext >&5
41477
41478 glibcxx_cv_func__sqrtf_use=no
41479 fi
41480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41481       ac_ext=c
41482 ac_cpp='$CPP $CPPFLAGS'
41483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41486
41487
41488 fi
41489
41490   fi
41491   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
41492 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
41493
41494     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41495
41496 for ac_func in _sqrtf
41497 do
41498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41499 echo "$as_me:$LINENO: checking for $ac_func" >&5
41500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41501 if eval "test \"\${$as_ac_var+set}\" = set"; then
41502   echo $ECHO_N "(cached) $ECHO_C" >&6
41503 else
41504   if test x$gcc_no_link = xyes; then
41505   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41507    { (exit 1); exit 1; }; }
41508 fi
41509 cat >conftest.$ac_ext <<_ACEOF
41510 /* confdefs.h.  */
41511 _ACEOF
41512 cat confdefs.h >>conftest.$ac_ext
41513 cat >>conftest.$ac_ext <<_ACEOF
41514 /* end confdefs.h.  */
41515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41516    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41517 #define $ac_func innocuous_$ac_func
41518
41519 /* System header to define __stub macros and hopefully few prototypes,
41520     which can conflict with char $ac_func (); below.
41521     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41522     <limits.h> exists even on freestanding compilers.  */
41523
41524 #ifdef __STDC__
41525 # include <limits.h>
41526 #else
41527 # include <assert.h>
41528 #endif
41529
41530 #undef $ac_func
41531
41532 /* Override any gcc2 internal prototype to avoid an error.  */
41533 #ifdef __cplusplus
41534 extern "C"
41535 {
41536 #endif
41537 /* We use char because int might match the return type of a gcc2
41538    builtin and then its argument prototype would still apply.  */
41539 char $ac_func ();
41540 /* The GNU C library defines this for functions which it implements
41541     to always fail with ENOSYS.  Some functions are actually named
41542     something starting with __ and the normal name is an alias.  */
41543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41544 choke me
41545 #else
41546 char (*f) () = $ac_func;
41547 #endif
41548 #ifdef __cplusplus
41549 }
41550 #endif
41551
41552 int
41553 main ()
41554 {
41555 return f != $ac_func;
41556   ;
41557   return 0;
41558 }
41559 _ACEOF
41560 rm -f conftest.$ac_objext conftest$ac_exeext
41561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41562   (eval $ac_link) 2>conftest.er1
41563   ac_status=$?
41564   grep -v '^ *+' conftest.er1 >conftest.err
41565   rm -f conftest.er1
41566   cat conftest.err >&5
41567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41568   (exit $ac_status); } &&
41569          { ac_try='test -z "$ac_c_werror_flag"
41570                          || test ! -s conftest.err'
41571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41572   (eval $ac_try) 2>&5
41573   ac_status=$?
41574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41575   (exit $ac_status); }; } &&
41576          { ac_try='test -s conftest$ac_exeext'
41577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41578   (eval $ac_try) 2>&5
41579   ac_status=$?
41580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41581   (exit $ac_status); }; }; then
41582   eval "$as_ac_var=yes"
41583 else
41584   echo "$as_me: failed program was:" >&5
41585 sed 's/^/| /' conftest.$ac_ext >&5
41586
41587 eval "$as_ac_var=no"
41588 fi
41589 rm -f conftest.err conftest.$ac_objext \
41590       conftest$ac_exeext conftest.$ac_ext
41591 fi
41592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41594 if test `eval echo '${'$as_ac_var'}'` = yes; then
41595   cat >>confdefs.h <<_ACEOF
41596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41597 _ACEOF
41598
41599 fi
41600 done
41601
41602     fi
41603   fi
41604
41605
41606
41607
41608
41609
41610   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
41611 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
41612   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
41613     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
41614   echo $ECHO_N "(cached) $ECHO_C" >&6
41615 else
41616
41617
41618
41619       ac_ext=cc
41620 ac_cpp='$CXXCPP $CPPFLAGS'
41621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41624
41625       cat >conftest.$ac_ext <<_ACEOF
41626 /* confdefs.h.  */
41627 _ACEOF
41628 cat confdefs.h >>conftest.$ac_ext
41629 cat >>conftest.$ac_ext <<_ACEOF
41630 /* end confdefs.h.  */
41631 #include <math.h>
41632 int
41633 main ()
41634 {
41635  sincosf(0, 0, 0);
41636   ;
41637   return 0;
41638 }
41639 _ACEOF
41640 rm -f conftest.$ac_objext
41641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41642   (eval $ac_compile) 2>conftest.er1
41643   ac_status=$?
41644   grep -v '^ *+' conftest.er1 >conftest.err
41645   rm -f conftest.er1
41646   cat conftest.err >&5
41647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41648   (exit $ac_status); } &&
41649          { ac_try='test -z "$ac_cxx_werror_flag"
41650                          || test ! -s conftest.err'
41651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41652   (eval $ac_try) 2>&5
41653   ac_status=$?
41654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41655   (exit $ac_status); }; } &&
41656          { ac_try='test -s conftest.$ac_objext'
41657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41658   (eval $ac_try) 2>&5
41659   ac_status=$?
41660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41661   (exit $ac_status); }; }; then
41662   glibcxx_cv_func_sincosf_use=yes
41663 else
41664   echo "$as_me: failed program was:" >&5
41665 sed 's/^/| /' conftest.$ac_ext >&5
41666
41667 glibcxx_cv_func_sincosf_use=no
41668 fi
41669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41670       ac_ext=c
41671 ac_cpp='$CPP $CPPFLAGS'
41672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41675
41676
41677 fi
41678
41679   fi
41680   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
41681 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
41682
41683   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
41684
41685 for ac_func in sincosf
41686 do
41687 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41688 echo "$as_me:$LINENO: checking for $ac_func" >&5
41689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41690 if eval "test \"\${$as_ac_var+set}\" = set"; then
41691   echo $ECHO_N "(cached) $ECHO_C" >&6
41692 else
41693   if test x$gcc_no_link = xyes; then
41694   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41696    { (exit 1); exit 1; }; }
41697 fi
41698 cat >conftest.$ac_ext <<_ACEOF
41699 /* confdefs.h.  */
41700 _ACEOF
41701 cat confdefs.h >>conftest.$ac_ext
41702 cat >>conftest.$ac_ext <<_ACEOF
41703 /* end confdefs.h.  */
41704 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41705    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41706 #define $ac_func innocuous_$ac_func
41707
41708 /* System header to define __stub macros and hopefully few prototypes,
41709     which can conflict with char $ac_func (); below.
41710     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41711     <limits.h> exists even on freestanding compilers.  */
41712
41713 #ifdef __STDC__
41714 # include <limits.h>
41715 #else
41716 # include <assert.h>
41717 #endif
41718
41719 #undef $ac_func
41720
41721 /* Override any gcc2 internal prototype to avoid an error.  */
41722 #ifdef __cplusplus
41723 extern "C"
41724 {
41725 #endif
41726 /* We use char because int might match the return type of a gcc2
41727    builtin and then its argument prototype would still apply.  */
41728 char $ac_func ();
41729 /* The GNU C library defines this for functions which it implements
41730     to always fail with ENOSYS.  Some functions are actually named
41731     something starting with __ and the normal name is an alias.  */
41732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41733 choke me
41734 #else
41735 char (*f) () = $ac_func;
41736 #endif
41737 #ifdef __cplusplus
41738 }
41739 #endif
41740
41741 int
41742 main ()
41743 {
41744 return f != $ac_func;
41745   ;
41746   return 0;
41747 }
41748 _ACEOF
41749 rm -f conftest.$ac_objext conftest$ac_exeext
41750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41751   (eval $ac_link) 2>conftest.er1
41752   ac_status=$?
41753   grep -v '^ *+' conftest.er1 >conftest.err
41754   rm -f conftest.er1
41755   cat conftest.err >&5
41756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41757   (exit $ac_status); } &&
41758          { ac_try='test -z "$ac_c_werror_flag"
41759                          || test ! -s conftest.err'
41760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41761   (eval $ac_try) 2>&5
41762   ac_status=$?
41763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41764   (exit $ac_status); }; } &&
41765          { ac_try='test -s conftest$ac_exeext'
41766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41767   (eval $ac_try) 2>&5
41768   ac_status=$?
41769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41770   (exit $ac_status); }; }; then
41771   eval "$as_ac_var=yes"
41772 else
41773   echo "$as_me: failed program was:" >&5
41774 sed 's/^/| /' conftest.$ac_ext >&5
41775
41776 eval "$as_ac_var=no"
41777 fi
41778 rm -f conftest.err conftest.$ac_objext \
41779       conftest$ac_exeext conftest.$ac_ext
41780 fi
41781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41782 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41783 if test `eval echo '${'$as_ac_var'}'` = yes; then
41784   cat >>confdefs.h <<_ACEOF
41785 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41786 _ACEOF
41787
41788 fi
41789 done
41790
41791   else
41792
41793   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
41794 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
41795   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
41796     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
41797   echo $ECHO_N "(cached) $ECHO_C" >&6
41798 else
41799
41800
41801
41802       ac_ext=cc
41803 ac_cpp='$CXXCPP $CPPFLAGS'
41804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41807
41808       cat >conftest.$ac_ext <<_ACEOF
41809 /* confdefs.h.  */
41810 _ACEOF
41811 cat confdefs.h >>conftest.$ac_ext
41812 cat >>conftest.$ac_ext <<_ACEOF
41813 /* end confdefs.h.  */
41814 #include <math.h>
41815 int
41816 main ()
41817 {
41818  _sincosf(0, 0, 0);
41819   ;
41820   return 0;
41821 }
41822 _ACEOF
41823 rm -f conftest.$ac_objext
41824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41825   (eval $ac_compile) 2>conftest.er1
41826   ac_status=$?
41827   grep -v '^ *+' conftest.er1 >conftest.err
41828   rm -f conftest.er1
41829   cat conftest.err >&5
41830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41831   (exit $ac_status); } &&
41832          { ac_try='test -z "$ac_cxx_werror_flag"
41833                          || test ! -s conftest.err'
41834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41835   (eval $ac_try) 2>&5
41836   ac_status=$?
41837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41838   (exit $ac_status); }; } &&
41839          { ac_try='test -s conftest.$ac_objext'
41840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41841   (eval $ac_try) 2>&5
41842   ac_status=$?
41843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41844   (exit $ac_status); }; }; then
41845   glibcxx_cv_func__sincosf_use=yes
41846 else
41847   echo "$as_me: failed program was:" >&5
41848 sed 's/^/| /' conftest.$ac_ext >&5
41849
41850 glibcxx_cv_func__sincosf_use=no
41851 fi
41852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41853       ac_ext=c
41854 ac_cpp='$CPP $CPPFLAGS'
41855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41858
41859
41860 fi
41861
41862   fi
41863   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
41864 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
41865
41866     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
41867
41868 for ac_func in _sincosf
41869 do
41870 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41871 echo "$as_me:$LINENO: checking for $ac_func" >&5
41872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41873 if eval "test \"\${$as_ac_var+set}\" = set"; then
41874   echo $ECHO_N "(cached) $ECHO_C" >&6
41875 else
41876   if test x$gcc_no_link = xyes; then
41877   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41879    { (exit 1); exit 1; }; }
41880 fi
41881 cat >conftest.$ac_ext <<_ACEOF
41882 /* confdefs.h.  */
41883 _ACEOF
41884 cat confdefs.h >>conftest.$ac_ext
41885 cat >>conftest.$ac_ext <<_ACEOF
41886 /* end confdefs.h.  */
41887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41888    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41889 #define $ac_func innocuous_$ac_func
41890
41891 /* System header to define __stub macros and hopefully few prototypes,
41892     which can conflict with char $ac_func (); below.
41893     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41894     <limits.h> exists even on freestanding compilers.  */
41895
41896 #ifdef __STDC__
41897 # include <limits.h>
41898 #else
41899 # include <assert.h>
41900 #endif
41901
41902 #undef $ac_func
41903
41904 /* Override any gcc2 internal prototype to avoid an error.  */
41905 #ifdef __cplusplus
41906 extern "C"
41907 {
41908 #endif
41909 /* We use char because int might match the return type of a gcc2
41910    builtin and then its argument prototype would still apply.  */
41911 char $ac_func ();
41912 /* The GNU C library defines this for functions which it implements
41913     to always fail with ENOSYS.  Some functions are actually named
41914     something starting with __ and the normal name is an alias.  */
41915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41916 choke me
41917 #else
41918 char (*f) () = $ac_func;
41919 #endif
41920 #ifdef __cplusplus
41921 }
41922 #endif
41923
41924 int
41925 main ()
41926 {
41927 return f != $ac_func;
41928   ;
41929   return 0;
41930 }
41931 _ACEOF
41932 rm -f conftest.$ac_objext conftest$ac_exeext
41933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41934   (eval $ac_link) 2>conftest.er1
41935   ac_status=$?
41936   grep -v '^ *+' conftest.er1 >conftest.err
41937   rm -f conftest.er1
41938   cat conftest.err >&5
41939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41940   (exit $ac_status); } &&
41941          { ac_try='test -z "$ac_c_werror_flag"
41942                          || test ! -s conftest.err'
41943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41944   (eval $ac_try) 2>&5
41945   ac_status=$?
41946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41947   (exit $ac_status); }; } &&
41948          { ac_try='test -s conftest$ac_exeext'
41949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41950   (eval $ac_try) 2>&5
41951   ac_status=$?
41952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41953   (exit $ac_status); }; }; then
41954   eval "$as_ac_var=yes"
41955 else
41956   echo "$as_me: failed program was:" >&5
41957 sed 's/^/| /' conftest.$ac_ext >&5
41958
41959 eval "$as_ac_var=no"
41960 fi
41961 rm -f conftest.err conftest.$ac_objext \
41962       conftest$ac_exeext conftest.$ac_ext
41963 fi
41964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41965 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41966 if test `eval echo '${'$as_ac_var'}'` = yes; then
41967   cat >>confdefs.h <<_ACEOF
41968 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41969 _ACEOF
41970
41971 fi
41972 done
41973
41974     fi
41975   fi
41976
41977
41978
41979
41980
41981
41982   echo "$as_me:$LINENO: checking for finitef declaration" >&5
41983 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
41984   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
41985     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
41986   echo $ECHO_N "(cached) $ECHO_C" >&6
41987 else
41988
41989
41990
41991       ac_ext=cc
41992 ac_cpp='$CXXCPP $CPPFLAGS'
41993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41996
41997       cat >conftest.$ac_ext <<_ACEOF
41998 /* confdefs.h.  */
41999 _ACEOF
42000 cat confdefs.h >>conftest.$ac_ext
42001 cat >>conftest.$ac_ext <<_ACEOF
42002 /* end confdefs.h.  */
42003 #include <math.h>
42004                       #ifdef HAVE_IEEEFP_H
42005                       #include <ieeefp.h>
42006                       #endif
42007
42008 int
42009 main ()
42010 {
42011  finitef(0);
42012   ;
42013   return 0;
42014 }
42015 _ACEOF
42016 rm -f conftest.$ac_objext
42017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42018   (eval $ac_compile) 2>conftest.er1
42019   ac_status=$?
42020   grep -v '^ *+' conftest.er1 >conftest.err
42021   rm -f conftest.er1
42022   cat conftest.err >&5
42023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42024   (exit $ac_status); } &&
42025          { ac_try='test -z "$ac_cxx_werror_flag"
42026                          || test ! -s conftest.err'
42027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42028   (eval $ac_try) 2>&5
42029   ac_status=$?
42030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42031   (exit $ac_status); }; } &&
42032          { ac_try='test -s conftest.$ac_objext'
42033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42034   (eval $ac_try) 2>&5
42035   ac_status=$?
42036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42037   (exit $ac_status); }; }; then
42038   glibcxx_cv_func_finitef_use=yes
42039 else
42040   echo "$as_me: failed program was:" >&5
42041 sed 's/^/| /' conftest.$ac_ext >&5
42042
42043 glibcxx_cv_func_finitef_use=no
42044 fi
42045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42046       ac_ext=c
42047 ac_cpp='$CPP $CPPFLAGS'
42048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42051
42052
42053 fi
42054
42055   fi
42056   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
42057 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
42058
42059   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42060
42061 for ac_func in finitef
42062 do
42063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42064 echo "$as_me:$LINENO: checking for $ac_func" >&5
42065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42066 if eval "test \"\${$as_ac_var+set}\" = set"; then
42067   echo $ECHO_N "(cached) $ECHO_C" >&6
42068 else
42069   if test x$gcc_no_link = xyes; then
42070   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42072    { (exit 1); exit 1; }; }
42073 fi
42074 cat >conftest.$ac_ext <<_ACEOF
42075 /* confdefs.h.  */
42076 _ACEOF
42077 cat confdefs.h >>conftest.$ac_ext
42078 cat >>conftest.$ac_ext <<_ACEOF
42079 /* end confdefs.h.  */
42080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42081    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42082 #define $ac_func innocuous_$ac_func
42083
42084 /* System header to define __stub macros and hopefully few prototypes,
42085     which can conflict with char $ac_func (); below.
42086     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42087     <limits.h> exists even on freestanding compilers.  */
42088
42089 #ifdef __STDC__
42090 # include <limits.h>
42091 #else
42092 # include <assert.h>
42093 #endif
42094
42095 #undef $ac_func
42096
42097 /* Override any gcc2 internal prototype to avoid an error.  */
42098 #ifdef __cplusplus
42099 extern "C"
42100 {
42101 #endif
42102 /* We use char because int might match the return type of a gcc2
42103    builtin and then its argument prototype would still apply.  */
42104 char $ac_func ();
42105 /* The GNU C library defines this for functions which it implements
42106     to always fail with ENOSYS.  Some functions are actually named
42107     something starting with __ and the normal name is an alias.  */
42108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42109 choke me
42110 #else
42111 char (*f) () = $ac_func;
42112 #endif
42113 #ifdef __cplusplus
42114 }
42115 #endif
42116
42117 int
42118 main ()
42119 {
42120 return f != $ac_func;
42121   ;
42122   return 0;
42123 }
42124 _ACEOF
42125 rm -f conftest.$ac_objext conftest$ac_exeext
42126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42127   (eval $ac_link) 2>conftest.er1
42128   ac_status=$?
42129   grep -v '^ *+' conftest.er1 >conftest.err
42130   rm -f conftest.er1
42131   cat conftest.err >&5
42132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42133   (exit $ac_status); } &&
42134          { ac_try='test -z "$ac_c_werror_flag"
42135                          || test ! -s conftest.err'
42136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42137   (eval $ac_try) 2>&5
42138   ac_status=$?
42139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42140   (exit $ac_status); }; } &&
42141          { ac_try='test -s conftest$ac_exeext'
42142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42143   (eval $ac_try) 2>&5
42144   ac_status=$?
42145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42146   (exit $ac_status); }; }; then
42147   eval "$as_ac_var=yes"
42148 else
42149   echo "$as_me: failed program was:" >&5
42150 sed 's/^/| /' conftest.$ac_ext >&5
42151
42152 eval "$as_ac_var=no"
42153 fi
42154 rm -f conftest.err conftest.$ac_objext \
42155       conftest$ac_exeext conftest.$ac_ext
42156 fi
42157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42159 if test `eval echo '${'$as_ac_var'}'` = yes; then
42160   cat >>confdefs.h <<_ACEOF
42161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42162 _ACEOF
42163
42164 fi
42165 done
42166
42167   else
42168
42169   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
42170 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
42171   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42172     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
42173   echo $ECHO_N "(cached) $ECHO_C" >&6
42174 else
42175
42176
42177
42178       ac_ext=cc
42179 ac_cpp='$CXXCPP $CPPFLAGS'
42180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42183
42184       cat >conftest.$ac_ext <<_ACEOF
42185 /* confdefs.h.  */
42186 _ACEOF
42187 cat confdefs.h >>conftest.$ac_ext
42188 cat >>conftest.$ac_ext <<_ACEOF
42189 /* end confdefs.h.  */
42190 #include <math.h>
42191                       #ifdef HAVE_IEEEFP_H
42192                       #include <ieeefp.h>
42193                       #endif
42194
42195 int
42196 main ()
42197 {
42198  _finitef(0);
42199   ;
42200   return 0;
42201 }
42202 _ACEOF
42203 rm -f conftest.$ac_objext
42204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42205   (eval $ac_compile) 2>conftest.er1
42206   ac_status=$?
42207   grep -v '^ *+' conftest.er1 >conftest.err
42208   rm -f conftest.er1
42209   cat conftest.err >&5
42210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42211   (exit $ac_status); } &&
42212          { ac_try='test -z "$ac_cxx_werror_flag"
42213                          || test ! -s conftest.err'
42214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42215   (eval $ac_try) 2>&5
42216   ac_status=$?
42217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42218   (exit $ac_status); }; } &&
42219          { ac_try='test -s conftest.$ac_objext'
42220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42221   (eval $ac_try) 2>&5
42222   ac_status=$?
42223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42224   (exit $ac_status); }; }; then
42225   glibcxx_cv_func__finitef_use=yes
42226 else
42227   echo "$as_me: failed program was:" >&5
42228 sed 's/^/| /' conftest.$ac_ext >&5
42229
42230 glibcxx_cv_func__finitef_use=no
42231 fi
42232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42233       ac_ext=c
42234 ac_cpp='$CPP $CPPFLAGS'
42235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42238
42239
42240 fi
42241
42242   fi
42243   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
42244 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
42245
42246     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42247
42248 for ac_func in _finitef
42249 do
42250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42251 echo "$as_me:$LINENO: checking for $ac_func" >&5
42252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42253 if eval "test \"\${$as_ac_var+set}\" = set"; then
42254   echo $ECHO_N "(cached) $ECHO_C" >&6
42255 else
42256   if test x$gcc_no_link = xyes; then
42257   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42259    { (exit 1); exit 1; }; }
42260 fi
42261 cat >conftest.$ac_ext <<_ACEOF
42262 /* confdefs.h.  */
42263 _ACEOF
42264 cat confdefs.h >>conftest.$ac_ext
42265 cat >>conftest.$ac_ext <<_ACEOF
42266 /* end confdefs.h.  */
42267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42268    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42269 #define $ac_func innocuous_$ac_func
42270
42271 /* System header to define __stub macros and hopefully few prototypes,
42272     which can conflict with char $ac_func (); below.
42273     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42274     <limits.h> exists even on freestanding compilers.  */
42275
42276 #ifdef __STDC__
42277 # include <limits.h>
42278 #else
42279 # include <assert.h>
42280 #endif
42281
42282 #undef $ac_func
42283
42284 /* Override any gcc2 internal prototype to avoid an error.  */
42285 #ifdef __cplusplus
42286 extern "C"
42287 {
42288 #endif
42289 /* We use char because int might match the return type of a gcc2
42290    builtin and then its argument prototype would still apply.  */
42291 char $ac_func ();
42292 /* The GNU C library defines this for functions which it implements
42293     to always fail with ENOSYS.  Some functions are actually named
42294     something starting with __ and the normal name is an alias.  */
42295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42296 choke me
42297 #else
42298 char (*f) () = $ac_func;
42299 #endif
42300 #ifdef __cplusplus
42301 }
42302 #endif
42303
42304 int
42305 main ()
42306 {
42307 return f != $ac_func;
42308   ;
42309   return 0;
42310 }
42311 _ACEOF
42312 rm -f conftest.$ac_objext conftest$ac_exeext
42313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42314   (eval $ac_link) 2>conftest.er1
42315   ac_status=$?
42316   grep -v '^ *+' conftest.er1 >conftest.err
42317   rm -f conftest.er1
42318   cat conftest.err >&5
42319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42320   (exit $ac_status); } &&
42321          { ac_try='test -z "$ac_c_werror_flag"
42322                          || test ! -s conftest.err'
42323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42324   (eval $ac_try) 2>&5
42325   ac_status=$?
42326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42327   (exit $ac_status); }; } &&
42328          { ac_try='test -s conftest$ac_exeext'
42329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42330   (eval $ac_try) 2>&5
42331   ac_status=$?
42332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42333   (exit $ac_status); }; }; then
42334   eval "$as_ac_var=yes"
42335 else
42336   echo "$as_me: failed program was:" >&5
42337 sed 's/^/| /' conftest.$ac_ext >&5
42338
42339 eval "$as_ac_var=no"
42340 fi
42341 rm -f conftest.err conftest.$ac_objext \
42342       conftest$ac_exeext conftest.$ac_ext
42343 fi
42344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42345 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42346 if test `eval echo '${'$as_ac_var'}'` = yes; then
42347   cat >>confdefs.h <<_ACEOF
42348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42349 _ACEOF
42350
42351 fi
42352 done
42353
42354     fi
42355   fi
42356
42357
42358
42359
42360
42361
42362     echo "$as_me:$LINENO: checking for long double trig functions" >&5
42363 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
42364   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
42365   echo $ECHO_N "(cached) $ECHO_C" >&6
42366 else
42367
42368
42369
42370     ac_ext=cc
42371 ac_cpp='$CXXCPP $CPPFLAGS'
42372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42375
42376     cat >conftest.$ac_ext <<_ACEOF
42377 /* confdefs.h.  */
42378 _ACEOF
42379 cat confdefs.h >>conftest.$ac_ext
42380 cat >>conftest.$ac_ext <<_ACEOF
42381 /* end confdefs.h.  */
42382 #include <math.h>
42383 int
42384 main ()
42385 {
42386 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
42387   ;
42388   return 0;
42389 }
42390 _ACEOF
42391 rm -f conftest.$ac_objext
42392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42393   (eval $ac_compile) 2>conftest.er1
42394   ac_status=$?
42395   grep -v '^ *+' conftest.er1 >conftest.err
42396   rm -f conftest.er1
42397   cat conftest.err >&5
42398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42399   (exit $ac_status); } &&
42400          { ac_try='test -z "$ac_cxx_werror_flag"
42401                          || test ! -s conftest.err'
42402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42403   (eval $ac_try) 2>&5
42404   ac_status=$?
42405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42406   (exit $ac_status); }; } &&
42407          { ac_try='test -s conftest.$ac_objext'
42408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42409   (eval $ac_try) 2>&5
42410   ac_status=$?
42411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42412   (exit $ac_status); }; }; then
42413   glibcxx_cv_func_long_double_trig_use=yes
42414 else
42415   echo "$as_me: failed program was:" >&5
42416 sed 's/^/| /' conftest.$ac_ext >&5
42417
42418 glibcxx_cv_func_long_double_trig_use=no
42419 fi
42420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42421     ac_ext=c
42422 ac_cpp='$CPP $CPPFLAGS'
42423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42426
42427 fi
42428
42429   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
42430 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
42431   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
42432
42433
42434
42435
42436
42437
42438
42439
42440
42441 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
42442 do
42443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42444 echo "$as_me:$LINENO: checking for $ac_func" >&5
42445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42446 if eval "test \"\${$as_ac_var+set}\" = set"; then
42447   echo $ECHO_N "(cached) $ECHO_C" >&6
42448 else
42449   if test x$gcc_no_link = xyes; then
42450   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42452    { (exit 1); exit 1; }; }
42453 fi
42454 cat >conftest.$ac_ext <<_ACEOF
42455 /* confdefs.h.  */
42456 _ACEOF
42457 cat confdefs.h >>conftest.$ac_ext
42458 cat >>conftest.$ac_ext <<_ACEOF
42459 /* end confdefs.h.  */
42460 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42461    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42462 #define $ac_func innocuous_$ac_func
42463
42464 /* System header to define __stub macros and hopefully few prototypes,
42465     which can conflict with char $ac_func (); below.
42466     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42467     <limits.h> exists even on freestanding compilers.  */
42468
42469 #ifdef __STDC__
42470 # include <limits.h>
42471 #else
42472 # include <assert.h>
42473 #endif
42474
42475 #undef $ac_func
42476
42477 /* Override any gcc2 internal prototype to avoid an error.  */
42478 #ifdef __cplusplus
42479 extern "C"
42480 {
42481 #endif
42482 /* We use char because int might match the return type of a gcc2
42483    builtin and then its argument prototype would still apply.  */
42484 char $ac_func ();
42485 /* The GNU C library defines this for functions which it implements
42486     to always fail with ENOSYS.  Some functions are actually named
42487     something starting with __ and the normal name is an alias.  */
42488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42489 choke me
42490 #else
42491 char (*f) () = $ac_func;
42492 #endif
42493 #ifdef __cplusplus
42494 }
42495 #endif
42496
42497 int
42498 main ()
42499 {
42500 return f != $ac_func;
42501   ;
42502   return 0;
42503 }
42504 _ACEOF
42505 rm -f conftest.$ac_objext conftest$ac_exeext
42506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42507   (eval $ac_link) 2>conftest.er1
42508   ac_status=$?
42509   grep -v '^ *+' conftest.er1 >conftest.err
42510   rm -f conftest.er1
42511   cat conftest.err >&5
42512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42513   (exit $ac_status); } &&
42514          { ac_try='test -z "$ac_c_werror_flag"
42515                          || test ! -s conftest.err'
42516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42517   (eval $ac_try) 2>&5
42518   ac_status=$?
42519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42520   (exit $ac_status); }; } &&
42521          { ac_try='test -s conftest$ac_exeext'
42522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42523   (eval $ac_try) 2>&5
42524   ac_status=$?
42525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42526   (exit $ac_status); }; }; then
42527   eval "$as_ac_var=yes"
42528 else
42529   echo "$as_me: failed program was:" >&5
42530 sed 's/^/| /' conftest.$ac_ext >&5
42531
42532 eval "$as_ac_var=no"
42533 fi
42534 rm -f conftest.err conftest.$ac_objext \
42535       conftest$ac_exeext conftest.$ac_ext
42536 fi
42537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42539 if test `eval echo '${'$as_ac_var'}'` = yes; then
42540   cat >>confdefs.h <<_ACEOF
42541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42542 _ACEOF
42543
42544 fi
42545 done
42546
42547   else
42548     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
42549 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
42550     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
42551   echo $ECHO_N "(cached) $ECHO_C" >&6
42552 else
42553
42554
42555
42556       ac_ext=cc
42557 ac_cpp='$CXXCPP $CPPFLAGS'
42558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42561
42562       cat >conftest.$ac_ext <<_ACEOF
42563 /* confdefs.h.  */
42564 _ACEOF
42565 cat confdefs.h >>conftest.$ac_ext
42566 cat >>conftest.$ac_ext <<_ACEOF
42567 /* end confdefs.h.  */
42568 #include <math.h>
42569 int
42570 main ()
42571 {
42572 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
42573   ;
42574   return 0;
42575 }
42576 _ACEOF
42577 rm -f conftest.$ac_objext
42578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42579   (eval $ac_compile) 2>conftest.er1
42580   ac_status=$?
42581   grep -v '^ *+' conftest.er1 >conftest.err
42582   rm -f conftest.er1
42583   cat conftest.err >&5
42584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42585   (exit $ac_status); } &&
42586          { ac_try='test -z "$ac_cxx_werror_flag"
42587                          || test ! -s conftest.err'
42588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42589   (eval $ac_try) 2>&5
42590   ac_status=$?
42591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42592   (exit $ac_status); }; } &&
42593          { ac_try='test -s conftest.$ac_objext'
42594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42595   (eval $ac_try) 2>&5
42596   ac_status=$?
42597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42598   (exit $ac_status); }; }; then
42599   glibcxx_cv_func__long_double_trig_use=yes
42600 else
42601   echo "$as_me: failed program was:" >&5
42602 sed 's/^/| /' conftest.$ac_ext >&5
42603
42604 glibcxx_cv_func__long_double_trig_use=no
42605 fi
42606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42607       ac_ext=c
42608 ac_cpp='$CPP $CPPFLAGS'
42609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42612
42613 fi
42614
42615     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
42616 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
42617     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
42618
42619
42620
42621
42622
42623
42624
42625
42626
42627 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
42628 do
42629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42630 echo "$as_me:$LINENO: checking for $ac_func" >&5
42631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42632 if eval "test \"\${$as_ac_var+set}\" = set"; then
42633   echo $ECHO_N "(cached) $ECHO_C" >&6
42634 else
42635   if test x$gcc_no_link = xyes; then
42636   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42638    { (exit 1); exit 1; }; }
42639 fi
42640 cat >conftest.$ac_ext <<_ACEOF
42641 /* confdefs.h.  */
42642 _ACEOF
42643 cat confdefs.h >>conftest.$ac_ext
42644 cat >>conftest.$ac_ext <<_ACEOF
42645 /* end confdefs.h.  */
42646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42647    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42648 #define $ac_func innocuous_$ac_func
42649
42650 /* System header to define __stub macros and hopefully few prototypes,
42651     which can conflict with char $ac_func (); below.
42652     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42653     <limits.h> exists even on freestanding compilers.  */
42654
42655 #ifdef __STDC__
42656 # include <limits.h>
42657 #else
42658 # include <assert.h>
42659 #endif
42660
42661 #undef $ac_func
42662
42663 /* Override any gcc2 internal prototype to avoid an error.  */
42664 #ifdef __cplusplus
42665 extern "C"
42666 {
42667 #endif
42668 /* We use char because int might match the return type of a gcc2
42669    builtin and then its argument prototype would still apply.  */
42670 char $ac_func ();
42671 /* The GNU C library defines this for functions which it implements
42672     to always fail with ENOSYS.  Some functions are actually named
42673     something starting with __ and the normal name is an alias.  */
42674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42675 choke me
42676 #else
42677 char (*f) () = $ac_func;
42678 #endif
42679 #ifdef __cplusplus
42680 }
42681 #endif
42682
42683 int
42684 main ()
42685 {
42686 return f != $ac_func;
42687   ;
42688   return 0;
42689 }
42690 _ACEOF
42691 rm -f conftest.$ac_objext conftest$ac_exeext
42692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42693   (eval $ac_link) 2>conftest.er1
42694   ac_status=$?
42695   grep -v '^ *+' conftest.er1 >conftest.err
42696   rm -f conftest.er1
42697   cat conftest.err >&5
42698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42699   (exit $ac_status); } &&
42700          { ac_try='test -z "$ac_c_werror_flag"
42701                          || test ! -s conftest.err'
42702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42703   (eval $ac_try) 2>&5
42704   ac_status=$?
42705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42706   (exit $ac_status); }; } &&
42707          { ac_try='test -s conftest$ac_exeext'
42708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42709   (eval $ac_try) 2>&5
42710   ac_status=$?
42711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42712   (exit $ac_status); }; }; then
42713   eval "$as_ac_var=yes"
42714 else
42715   echo "$as_me: failed program was:" >&5
42716 sed 's/^/| /' conftest.$ac_ext >&5
42717
42718 eval "$as_ac_var=no"
42719 fi
42720 rm -f conftest.err conftest.$ac_objext \
42721       conftest$ac_exeext conftest.$ac_ext
42722 fi
42723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42725 if test `eval echo '${'$as_ac_var'}'` = yes; then
42726   cat >>confdefs.h <<_ACEOF
42727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42728 _ACEOF
42729
42730 fi
42731 done
42732
42733     fi
42734   fi
42735
42736
42737
42738
42739
42740
42741
42742
42743
42744
42745
42746
42747
42748
42749     echo "$as_me:$LINENO: checking for long double round functions" >&5
42750 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
42751   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
42752   echo $ECHO_N "(cached) $ECHO_C" >&6
42753 else
42754
42755
42756
42757     ac_ext=cc
42758 ac_cpp='$CXXCPP $CPPFLAGS'
42759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42762
42763     cat >conftest.$ac_ext <<_ACEOF
42764 /* confdefs.h.  */
42765 _ACEOF
42766 cat confdefs.h >>conftest.$ac_ext
42767 cat >>conftest.$ac_ext <<_ACEOF
42768 /* end confdefs.h.  */
42769 #include <math.h>
42770 int
42771 main ()
42772 {
42773 ceill (0); floorl (0);
42774   ;
42775   return 0;
42776 }
42777 _ACEOF
42778 rm -f conftest.$ac_objext
42779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42780   (eval $ac_compile) 2>conftest.er1
42781   ac_status=$?
42782   grep -v '^ *+' conftest.er1 >conftest.err
42783   rm -f conftest.er1
42784   cat conftest.err >&5
42785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42786   (exit $ac_status); } &&
42787          { ac_try='test -z "$ac_cxx_werror_flag"
42788                          || test ! -s conftest.err'
42789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42790   (eval $ac_try) 2>&5
42791   ac_status=$?
42792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42793   (exit $ac_status); }; } &&
42794          { ac_try='test -s conftest.$ac_objext'
42795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42796   (eval $ac_try) 2>&5
42797   ac_status=$?
42798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42799   (exit $ac_status); }; }; then
42800   glibcxx_cv_func_long_double_round_use=yes
42801 else
42802   echo "$as_me: failed program was:" >&5
42803 sed 's/^/| /' conftest.$ac_ext >&5
42804
42805 glibcxx_cv_func_long_double_round_use=no
42806 fi
42807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42808     ac_ext=c
42809 ac_cpp='$CPP $CPPFLAGS'
42810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42813
42814 fi
42815
42816   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
42817 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
42818   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
42819
42820
42821 for ac_func in ceill floorl
42822 do
42823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42824 echo "$as_me:$LINENO: checking for $ac_func" >&5
42825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42826 if eval "test \"\${$as_ac_var+set}\" = set"; then
42827   echo $ECHO_N "(cached) $ECHO_C" >&6
42828 else
42829   if test x$gcc_no_link = xyes; then
42830   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42832    { (exit 1); exit 1; }; }
42833 fi
42834 cat >conftest.$ac_ext <<_ACEOF
42835 /* confdefs.h.  */
42836 _ACEOF
42837 cat confdefs.h >>conftest.$ac_ext
42838 cat >>conftest.$ac_ext <<_ACEOF
42839 /* end confdefs.h.  */
42840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42841    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42842 #define $ac_func innocuous_$ac_func
42843
42844 /* System header to define __stub macros and hopefully few prototypes,
42845     which can conflict with char $ac_func (); below.
42846     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42847     <limits.h> exists even on freestanding compilers.  */
42848
42849 #ifdef __STDC__
42850 # include <limits.h>
42851 #else
42852 # include <assert.h>
42853 #endif
42854
42855 #undef $ac_func
42856
42857 /* Override any gcc2 internal prototype to avoid an error.  */
42858 #ifdef __cplusplus
42859 extern "C"
42860 {
42861 #endif
42862 /* We use char because int might match the return type of a gcc2
42863    builtin and then its argument prototype would still apply.  */
42864 char $ac_func ();
42865 /* The GNU C library defines this for functions which it implements
42866     to always fail with ENOSYS.  Some functions are actually named
42867     something starting with __ and the normal name is an alias.  */
42868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42869 choke me
42870 #else
42871 char (*f) () = $ac_func;
42872 #endif
42873 #ifdef __cplusplus
42874 }
42875 #endif
42876
42877 int
42878 main ()
42879 {
42880 return f != $ac_func;
42881   ;
42882   return 0;
42883 }
42884 _ACEOF
42885 rm -f conftest.$ac_objext conftest$ac_exeext
42886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42887   (eval $ac_link) 2>conftest.er1
42888   ac_status=$?
42889   grep -v '^ *+' conftest.er1 >conftest.err
42890   rm -f conftest.er1
42891   cat conftest.err >&5
42892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42893   (exit $ac_status); } &&
42894          { ac_try='test -z "$ac_c_werror_flag"
42895                          || test ! -s conftest.err'
42896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42897   (eval $ac_try) 2>&5
42898   ac_status=$?
42899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42900   (exit $ac_status); }; } &&
42901          { ac_try='test -s conftest$ac_exeext'
42902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42903   (eval $ac_try) 2>&5
42904   ac_status=$?
42905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42906   (exit $ac_status); }; }; then
42907   eval "$as_ac_var=yes"
42908 else
42909   echo "$as_me: failed program was:" >&5
42910 sed 's/^/| /' conftest.$ac_ext >&5
42911
42912 eval "$as_ac_var=no"
42913 fi
42914 rm -f conftest.err conftest.$ac_objext \
42915       conftest$ac_exeext conftest.$ac_ext
42916 fi
42917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42919 if test `eval echo '${'$as_ac_var'}'` = yes; then
42920   cat >>confdefs.h <<_ACEOF
42921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42922 _ACEOF
42923
42924 fi
42925 done
42926
42927   else
42928     echo "$as_me:$LINENO: checking for _long double round functions" >&5
42929 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
42930     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
42931   echo $ECHO_N "(cached) $ECHO_C" >&6
42932 else
42933
42934
42935
42936       ac_ext=cc
42937 ac_cpp='$CXXCPP $CPPFLAGS'
42938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42941
42942       cat >conftest.$ac_ext <<_ACEOF
42943 /* confdefs.h.  */
42944 _ACEOF
42945 cat confdefs.h >>conftest.$ac_ext
42946 cat >>conftest.$ac_ext <<_ACEOF
42947 /* end confdefs.h.  */
42948 #include <math.h>
42949 int
42950 main ()
42951 {
42952 _ceill (0); _floorl (0);
42953   ;
42954   return 0;
42955 }
42956 _ACEOF
42957 rm -f conftest.$ac_objext
42958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42959   (eval $ac_compile) 2>conftest.er1
42960   ac_status=$?
42961   grep -v '^ *+' conftest.er1 >conftest.err
42962   rm -f conftest.er1
42963   cat conftest.err >&5
42964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42965   (exit $ac_status); } &&
42966          { ac_try='test -z "$ac_cxx_werror_flag"
42967                          || test ! -s conftest.err'
42968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42969   (eval $ac_try) 2>&5
42970   ac_status=$?
42971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42972   (exit $ac_status); }; } &&
42973          { ac_try='test -s conftest.$ac_objext'
42974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42975   (eval $ac_try) 2>&5
42976   ac_status=$?
42977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42978   (exit $ac_status); }; }; then
42979   glibcxx_cv_func__long_double_round_use=yes
42980 else
42981   echo "$as_me: failed program was:" >&5
42982 sed 's/^/| /' conftest.$ac_ext >&5
42983
42984 glibcxx_cv_func__long_double_round_use=no
42985 fi
42986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42987       ac_ext=c
42988 ac_cpp='$CPP $CPPFLAGS'
42989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42992
42993 fi
42994
42995     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
42996 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
42997     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42998
42999
43000 for ac_func in _ceill _floorl
43001 do
43002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43003 echo "$as_me:$LINENO: checking for $ac_func" >&5
43004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43005 if eval "test \"\${$as_ac_var+set}\" = set"; then
43006   echo $ECHO_N "(cached) $ECHO_C" >&6
43007 else
43008   if test x$gcc_no_link = xyes; then
43009   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43011    { (exit 1); exit 1; }; }
43012 fi
43013 cat >conftest.$ac_ext <<_ACEOF
43014 /* confdefs.h.  */
43015 _ACEOF
43016 cat confdefs.h >>conftest.$ac_ext
43017 cat >>conftest.$ac_ext <<_ACEOF
43018 /* end confdefs.h.  */
43019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43020    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43021 #define $ac_func innocuous_$ac_func
43022
43023 /* System header to define __stub macros and hopefully few prototypes,
43024     which can conflict with char $ac_func (); below.
43025     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43026     <limits.h> exists even on freestanding compilers.  */
43027
43028 #ifdef __STDC__
43029 # include <limits.h>
43030 #else
43031 # include <assert.h>
43032 #endif
43033
43034 #undef $ac_func
43035
43036 /* Override any gcc2 internal prototype to avoid an error.  */
43037 #ifdef __cplusplus
43038 extern "C"
43039 {
43040 #endif
43041 /* We use char because int might match the return type of a gcc2
43042    builtin and then its argument prototype would still apply.  */
43043 char $ac_func ();
43044 /* The GNU C library defines this for functions which it implements
43045     to always fail with ENOSYS.  Some functions are actually named
43046     something starting with __ and the normal name is an alias.  */
43047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43048 choke me
43049 #else
43050 char (*f) () = $ac_func;
43051 #endif
43052 #ifdef __cplusplus
43053 }
43054 #endif
43055
43056 int
43057 main ()
43058 {
43059 return f != $ac_func;
43060   ;
43061   return 0;
43062 }
43063 _ACEOF
43064 rm -f conftest.$ac_objext conftest$ac_exeext
43065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43066   (eval $ac_link) 2>conftest.er1
43067   ac_status=$?
43068   grep -v '^ *+' conftest.er1 >conftest.err
43069   rm -f conftest.er1
43070   cat conftest.err >&5
43071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43072   (exit $ac_status); } &&
43073          { ac_try='test -z "$ac_c_werror_flag"
43074                          || test ! -s conftest.err'
43075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43076   (eval $ac_try) 2>&5
43077   ac_status=$?
43078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43079   (exit $ac_status); }; } &&
43080          { ac_try='test -s conftest$ac_exeext'
43081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43082   (eval $ac_try) 2>&5
43083   ac_status=$?
43084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43085   (exit $ac_status); }; }; then
43086   eval "$as_ac_var=yes"
43087 else
43088   echo "$as_me: failed program was:" >&5
43089 sed 's/^/| /' conftest.$ac_ext >&5
43090
43091 eval "$as_ac_var=no"
43092 fi
43093 rm -f conftest.err conftest.$ac_objext \
43094       conftest$ac_exeext conftest.$ac_ext
43095 fi
43096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43098 if test `eval echo '${'$as_ac_var'}'` = yes; then
43099   cat >>confdefs.h <<_ACEOF
43100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43101 _ACEOF
43102
43103 fi
43104 done
43105
43106     fi
43107   fi
43108
43109
43110
43111
43112
43113
43114
43115
43116   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
43117 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
43118   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43119     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
43120   echo $ECHO_N "(cached) $ECHO_C" >&6
43121 else
43122
43123
43124
43125       ac_ext=cc
43126 ac_cpp='$CXXCPP $CPPFLAGS'
43127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43130
43131       cat >conftest.$ac_ext <<_ACEOF
43132 /* confdefs.h.  */
43133 _ACEOF
43134 cat confdefs.h >>conftest.$ac_ext
43135 cat >>conftest.$ac_ext <<_ACEOF
43136 /* end confdefs.h.  */
43137 #include <math.h>
43138                       #ifdef HAVE_IEEEFP_H
43139                       #include <ieeefp.h>
43140                       #endif
43141
43142 int
43143 main ()
43144 {
43145  isnanl(0);
43146   ;
43147   return 0;
43148 }
43149 _ACEOF
43150 rm -f conftest.$ac_objext
43151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43152   (eval $ac_compile) 2>conftest.er1
43153   ac_status=$?
43154   grep -v '^ *+' conftest.er1 >conftest.err
43155   rm -f conftest.er1
43156   cat conftest.err >&5
43157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43158   (exit $ac_status); } &&
43159          { ac_try='test -z "$ac_cxx_werror_flag"
43160                          || test ! -s conftest.err'
43161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43162   (eval $ac_try) 2>&5
43163   ac_status=$?
43164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43165   (exit $ac_status); }; } &&
43166          { ac_try='test -s conftest.$ac_objext'
43167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43168   (eval $ac_try) 2>&5
43169   ac_status=$?
43170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43171   (exit $ac_status); }; }; then
43172   glibcxx_cv_func_isnanl_use=yes
43173 else
43174   echo "$as_me: failed program was:" >&5
43175 sed 's/^/| /' conftest.$ac_ext >&5
43176
43177 glibcxx_cv_func_isnanl_use=no
43178 fi
43179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43180       ac_ext=c
43181 ac_cpp='$CPP $CPPFLAGS'
43182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43185
43186
43187 fi
43188
43189   fi
43190   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
43191 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
43192
43193   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43194
43195 for ac_func in isnanl
43196 do
43197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43198 echo "$as_me:$LINENO: checking for $ac_func" >&5
43199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43200 if eval "test \"\${$as_ac_var+set}\" = set"; then
43201   echo $ECHO_N "(cached) $ECHO_C" >&6
43202 else
43203   if test x$gcc_no_link = xyes; then
43204   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43206    { (exit 1); exit 1; }; }
43207 fi
43208 cat >conftest.$ac_ext <<_ACEOF
43209 /* confdefs.h.  */
43210 _ACEOF
43211 cat confdefs.h >>conftest.$ac_ext
43212 cat >>conftest.$ac_ext <<_ACEOF
43213 /* end confdefs.h.  */
43214 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43215    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43216 #define $ac_func innocuous_$ac_func
43217
43218 /* System header to define __stub macros and hopefully few prototypes,
43219     which can conflict with char $ac_func (); below.
43220     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43221     <limits.h> exists even on freestanding compilers.  */
43222
43223 #ifdef __STDC__
43224 # include <limits.h>
43225 #else
43226 # include <assert.h>
43227 #endif
43228
43229 #undef $ac_func
43230
43231 /* Override any gcc2 internal prototype to avoid an error.  */
43232 #ifdef __cplusplus
43233 extern "C"
43234 {
43235 #endif
43236 /* We use char because int might match the return type of a gcc2
43237    builtin and then its argument prototype would still apply.  */
43238 char $ac_func ();
43239 /* The GNU C library defines this for functions which it implements
43240     to always fail with ENOSYS.  Some functions are actually named
43241     something starting with __ and the normal name is an alias.  */
43242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43243 choke me
43244 #else
43245 char (*f) () = $ac_func;
43246 #endif
43247 #ifdef __cplusplus
43248 }
43249 #endif
43250
43251 int
43252 main ()
43253 {
43254 return f != $ac_func;
43255   ;
43256   return 0;
43257 }
43258 _ACEOF
43259 rm -f conftest.$ac_objext conftest$ac_exeext
43260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43261   (eval $ac_link) 2>conftest.er1
43262   ac_status=$?
43263   grep -v '^ *+' conftest.er1 >conftest.err
43264   rm -f conftest.er1
43265   cat conftest.err >&5
43266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43267   (exit $ac_status); } &&
43268          { ac_try='test -z "$ac_c_werror_flag"
43269                          || test ! -s conftest.err'
43270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43271   (eval $ac_try) 2>&5
43272   ac_status=$?
43273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43274   (exit $ac_status); }; } &&
43275          { ac_try='test -s conftest$ac_exeext'
43276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43277   (eval $ac_try) 2>&5
43278   ac_status=$?
43279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43280   (exit $ac_status); }; }; then
43281   eval "$as_ac_var=yes"
43282 else
43283   echo "$as_me: failed program was:" >&5
43284 sed 's/^/| /' conftest.$ac_ext >&5
43285
43286 eval "$as_ac_var=no"
43287 fi
43288 rm -f conftest.err conftest.$ac_objext \
43289       conftest$ac_exeext conftest.$ac_ext
43290 fi
43291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43293 if test `eval echo '${'$as_ac_var'}'` = yes; then
43294   cat >>confdefs.h <<_ACEOF
43295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43296 _ACEOF
43297
43298 fi
43299 done
43300
43301   else
43302
43303   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
43304 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
43305   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43306     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
43307   echo $ECHO_N "(cached) $ECHO_C" >&6
43308 else
43309
43310
43311
43312       ac_ext=cc
43313 ac_cpp='$CXXCPP $CPPFLAGS'
43314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43317
43318       cat >conftest.$ac_ext <<_ACEOF
43319 /* confdefs.h.  */
43320 _ACEOF
43321 cat confdefs.h >>conftest.$ac_ext
43322 cat >>conftest.$ac_ext <<_ACEOF
43323 /* end confdefs.h.  */
43324 #include <math.h>
43325                       #ifdef HAVE_IEEEFP_H
43326                       #include <ieeefp.h>
43327                       #endif
43328
43329 int
43330 main ()
43331 {
43332  _isnanl(0);
43333   ;
43334   return 0;
43335 }
43336 _ACEOF
43337 rm -f conftest.$ac_objext
43338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43339   (eval $ac_compile) 2>conftest.er1
43340   ac_status=$?
43341   grep -v '^ *+' conftest.er1 >conftest.err
43342   rm -f conftest.er1
43343   cat conftest.err >&5
43344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43345   (exit $ac_status); } &&
43346          { ac_try='test -z "$ac_cxx_werror_flag"
43347                          || test ! -s conftest.err'
43348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43349   (eval $ac_try) 2>&5
43350   ac_status=$?
43351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43352   (exit $ac_status); }; } &&
43353          { ac_try='test -s conftest.$ac_objext'
43354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43355   (eval $ac_try) 2>&5
43356   ac_status=$?
43357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43358   (exit $ac_status); }; }; then
43359   glibcxx_cv_func__isnanl_use=yes
43360 else
43361   echo "$as_me: failed program was:" >&5
43362 sed 's/^/| /' conftest.$ac_ext >&5
43363
43364 glibcxx_cv_func__isnanl_use=no
43365 fi
43366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43367       ac_ext=c
43368 ac_cpp='$CPP $CPPFLAGS'
43369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43372
43373
43374 fi
43375
43376   fi
43377   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
43378 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
43379
43380     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43381
43382 for ac_func in _isnanl
43383 do
43384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43385 echo "$as_me:$LINENO: checking for $ac_func" >&5
43386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43387 if eval "test \"\${$as_ac_var+set}\" = set"; then
43388   echo $ECHO_N "(cached) $ECHO_C" >&6
43389 else
43390   if test x$gcc_no_link = xyes; then
43391   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43393    { (exit 1); exit 1; }; }
43394 fi
43395 cat >conftest.$ac_ext <<_ACEOF
43396 /* confdefs.h.  */
43397 _ACEOF
43398 cat confdefs.h >>conftest.$ac_ext
43399 cat >>conftest.$ac_ext <<_ACEOF
43400 /* end confdefs.h.  */
43401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43402    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43403 #define $ac_func innocuous_$ac_func
43404
43405 /* System header to define __stub macros and hopefully few prototypes,
43406     which can conflict with char $ac_func (); below.
43407     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43408     <limits.h> exists even on freestanding compilers.  */
43409
43410 #ifdef __STDC__
43411 # include <limits.h>
43412 #else
43413 # include <assert.h>
43414 #endif
43415
43416 #undef $ac_func
43417
43418 /* Override any gcc2 internal prototype to avoid an error.  */
43419 #ifdef __cplusplus
43420 extern "C"
43421 {
43422 #endif
43423 /* We use char because int might match the return type of a gcc2
43424    builtin and then its argument prototype would still apply.  */
43425 char $ac_func ();
43426 /* The GNU C library defines this for functions which it implements
43427     to always fail with ENOSYS.  Some functions are actually named
43428     something starting with __ and the normal name is an alias.  */
43429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43430 choke me
43431 #else
43432 char (*f) () = $ac_func;
43433 #endif
43434 #ifdef __cplusplus
43435 }
43436 #endif
43437
43438 int
43439 main ()
43440 {
43441 return f != $ac_func;
43442   ;
43443   return 0;
43444 }
43445 _ACEOF
43446 rm -f conftest.$ac_objext conftest$ac_exeext
43447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43448   (eval $ac_link) 2>conftest.er1
43449   ac_status=$?
43450   grep -v '^ *+' conftest.er1 >conftest.err
43451   rm -f conftest.er1
43452   cat conftest.err >&5
43453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43454   (exit $ac_status); } &&
43455          { ac_try='test -z "$ac_c_werror_flag"
43456                          || test ! -s conftest.err'
43457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43458   (eval $ac_try) 2>&5
43459   ac_status=$?
43460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43461   (exit $ac_status); }; } &&
43462          { ac_try='test -s conftest$ac_exeext'
43463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43464   (eval $ac_try) 2>&5
43465   ac_status=$?
43466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43467   (exit $ac_status); }; }; then
43468   eval "$as_ac_var=yes"
43469 else
43470   echo "$as_me: failed program was:" >&5
43471 sed 's/^/| /' conftest.$ac_ext >&5
43472
43473 eval "$as_ac_var=no"
43474 fi
43475 rm -f conftest.err conftest.$ac_objext \
43476       conftest$ac_exeext conftest.$ac_ext
43477 fi
43478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43480 if test `eval echo '${'$as_ac_var'}'` = yes; then
43481   cat >>confdefs.h <<_ACEOF
43482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43483 _ACEOF
43484
43485 fi
43486 done
43487
43488     fi
43489   fi
43490
43491
43492
43493
43494
43495
43496   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
43497 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
43498   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43499     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
43500   echo $ECHO_N "(cached) $ECHO_C" >&6
43501 else
43502
43503
43504
43505       ac_ext=cc
43506 ac_cpp='$CXXCPP $CPPFLAGS'
43507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43510
43511       cat >conftest.$ac_ext <<_ACEOF
43512 /* confdefs.h.  */
43513 _ACEOF
43514 cat confdefs.h >>conftest.$ac_ext
43515 cat >>conftest.$ac_ext <<_ACEOF
43516 /* end confdefs.h.  */
43517 #include <math.h>
43518                       #ifdef HAVE_IEEEFP_H
43519                       #include <ieeefp.h>
43520                       #endif
43521
43522 int
43523 main ()
43524 {
43525  isinfl(0);
43526   ;
43527   return 0;
43528 }
43529 _ACEOF
43530 rm -f conftest.$ac_objext
43531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43532   (eval $ac_compile) 2>conftest.er1
43533   ac_status=$?
43534   grep -v '^ *+' conftest.er1 >conftest.err
43535   rm -f conftest.er1
43536   cat conftest.err >&5
43537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43538   (exit $ac_status); } &&
43539          { ac_try='test -z "$ac_cxx_werror_flag"
43540                          || test ! -s conftest.err'
43541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43542   (eval $ac_try) 2>&5
43543   ac_status=$?
43544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43545   (exit $ac_status); }; } &&
43546          { ac_try='test -s conftest.$ac_objext'
43547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43548   (eval $ac_try) 2>&5
43549   ac_status=$?
43550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43551   (exit $ac_status); }; }; then
43552   glibcxx_cv_func_isinfl_use=yes
43553 else
43554   echo "$as_me: failed program was:" >&5
43555 sed 's/^/| /' conftest.$ac_ext >&5
43556
43557 glibcxx_cv_func_isinfl_use=no
43558 fi
43559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43560       ac_ext=c
43561 ac_cpp='$CPP $CPPFLAGS'
43562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43565
43566
43567 fi
43568
43569   fi
43570   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
43571 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
43572
43573   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43574
43575 for ac_func in isinfl
43576 do
43577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43578 echo "$as_me:$LINENO: checking for $ac_func" >&5
43579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43580 if eval "test \"\${$as_ac_var+set}\" = set"; then
43581   echo $ECHO_N "(cached) $ECHO_C" >&6
43582 else
43583   if test x$gcc_no_link = xyes; then
43584   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43586    { (exit 1); exit 1; }; }
43587 fi
43588 cat >conftest.$ac_ext <<_ACEOF
43589 /* confdefs.h.  */
43590 _ACEOF
43591 cat confdefs.h >>conftest.$ac_ext
43592 cat >>conftest.$ac_ext <<_ACEOF
43593 /* end confdefs.h.  */
43594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43595    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43596 #define $ac_func innocuous_$ac_func
43597
43598 /* System header to define __stub macros and hopefully few prototypes,
43599     which can conflict with char $ac_func (); below.
43600     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43601     <limits.h> exists even on freestanding compilers.  */
43602
43603 #ifdef __STDC__
43604 # include <limits.h>
43605 #else
43606 # include <assert.h>
43607 #endif
43608
43609 #undef $ac_func
43610
43611 /* Override any gcc2 internal prototype to avoid an error.  */
43612 #ifdef __cplusplus
43613 extern "C"
43614 {
43615 #endif
43616 /* We use char because int might match the return type of a gcc2
43617    builtin and then its argument prototype would still apply.  */
43618 char $ac_func ();
43619 /* The GNU C library defines this for functions which it implements
43620     to always fail with ENOSYS.  Some functions are actually named
43621     something starting with __ and the normal name is an alias.  */
43622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43623 choke me
43624 #else
43625 char (*f) () = $ac_func;
43626 #endif
43627 #ifdef __cplusplus
43628 }
43629 #endif
43630
43631 int
43632 main ()
43633 {
43634 return f != $ac_func;
43635   ;
43636   return 0;
43637 }
43638 _ACEOF
43639 rm -f conftest.$ac_objext conftest$ac_exeext
43640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43641   (eval $ac_link) 2>conftest.er1
43642   ac_status=$?
43643   grep -v '^ *+' conftest.er1 >conftest.err
43644   rm -f conftest.er1
43645   cat conftest.err >&5
43646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43647   (exit $ac_status); } &&
43648          { ac_try='test -z "$ac_c_werror_flag"
43649                          || test ! -s conftest.err'
43650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43651   (eval $ac_try) 2>&5
43652   ac_status=$?
43653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43654   (exit $ac_status); }; } &&
43655          { ac_try='test -s conftest$ac_exeext'
43656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43657   (eval $ac_try) 2>&5
43658   ac_status=$?
43659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43660   (exit $ac_status); }; }; then
43661   eval "$as_ac_var=yes"
43662 else
43663   echo "$as_me: failed program was:" >&5
43664 sed 's/^/| /' conftest.$ac_ext >&5
43665
43666 eval "$as_ac_var=no"
43667 fi
43668 rm -f conftest.err conftest.$ac_objext \
43669       conftest$ac_exeext conftest.$ac_ext
43670 fi
43671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43673 if test `eval echo '${'$as_ac_var'}'` = yes; then
43674   cat >>confdefs.h <<_ACEOF
43675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43676 _ACEOF
43677
43678 fi
43679 done
43680
43681   else
43682
43683   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
43684 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
43685   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
43686     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
43687   echo $ECHO_N "(cached) $ECHO_C" >&6
43688 else
43689
43690
43691
43692       ac_ext=cc
43693 ac_cpp='$CXXCPP $CPPFLAGS'
43694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43697
43698       cat >conftest.$ac_ext <<_ACEOF
43699 /* confdefs.h.  */
43700 _ACEOF
43701 cat confdefs.h >>conftest.$ac_ext
43702 cat >>conftest.$ac_ext <<_ACEOF
43703 /* end confdefs.h.  */
43704 #include <math.h>
43705                       #ifdef HAVE_IEEEFP_H
43706                       #include <ieeefp.h>
43707                       #endif
43708
43709 int
43710 main ()
43711 {
43712  _isinfl(0);
43713   ;
43714   return 0;
43715 }
43716 _ACEOF
43717 rm -f conftest.$ac_objext
43718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43719   (eval $ac_compile) 2>conftest.er1
43720   ac_status=$?
43721   grep -v '^ *+' conftest.er1 >conftest.err
43722   rm -f conftest.er1
43723   cat conftest.err >&5
43724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43725   (exit $ac_status); } &&
43726          { ac_try='test -z "$ac_cxx_werror_flag"
43727                          || test ! -s conftest.err'
43728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43729   (eval $ac_try) 2>&5
43730   ac_status=$?
43731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43732   (exit $ac_status); }; } &&
43733          { ac_try='test -s conftest.$ac_objext'
43734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43735   (eval $ac_try) 2>&5
43736   ac_status=$?
43737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43738   (exit $ac_status); }; }; then
43739   glibcxx_cv_func__isinfl_use=yes
43740 else
43741   echo "$as_me: failed program was:" >&5
43742 sed 's/^/| /' conftest.$ac_ext >&5
43743
43744 glibcxx_cv_func__isinfl_use=no
43745 fi
43746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43747       ac_ext=c
43748 ac_cpp='$CPP $CPPFLAGS'
43749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43752
43753
43754 fi
43755
43756   fi
43757   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
43758 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
43759
43760     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
43761
43762 for ac_func in _isinfl
43763 do
43764 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43765 echo "$as_me:$LINENO: checking for $ac_func" >&5
43766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43767 if eval "test \"\${$as_ac_var+set}\" = set"; then
43768   echo $ECHO_N "(cached) $ECHO_C" >&6
43769 else
43770   if test x$gcc_no_link = xyes; then
43771   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43773    { (exit 1); exit 1; }; }
43774 fi
43775 cat >conftest.$ac_ext <<_ACEOF
43776 /* confdefs.h.  */
43777 _ACEOF
43778 cat confdefs.h >>conftest.$ac_ext
43779 cat >>conftest.$ac_ext <<_ACEOF
43780 /* end confdefs.h.  */
43781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43782    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43783 #define $ac_func innocuous_$ac_func
43784
43785 /* System header to define __stub macros and hopefully few prototypes,
43786     which can conflict with char $ac_func (); below.
43787     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43788     <limits.h> exists even on freestanding compilers.  */
43789
43790 #ifdef __STDC__
43791 # include <limits.h>
43792 #else
43793 # include <assert.h>
43794 #endif
43795
43796 #undef $ac_func
43797
43798 /* Override any gcc2 internal prototype to avoid an error.  */
43799 #ifdef __cplusplus
43800 extern "C"
43801 {
43802 #endif
43803 /* We use char because int might match the return type of a gcc2
43804    builtin and then its argument prototype would still apply.  */
43805 char $ac_func ();
43806 /* The GNU C library defines this for functions which it implements
43807     to always fail with ENOSYS.  Some functions are actually named
43808     something starting with __ and the normal name is an alias.  */
43809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43810 choke me
43811 #else
43812 char (*f) () = $ac_func;
43813 #endif
43814 #ifdef __cplusplus
43815 }
43816 #endif
43817
43818 int
43819 main ()
43820 {
43821 return f != $ac_func;
43822   ;
43823   return 0;
43824 }
43825 _ACEOF
43826 rm -f conftest.$ac_objext conftest$ac_exeext
43827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43828   (eval $ac_link) 2>conftest.er1
43829   ac_status=$?
43830   grep -v '^ *+' conftest.er1 >conftest.err
43831   rm -f conftest.er1
43832   cat conftest.err >&5
43833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43834   (exit $ac_status); } &&
43835          { ac_try='test -z "$ac_c_werror_flag"
43836                          || test ! -s conftest.err'
43837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43838   (eval $ac_try) 2>&5
43839   ac_status=$?
43840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43841   (exit $ac_status); }; } &&
43842          { ac_try='test -s conftest$ac_exeext'
43843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43844   (eval $ac_try) 2>&5
43845   ac_status=$?
43846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43847   (exit $ac_status); }; }; then
43848   eval "$as_ac_var=yes"
43849 else
43850   echo "$as_me: failed program was:" >&5
43851 sed 's/^/| /' conftest.$ac_ext >&5
43852
43853 eval "$as_ac_var=no"
43854 fi
43855 rm -f conftest.err conftest.$ac_objext \
43856       conftest$ac_exeext conftest.$ac_ext
43857 fi
43858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43859 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43860 if test `eval echo '${'$as_ac_var'}'` = yes; then
43861   cat >>confdefs.h <<_ACEOF
43862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43863 _ACEOF
43864
43865 fi
43866 done
43867
43868     fi
43869   fi
43870
43871
43872
43873
43874
43875
43876   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
43877 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
43878   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
43879     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
43880   echo $ECHO_N "(cached) $ECHO_C" >&6
43881 else
43882
43883
43884
43885       ac_ext=cc
43886 ac_cpp='$CXXCPP $CPPFLAGS'
43887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43890
43891       cat >conftest.$ac_ext <<_ACEOF
43892 /* confdefs.h.  */
43893 _ACEOF
43894 cat confdefs.h >>conftest.$ac_ext
43895 cat >>conftest.$ac_ext <<_ACEOF
43896 /* end confdefs.h.  */
43897 #include <math.h>
43898 int
43899 main ()
43900 {
43901  copysignl(0, 0);
43902   ;
43903   return 0;
43904 }
43905 _ACEOF
43906 rm -f conftest.$ac_objext
43907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43908   (eval $ac_compile) 2>conftest.er1
43909   ac_status=$?
43910   grep -v '^ *+' conftest.er1 >conftest.err
43911   rm -f conftest.er1
43912   cat conftest.err >&5
43913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43914   (exit $ac_status); } &&
43915          { ac_try='test -z "$ac_cxx_werror_flag"
43916                          || test ! -s conftest.err'
43917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43918   (eval $ac_try) 2>&5
43919   ac_status=$?
43920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43921   (exit $ac_status); }; } &&
43922          { ac_try='test -s conftest.$ac_objext'
43923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43924   (eval $ac_try) 2>&5
43925   ac_status=$?
43926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43927   (exit $ac_status); }; }; then
43928   glibcxx_cv_func_copysignl_use=yes
43929 else
43930   echo "$as_me: failed program was:" >&5
43931 sed 's/^/| /' conftest.$ac_ext >&5
43932
43933 glibcxx_cv_func_copysignl_use=no
43934 fi
43935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43936       ac_ext=c
43937 ac_cpp='$CPP $CPPFLAGS'
43938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43941
43942
43943 fi
43944
43945   fi
43946   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
43947 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
43948
43949   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
43950
43951 for ac_func in copysignl
43952 do
43953 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43954 echo "$as_me:$LINENO: checking for $ac_func" >&5
43955 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43956 if eval "test \"\${$as_ac_var+set}\" = set"; then
43957   echo $ECHO_N "(cached) $ECHO_C" >&6
43958 else
43959   if test x$gcc_no_link = xyes; then
43960   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43962    { (exit 1); exit 1; }; }
43963 fi
43964 cat >conftest.$ac_ext <<_ACEOF
43965 /* confdefs.h.  */
43966 _ACEOF
43967 cat confdefs.h >>conftest.$ac_ext
43968 cat >>conftest.$ac_ext <<_ACEOF
43969 /* end confdefs.h.  */
43970 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43971    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43972 #define $ac_func innocuous_$ac_func
43973
43974 /* System header to define __stub macros and hopefully few prototypes,
43975     which can conflict with char $ac_func (); below.
43976     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43977     <limits.h> exists even on freestanding compilers.  */
43978
43979 #ifdef __STDC__
43980 # include <limits.h>
43981 #else
43982 # include <assert.h>
43983 #endif
43984
43985 #undef $ac_func
43986
43987 /* Override any gcc2 internal prototype to avoid an error.  */
43988 #ifdef __cplusplus
43989 extern "C"
43990 {
43991 #endif
43992 /* We use char because int might match the return type of a gcc2
43993    builtin and then its argument prototype would still apply.  */
43994 char $ac_func ();
43995 /* The GNU C library defines this for functions which it implements
43996     to always fail with ENOSYS.  Some functions are actually named
43997     something starting with __ and the normal name is an alias.  */
43998 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43999 choke me
44000 #else
44001 char (*f) () = $ac_func;
44002 #endif
44003 #ifdef __cplusplus
44004 }
44005 #endif
44006
44007 int
44008 main ()
44009 {
44010 return f != $ac_func;
44011   ;
44012   return 0;
44013 }
44014 _ACEOF
44015 rm -f conftest.$ac_objext conftest$ac_exeext
44016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44017   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
44038 else
44039   echo "$as_me: failed program was:" >&5
44040 sed 's/^/| /' conftest.$ac_ext >&5
44041
44042 eval "$as_ac_var=no"
44043 fi
44044 rm -f conftest.err conftest.$ac_objext \
44045       conftest$ac_exeext conftest.$ac_ext
44046 fi
44047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44048 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44049 if test `eval echo '${'$as_ac_var'}'` = yes; then
44050   cat >>confdefs.h <<_ACEOF
44051 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44052 _ACEOF
44053
44054 fi
44055 done
44056
44057   else
44058
44059   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
44060 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
44061   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
44062     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
44063   echo $ECHO_N "(cached) $ECHO_C" >&6
44064 else
44065
44066
44067
44068       ac_ext=cc
44069 ac_cpp='$CXXCPP $CPPFLAGS'
44070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44073
44074       cat >conftest.$ac_ext <<_ACEOF
44075 /* confdefs.h.  */
44076 _ACEOF
44077 cat confdefs.h >>conftest.$ac_ext
44078 cat >>conftest.$ac_ext <<_ACEOF
44079 /* end confdefs.h.  */
44080 #include <math.h>
44081 int
44082 main ()
44083 {
44084  _copysignl(0, 0);
44085   ;
44086   return 0;
44087 }
44088 _ACEOF
44089 rm -f conftest.$ac_objext
44090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44091   (eval $ac_compile) 2>conftest.er1
44092   ac_status=$?
44093   grep -v '^ *+' conftest.er1 >conftest.err
44094   rm -f conftest.er1
44095   cat conftest.err >&5
44096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44097   (exit $ac_status); } &&
44098          { ac_try='test -z "$ac_cxx_werror_flag"
44099                          || test ! -s conftest.err'
44100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44101   (eval $ac_try) 2>&5
44102   ac_status=$?
44103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44104   (exit $ac_status); }; } &&
44105          { ac_try='test -s conftest.$ac_objext'
44106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44107   (eval $ac_try) 2>&5
44108   ac_status=$?
44109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44110   (exit $ac_status); }; }; then
44111   glibcxx_cv_func__copysignl_use=yes
44112 else
44113   echo "$as_me: failed program was:" >&5
44114 sed 's/^/| /' conftest.$ac_ext >&5
44115
44116 glibcxx_cv_func__copysignl_use=no
44117 fi
44118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44119       ac_ext=c
44120 ac_cpp='$CPP $CPPFLAGS'
44121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44124
44125
44126 fi
44127
44128   fi
44129   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
44130 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
44131
44132     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
44133
44134 for ac_func in _copysignl
44135 do
44136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44137 echo "$as_me:$LINENO: checking for $ac_func" >&5
44138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44139 if eval "test \"\${$as_ac_var+set}\" = set"; then
44140   echo $ECHO_N "(cached) $ECHO_C" >&6
44141 else
44142   if test x$gcc_no_link = xyes; then
44143   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44145    { (exit 1); exit 1; }; }
44146 fi
44147 cat >conftest.$ac_ext <<_ACEOF
44148 /* confdefs.h.  */
44149 _ACEOF
44150 cat confdefs.h >>conftest.$ac_ext
44151 cat >>conftest.$ac_ext <<_ACEOF
44152 /* end confdefs.h.  */
44153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44154    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44155 #define $ac_func innocuous_$ac_func
44156
44157 /* System header to define __stub macros and hopefully few prototypes,
44158     which can conflict with char $ac_func (); below.
44159     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44160     <limits.h> exists even on freestanding compilers.  */
44161
44162 #ifdef __STDC__
44163 # include <limits.h>
44164 #else
44165 # include <assert.h>
44166 #endif
44167
44168 #undef $ac_func
44169
44170 /* Override any gcc2 internal prototype to avoid an error.  */
44171 #ifdef __cplusplus
44172 extern "C"
44173 {
44174 #endif
44175 /* We use char because int might match the return type of a gcc2
44176    builtin and then its argument prototype would still apply.  */
44177 char $ac_func ();
44178 /* The GNU C library defines this for functions which it implements
44179     to always fail with ENOSYS.  Some functions are actually named
44180     something starting with __ and the normal name is an alias.  */
44181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44182 choke me
44183 #else
44184 char (*f) () = $ac_func;
44185 #endif
44186 #ifdef __cplusplus
44187 }
44188 #endif
44189
44190 int
44191 main ()
44192 {
44193 return f != $ac_func;
44194   ;
44195   return 0;
44196 }
44197 _ACEOF
44198 rm -f conftest.$ac_objext conftest$ac_exeext
44199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44200   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
44221 else
44222   echo "$as_me: failed program was:" >&5
44223 sed 's/^/| /' conftest.$ac_ext >&5
44224
44225 eval "$as_ac_var=no"
44226 fi
44227 rm -f conftest.err conftest.$ac_objext \
44228       conftest$ac_exeext conftest.$ac_ext
44229 fi
44230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44232 if test `eval echo '${'$as_ac_var'}'` = yes; then
44233   cat >>confdefs.h <<_ACEOF
44234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44235 _ACEOF
44236
44237 fi
44238 done
44239
44240     fi
44241   fi
44242
44243
44244
44245
44246
44247
44248   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
44249 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
44250   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
44251     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
44252   echo $ECHO_N "(cached) $ECHO_C" >&6
44253 else
44254
44255
44256
44257       ac_ext=cc
44258 ac_cpp='$CXXCPP $CPPFLAGS'
44259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44262
44263       cat >conftest.$ac_ext <<_ACEOF
44264 /* confdefs.h.  */
44265 _ACEOF
44266 cat confdefs.h >>conftest.$ac_ext
44267 cat >>conftest.$ac_ext <<_ACEOF
44268 /* end confdefs.h.  */
44269 #include <math.h>
44270 int
44271 main ()
44272 {
44273  atan2l(0, 0);
44274   ;
44275   return 0;
44276 }
44277 _ACEOF
44278 rm -f conftest.$ac_objext
44279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44280   (eval $ac_compile) 2>conftest.er1
44281   ac_status=$?
44282   grep -v '^ *+' conftest.er1 >conftest.err
44283   rm -f conftest.er1
44284   cat conftest.err >&5
44285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44286   (exit $ac_status); } &&
44287          { ac_try='test -z "$ac_cxx_werror_flag"
44288                          || test ! -s conftest.err'
44289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44290   (eval $ac_try) 2>&5
44291   ac_status=$?
44292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44293   (exit $ac_status); }; } &&
44294          { ac_try='test -s conftest.$ac_objext'
44295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44296   (eval $ac_try) 2>&5
44297   ac_status=$?
44298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44299   (exit $ac_status); }; }; then
44300   glibcxx_cv_func_atan2l_use=yes
44301 else
44302   echo "$as_me: failed program was:" >&5
44303 sed 's/^/| /' conftest.$ac_ext >&5
44304
44305 glibcxx_cv_func_atan2l_use=no
44306 fi
44307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44308       ac_ext=c
44309 ac_cpp='$CPP $CPPFLAGS'
44310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44313
44314
44315 fi
44316
44317   fi
44318   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
44319 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
44320
44321   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
44322
44323 for ac_func in atan2l
44324 do
44325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44326 echo "$as_me:$LINENO: checking for $ac_func" >&5
44327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44328 if eval "test \"\${$as_ac_var+set}\" = set"; then
44329   echo $ECHO_N "(cached) $ECHO_C" >&6
44330 else
44331   if test x$gcc_no_link = xyes; then
44332   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44333 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44334    { (exit 1); exit 1; }; }
44335 fi
44336 cat >conftest.$ac_ext <<_ACEOF
44337 /* confdefs.h.  */
44338 _ACEOF
44339 cat confdefs.h >>conftest.$ac_ext
44340 cat >>conftest.$ac_ext <<_ACEOF
44341 /* end confdefs.h.  */
44342 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44343    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44344 #define $ac_func innocuous_$ac_func
44345
44346 /* System header to define __stub macros and hopefully few prototypes,
44347     which can conflict with char $ac_func (); below.
44348     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44349     <limits.h> exists even on freestanding compilers.  */
44350
44351 #ifdef __STDC__
44352 # include <limits.h>
44353 #else
44354 # include <assert.h>
44355 #endif
44356
44357 #undef $ac_func
44358
44359 /* Override any gcc2 internal prototype to avoid an error.  */
44360 #ifdef __cplusplus
44361 extern "C"
44362 {
44363 #endif
44364 /* We use char because int might match the return type of a gcc2
44365    builtin and then its argument prototype would still apply.  */
44366 char $ac_func ();
44367 /* The GNU C library defines this for functions which it implements
44368     to always fail with ENOSYS.  Some functions are actually named
44369     something starting with __ and the normal name is an alias.  */
44370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44371 choke me
44372 #else
44373 char (*f) () = $ac_func;
44374 #endif
44375 #ifdef __cplusplus
44376 }
44377 #endif
44378
44379 int
44380 main ()
44381 {
44382 return f != $ac_func;
44383   ;
44384   return 0;
44385 }
44386 _ACEOF
44387 rm -f conftest.$ac_objext conftest$ac_exeext
44388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44389   (eval $ac_link) 2>conftest.er1
44390   ac_status=$?
44391   grep -v '^ *+' conftest.er1 >conftest.err
44392   rm -f conftest.er1
44393   cat conftest.err >&5
44394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44395   (exit $ac_status); } &&
44396          { ac_try='test -z "$ac_c_werror_flag"
44397                          || test ! -s conftest.err'
44398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44399   (eval $ac_try) 2>&5
44400   ac_status=$?
44401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44402   (exit $ac_status); }; } &&
44403          { ac_try='test -s conftest$ac_exeext'
44404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44405   (eval $ac_try) 2>&5
44406   ac_status=$?
44407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44408   (exit $ac_status); }; }; then
44409   eval "$as_ac_var=yes"
44410 else
44411   echo "$as_me: failed program was:" >&5
44412 sed 's/^/| /' conftest.$ac_ext >&5
44413
44414 eval "$as_ac_var=no"
44415 fi
44416 rm -f conftest.err conftest.$ac_objext \
44417       conftest$ac_exeext conftest.$ac_ext
44418 fi
44419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44421 if test `eval echo '${'$as_ac_var'}'` = yes; then
44422   cat >>confdefs.h <<_ACEOF
44423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44424 _ACEOF
44425
44426 fi
44427 done
44428
44429   else
44430
44431   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
44432 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
44433   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
44434     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
44435   echo $ECHO_N "(cached) $ECHO_C" >&6
44436 else
44437
44438
44439
44440       ac_ext=cc
44441 ac_cpp='$CXXCPP $CPPFLAGS'
44442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44445
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 #include <math.h>
44453 int
44454 main ()
44455 {
44456  _atan2l(0, 0);
44457   ;
44458   return 0;
44459 }
44460 _ACEOF
44461 rm -f conftest.$ac_objext
44462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44463   (eval $ac_compile) 2>conftest.er1
44464   ac_status=$?
44465   grep -v '^ *+' conftest.er1 >conftest.err
44466   rm -f conftest.er1
44467   cat conftest.err >&5
44468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44469   (exit $ac_status); } &&
44470          { ac_try='test -z "$ac_cxx_werror_flag"
44471                          || test ! -s conftest.err'
44472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44473   (eval $ac_try) 2>&5
44474   ac_status=$?
44475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44476   (exit $ac_status); }; } &&
44477          { ac_try='test -s conftest.$ac_objext'
44478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44479   (eval $ac_try) 2>&5
44480   ac_status=$?
44481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44482   (exit $ac_status); }; }; then
44483   glibcxx_cv_func__atan2l_use=yes
44484 else
44485   echo "$as_me: failed program was:" >&5
44486 sed 's/^/| /' conftest.$ac_ext >&5
44487
44488 glibcxx_cv_func__atan2l_use=no
44489 fi
44490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44491       ac_ext=c
44492 ac_cpp='$CPP $CPPFLAGS'
44493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44496
44497
44498 fi
44499
44500   fi
44501   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
44502 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
44503
44504     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
44505
44506 for ac_func in _atan2l
44507 do
44508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44509 echo "$as_me:$LINENO: checking for $ac_func" >&5
44510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44511 if eval "test \"\${$as_ac_var+set}\" = set"; then
44512   echo $ECHO_N "(cached) $ECHO_C" >&6
44513 else
44514   if test x$gcc_no_link = xyes; then
44515   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44517    { (exit 1); exit 1; }; }
44518 fi
44519 cat >conftest.$ac_ext <<_ACEOF
44520 /* confdefs.h.  */
44521 _ACEOF
44522 cat confdefs.h >>conftest.$ac_ext
44523 cat >>conftest.$ac_ext <<_ACEOF
44524 /* end confdefs.h.  */
44525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44526    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44527 #define $ac_func innocuous_$ac_func
44528
44529 /* System header to define __stub macros and hopefully few prototypes,
44530     which can conflict with char $ac_func (); below.
44531     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44532     <limits.h> exists even on freestanding compilers.  */
44533
44534 #ifdef __STDC__
44535 # include <limits.h>
44536 #else
44537 # include <assert.h>
44538 #endif
44539
44540 #undef $ac_func
44541
44542 /* Override any gcc2 internal prototype to avoid an error.  */
44543 #ifdef __cplusplus
44544 extern "C"
44545 {
44546 #endif
44547 /* We use char because int might match the return type of a gcc2
44548    builtin and then its argument prototype would still apply.  */
44549 char $ac_func ();
44550 /* The GNU C library defines this for functions which it implements
44551     to always fail with ENOSYS.  Some functions are actually named
44552     something starting with __ and the normal name is an alias.  */
44553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44554 choke me
44555 #else
44556 char (*f) () = $ac_func;
44557 #endif
44558 #ifdef __cplusplus
44559 }
44560 #endif
44561
44562 int
44563 main ()
44564 {
44565 return f != $ac_func;
44566   ;
44567   return 0;
44568 }
44569 _ACEOF
44570 rm -f conftest.$ac_objext conftest$ac_exeext
44571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44572   (eval $ac_link) 2>conftest.er1
44573   ac_status=$?
44574   grep -v '^ *+' conftest.er1 >conftest.err
44575   rm -f conftest.er1
44576   cat conftest.err >&5
44577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44578   (exit $ac_status); } &&
44579          { ac_try='test -z "$ac_c_werror_flag"
44580                          || test ! -s conftest.err'
44581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44582   (eval $ac_try) 2>&5
44583   ac_status=$?
44584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44585   (exit $ac_status); }; } &&
44586          { ac_try='test -s conftest$ac_exeext'
44587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44588   (eval $ac_try) 2>&5
44589   ac_status=$?
44590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44591   (exit $ac_status); }; }; then
44592   eval "$as_ac_var=yes"
44593 else
44594   echo "$as_me: failed program was:" >&5
44595 sed 's/^/| /' conftest.$ac_ext >&5
44596
44597 eval "$as_ac_var=no"
44598 fi
44599 rm -f conftest.err conftest.$ac_objext \
44600       conftest$ac_exeext conftest.$ac_ext
44601 fi
44602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44604 if test `eval echo '${'$as_ac_var'}'` = yes; then
44605   cat >>confdefs.h <<_ACEOF
44606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44607 _ACEOF
44608
44609 fi
44610 done
44611
44612     fi
44613   fi
44614
44615
44616
44617
44618
44619
44620   echo "$as_me:$LINENO: checking for expl declaration" >&5
44621 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
44622   if test x${glibcxx_cv_func_expl_use+set} != xset; then
44623     if test "${glibcxx_cv_func_expl_use+set}" = set; then
44624   echo $ECHO_N "(cached) $ECHO_C" >&6
44625 else
44626
44627
44628
44629       ac_ext=cc
44630 ac_cpp='$CXXCPP $CPPFLAGS'
44631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44634
44635       cat >conftest.$ac_ext <<_ACEOF
44636 /* confdefs.h.  */
44637 _ACEOF
44638 cat confdefs.h >>conftest.$ac_ext
44639 cat >>conftest.$ac_ext <<_ACEOF
44640 /* end confdefs.h.  */
44641 #include <math.h>
44642                       #ifdef HAVE_IEEEFP_H
44643                       #include <ieeefp.h>
44644                       #endif
44645
44646 int
44647 main ()
44648 {
44649  expl(0);
44650   ;
44651   return 0;
44652 }
44653 _ACEOF
44654 rm -f conftest.$ac_objext
44655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44656   (eval $ac_compile) 2>conftest.er1
44657   ac_status=$?
44658   grep -v '^ *+' conftest.er1 >conftest.err
44659   rm -f conftest.er1
44660   cat conftest.err >&5
44661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44662   (exit $ac_status); } &&
44663          { ac_try='test -z "$ac_cxx_werror_flag"
44664                          || test ! -s conftest.err'
44665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44666   (eval $ac_try) 2>&5
44667   ac_status=$?
44668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44669   (exit $ac_status); }; } &&
44670          { ac_try='test -s conftest.$ac_objext'
44671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44672   (eval $ac_try) 2>&5
44673   ac_status=$?
44674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44675   (exit $ac_status); }; }; then
44676   glibcxx_cv_func_expl_use=yes
44677 else
44678   echo "$as_me: failed program was:" >&5
44679 sed 's/^/| /' conftest.$ac_ext >&5
44680
44681 glibcxx_cv_func_expl_use=no
44682 fi
44683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44684       ac_ext=c
44685 ac_cpp='$CPP $CPPFLAGS'
44686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44689
44690
44691 fi
44692
44693   fi
44694   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
44695 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
44696
44697   if test x$glibcxx_cv_func_expl_use = x"yes"; then
44698
44699 for ac_func in expl
44700 do
44701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44702 echo "$as_me:$LINENO: checking for $ac_func" >&5
44703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44704 if eval "test \"\${$as_ac_var+set}\" = set"; then
44705   echo $ECHO_N "(cached) $ECHO_C" >&6
44706 else
44707   if test x$gcc_no_link = xyes; then
44708   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44710    { (exit 1); exit 1; }; }
44711 fi
44712 cat >conftest.$ac_ext <<_ACEOF
44713 /* confdefs.h.  */
44714 _ACEOF
44715 cat confdefs.h >>conftest.$ac_ext
44716 cat >>conftest.$ac_ext <<_ACEOF
44717 /* end confdefs.h.  */
44718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44719    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44720 #define $ac_func innocuous_$ac_func
44721
44722 /* System header to define __stub macros and hopefully few prototypes,
44723     which can conflict with char $ac_func (); below.
44724     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44725     <limits.h> exists even on freestanding compilers.  */
44726
44727 #ifdef __STDC__
44728 # include <limits.h>
44729 #else
44730 # include <assert.h>
44731 #endif
44732
44733 #undef $ac_func
44734
44735 /* Override any gcc2 internal prototype to avoid an error.  */
44736 #ifdef __cplusplus
44737 extern "C"
44738 {
44739 #endif
44740 /* We use char because int might match the return type of a gcc2
44741    builtin and then its argument prototype would still apply.  */
44742 char $ac_func ();
44743 /* The GNU C library defines this for functions which it implements
44744     to always fail with ENOSYS.  Some functions are actually named
44745     something starting with __ and the normal name is an alias.  */
44746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44747 choke me
44748 #else
44749 char (*f) () = $ac_func;
44750 #endif
44751 #ifdef __cplusplus
44752 }
44753 #endif
44754
44755 int
44756 main ()
44757 {
44758 return f != $ac_func;
44759   ;
44760   return 0;
44761 }
44762 _ACEOF
44763 rm -f conftest.$ac_objext conftest$ac_exeext
44764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44765   (eval $ac_link) 2>conftest.er1
44766   ac_status=$?
44767   grep -v '^ *+' conftest.er1 >conftest.err
44768   rm -f conftest.er1
44769   cat conftest.err >&5
44770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44771   (exit $ac_status); } &&
44772          { ac_try='test -z "$ac_c_werror_flag"
44773                          || test ! -s conftest.err'
44774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44775   (eval $ac_try) 2>&5
44776   ac_status=$?
44777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44778   (exit $ac_status); }; } &&
44779          { ac_try='test -s conftest$ac_exeext'
44780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44781   (eval $ac_try) 2>&5
44782   ac_status=$?
44783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44784   (exit $ac_status); }; }; then
44785   eval "$as_ac_var=yes"
44786 else
44787   echo "$as_me: failed program was:" >&5
44788 sed 's/^/| /' conftest.$ac_ext >&5
44789
44790 eval "$as_ac_var=no"
44791 fi
44792 rm -f conftest.err conftest.$ac_objext \
44793       conftest$ac_exeext conftest.$ac_ext
44794 fi
44795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44797 if test `eval echo '${'$as_ac_var'}'` = yes; then
44798   cat >>confdefs.h <<_ACEOF
44799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44800 _ACEOF
44801
44802 fi
44803 done
44804
44805   else
44806
44807   echo "$as_me:$LINENO: checking for _expl declaration" >&5
44808 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
44809   if test x${glibcxx_cv_func__expl_use+set} != xset; then
44810     if test "${glibcxx_cv_func__expl_use+set}" = set; then
44811   echo $ECHO_N "(cached) $ECHO_C" >&6
44812 else
44813
44814
44815
44816       ac_ext=cc
44817 ac_cpp='$CXXCPP $CPPFLAGS'
44818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44821
44822       cat >conftest.$ac_ext <<_ACEOF
44823 /* confdefs.h.  */
44824 _ACEOF
44825 cat confdefs.h >>conftest.$ac_ext
44826 cat >>conftest.$ac_ext <<_ACEOF
44827 /* end confdefs.h.  */
44828 #include <math.h>
44829                       #ifdef HAVE_IEEEFP_H
44830                       #include <ieeefp.h>
44831                       #endif
44832
44833 int
44834 main ()
44835 {
44836  _expl(0);
44837   ;
44838   return 0;
44839 }
44840 _ACEOF
44841 rm -f conftest.$ac_objext
44842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44843   (eval $ac_compile) 2>conftest.er1
44844   ac_status=$?
44845   grep -v '^ *+' conftest.er1 >conftest.err
44846   rm -f conftest.er1
44847   cat conftest.err >&5
44848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44849   (exit $ac_status); } &&
44850          { ac_try='test -z "$ac_cxx_werror_flag"
44851                          || test ! -s conftest.err'
44852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44853   (eval $ac_try) 2>&5
44854   ac_status=$?
44855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44856   (exit $ac_status); }; } &&
44857          { ac_try='test -s conftest.$ac_objext'
44858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44859   (eval $ac_try) 2>&5
44860   ac_status=$?
44861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44862   (exit $ac_status); }; }; then
44863   glibcxx_cv_func__expl_use=yes
44864 else
44865   echo "$as_me: failed program was:" >&5
44866 sed 's/^/| /' conftest.$ac_ext >&5
44867
44868 glibcxx_cv_func__expl_use=no
44869 fi
44870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44871       ac_ext=c
44872 ac_cpp='$CPP $CPPFLAGS'
44873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44876
44877
44878 fi
44879
44880   fi
44881   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
44882 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
44883
44884     if test x$glibcxx_cv_func__expl_use = x"yes"; then
44885
44886 for ac_func in _expl
44887 do
44888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44889 echo "$as_me:$LINENO: checking for $ac_func" >&5
44890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44891 if eval "test \"\${$as_ac_var+set}\" = set"; then
44892   echo $ECHO_N "(cached) $ECHO_C" >&6
44893 else
44894   if test x$gcc_no_link = xyes; then
44895   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44897    { (exit 1); exit 1; }; }
44898 fi
44899 cat >conftest.$ac_ext <<_ACEOF
44900 /* confdefs.h.  */
44901 _ACEOF
44902 cat confdefs.h >>conftest.$ac_ext
44903 cat >>conftest.$ac_ext <<_ACEOF
44904 /* end confdefs.h.  */
44905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44906    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44907 #define $ac_func innocuous_$ac_func
44908
44909 /* System header to define __stub macros and hopefully few prototypes,
44910     which can conflict with char $ac_func (); below.
44911     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44912     <limits.h> exists even on freestanding compilers.  */
44913
44914 #ifdef __STDC__
44915 # include <limits.h>
44916 #else
44917 # include <assert.h>
44918 #endif
44919
44920 #undef $ac_func
44921
44922 /* Override any gcc2 internal prototype to avoid an error.  */
44923 #ifdef __cplusplus
44924 extern "C"
44925 {
44926 #endif
44927 /* We use char because int might match the return type of a gcc2
44928    builtin and then its argument prototype would still apply.  */
44929 char $ac_func ();
44930 /* The GNU C library defines this for functions which it implements
44931     to always fail with ENOSYS.  Some functions are actually named
44932     something starting with __ and the normal name is an alias.  */
44933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44934 choke me
44935 #else
44936 char (*f) () = $ac_func;
44937 #endif
44938 #ifdef __cplusplus
44939 }
44940 #endif
44941
44942 int
44943 main ()
44944 {
44945 return f != $ac_func;
44946   ;
44947   return 0;
44948 }
44949 _ACEOF
44950 rm -f conftest.$ac_objext conftest$ac_exeext
44951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44952   (eval $ac_link) 2>conftest.er1
44953   ac_status=$?
44954   grep -v '^ *+' conftest.er1 >conftest.err
44955   rm -f conftest.er1
44956   cat conftest.err >&5
44957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44958   (exit $ac_status); } &&
44959          { ac_try='test -z "$ac_c_werror_flag"
44960                          || test ! -s conftest.err'
44961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44962   (eval $ac_try) 2>&5
44963   ac_status=$?
44964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44965   (exit $ac_status); }; } &&
44966          { ac_try='test -s conftest$ac_exeext'
44967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44968   (eval $ac_try) 2>&5
44969   ac_status=$?
44970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44971   (exit $ac_status); }; }; then
44972   eval "$as_ac_var=yes"
44973 else
44974   echo "$as_me: failed program was:" >&5
44975 sed 's/^/| /' conftest.$ac_ext >&5
44976
44977 eval "$as_ac_var=no"
44978 fi
44979 rm -f conftest.err conftest.$ac_objext \
44980       conftest$ac_exeext conftest.$ac_ext
44981 fi
44982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44984 if test `eval echo '${'$as_ac_var'}'` = yes; then
44985   cat >>confdefs.h <<_ACEOF
44986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44987 _ACEOF
44988
44989 fi
44990 done
44991
44992     fi
44993   fi
44994
44995
44996
44997
44998
44999
45000   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
45001 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
45002   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45003     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
45004   echo $ECHO_N "(cached) $ECHO_C" >&6
45005 else
45006
45007
45008
45009       ac_ext=cc
45010 ac_cpp='$CXXCPP $CPPFLAGS'
45011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45014
45015       cat >conftest.$ac_ext <<_ACEOF
45016 /* confdefs.h.  */
45017 _ACEOF
45018 cat confdefs.h >>conftest.$ac_ext
45019 cat >>conftest.$ac_ext <<_ACEOF
45020 /* end confdefs.h.  */
45021 #include <math.h>
45022                       #ifdef HAVE_IEEEFP_H
45023                       #include <ieeefp.h>
45024                       #endif
45025
45026 int
45027 main ()
45028 {
45029  fabsl(0);
45030   ;
45031   return 0;
45032 }
45033 _ACEOF
45034 rm -f conftest.$ac_objext
45035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45036   (eval $ac_compile) 2>conftest.er1
45037   ac_status=$?
45038   grep -v '^ *+' conftest.er1 >conftest.err
45039   rm -f conftest.er1
45040   cat conftest.err >&5
45041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45042   (exit $ac_status); } &&
45043          { ac_try='test -z "$ac_cxx_werror_flag"
45044                          || test ! -s conftest.err'
45045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45046   (eval $ac_try) 2>&5
45047   ac_status=$?
45048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45049   (exit $ac_status); }; } &&
45050          { ac_try='test -s conftest.$ac_objext'
45051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45052   (eval $ac_try) 2>&5
45053   ac_status=$?
45054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45055   (exit $ac_status); }; }; then
45056   glibcxx_cv_func_fabsl_use=yes
45057 else
45058   echo "$as_me: failed program was:" >&5
45059 sed 's/^/| /' conftest.$ac_ext >&5
45060
45061 glibcxx_cv_func_fabsl_use=no
45062 fi
45063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45064       ac_ext=c
45065 ac_cpp='$CPP $CPPFLAGS'
45066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45069
45070
45071 fi
45072
45073   fi
45074   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
45075 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
45076
45077   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45078
45079 for ac_func in fabsl
45080 do
45081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45082 echo "$as_me:$LINENO: checking for $ac_func" >&5
45083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45084 if eval "test \"\${$as_ac_var+set}\" = set"; then
45085   echo $ECHO_N "(cached) $ECHO_C" >&6
45086 else
45087   if test x$gcc_no_link = xyes; then
45088   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45090    { (exit 1); exit 1; }; }
45091 fi
45092 cat >conftest.$ac_ext <<_ACEOF
45093 /* confdefs.h.  */
45094 _ACEOF
45095 cat confdefs.h >>conftest.$ac_ext
45096 cat >>conftest.$ac_ext <<_ACEOF
45097 /* end confdefs.h.  */
45098 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45099    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45100 #define $ac_func innocuous_$ac_func
45101
45102 /* System header to define __stub macros and hopefully few prototypes,
45103     which can conflict with char $ac_func (); below.
45104     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45105     <limits.h> exists even on freestanding compilers.  */
45106
45107 #ifdef __STDC__
45108 # include <limits.h>
45109 #else
45110 # include <assert.h>
45111 #endif
45112
45113 #undef $ac_func
45114
45115 /* Override any gcc2 internal prototype to avoid an error.  */
45116 #ifdef __cplusplus
45117 extern "C"
45118 {
45119 #endif
45120 /* We use char because int might match the return type of a gcc2
45121    builtin and then its argument prototype would still apply.  */
45122 char $ac_func ();
45123 /* The GNU C library defines this for functions which it implements
45124     to always fail with ENOSYS.  Some functions are actually named
45125     something starting with __ and the normal name is an alias.  */
45126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45127 choke me
45128 #else
45129 char (*f) () = $ac_func;
45130 #endif
45131 #ifdef __cplusplus
45132 }
45133 #endif
45134
45135 int
45136 main ()
45137 {
45138 return f != $ac_func;
45139   ;
45140   return 0;
45141 }
45142 _ACEOF
45143 rm -f conftest.$ac_objext conftest$ac_exeext
45144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45145   (eval $ac_link) 2>conftest.er1
45146   ac_status=$?
45147   grep -v '^ *+' conftest.er1 >conftest.err
45148   rm -f conftest.er1
45149   cat conftest.err >&5
45150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45151   (exit $ac_status); } &&
45152          { ac_try='test -z "$ac_c_werror_flag"
45153                          || test ! -s conftest.err'
45154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45155   (eval $ac_try) 2>&5
45156   ac_status=$?
45157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45158   (exit $ac_status); }; } &&
45159          { ac_try='test -s conftest$ac_exeext'
45160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45161   (eval $ac_try) 2>&5
45162   ac_status=$?
45163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45164   (exit $ac_status); }; }; then
45165   eval "$as_ac_var=yes"
45166 else
45167   echo "$as_me: failed program was:" >&5
45168 sed 's/^/| /' conftest.$ac_ext >&5
45169
45170 eval "$as_ac_var=no"
45171 fi
45172 rm -f conftest.err conftest.$ac_objext \
45173       conftest$ac_exeext conftest.$ac_ext
45174 fi
45175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45177 if test `eval echo '${'$as_ac_var'}'` = yes; then
45178   cat >>confdefs.h <<_ACEOF
45179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45180 _ACEOF
45181
45182 fi
45183 done
45184
45185   else
45186
45187   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
45188 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
45189   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45190     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
45191   echo $ECHO_N "(cached) $ECHO_C" >&6
45192 else
45193
45194
45195
45196       ac_ext=cc
45197 ac_cpp='$CXXCPP $CPPFLAGS'
45198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45201
45202       cat >conftest.$ac_ext <<_ACEOF
45203 /* confdefs.h.  */
45204 _ACEOF
45205 cat confdefs.h >>conftest.$ac_ext
45206 cat >>conftest.$ac_ext <<_ACEOF
45207 /* end confdefs.h.  */
45208 #include <math.h>
45209                       #ifdef HAVE_IEEEFP_H
45210                       #include <ieeefp.h>
45211                       #endif
45212
45213 int
45214 main ()
45215 {
45216  _fabsl(0);
45217   ;
45218   return 0;
45219 }
45220 _ACEOF
45221 rm -f conftest.$ac_objext
45222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45223   (eval $ac_compile) 2>conftest.er1
45224   ac_status=$?
45225   grep -v '^ *+' conftest.er1 >conftest.err
45226   rm -f conftest.er1
45227   cat conftest.err >&5
45228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45229   (exit $ac_status); } &&
45230          { ac_try='test -z "$ac_cxx_werror_flag"
45231                          || test ! -s conftest.err'
45232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45233   (eval $ac_try) 2>&5
45234   ac_status=$?
45235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45236   (exit $ac_status); }; } &&
45237          { ac_try='test -s conftest.$ac_objext'
45238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45239   (eval $ac_try) 2>&5
45240   ac_status=$?
45241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45242   (exit $ac_status); }; }; then
45243   glibcxx_cv_func__fabsl_use=yes
45244 else
45245   echo "$as_me: failed program was:" >&5
45246 sed 's/^/| /' conftest.$ac_ext >&5
45247
45248 glibcxx_cv_func__fabsl_use=no
45249 fi
45250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45251       ac_ext=c
45252 ac_cpp='$CPP $CPPFLAGS'
45253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45256
45257
45258 fi
45259
45260   fi
45261   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
45262 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
45263
45264     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45265
45266 for ac_func in _fabsl
45267 do
45268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45269 echo "$as_me:$LINENO: checking for $ac_func" >&5
45270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45271 if eval "test \"\${$as_ac_var+set}\" = set"; then
45272   echo $ECHO_N "(cached) $ECHO_C" >&6
45273 else
45274   if test x$gcc_no_link = xyes; then
45275   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45277    { (exit 1); exit 1; }; }
45278 fi
45279 cat >conftest.$ac_ext <<_ACEOF
45280 /* confdefs.h.  */
45281 _ACEOF
45282 cat confdefs.h >>conftest.$ac_ext
45283 cat >>conftest.$ac_ext <<_ACEOF
45284 /* end confdefs.h.  */
45285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45286    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45287 #define $ac_func innocuous_$ac_func
45288
45289 /* System header to define __stub macros and hopefully few prototypes,
45290     which can conflict with char $ac_func (); below.
45291     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45292     <limits.h> exists even on freestanding compilers.  */
45293
45294 #ifdef __STDC__
45295 # include <limits.h>
45296 #else
45297 # include <assert.h>
45298 #endif
45299
45300 #undef $ac_func
45301
45302 /* Override any gcc2 internal prototype to avoid an error.  */
45303 #ifdef __cplusplus
45304 extern "C"
45305 {
45306 #endif
45307 /* We use char because int might match the return type of a gcc2
45308    builtin and then its argument prototype would still apply.  */
45309 char $ac_func ();
45310 /* The GNU C library defines this for functions which it implements
45311     to always fail with ENOSYS.  Some functions are actually named
45312     something starting with __ and the normal name is an alias.  */
45313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45314 choke me
45315 #else
45316 char (*f) () = $ac_func;
45317 #endif
45318 #ifdef __cplusplus
45319 }
45320 #endif
45321
45322 int
45323 main ()
45324 {
45325 return f != $ac_func;
45326   ;
45327   return 0;
45328 }
45329 _ACEOF
45330 rm -f conftest.$ac_objext conftest$ac_exeext
45331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45332   (eval $ac_link) 2>conftest.er1
45333   ac_status=$?
45334   grep -v '^ *+' conftest.er1 >conftest.err
45335   rm -f conftest.er1
45336   cat conftest.err >&5
45337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45338   (exit $ac_status); } &&
45339          { ac_try='test -z "$ac_c_werror_flag"
45340                          || test ! -s conftest.err'
45341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45342   (eval $ac_try) 2>&5
45343   ac_status=$?
45344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45345   (exit $ac_status); }; } &&
45346          { ac_try='test -s conftest$ac_exeext'
45347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45348   (eval $ac_try) 2>&5
45349   ac_status=$?
45350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45351   (exit $ac_status); }; }; then
45352   eval "$as_ac_var=yes"
45353 else
45354   echo "$as_me: failed program was:" >&5
45355 sed 's/^/| /' conftest.$ac_ext >&5
45356
45357 eval "$as_ac_var=no"
45358 fi
45359 rm -f conftest.err conftest.$ac_objext \
45360       conftest$ac_exeext conftest.$ac_ext
45361 fi
45362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45364 if test `eval echo '${'$as_ac_var'}'` = yes; then
45365   cat >>confdefs.h <<_ACEOF
45366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45367 _ACEOF
45368
45369 fi
45370 done
45371
45372     fi
45373   fi
45374
45375
45376
45377
45378
45379
45380   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
45381 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
45382   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45383     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
45384   echo $ECHO_N "(cached) $ECHO_C" >&6
45385 else
45386
45387
45388
45389       ac_ext=cc
45390 ac_cpp='$CXXCPP $CPPFLAGS'
45391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45394
45395       cat >conftest.$ac_ext <<_ACEOF
45396 /* confdefs.h.  */
45397 _ACEOF
45398 cat confdefs.h >>conftest.$ac_ext
45399 cat >>conftest.$ac_ext <<_ACEOF
45400 /* end confdefs.h.  */
45401 #include <math.h>
45402 int
45403 main ()
45404 {
45405  fmodl(0, 0);
45406   ;
45407   return 0;
45408 }
45409 _ACEOF
45410 rm -f conftest.$ac_objext
45411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45412   (eval $ac_compile) 2>conftest.er1
45413   ac_status=$?
45414   grep -v '^ *+' conftest.er1 >conftest.err
45415   rm -f conftest.er1
45416   cat conftest.err >&5
45417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45418   (exit $ac_status); } &&
45419          { ac_try='test -z "$ac_cxx_werror_flag"
45420                          || test ! -s conftest.err'
45421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45422   (eval $ac_try) 2>&5
45423   ac_status=$?
45424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45425   (exit $ac_status); }; } &&
45426          { ac_try='test -s conftest.$ac_objext'
45427   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45428   (eval $ac_try) 2>&5
45429   ac_status=$?
45430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45431   (exit $ac_status); }; }; then
45432   glibcxx_cv_func_fmodl_use=yes
45433 else
45434   echo "$as_me: failed program was:" >&5
45435 sed 's/^/| /' conftest.$ac_ext >&5
45436
45437 glibcxx_cv_func_fmodl_use=no
45438 fi
45439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45440       ac_ext=c
45441 ac_cpp='$CPP $CPPFLAGS'
45442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45445
45446
45447 fi
45448
45449   fi
45450   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
45451 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
45452
45453   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45454
45455 for ac_func in fmodl
45456 do
45457 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45458 echo "$as_me:$LINENO: checking for $ac_func" >&5
45459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45460 if eval "test \"\${$as_ac_var+set}\" = set"; then
45461   echo $ECHO_N "(cached) $ECHO_C" >&6
45462 else
45463   if test x$gcc_no_link = xyes; then
45464   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45465 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45466    { (exit 1); exit 1; }; }
45467 fi
45468 cat >conftest.$ac_ext <<_ACEOF
45469 /* confdefs.h.  */
45470 _ACEOF
45471 cat confdefs.h >>conftest.$ac_ext
45472 cat >>conftest.$ac_ext <<_ACEOF
45473 /* end confdefs.h.  */
45474 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45475    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45476 #define $ac_func innocuous_$ac_func
45477
45478 /* System header to define __stub macros and hopefully few prototypes,
45479     which can conflict with char $ac_func (); below.
45480     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45481     <limits.h> exists even on freestanding compilers.  */
45482
45483 #ifdef __STDC__
45484 # include <limits.h>
45485 #else
45486 # include <assert.h>
45487 #endif
45488
45489 #undef $ac_func
45490
45491 /* Override any gcc2 internal prototype to avoid an error.  */
45492 #ifdef __cplusplus
45493 extern "C"
45494 {
45495 #endif
45496 /* We use char because int might match the return type of a gcc2
45497    builtin and then its argument prototype would still apply.  */
45498 char $ac_func ();
45499 /* The GNU C library defines this for functions which it implements
45500     to always fail with ENOSYS.  Some functions are actually named
45501     something starting with __ and the normal name is an alias.  */
45502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45503 choke me
45504 #else
45505 char (*f) () = $ac_func;
45506 #endif
45507 #ifdef __cplusplus
45508 }
45509 #endif
45510
45511 int
45512 main ()
45513 {
45514 return f != $ac_func;
45515   ;
45516   return 0;
45517 }
45518 _ACEOF
45519 rm -f conftest.$ac_objext conftest$ac_exeext
45520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45521   (eval $ac_link) 2>conftest.er1
45522   ac_status=$?
45523   grep -v '^ *+' conftest.er1 >conftest.err
45524   rm -f conftest.er1
45525   cat conftest.err >&5
45526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45527   (exit $ac_status); } &&
45528          { ac_try='test -z "$ac_c_werror_flag"
45529                          || test ! -s conftest.err'
45530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45531   (eval $ac_try) 2>&5
45532   ac_status=$?
45533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45534   (exit $ac_status); }; } &&
45535          { ac_try='test -s conftest$ac_exeext'
45536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45537   (eval $ac_try) 2>&5
45538   ac_status=$?
45539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45540   (exit $ac_status); }; }; then
45541   eval "$as_ac_var=yes"
45542 else
45543   echo "$as_me: failed program was:" >&5
45544 sed 's/^/| /' conftest.$ac_ext >&5
45545
45546 eval "$as_ac_var=no"
45547 fi
45548 rm -f conftest.err conftest.$ac_objext \
45549       conftest$ac_exeext conftest.$ac_ext
45550 fi
45551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45552 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45553 if test `eval echo '${'$as_ac_var'}'` = yes; then
45554   cat >>confdefs.h <<_ACEOF
45555 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45556 _ACEOF
45557
45558 fi
45559 done
45560
45561   else
45562
45563   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
45564 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
45565   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45566     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
45567   echo $ECHO_N "(cached) $ECHO_C" >&6
45568 else
45569
45570
45571
45572       ac_ext=cc
45573 ac_cpp='$CXXCPP $CPPFLAGS'
45574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45577
45578       cat >conftest.$ac_ext <<_ACEOF
45579 /* confdefs.h.  */
45580 _ACEOF
45581 cat confdefs.h >>conftest.$ac_ext
45582 cat >>conftest.$ac_ext <<_ACEOF
45583 /* end confdefs.h.  */
45584 #include <math.h>
45585 int
45586 main ()
45587 {
45588  _fmodl(0, 0);
45589   ;
45590   return 0;
45591 }
45592 _ACEOF
45593 rm -f conftest.$ac_objext
45594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45595   (eval $ac_compile) 2>conftest.er1
45596   ac_status=$?
45597   grep -v '^ *+' conftest.er1 >conftest.err
45598   rm -f conftest.er1
45599   cat conftest.err >&5
45600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45601   (exit $ac_status); } &&
45602          { ac_try='test -z "$ac_cxx_werror_flag"
45603                          || test ! -s conftest.err'
45604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45605   (eval $ac_try) 2>&5
45606   ac_status=$?
45607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45608   (exit $ac_status); }; } &&
45609          { ac_try='test -s conftest.$ac_objext'
45610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45611   (eval $ac_try) 2>&5
45612   ac_status=$?
45613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45614   (exit $ac_status); }; }; then
45615   glibcxx_cv_func__fmodl_use=yes
45616 else
45617   echo "$as_me: failed program was:" >&5
45618 sed 's/^/| /' conftest.$ac_ext >&5
45619
45620 glibcxx_cv_func__fmodl_use=no
45621 fi
45622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45623       ac_ext=c
45624 ac_cpp='$CPP $CPPFLAGS'
45625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45628
45629
45630 fi
45631
45632   fi
45633   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
45634 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
45635
45636     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45637
45638 for ac_func in _fmodl
45639 do
45640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45641 echo "$as_me:$LINENO: checking for $ac_func" >&5
45642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45643 if eval "test \"\${$as_ac_var+set}\" = set"; then
45644   echo $ECHO_N "(cached) $ECHO_C" >&6
45645 else
45646   if test x$gcc_no_link = xyes; then
45647   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45649    { (exit 1); exit 1; }; }
45650 fi
45651 cat >conftest.$ac_ext <<_ACEOF
45652 /* confdefs.h.  */
45653 _ACEOF
45654 cat confdefs.h >>conftest.$ac_ext
45655 cat >>conftest.$ac_ext <<_ACEOF
45656 /* end confdefs.h.  */
45657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45658    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45659 #define $ac_func innocuous_$ac_func
45660
45661 /* System header to define __stub macros and hopefully few prototypes,
45662     which can conflict with char $ac_func (); below.
45663     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45664     <limits.h> exists even on freestanding compilers.  */
45665
45666 #ifdef __STDC__
45667 # include <limits.h>
45668 #else
45669 # include <assert.h>
45670 #endif
45671
45672 #undef $ac_func
45673
45674 /* Override any gcc2 internal prototype to avoid an error.  */
45675 #ifdef __cplusplus
45676 extern "C"
45677 {
45678 #endif
45679 /* We use char because int might match the return type of a gcc2
45680    builtin and then its argument prototype would still apply.  */
45681 char $ac_func ();
45682 /* The GNU C library defines this for functions which it implements
45683     to always fail with ENOSYS.  Some functions are actually named
45684     something starting with __ and the normal name is an alias.  */
45685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45686 choke me
45687 #else
45688 char (*f) () = $ac_func;
45689 #endif
45690 #ifdef __cplusplus
45691 }
45692 #endif
45693
45694 int
45695 main ()
45696 {
45697 return f != $ac_func;
45698   ;
45699   return 0;
45700 }
45701 _ACEOF
45702 rm -f conftest.$ac_objext conftest$ac_exeext
45703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45704   (eval $ac_link) 2>conftest.er1
45705   ac_status=$?
45706   grep -v '^ *+' conftest.er1 >conftest.err
45707   rm -f conftest.er1
45708   cat conftest.err >&5
45709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45710   (exit $ac_status); } &&
45711          { ac_try='test -z "$ac_c_werror_flag"
45712                          || test ! -s conftest.err'
45713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45714   (eval $ac_try) 2>&5
45715   ac_status=$?
45716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45717   (exit $ac_status); }; } &&
45718          { ac_try='test -s conftest$ac_exeext'
45719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45720   (eval $ac_try) 2>&5
45721   ac_status=$?
45722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45723   (exit $ac_status); }; }; then
45724   eval "$as_ac_var=yes"
45725 else
45726   echo "$as_me: failed program was:" >&5
45727 sed 's/^/| /' conftest.$ac_ext >&5
45728
45729 eval "$as_ac_var=no"
45730 fi
45731 rm -f conftest.err conftest.$ac_objext \
45732       conftest$ac_exeext conftest.$ac_ext
45733 fi
45734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45735 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45736 if test `eval echo '${'$as_ac_var'}'` = yes; then
45737   cat >>confdefs.h <<_ACEOF
45738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45739 _ACEOF
45740
45741 fi
45742 done
45743
45744     fi
45745   fi
45746
45747
45748
45749
45750
45751
45752   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
45753 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
45754   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45755     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
45756   echo $ECHO_N "(cached) $ECHO_C" >&6
45757 else
45758
45759
45760
45761       ac_ext=cc
45762 ac_cpp='$CXXCPP $CPPFLAGS'
45763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45766
45767       cat >conftest.$ac_ext <<_ACEOF
45768 /* confdefs.h.  */
45769 _ACEOF
45770 cat confdefs.h >>conftest.$ac_ext
45771 cat >>conftest.$ac_ext <<_ACEOF
45772 /* end confdefs.h.  */
45773 #include <math.h>
45774 int
45775 main ()
45776 {
45777  frexpl(0, 0);
45778   ;
45779   return 0;
45780 }
45781 _ACEOF
45782 rm -f conftest.$ac_objext
45783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45784   (eval $ac_compile) 2>conftest.er1
45785   ac_status=$?
45786   grep -v '^ *+' conftest.er1 >conftest.err
45787   rm -f conftest.er1
45788   cat conftest.err >&5
45789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45790   (exit $ac_status); } &&
45791          { ac_try='test -z "$ac_cxx_werror_flag"
45792                          || test ! -s conftest.err'
45793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45794   (eval $ac_try) 2>&5
45795   ac_status=$?
45796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45797   (exit $ac_status); }; } &&
45798          { ac_try='test -s conftest.$ac_objext'
45799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45800   (eval $ac_try) 2>&5
45801   ac_status=$?
45802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45803   (exit $ac_status); }; }; then
45804   glibcxx_cv_func_frexpl_use=yes
45805 else
45806   echo "$as_me: failed program was:" >&5
45807 sed 's/^/| /' conftest.$ac_ext >&5
45808
45809 glibcxx_cv_func_frexpl_use=no
45810 fi
45811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45812       ac_ext=c
45813 ac_cpp='$CPP $CPPFLAGS'
45814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45817
45818
45819 fi
45820
45821   fi
45822   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
45823 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
45824
45825   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45826
45827 for ac_func in frexpl
45828 do
45829 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45830 echo "$as_me:$LINENO: checking for $ac_func" >&5
45831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45832 if eval "test \"\${$as_ac_var+set}\" = set"; then
45833   echo $ECHO_N "(cached) $ECHO_C" >&6
45834 else
45835   if test x$gcc_no_link = xyes; then
45836   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45838    { (exit 1); exit 1; }; }
45839 fi
45840 cat >conftest.$ac_ext <<_ACEOF
45841 /* confdefs.h.  */
45842 _ACEOF
45843 cat confdefs.h >>conftest.$ac_ext
45844 cat >>conftest.$ac_ext <<_ACEOF
45845 /* end confdefs.h.  */
45846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45847    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45848 #define $ac_func innocuous_$ac_func
45849
45850 /* System header to define __stub macros and hopefully few prototypes,
45851     which can conflict with char $ac_func (); below.
45852     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45853     <limits.h> exists even on freestanding compilers.  */
45854
45855 #ifdef __STDC__
45856 # include <limits.h>
45857 #else
45858 # include <assert.h>
45859 #endif
45860
45861 #undef $ac_func
45862
45863 /* Override any gcc2 internal prototype to avoid an error.  */
45864 #ifdef __cplusplus
45865 extern "C"
45866 {
45867 #endif
45868 /* We use char because int might match the return type of a gcc2
45869    builtin and then its argument prototype would still apply.  */
45870 char $ac_func ();
45871 /* The GNU C library defines this for functions which it implements
45872     to always fail with ENOSYS.  Some functions are actually named
45873     something starting with __ and the normal name is an alias.  */
45874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45875 choke me
45876 #else
45877 char (*f) () = $ac_func;
45878 #endif
45879 #ifdef __cplusplus
45880 }
45881 #endif
45882
45883 int
45884 main ()
45885 {
45886 return f != $ac_func;
45887   ;
45888   return 0;
45889 }
45890 _ACEOF
45891 rm -f conftest.$ac_objext conftest$ac_exeext
45892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45893   (eval $ac_link) 2>conftest.er1
45894   ac_status=$?
45895   grep -v '^ *+' conftest.er1 >conftest.err
45896   rm -f conftest.er1
45897   cat conftest.err >&5
45898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45899   (exit $ac_status); } &&
45900          { ac_try='test -z "$ac_c_werror_flag"
45901                          || test ! -s conftest.err'
45902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45903   (eval $ac_try) 2>&5
45904   ac_status=$?
45905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45906   (exit $ac_status); }; } &&
45907          { ac_try='test -s conftest$ac_exeext'
45908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45909   (eval $ac_try) 2>&5
45910   ac_status=$?
45911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45912   (exit $ac_status); }; }; then
45913   eval "$as_ac_var=yes"
45914 else
45915   echo "$as_me: failed program was:" >&5
45916 sed 's/^/| /' conftest.$ac_ext >&5
45917
45918 eval "$as_ac_var=no"
45919 fi
45920 rm -f conftest.err conftest.$ac_objext \
45921       conftest$ac_exeext conftest.$ac_ext
45922 fi
45923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45924 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45925 if test `eval echo '${'$as_ac_var'}'` = yes; then
45926   cat >>confdefs.h <<_ACEOF
45927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45928 _ACEOF
45929
45930 fi
45931 done
45932
45933   else
45934
45935   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
45936 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
45937   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45938     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
45939   echo $ECHO_N "(cached) $ECHO_C" >&6
45940 else
45941
45942
45943
45944       ac_ext=cc
45945 ac_cpp='$CXXCPP $CPPFLAGS'
45946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45949
45950       cat >conftest.$ac_ext <<_ACEOF
45951 /* confdefs.h.  */
45952 _ACEOF
45953 cat confdefs.h >>conftest.$ac_ext
45954 cat >>conftest.$ac_ext <<_ACEOF
45955 /* end confdefs.h.  */
45956 #include <math.h>
45957 int
45958 main ()
45959 {
45960  _frexpl(0, 0);
45961   ;
45962   return 0;
45963 }
45964 _ACEOF
45965 rm -f conftest.$ac_objext
45966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45967   (eval $ac_compile) 2>conftest.er1
45968   ac_status=$?
45969   grep -v '^ *+' conftest.er1 >conftest.err
45970   rm -f conftest.er1
45971   cat conftest.err >&5
45972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45973   (exit $ac_status); } &&
45974          { ac_try='test -z "$ac_cxx_werror_flag"
45975                          || test ! -s conftest.err'
45976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45977   (eval $ac_try) 2>&5
45978   ac_status=$?
45979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45980   (exit $ac_status); }; } &&
45981          { ac_try='test -s conftest.$ac_objext'
45982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45983   (eval $ac_try) 2>&5
45984   ac_status=$?
45985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45986   (exit $ac_status); }; }; then
45987   glibcxx_cv_func__frexpl_use=yes
45988 else
45989   echo "$as_me: failed program was:" >&5
45990 sed 's/^/| /' conftest.$ac_ext >&5
45991
45992 glibcxx_cv_func__frexpl_use=no
45993 fi
45994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45995       ac_ext=c
45996 ac_cpp='$CPP $CPPFLAGS'
45997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46000
46001
46002 fi
46003
46004   fi
46005   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
46006 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
46007
46008     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
46009
46010 for ac_func in _frexpl
46011 do
46012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46013 echo "$as_me:$LINENO: checking for $ac_func" >&5
46014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46015 if eval "test \"\${$as_ac_var+set}\" = set"; then
46016   echo $ECHO_N "(cached) $ECHO_C" >&6
46017 else
46018   if test x$gcc_no_link = xyes; then
46019   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46021    { (exit 1); exit 1; }; }
46022 fi
46023 cat >conftest.$ac_ext <<_ACEOF
46024 /* confdefs.h.  */
46025 _ACEOF
46026 cat confdefs.h >>conftest.$ac_ext
46027 cat >>conftest.$ac_ext <<_ACEOF
46028 /* end confdefs.h.  */
46029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46030    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46031 #define $ac_func innocuous_$ac_func
46032
46033 /* System header to define __stub macros and hopefully few prototypes,
46034     which can conflict with char $ac_func (); below.
46035     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46036     <limits.h> exists even on freestanding compilers.  */
46037
46038 #ifdef __STDC__
46039 # include <limits.h>
46040 #else
46041 # include <assert.h>
46042 #endif
46043
46044 #undef $ac_func
46045
46046 /* Override any gcc2 internal prototype to avoid an error.  */
46047 #ifdef __cplusplus
46048 extern "C"
46049 {
46050 #endif
46051 /* We use char because int might match the return type of a gcc2
46052    builtin and then its argument prototype would still apply.  */
46053 char $ac_func ();
46054 /* The GNU C library defines this for functions which it implements
46055     to always fail with ENOSYS.  Some functions are actually named
46056     something starting with __ and the normal name is an alias.  */
46057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46058 choke me
46059 #else
46060 char (*f) () = $ac_func;
46061 #endif
46062 #ifdef __cplusplus
46063 }
46064 #endif
46065
46066 int
46067 main ()
46068 {
46069 return f != $ac_func;
46070   ;
46071   return 0;
46072 }
46073 _ACEOF
46074 rm -f conftest.$ac_objext conftest$ac_exeext
46075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46076   (eval $ac_link) 2>conftest.er1
46077   ac_status=$?
46078   grep -v '^ *+' conftest.er1 >conftest.err
46079   rm -f conftest.er1
46080   cat conftest.err >&5
46081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46082   (exit $ac_status); } &&
46083          { ac_try='test -z "$ac_c_werror_flag"
46084                          || test ! -s conftest.err'
46085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46086   (eval $ac_try) 2>&5
46087   ac_status=$?
46088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46089   (exit $ac_status); }; } &&
46090          { ac_try='test -s conftest$ac_exeext'
46091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46092   (eval $ac_try) 2>&5
46093   ac_status=$?
46094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46095   (exit $ac_status); }; }; then
46096   eval "$as_ac_var=yes"
46097 else
46098   echo "$as_me: failed program was:" >&5
46099 sed 's/^/| /' conftest.$ac_ext >&5
46100
46101 eval "$as_ac_var=no"
46102 fi
46103 rm -f conftest.err conftest.$ac_objext \
46104       conftest$ac_exeext conftest.$ac_ext
46105 fi
46106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46108 if test `eval echo '${'$as_ac_var'}'` = yes; then
46109   cat >>confdefs.h <<_ACEOF
46110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46111 _ACEOF
46112
46113 fi
46114 done
46115
46116     fi
46117   fi
46118
46119
46120
46121
46122
46123
46124   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
46125 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
46126   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
46127     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
46128   echo $ECHO_N "(cached) $ECHO_C" >&6
46129 else
46130
46131
46132
46133       ac_ext=cc
46134 ac_cpp='$CXXCPP $CPPFLAGS'
46135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46138
46139       cat >conftest.$ac_ext <<_ACEOF
46140 /* confdefs.h.  */
46141 _ACEOF
46142 cat confdefs.h >>conftest.$ac_ext
46143 cat >>conftest.$ac_ext <<_ACEOF
46144 /* end confdefs.h.  */
46145 #include <math.h>
46146 int
46147 main ()
46148 {
46149  hypotl(0, 0);
46150   ;
46151   return 0;
46152 }
46153 _ACEOF
46154 rm -f conftest.$ac_objext
46155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46156   (eval $ac_compile) 2>conftest.er1
46157   ac_status=$?
46158   grep -v '^ *+' conftest.er1 >conftest.err
46159   rm -f conftest.er1
46160   cat conftest.err >&5
46161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46162   (exit $ac_status); } &&
46163          { ac_try='test -z "$ac_cxx_werror_flag"
46164                          || test ! -s conftest.err'
46165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46166   (eval $ac_try) 2>&5
46167   ac_status=$?
46168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46169   (exit $ac_status); }; } &&
46170          { ac_try='test -s conftest.$ac_objext'
46171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46172   (eval $ac_try) 2>&5
46173   ac_status=$?
46174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46175   (exit $ac_status); }; }; then
46176   glibcxx_cv_func_hypotl_use=yes
46177 else
46178   echo "$as_me: failed program was:" >&5
46179 sed 's/^/| /' conftest.$ac_ext >&5
46180
46181 glibcxx_cv_func_hypotl_use=no
46182 fi
46183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46184       ac_ext=c
46185 ac_cpp='$CPP $CPPFLAGS'
46186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46189
46190
46191 fi
46192
46193   fi
46194   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
46195 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
46196
46197   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
46198
46199 for ac_func in hypotl
46200 do
46201 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46202 echo "$as_me:$LINENO: checking for $ac_func" >&5
46203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46204 if eval "test \"\${$as_ac_var+set}\" = set"; then
46205   echo $ECHO_N "(cached) $ECHO_C" >&6
46206 else
46207   if test x$gcc_no_link = xyes; then
46208   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46210    { (exit 1); exit 1; }; }
46211 fi
46212 cat >conftest.$ac_ext <<_ACEOF
46213 /* confdefs.h.  */
46214 _ACEOF
46215 cat confdefs.h >>conftest.$ac_ext
46216 cat >>conftest.$ac_ext <<_ACEOF
46217 /* end confdefs.h.  */
46218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46219    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46220 #define $ac_func innocuous_$ac_func
46221
46222 /* System header to define __stub macros and hopefully few prototypes,
46223     which can conflict with char $ac_func (); below.
46224     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46225     <limits.h> exists even on freestanding compilers.  */
46226
46227 #ifdef __STDC__
46228 # include <limits.h>
46229 #else
46230 # include <assert.h>
46231 #endif
46232
46233 #undef $ac_func
46234
46235 /* Override any gcc2 internal prototype to avoid an error.  */
46236 #ifdef __cplusplus
46237 extern "C"
46238 {
46239 #endif
46240 /* We use char because int might match the return type of a gcc2
46241    builtin and then its argument prototype would still apply.  */
46242 char $ac_func ();
46243 /* The GNU C library defines this for functions which it implements
46244     to always fail with ENOSYS.  Some functions are actually named
46245     something starting with __ and the normal name is an alias.  */
46246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46247 choke me
46248 #else
46249 char (*f) () = $ac_func;
46250 #endif
46251 #ifdef __cplusplus
46252 }
46253 #endif
46254
46255 int
46256 main ()
46257 {
46258 return f != $ac_func;
46259   ;
46260   return 0;
46261 }
46262 _ACEOF
46263 rm -f conftest.$ac_objext conftest$ac_exeext
46264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46265   (eval $ac_link) 2>conftest.er1
46266   ac_status=$?
46267   grep -v '^ *+' conftest.er1 >conftest.err
46268   rm -f conftest.er1
46269   cat conftest.err >&5
46270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46271   (exit $ac_status); } &&
46272          { ac_try='test -z "$ac_c_werror_flag"
46273                          || test ! -s conftest.err'
46274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46275   (eval $ac_try) 2>&5
46276   ac_status=$?
46277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46278   (exit $ac_status); }; } &&
46279          { ac_try='test -s conftest$ac_exeext'
46280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46281   (eval $ac_try) 2>&5
46282   ac_status=$?
46283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46284   (exit $ac_status); }; }; then
46285   eval "$as_ac_var=yes"
46286 else
46287   echo "$as_me: failed program was:" >&5
46288 sed 's/^/| /' conftest.$ac_ext >&5
46289
46290 eval "$as_ac_var=no"
46291 fi
46292 rm -f conftest.err conftest.$ac_objext \
46293       conftest$ac_exeext conftest.$ac_ext
46294 fi
46295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46296 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46297 if test `eval echo '${'$as_ac_var'}'` = yes; then
46298   cat >>confdefs.h <<_ACEOF
46299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46300 _ACEOF
46301
46302 fi
46303 done
46304
46305   else
46306
46307   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
46308 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
46309   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
46310     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
46311   echo $ECHO_N "(cached) $ECHO_C" >&6
46312 else
46313
46314
46315
46316       ac_ext=cc
46317 ac_cpp='$CXXCPP $CPPFLAGS'
46318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46321
46322       cat >conftest.$ac_ext <<_ACEOF
46323 /* confdefs.h.  */
46324 _ACEOF
46325 cat confdefs.h >>conftest.$ac_ext
46326 cat >>conftest.$ac_ext <<_ACEOF
46327 /* end confdefs.h.  */
46328 #include <math.h>
46329 int
46330 main ()
46331 {
46332  _hypotl(0, 0);
46333   ;
46334   return 0;
46335 }
46336 _ACEOF
46337 rm -f conftest.$ac_objext
46338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46339   (eval $ac_compile) 2>conftest.er1
46340   ac_status=$?
46341   grep -v '^ *+' conftest.er1 >conftest.err
46342   rm -f conftest.er1
46343   cat conftest.err >&5
46344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46345   (exit $ac_status); } &&
46346          { ac_try='test -z "$ac_cxx_werror_flag"
46347                          || test ! -s conftest.err'
46348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46349   (eval $ac_try) 2>&5
46350   ac_status=$?
46351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46352   (exit $ac_status); }; } &&
46353          { ac_try='test -s conftest.$ac_objext'
46354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46355   (eval $ac_try) 2>&5
46356   ac_status=$?
46357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46358   (exit $ac_status); }; }; then
46359   glibcxx_cv_func__hypotl_use=yes
46360 else
46361   echo "$as_me: failed program was:" >&5
46362 sed 's/^/| /' conftest.$ac_ext >&5
46363
46364 glibcxx_cv_func__hypotl_use=no
46365 fi
46366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46367       ac_ext=c
46368 ac_cpp='$CPP $CPPFLAGS'
46369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46372
46373
46374 fi
46375
46376   fi
46377   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
46378 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
46379
46380     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
46381
46382 for ac_func in _hypotl
46383 do
46384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46385 echo "$as_me:$LINENO: checking for $ac_func" >&5
46386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46387 if eval "test \"\${$as_ac_var+set}\" = set"; then
46388   echo $ECHO_N "(cached) $ECHO_C" >&6
46389 else
46390   if test x$gcc_no_link = xyes; then
46391   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46393    { (exit 1); exit 1; }; }
46394 fi
46395 cat >conftest.$ac_ext <<_ACEOF
46396 /* confdefs.h.  */
46397 _ACEOF
46398 cat confdefs.h >>conftest.$ac_ext
46399 cat >>conftest.$ac_ext <<_ACEOF
46400 /* end confdefs.h.  */
46401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46402    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46403 #define $ac_func innocuous_$ac_func
46404
46405 /* System header to define __stub macros and hopefully few prototypes,
46406     which can conflict with char $ac_func (); below.
46407     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46408     <limits.h> exists even on freestanding compilers.  */
46409
46410 #ifdef __STDC__
46411 # include <limits.h>
46412 #else
46413 # include <assert.h>
46414 #endif
46415
46416 #undef $ac_func
46417
46418 /* Override any gcc2 internal prototype to avoid an error.  */
46419 #ifdef __cplusplus
46420 extern "C"
46421 {
46422 #endif
46423 /* We use char because int might match the return type of a gcc2
46424    builtin and then its argument prototype would still apply.  */
46425 char $ac_func ();
46426 /* The GNU C library defines this for functions which it implements
46427     to always fail with ENOSYS.  Some functions are actually named
46428     something starting with __ and the normal name is an alias.  */
46429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46430 choke me
46431 #else
46432 char (*f) () = $ac_func;
46433 #endif
46434 #ifdef __cplusplus
46435 }
46436 #endif
46437
46438 int
46439 main ()
46440 {
46441 return f != $ac_func;
46442   ;
46443   return 0;
46444 }
46445 _ACEOF
46446 rm -f conftest.$ac_objext conftest$ac_exeext
46447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46448   (eval $ac_link) 2>conftest.er1
46449   ac_status=$?
46450   grep -v '^ *+' conftest.er1 >conftest.err
46451   rm -f conftest.er1
46452   cat conftest.err >&5
46453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46454   (exit $ac_status); } &&
46455          { ac_try='test -z "$ac_c_werror_flag"
46456                          || test ! -s conftest.err'
46457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46458   (eval $ac_try) 2>&5
46459   ac_status=$?
46460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46461   (exit $ac_status); }; } &&
46462          { ac_try='test -s conftest$ac_exeext'
46463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46464   (eval $ac_try) 2>&5
46465   ac_status=$?
46466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46467   (exit $ac_status); }; }; then
46468   eval "$as_ac_var=yes"
46469 else
46470   echo "$as_me: failed program was:" >&5
46471 sed 's/^/| /' conftest.$ac_ext >&5
46472
46473 eval "$as_ac_var=no"
46474 fi
46475 rm -f conftest.err conftest.$ac_objext \
46476       conftest$ac_exeext conftest.$ac_ext
46477 fi
46478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46480 if test `eval echo '${'$as_ac_var'}'` = yes; then
46481   cat >>confdefs.h <<_ACEOF
46482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46483 _ACEOF
46484
46485 fi
46486 done
46487
46488     fi
46489   fi
46490
46491
46492
46493
46494
46495
46496   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
46497 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
46498   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
46499     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
46500   echo $ECHO_N "(cached) $ECHO_C" >&6
46501 else
46502
46503
46504
46505       ac_ext=cc
46506 ac_cpp='$CXXCPP $CPPFLAGS'
46507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46510
46511       cat >conftest.$ac_ext <<_ACEOF
46512 /* confdefs.h.  */
46513 _ACEOF
46514 cat confdefs.h >>conftest.$ac_ext
46515 cat >>conftest.$ac_ext <<_ACEOF
46516 /* end confdefs.h.  */
46517 #include <math.h>
46518 int
46519 main ()
46520 {
46521  ldexpl(0, 0);
46522   ;
46523   return 0;
46524 }
46525 _ACEOF
46526 rm -f conftest.$ac_objext
46527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46528   (eval $ac_compile) 2>conftest.er1
46529   ac_status=$?
46530   grep -v '^ *+' conftest.er1 >conftest.err
46531   rm -f conftest.er1
46532   cat conftest.err >&5
46533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46534   (exit $ac_status); } &&
46535          { ac_try='test -z "$ac_cxx_werror_flag"
46536                          || test ! -s conftest.err'
46537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46538   (eval $ac_try) 2>&5
46539   ac_status=$?
46540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46541   (exit $ac_status); }; } &&
46542          { ac_try='test -s conftest.$ac_objext'
46543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46544   (eval $ac_try) 2>&5
46545   ac_status=$?
46546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46547   (exit $ac_status); }; }; then
46548   glibcxx_cv_func_ldexpl_use=yes
46549 else
46550   echo "$as_me: failed program was:" >&5
46551 sed 's/^/| /' conftest.$ac_ext >&5
46552
46553 glibcxx_cv_func_ldexpl_use=no
46554 fi
46555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46556       ac_ext=c
46557 ac_cpp='$CPP $CPPFLAGS'
46558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46561
46562
46563 fi
46564
46565   fi
46566   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
46567 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
46568
46569   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
46570
46571 for ac_func in ldexpl
46572 do
46573 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46574 echo "$as_me:$LINENO: checking for $ac_func" >&5
46575 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46576 if eval "test \"\${$as_ac_var+set}\" = set"; then
46577   echo $ECHO_N "(cached) $ECHO_C" >&6
46578 else
46579   if test x$gcc_no_link = xyes; then
46580   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46582    { (exit 1); exit 1; }; }
46583 fi
46584 cat >conftest.$ac_ext <<_ACEOF
46585 /* confdefs.h.  */
46586 _ACEOF
46587 cat confdefs.h >>conftest.$ac_ext
46588 cat >>conftest.$ac_ext <<_ACEOF
46589 /* end confdefs.h.  */
46590 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46591    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46592 #define $ac_func innocuous_$ac_func
46593
46594 /* System header to define __stub macros and hopefully few prototypes,
46595     which can conflict with char $ac_func (); below.
46596     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46597     <limits.h> exists even on freestanding compilers.  */
46598
46599 #ifdef __STDC__
46600 # include <limits.h>
46601 #else
46602 # include <assert.h>
46603 #endif
46604
46605 #undef $ac_func
46606
46607 /* Override any gcc2 internal prototype to avoid an error.  */
46608 #ifdef __cplusplus
46609 extern "C"
46610 {
46611 #endif
46612 /* We use char because int might match the return type of a gcc2
46613    builtin and then its argument prototype would still apply.  */
46614 char $ac_func ();
46615 /* The GNU C library defines this for functions which it implements
46616     to always fail with ENOSYS.  Some functions are actually named
46617     something starting with __ and the normal name is an alias.  */
46618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46619 choke me
46620 #else
46621 char (*f) () = $ac_func;
46622 #endif
46623 #ifdef __cplusplus
46624 }
46625 #endif
46626
46627 int
46628 main ()
46629 {
46630 return f != $ac_func;
46631   ;
46632   return 0;
46633 }
46634 _ACEOF
46635 rm -f conftest.$ac_objext conftest$ac_exeext
46636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46637   (eval $ac_link) 2>conftest.er1
46638   ac_status=$?
46639   grep -v '^ *+' conftest.er1 >conftest.err
46640   rm -f conftest.er1
46641   cat conftest.err >&5
46642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46643   (exit $ac_status); } &&
46644          { ac_try='test -z "$ac_c_werror_flag"
46645                          || test ! -s conftest.err'
46646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46647   (eval $ac_try) 2>&5
46648   ac_status=$?
46649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46650   (exit $ac_status); }; } &&
46651          { ac_try='test -s conftest$ac_exeext'
46652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46653   (eval $ac_try) 2>&5
46654   ac_status=$?
46655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46656   (exit $ac_status); }; }; then
46657   eval "$as_ac_var=yes"
46658 else
46659   echo "$as_me: failed program was:" >&5
46660 sed 's/^/| /' conftest.$ac_ext >&5
46661
46662 eval "$as_ac_var=no"
46663 fi
46664 rm -f conftest.err conftest.$ac_objext \
46665       conftest$ac_exeext conftest.$ac_ext
46666 fi
46667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46668 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46669 if test `eval echo '${'$as_ac_var'}'` = yes; then
46670   cat >>confdefs.h <<_ACEOF
46671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46672 _ACEOF
46673
46674 fi
46675 done
46676
46677   else
46678
46679   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
46680 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
46681   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
46682     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
46683   echo $ECHO_N "(cached) $ECHO_C" >&6
46684 else
46685
46686
46687
46688       ac_ext=cc
46689 ac_cpp='$CXXCPP $CPPFLAGS'
46690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46693
46694       cat >conftest.$ac_ext <<_ACEOF
46695 /* confdefs.h.  */
46696 _ACEOF
46697 cat confdefs.h >>conftest.$ac_ext
46698 cat >>conftest.$ac_ext <<_ACEOF
46699 /* end confdefs.h.  */
46700 #include <math.h>
46701 int
46702 main ()
46703 {
46704  _ldexpl(0, 0);
46705   ;
46706   return 0;
46707 }
46708 _ACEOF
46709 rm -f conftest.$ac_objext
46710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46711   (eval $ac_compile) 2>conftest.er1
46712   ac_status=$?
46713   grep -v '^ *+' conftest.er1 >conftest.err
46714   rm -f conftest.er1
46715   cat conftest.err >&5
46716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46717   (exit $ac_status); } &&
46718          { ac_try='test -z "$ac_cxx_werror_flag"
46719                          || test ! -s conftest.err'
46720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46721   (eval $ac_try) 2>&5
46722   ac_status=$?
46723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46724   (exit $ac_status); }; } &&
46725          { ac_try='test -s conftest.$ac_objext'
46726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46727   (eval $ac_try) 2>&5
46728   ac_status=$?
46729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46730   (exit $ac_status); }; }; then
46731   glibcxx_cv_func__ldexpl_use=yes
46732 else
46733   echo "$as_me: failed program was:" >&5
46734 sed 's/^/| /' conftest.$ac_ext >&5
46735
46736 glibcxx_cv_func__ldexpl_use=no
46737 fi
46738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46739       ac_ext=c
46740 ac_cpp='$CPP $CPPFLAGS'
46741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46744
46745
46746 fi
46747
46748   fi
46749   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
46750 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
46751
46752     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
46753
46754 for ac_func in _ldexpl
46755 do
46756 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46757 echo "$as_me:$LINENO: checking for $ac_func" >&5
46758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46759 if eval "test \"\${$as_ac_var+set}\" = set"; then
46760   echo $ECHO_N "(cached) $ECHO_C" >&6
46761 else
46762   if test x$gcc_no_link = xyes; then
46763   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46765    { (exit 1); exit 1; }; }
46766 fi
46767 cat >conftest.$ac_ext <<_ACEOF
46768 /* confdefs.h.  */
46769 _ACEOF
46770 cat confdefs.h >>conftest.$ac_ext
46771 cat >>conftest.$ac_ext <<_ACEOF
46772 /* end confdefs.h.  */
46773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46774    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46775 #define $ac_func innocuous_$ac_func
46776
46777 /* System header to define __stub macros and hopefully few prototypes,
46778     which can conflict with char $ac_func (); below.
46779     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46780     <limits.h> exists even on freestanding compilers.  */
46781
46782 #ifdef __STDC__
46783 # include <limits.h>
46784 #else
46785 # include <assert.h>
46786 #endif
46787
46788 #undef $ac_func
46789
46790 /* Override any gcc2 internal prototype to avoid an error.  */
46791 #ifdef __cplusplus
46792 extern "C"
46793 {
46794 #endif
46795 /* We use char because int might match the return type of a gcc2
46796    builtin and then its argument prototype would still apply.  */
46797 char $ac_func ();
46798 /* The GNU C library defines this for functions which it implements
46799     to always fail with ENOSYS.  Some functions are actually named
46800     something starting with __ and the normal name is an alias.  */
46801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46802 choke me
46803 #else
46804 char (*f) () = $ac_func;
46805 #endif
46806 #ifdef __cplusplus
46807 }
46808 #endif
46809
46810 int
46811 main ()
46812 {
46813 return f != $ac_func;
46814   ;
46815   return 0;
46816 }
46817 _ACEOF
46818 rm -f conftest.$ac_objext conftest$ac_exeext
46819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46820   (eval $ac_link) 2>conftest.er1
46821   ac_status=$?
46822   grep -v '^ *+' conftest.er1 >conftest.err
46823   rm -f conftest.er1
46824   cat conftest.err >&5
46825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46826   (exit $ac_status); } &&
46827          { ac_try='test -z "$ac_c_werror_flag"
46828                          || test ! -s conftest.err'
46829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46830   (eval $ac_try) 2>&5
46831   ac_status=$?
46832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46833   (exit $ac_status); }; } &&
46834          { ac_try='test -s conftest$ac_exeext'
46835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46836   (eval $ac_try) 2>&5
46837   ac_status=$?
46838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46839   (exit $ac_status); }; }; then
46840   eval "$as_ac_var=yes"
46841 else
46842   echo "$as_me: failed program was:" >&5
46843 sed 's/^/| /' conftest.$ac_ext >&5
46844
46845 eval "$as_ac_var=no"
46846 fi
46847 rm -f conftest.err conftest.$ac_objext \
46848       conftest$ac_exeext conftest.$ac_ext
46849 fi
46850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46852 if test `eval echo '${'$as_ac_var'}'` = yes; then
46853   cat >>confdefs.h <<_ACEOF
46854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46855 _ACEOF
46856
46857 fi
46858 done
46859
46860     fi
46861   fi
46862
46863
46864
46865
46866
46867
46868   echo "$as_me:$LINENO: checking for logl declaration" >&5
46869 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
46870   if test x${glibcxx_cv_func_logl_use+set} != xset; then
46871     if test "${glibcxx_cv_func_logl_use+set}" = set; then
46872   echo $ECHO_N "(cached) $ECHO_C" >&6
46873 else
46874
46875
46876
46877       ac_ext=cc
46878 ac_cpp='$CXXCPP $CPPFLAGS'
46879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46882
46883       cat >conftest.$ac_ext <<_ACEOF
46884 /* confdefs.h.  */
46885 _ACEOF
46886 cat confdefs.h >>conftest.$ac_ext
46887 cat >>conftest.$ac_ext <<_ACEOF
46888 /* end confdefs.h.  */
46889 #include <math.h>
46890                       #ifdef HAVE_IEEEFP_H
46891                       #include <ieeefp.h>
46892                       #endif
46893
46894 int
46895 main ()
46896 {
46897  logl(0);
46898   ;
46899   return 0;
46900 }
46901 _ACEOF
46902 rm -f conftest.$ac_objext
46903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46904   (eval $ac_compile) 2>conftest.er1
46905   ac_status=$?
46906   grep -v '^ *+' conftest.er1 >conftest.err
46907   rm -f conftest.er1
46908   cat conftest.err >&5
46909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46910   (exit $ac_status); } &&
46911          { ac_try='test -z "$ac_cxx_werror_flag"
46912                          || test ! -s conftest.err'
46913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46914   (eval $ac_try) 2>&5
46915   ac_status=$?
46916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46917   (exit $ac_status); }; } &&
46918          { ac_try='test -s conftest.$ac_objext'
46919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46920   (eval $ac_try) 2>&5
46921   ac_status=$?
46922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46923   (exit $ac_status); }; }; then
46924   glibcxx_cv_func_logl_use=yes
46925 else
46926   echo "$as_me: failed program was:" >&5
46927 sed 's/^/| /' conftest.$ac_ext >&5
46928
46929 glibcxx_cv_func_logl_use=no
46930 fi
46931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46932       ac_ext=c
46933 ac_cpp='$CPP $CPPFLAGS'
46934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46937
46938
46939 fi
46940
46941   fi
46942   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
46943 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
46944
46945   if test x$glibcxx_cv_func_logl_use = x"yes"; then
46946
46947 for ac_func in logl
46948 do
46949 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46950 echo "$as_me:$LINENO: checking for $ac_func" >&5
46951 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46952 if eval "test \"\${$as_ac_var+set}\" = set"; then
46953   echo $ECHO_N "(cached) $ECHO_C" >&6
46954 else
46955   if test x$gcc_no_link = xyes; then
46956   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46958    { (exit 1); exit 1; }; }
46959 fi
46960 cat >conftest.$ac_ext <<_ACEOF
46961 /* confdefs.h.  */
46962 _ACEOF
46963 cat confdefs.h >>conftest.$ac_ext
46964 cat >>conftest.$ac_ext <<_ACEOF
46965 /* end confdefs.h.  */
46966 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46967    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46968 #define $ac_func innocuous_$ac_func
46969
46970 /* System header to define __stub macros and hopefully few prototypes,
46971     which can conflict with char $ac_func (); below.
46972     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46973     <limits.h> exists even on freestanding compilers.  */
46974
46975 #ifdef __STDC__
46976 # include <limits.h>
46977 #else
46978 # include <assert.h>
46979 #endif
46980
46981 #undef $ac_func
46982
46983 /* Override any gcc2 internal prototype to avoid an error.  */
46984 #ifdef __cplusplus
46985 extern "C"
46986 {
46987 #endif
46988 /* We use char because int might match the return type of a gcc2
46989    builtin and then its argument prototype would still apply.  */
46990 char $ac_func ();
46991 /* The GNU C library defines this for functions which it implements
46992     to always fail with ENOSYS.  Some functions are actually named
46993     something starting with __ and the normal name is an alias.  */
46994 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46995 choke me
46996 #else
46997 char (*f) () = $ac_func;
46998 #endif
46999 #ifdef __cplusplus
47000 }
47001 #endif
47002
47003 int
47004 main ()
47005 {
47006 return f != $ac_func;
47007   ;
47008   return 0;
47009 }
47010 _ACEOF
47011 rm -f conftest.$ac_objext conftest$ac_exeext
47012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47013   (eval $ac_link) 2>conftest.er1
47014   ac_status=$?
47015   grep -v '^ *+' conftest.er1 >conftest.err
47016   rm -f conftest.er1
47017   cat conftest.err >&5
47018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47019   (exit $ac_status); } &&
47020          { ac_try='test -z "$ac_c_werror_flag"
47021                          || test ! -s conftest.err'
47022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47023   (eval $ac_try) 2>&5
47024   ac_status=$?
47025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47026   (exit $ac_status); }; } &&
47027          { ac_try='test -s conftest$ac_exeext'
47028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47029   (eval $ac_try) 2>&5
47030   ac_status=$?
47031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47032   (exit $ac_status); }; }; then
47033   eval "$as_ac_var=yes"
47034 else
47035   echo "$as_me: failed program was:" >&5
47036 sed 's/^/| /' conftest.$ac_ext >&5
47037
47038 eval "$as_ac_var=no"
47039 fi
47040 rm -f conftest.err conftest.$ac_objext \
47041       conftest$ac_exeext conftest.$ac_ext
47042 fi
47043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47044 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47045 if test `eval echo '${'$as_ac_var'}'` = yes; then
47046   cat >>confdefs.h <<_ACEOF
47047 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47048 _ACEOF
47049
47050 fi
47051 done
47052
47053   else
47054
47055   echo "$as_me:$LINENO: checking for _logl declaration" >&5
47056 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
47057   if test x${glibcxx_cv_func__logl_use+set} != xset; then
47058     if test "${glibcxx_cv_func__logl_use+set}" = set; then
47059   echo $ECHO_N "(cached) $ECHO_C" >&6
47060 else
47061
47062
47063
47064       ac_ext=cc
47065 ac_cpp='$CXXCPP $CPPFLAGS'
47066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47069
47070       cat >conftest.$ac_ext <<_ACEOF
47071 /* confdefs.h.  */
47072 _ACEOF
47073 cat confdefs.h >>conftest.$ac_ext
47074 cat >>conftest.$ac_ext <<_ACEOF
47075 /* end confdefs.h.  */
47076 #include <math.h>
47077                       #ifdef HAVE_IEEEFP_H
47078                       #include <ieeefp.h>
47079                       #endif
47080
47081 int
47082 main ()
47083 {
47084  _logl(0);
47085   ;
47086   return 0;
47087 }
47088 _ACEOF
47089 rm -f conftest.$ac_objext
47090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47091   (eval $ac_compile) 2>conftest.er1
47092   ac_status=$?
47093   grep -v '^ *+' conftest.er1 >conftest.err
47094   rm -f conftest.er1
47095   cat conftest.err >&5
47096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47097   (exit $ac_status); } &&
47098          { ac_try='test -z "$ac_cxx_werror_flag"
47099                          || test ! -s conftest.err'
47100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47101   (eval $ac_try) 2>&5
47102   ac_status=$?
47103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47104   (exit $ac_status); }; } &&
47105          { ac_try='test -s conftest.$ac_objext'
47106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47107   (eval $ac_try) 2>&5
47108   ac_status=$?
47109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47110   (exit $ac_status); }; }; then
47111   glibcxx_cv_func__logl_use=yes
47112 else
47113   echo "$as_me: failed program was:" >&5
47114 sed 's/^/| /' conftest.$ac_ext >&5
47115
47116 glibcxx_cv_func__logl_use=no
47117 fi
47118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47119       ac_ext=c
47120 ac_cpp='$CPP $CPPFLAGS'
47121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47124
47125
47126 fi
47127
47128   fi
47129   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
47130 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
47131
47132     if test x$glibcxx_cv_func__logl_use = x"yes"; then
47133
47134 for ac_func in _logl
47135 do
47136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47137 echo "$as_me:$LINENO: checking for $ac_func" >&5
47138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47139 if eval "test \"\${$as_ac_var+set}\" = set"; then
47140   echo $ECHO_N "(cached) $ECHO_C" >&6
47141 else
47142   if test x$gcc_no_link = xyes; then
47143   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47145    { (exit 1); exit 1; }; }
47146 fi
47147 cat >conftest.$ac_ext <<_ACEOF
47148 /* confdefs.h.  */
47149 _ACEOF
47150 cat confdefs.h >>conftest.$ac_ext
47151 cat >>conftest.$ac_ext <<_ACEOF
47152 /* end confdefs.h.  */
47153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47154    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47155 #define $ac_func innocuous_$ac_func
47156
47157 /* System header to define __stub macros and hopefully few prototypes,
47158     which can conflict with char $ac_func (); below.
47159     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47160     <limits.h> exists even on freestanding compilers.  */
47161
47162 #ifdef __STDC__
47163 # include <limits.h>
47164 #else
47165 # include <assert.h>
47166 #endif
47167
47168 #undef $ac_func
47169
47170 /* Override any gcc2 internal prototype to avoid an error.  */
47171 #ifdef __cplusplus
47172 extern "C"
47173 {
47174 #endif
47175 /* We use char because int might match the return type of a gcc2
47176    builtin and then its argument prototype would still apply.  */
47177 char $ac_func ();
47178 /* The GNU C library defines this for functions which it implements
47179     to always fail with ENOSYS.  Some functions are actually named
47180     something starting with __ and the normal name is an alias.  */
47181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47182 choke me
47183 #else
47184 char (*f) () = $ac_func;
47185 #endif
47186 #ifdef __cplusplus
47187 }
47188 #endif
47189
47190 int
47191 main ()
47192 {
47193 return f != $ac_func;
47194   ;
47195   return 0;
47196 }
47197 _ACEOF
47198 rm -f conftest.$ac_objext conftest$ac_exeext
47199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47200   (eval $ac_link) 2>conftest.er1
47201   ac_status=$?
47202   grep -v '^ *+' conftest.er1 >conftest.err
47203   rm -f conftest.er1
47204   cat conftest.err >&5
47205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47206   (exit $ac_status); } &&
47207          { ac_try='test -z "$ac_c_werror_flag"
47208                          || test ! -s conftest.err'
47209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47210   (eval $ac_try) 2>&5
47211   ac_status=$?
47212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47213   (exit $ac_status); }; } &&
47214          { ac_try='test -s conftest$ac_exeext'
47215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47216   (eval $ac_try) 2>&5
47217   ac_status=$?
47218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47219   (exit $ac_status); }; }; then
47220   eval "$as_ac_var=yes"
47221 else
47222   echo "$as_me: failed program was:" >&5
47223 sed 's/^/| /' conftest.$ac_ext >&5
47224
47225 eval "$as_ac_var=no"
47226 fi
47227 rm -f conftest.err conftest.$ac_objext \
47228       conftest$ac_exeext conftest.$ac_ext
47229 fi
47230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47232 if test `eval echo '${'$as_ac_var'}'` = yes; then
47233   cat >>confdefs.h <<_ACEOF
47234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47235 _ACEOF
47236
47237 fi
47238 done
47239
47240     fi
47241   fi
47242
47243
47244
47245
47246
47247
47248   echo "$as_me:$LINENO: checking for log10l declaration" >&5
47249 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
47250   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
47251     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
47252   echo $ECHO_N "(cached) $ECHO_C" >&6
47253 else
47254
47255
47256
47257       ac_ext=cc
47258 ac_cpp='$CXXCPP $CPPFLAGS'
47259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47262
47263       cat >conftest.$ac_ext <<_ACEOF
47264 /* confdefs.h.  */
47265 _ACEOF
47266 cat confdefs.h >>conftest.$ac_ext
47267 cat >>conftest.$ac_ext <<_ACEOF
47268 /* end confdefs.h.  */
47269 #include <math.h>
47270                       #ifdef HAVE_IEEEFP_H
47271                       #include <ieeefp.h>
47272                       #endif
47273
47274 int
47275 main ()
47276 {
47277  log10l(0);
47278   ;
47279   return 0;
47280 }
47281 _ACEOF
47282 rm -f conftest.$ac_objext
47283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47284   (eval $ac_compile) 2>conftest.er1
47285   ac_status=$?
47286   grep -v '^ *+' conftest.er1 >conftest.err
47287   rm -f conftest.er1
47288   cat conftest.err >&5
47289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47290   (exit $ac_status); } &&
47291          { ac_try='test -z "$ac_cxx_werror_flag"
47292                          || test ! -s conftest.err'
47293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47294   (eval $ac_try) 2>&5
47295   ac_status=$?
47296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47297   (exit $ac_status); }; } &&
47298          { ac_try='test -s conftest.$ac_objext'
47299   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47300   (eval $ac_try) 2>&5
47301   ac_status=$?
47302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47303   (exit $ac_status); }; }; then
47304   glibcxx_cv_func_log10l_use=yes
47305 else
47306   echo "$as_me: failed program was:" >&5
47307 sed 's/^/| /' conftest.$ac_ext >&5
47308
47309 glibcxx_cv_func_log10l_use=no
47310 fi
47311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47312       ac_ext=c
47313 ac_cpp='$CPP $CPPFLAGS'
47314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47317
47318
47319 fi
47320
47321   fi
47322   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
47323 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
47324
47325   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
47326
47327 for ac_func in log10l
47328 do
47329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47330 echo "$as_me:$LINENO: checking for $ac_func" >&5
47331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47332 if eval "test \"\${$as_ac_var+set}\" = set"; then
47333   echo $ECHO_N "(cached) $ECHO_C" >&6
47334 else
47335   if test x$gcc_no_link = xyes; then
47336   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47338    { (exit 1); exit 1; }; }
47339 fi
47340 cat >conftest.$ac_ext <<_ACEOF
47341 /* confdefs.h.  */
47342 _ACEOF
47343 cat confdefs.h >>conftest.$ac_ext
47344 cat >>conftest.$ac_ext <<_ACEOF
47345 /* end confdefs.h.  */
47346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47347    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47348 #define $ac_func innocuous_$ac_func
47349
47350 /* System header to define __stub macros and hopefully few prototypes,
47351     which can conflict with char $ac_func (); below.
47352     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47353     <limits.h> exists even on freestanding compilers.  */
47354
47355 #ifdef __STDC__
47356 # include <limits.h>
47357 #else
47358 # include <assert.h>
47359 #endif
47360
47361 #undef $ac_func
47362
47363 /* Override any gcc2 internal prototype to avoid an error.  */
47364 #ifdef __cplusplus
47365 extern "C"
47366 {
47367 #endif
47368 /* We use char because int might match the return type of a gcc2
47369    builtin and then its argument prototype would still apply.  */
47370 char $ac_func ();
47371 /* The GNU C library defines this for functions which it implements
47372     to always fail with ENOSYS.  Some functions are actually named
47373     something starting with __ and the normal name is an alias.  */
47374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47375 choke me
47376 #else
47377 char (*f) () = $ac_func;
47378 #endif
47379 #ifdef __cplusplus
47380 }
47381 #endif
47382
47383 int
47384 main ()
47385 {
47386 return f != $ac_func;
47387   ;
47388   return 0;
47389 }
47390 _ACEOF
47391 rm -f conftest.$ac_objext conftest$ac_exeext
47392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47393   (eval $ac_link) 2>conftest.er1
47394   ac_status=$?
47395   grep -v '^ *+' conftest.er1 >conftest.err
47396   rm -f conftest.er1
47397   cat conftest.err >&5
47398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47399   (exit $ac_status); } &&
47400          { ac_try='test -z "$ac_c_werror_flag"
47401                          || test ! -s conftest.err'
47402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47403   (eval $ac_try) 2>&5
47404   ac_status=$?
47405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47406   (exit $ac_status); }; } &&
47407          { ac_try='test -s conftest$ac_exeext'
47408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47409   (eval $ac_try) 2>&5
47410   ac_status=$?
47411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47412   (exit $ac_status); }; }; then
47413   eval "$as_ac_var=yes"
47414 else
47415   echo "$as_me: failed program was:" >&5
47416 sed 's/^/| /' conftest.$ac_ext >&5
47417
47418 eval "$as_ac_var=no"
47419 fi
47420 rm -f conftest.err conftest.$ac_objext \
47421       conftest$ac_exeext conftest.$ac_ext
47422 fi
47423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47425 if test `eval echo '${'$as_ac_var'}'` = yes; then
47426   cat >>confdefs.h <<_ACEOF
47427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47428 _ACEOF
47429
47430 fi
47431 done
47432
47433   else
47434
47435   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
47436 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
47437   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
47438     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
47439   echo $ECHO_N "(cached) $ECHO_C" >&6
47440 else
47441
47442
47443
47444       ac_ext=cc
47445 ac_cpp='$CXXCPP $CPPFLAGS'
47446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47449
47450       cat >conftest.$ac_ext <<_ACEOF
47451 /* confdefs.h.  */
47452 _ACEOF
47453 cat confdefs.h >>conftest.$ac_ext
47454 cat >>conftest.$ac_ext <<_ACEOF
47455 /* end confdefs.h.  */
47456 #include <math.h>
47457                       #ifdef HAVE_IEEEFP_H
47458                       #include <ieeefp.h>
47459                       #endif
47460
47461 int
47462 main ()
47463 {
47464  _log10l(0);
47465   ;
47466   return 0;
47467 }
47468 _ACEOF
47469 rm -f conftest.$ac_objext
47470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47471   (eval $ac_compile) 2>conftest.er1
47472   ac_status=$?
47473   grep -v '^ *+' conftest.er1 >conftest.err
47474   rm -f conftest.er1
47475   cat conftest.err >&5
47476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47477   (exit $ac_status); } &&
47478          { ac_try='test -z "$ac_cxx_werror_flag"
47479                          || test ! -s conftest.err'
47480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47481   (eval $ac_try) 2>&5
47482   ac_status=$?
47483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47484   (exit $ac_status); }; } &&
47485          { ac_try='test -s conftest.$ac_objext'
47486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47487   (eval $ac_try) 2>&5
47488   ac_status=$?
47489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47490   (exit $ac_status); }; }; then
47491   glibcxx_cv_func__log10l_use=yes
47492 else
47493   echo "$as_me: failed program was:" >&5
47494 sed 's/^/| /' conftest.$ac_ext >&5
47495
47496 glibcxx_cv_func__log10l_use=no
47497 fi
47498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47499       ac_ext=c
47500 ac_cpp='$CPP $CPPFLAGS'
47501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47504
47505
47506 fi
47507
47508   fi
47509   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
47510 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
47511
47512     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
47513
47514 for ac_func in _log10l
47515 do
47516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47517 echo "$as_me:$LINENO: checking for $ac_func" >&5
47518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47519 if eval "test \"\${$as_ac_var+set}\" = set"; then
47520   echo $ECHO_N "(cached) $ECHO_C" >&6
47521 else
47522   if test x$gcc_no_link = xyes; then
47523   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47525    { (exit 1); exit 1; }; }
47526 fi
47527 cat >conftest.$ac_ext <<_ACEOF
47528 /* confdefs.h.  */
47529 _ACEOF
47530 cat confdefs.h >>conftest.$ac_ext
47531 cat >>conftest.$ac_ext <<_ACEOF
47532 /* end confdefs.h.  */
47533 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47534    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47535 #define $ac_func innocuous_$ac_func
47536
47537 /* System header to define __stub macros and hopefully few prototypes,
47538     which can conflict with char $ac_func (); below.
47539     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47540     <limits.h> exists even on freestanding compilers.  */
47541
47542 #ifdef __STDC__
47543 # include <limits.h>
47544 #else
47545 # include <assert.h>
47546 #endif
47547
47548 #undef $ac_func
47549
47550 /* Override any gcc2 internal prototype to avoid an error.  */
47551 #ifdef __cplusplus
47552 extern "C"
47553 {
47554 #endif
47555 /* We use char because int might match the return type of a gcc2
47556    builtin and then its argument prototype would still apply.  */
47557 char $ac_func ();
47558 /* The GNU C library defines this for functions which it implements
47559     to always fail with ENOSYS.  Some functions are actually named
47560     something starting with __ and the normal name is an alias.  */
47561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47562 choke me
47563 #else
47564 char (*f) () = $ac_func;
47565 #endif
47566 #ifdef __cplusplus
47567 }
47568 #endif
47569
47570 int
47571 main ()
47572 {
47573 return f != $ac_func;
47574   ;
47575   return 0;
47576 }
47577 _ACEOF
47578 rm -f conftest.$ac_objext conftest$ac_exeext
47579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47580   (eval $ac_link) 2>conftest.er1
47581   ac_status=$?
47582   grep -v '^ *+' conftest.er1 >conftest.err
47583   rm -f conftest.er1
47584   cat conftest.err >&5
47585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47586   (exit $ac_status); } &&
47587          { ac_try='test -z "$ac_c_werror_flag"
47588                          || test ! -s conftest.err'
47589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47590   (eval $ac_try) 2>&5
47591   ac_status=$?
47592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47593   (exit $ac_status); }; } &&
47594          { ac_try='test -s conftest$ac_exeext'
47595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47596   (eval $ac_try) 2>&5
47597   ac_status=$?
47598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47599   (exit $ac_status); }; }; then
47600   eval "$as_ac_var=yes"
47601 else
47602   echo "$as_me: failed program was:" >&5
47603 sed 's/^/| /' conftest.$ac_ext >&5
47604
47605 eval "$as_ac_var=no"
47606 fi
47607 rm -f conftest.err conftest.$ac_objext \
47608       conftest$ac_exeext conftest.$ac_ext
47609 fi
47610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47612 if test `eval echo '${'$as_ac_var'}'` = yes; then
47613   cat >>confdefs.h <<_ACEOF
47614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47615 _ACEOF
47616
47617 fi
47618 done
47619
47620     fi
47621   fi
47622
47623
47624
47625
47626
47627
47628   echo "$as_me:$LINENO: checking for modfl declaration" >&5
47629 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
47630   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
47631     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
47632   echo $ECHO_N "(cached) $ECHO_C" >&6
47633 else
47634
47635
47636
47637       ac_ext=cc
47638 ac_cpp='$CXXCPP $CPPFLAGS'
47639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47642
47643       cat >conftest.$ac_ext <<_ACEOF
47644 /* confdefs.h.  */
47645 _ACEOF
47646 cat confdefs.h >>conftest.$ac_ext
47647 cat >>conftest.$ac_ext <<_ACEOF
47648 /* end confdefs.h.  */
47649 #include <math.h>
47650 int
47651 main ()
47652 {
47653  modfl(0, 0);
47654   ;
47655   return 0;
47656 }
47657 _ACEOF
47658 rm -f conftest.$ac_objext
47659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47660   (eval $ac_compile) 2>conftest.er1
47661   ac_status=$?
47662   grep -v '^ *+' conftest.er1 >conftest.err
47663   rm -f conftest.er1
47664   cat conftest.err >&5
47665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47666   (exit $ac_status); } &&
47667          { ac_try='test -z "$ac_cxx_werror_flag"
47668                          || test ! -s conftest.err'
47669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47670   (eval $ac_try) 2>&5
47671   ac_status=$?
47672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47673   (exit $ac_status); }; } &&
47674          { ac_try='test -s conftest.$ac_objext'
47675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47676   (eval $ac_try) 2>&5
47677   ac_status=$?
47678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47679   (exit $ac_status); }; }; then
47680   glibcxx_cv_func_modfl_use=yes
47681 else
47682   echo "$as_me: failed program was:" >&5
47683 sed 's/^/| /' conftest.$ac_ext >&5
47684
47685 glibcxx_cv_func_modfl_use=no
47686 fi
47687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47688       ac_ext=c
47689 ac_cpp='$CPP $CPPFLAGS'
47690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47693
47694
47695 fi
47696
47697   fi
47698   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
47699 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
47700
47701   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
47702
47703 for ac_func in modfl
47704 do
47705 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47706 echo "$as_me:$LINENO: checking for $ac_func" >&5
47707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47708 if eval "test \"\${$as_ac_var+set}\" = set"; then
47709   echo $ECHO_N "(cached) $ECHO_C" >&6
47710 else
47711   if test x$gcc_no_link = xyes; then
47712   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47714    { (exit 1); exit 1; }; }
47715 fi
47716 cat >conftest.$ac_ext <<_ACEOF
47717 /* confdefs.h.  */
47718 _ACEOF
47719 cat confdefs.h >>conftest.$ac_ext
47720 cat >>conftest.$ac_ext <<_ACEOF
47721 /* end confdefs.h.  */
47722 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47723    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47724 #define $ac_func innocuous_$ac_func
47725
47726 /* System header to define __stub macros and hopefully few prototypes,
47727     which can conflict with char $ac_func (); below.
47728     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47729     <limits.h> exists even on freestanding compilers.  */
47730
47731 #ifdef __STDC__
47732 # include <limits.h>
47733 #else
47734 # include <assert.h>
47735 #endif
47736
47737 #undef $ac_func
47738
47739 /* Override any gcc2 internal prototype to avoid an error.  */
47740 #ifdef __cplusplus
47741 extern "C"
47742 {
47743 #endif
47744 /* We use char because int might match the return type of a gcc2
47745    builtin and then its argument prototype would still apply.  */
47746 char $ac_func ();
47747 /* The GNU C library defines this for functions which it implements
47748     to always fail with ENOSYS.  Some functions are actually named
47749     something starting with __ and the normal name is an alias.  */
47750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47751 choke me
47752 #else
47753 char (*f) () = $ac_func;
47754 #endif
47755 #ifdef __cplusplus
47756 }
47757 #endif
47758
47759 int
47760 main ()
47761 {
47762 return f != $ac_func;
47763   ;
47764   return 0;
47765 }
47766 _ACEOF
47767 rm -f conftest.$ac_objext conftest$ac_exeext
47768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47769   (eval $ac_link) 2>conftest.er1
47770   ac_status=$?
47771   grep -v '^ *+' conftest.er1 >conftest.err
47772   rm -f conftest.er1
47773   cat conftest.err >&5
47774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47775   (exit $ac_status); } &&
47776          { ac_try='test -z "$ac_c_werror_flag"
47777                          || test ! -s conftest.err'
47778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47779   (eval $ac_try) 2>&5
47780   ac_status=$?
47781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47782   (exit $ac_status); }; } &&
47783          { ac_try='test -s conftest$ac_exeext'
47784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47785   (eval $ac_try) 2>&5
47786   ac_status=$?
47787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47788   (exit $ac_status); }; }; then
47789   eval "$as_ac_var=yes"
47790 else
47791   echo "$as_me: failed program was:" >&5
47792 sed 's/^/| /' conftest.$ac_ext >&5
47793
47794 eval "$as_ac_var=no"
47795 fi
47796 rm -f conftest.err conftest.$ac_objext \
47797       conftest$ac_exeext conftest.$ac_ext
47798 fi
47799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47801 if test `eval echo '${'$as_ac_var'}'` = yes; then
47802   cat >>confdefs.h <<_ACEOF
47803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47804 _ACEOF
47805
47806 fi
47807 done
47808
47809   else
47810
47811   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
47812 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
47813   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
47814     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
47815   echo $ECHO_N "(cached) $ECHO_C" >&6
47816 else
47817
47818
47819
47820       ac_ext=cc
47821 ac_cpp='$CXXCPP $CPPFLAGS'
47822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47825
47826       cat >conftest.$ac_ext <<_ACEOF
47827 /* confdefs.h.  */
47828 _ACEOF
47829 cat confdefs.h >>conftest.$ac_ext
47830 cat >>conftest.$ac_ext <<_ACEOF
47831 /* end confdefs.h.  */
47832 #include <math.h>
47833 int
47834 main ()
47835 {
47836  _modfl(0, 0);
47837   ;
47838   return 0;
47839 }
47840 _ACEOF
47841 rm -f conftest.$ac_objext
47842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47843   (eval $ac_compile) 2>conftest.er1
47844   ac_status=$?
47845   grep -v '^ *+' conftest.er1 >conftest.err
47846   rm -f conftest.er1
47847   cat conftest.err >&5
47848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47849   (exit $ac_status); } &&
47850          { ac_try='test -z "$ac_cxx_werror_flag"
47851                          || test ! -s conftest.err'
47852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47853   (eval $ac_try) 2>&5
47854   ac_status=$?
47855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47856   (exit $ac_status); }; } &&
47857          { ac_try='test -s conftest.$ac_objext'
47858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47859   (eval $ac_try) 2>&5
47860   ac_status=$?
47861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47862   (exit $ac_status); }; }; then
47863   glibcxx_cv_func__modfl_use=yes
47864 else
47865   echo "$as_me: failed program was:" >&5
47866 sed 's/^/| /' conftest.$ac_ext >&5
47867
47868 glibcxx_cv_func__modfl_use=no
47869 fi
47870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47871       ac_ext=c
47872 ac_cpp='$CPP $CPPFLAGS'
47873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47876
47877
47878 fi
47879
47880   fi
47881   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
47882 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
47883
47884     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
47885
47886 for ac_func in _modfl
47887 do
47888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47889 echo "$as_me:$LINENO: checking for $ac_func" >&5
47890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47891 if eval "test \"\${$as_ac_var+set}\" = set"; then
47892   echo $ECHO_N "(cached) $ECHO_C" >&6
47893 else
47894   if test x$gcc_no_link = xyes; then
47895   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47897    { (exit 1); exit 1; }; }
47898 fi
47899 cat >conftest.$ac_ext <<_ACEOF
47900 /* confdefs.h.  */
47901 _ACEOF
47902 cat confdefs.h >>conftest.$ac_ext
47903 cat >>conftest.$ac_ext <<_ACEOF
47904 /* end confdefs.h.  */
47905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47906    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47907 #define $ac_func innocuous_$ac_func
47908
47909 /* System header to define __stub macros and hopefully few prototypes,
47910     which can conflict with char $ac_func (); below.
47911     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47912     <limits.h> exists even on freestanding compilers.  */
47913
47914 #ifdef __STDC__
47915 # include <limits.h>
47916 #else
47917 # include <assert.h>
47918 #endif
47919
47920 #undef $ac_func
47921
47922 /* Override any gcc2 internal prototype to avoid an error.  */
47923 #ifdef __cplusplus
47924 extern "C"
47925 {
47926 #endif
47927 /* We use char because int might match the return type of a gcc2
47928    builtin and then its argument prototype would still apply.  */
47929 char $ac_func ();
47930 /* The GNU C library defines this for functions which it implements
47931     to always fail with ENOSYS.  Some functions are actually named
47932     something starting with __ and the normal name is an alias.  */
47933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47934 choke me
47935 #else
47936 char (*f) () = $ac_func;
47937 #endif
47938 #ifdef __cplusplus
47939 }
47940 #endif
47941
47942 int
47943 main ()
47944 {
47945 return f != $ac_func;
47946   ;
47947   return 0;
47948 }
47949 _ACEOF
47950 rm -f conftest.$ac_objext conftest$ac_exeext
47951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47952   (eval $ac_link) 2>conftest.er1
47953   ac_status=$?
47954   grep -v '^ *+' conftest.er1 >conftest.err
47955   rm -f conftest.er1
47956   cat conftest.err >&5
47957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47958   (exit $ac_status); } &&
47959          { ac_try='test -z "$ac_c_werror_flag"
47960                          || test ! -s conftest.err'
47961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47962   (eval $ac_try) 2>&5
47963   ac_status=$?
47964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47965   (exit $ac_status); }; } &&
47966          { ac_try='test -s conftest$ac_exeext'
47967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47968   (eval $ac_try) 2>&5
47969   ac_status=$?
47970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47971   (exit $ac_status); }; }; then
47972   eval "$as_ac_var=yes"
47973 else
47974   echo "$as_me: failed program was:" >&5
47975 sed 's/^/| /' conftest.$ac_ext >&5
47976
47977 eval "$as_ac_var=no"
47978 fi
47979 rm -f conftest.err conftest.$ac_objext \
47980       conftest$ac_exeext conftest.$ac_ext
47981 fi
47982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47984 if test `eval echo '${'$as_ac_var'}'` = yes; then
47985   cat >>confdefs.h <<_ACEOF
47986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47987 _ACEOF
47988
47989 fi
47990 done
47991
47992     fi
47993   fi
47994
47995
47996
47997
47998
47999
48000   echo "$as_me:$LINENO: checking for powl declaration" >&5
48001 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
48002   if test x${glibcxx_cv_func_powl_use+set} != xset; then
48003     if test "${glibcxx_cv_func_powl_use+set}" = set; then
48004   echo $ECHO_N "(cached) $ECHO_C" >&6
48005 else
48006
48007
48008
48009       ac_ext=cc
48010 ac_cpp='$CXXCPP $CPPFLAGS'
48011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48014
48015       cat >conftest.$ac_ext <<_ACEOF
48016 /* confdefs.h.  */
48017 _ACEOF
48018 cat confdefs.h >>conftest.$ac_ext
48019 cat >>conftest.$ac_ext <<_ACEOF
48020 /* end confdefs.h.  */
48021 #include <math.h>
48022 int
48023 main ()
48024 {
48025  powl(0, 0);
48026   ;
48027   return 0;
48028 }
48029 _ACEOF
48030 rm -f conftest.$ac_objext
48031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48032   (eval $ac_compile) 2>conftest.er1
48033   ac_status=$?
48034   grep -v '^ *+' conftest.er1 >conftest.err
48035   rm -f conftest.er1
48036   cat conftest.err >&5
48037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48038   (exit $ac_status); } &&
48039          { ac_try='test -z "$ac_cxx_werror_flag"
48040                          || test ! -s conftest.err'
48041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48042   (eval $ac_try) 2>&5
48043   ac_status=$?
48044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48045   (exit $ac_status); }; } &&
48046          { ac_try='test -s conftest.$ac_objext'
48047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48048   (eval $ac_try) 2>&5
48049   ac_status=$?
48050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48051   (exit $ac_status); }; }; then
48052   glibcxx_cv_func_powl_use=yes
48053 else
48054   echo "$as_me: failed program was:" >&5
48055 sed 's/^/| /' conftest.$ac_ext >&5
48056
48057 glibcxx_cv_func_powl_use=no
48058 fi
48059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48060       ac_ext=c
48061 ac_cpp='$CPP $CPPFLAGS'
48062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48065
48066
48067 fi
48068
48069   fi
48070   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
48071 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
48072
48073   if test x$glibcxx_cv_func_powl_use = x"yes"; then
48074
48075 for ac_func in powl
48076 do
48077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48078 echo "$as_me:$LINENO: checking for $ac_func" >&5
48079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48080 if eval "test \"\${$as_ac_var+set}\" = set"; then
48081   echo $ECHO_N "(cached) $ECHO_C" >&6
48082 else
48083   if test x$gcc_no_link = xyes; then
48084   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48086    { (exit 1); exit 1; }; }
48087 fi
48088 cat >conftest.$ac_ext <<_ACEOF
48089 /* confdefs.h.  */
48090 _ACEOF
48091 cat confdefs.h >>conftest.$ac_ext
48092 cat >>conftest.$ac_ext <<_ACEOF
48093 /* end confdefs.h.  */
48094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48095    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48096 #define $ac_func innocuous_$ac_func
48097
48098 /* System header to define __stub macros and hopefully few prototypes,
48099     which can conflict with char $ac_func (); below.
48100     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48101     <limits.h> exists even on freestanding compilers.  */
48102
48103 #ifdef __STDC__
48104 # include <limits.h>
48105 #else
48106 # include <assert.h>
48107 #endif
48108
48109 #undef $ac_func
48110
48111 /* Override any gcc2 internal prototype to avoid an error.  */
48112 #ifdef __cplusplus
48113 extern "C"
48114 {
48115 #endif
48116 /* We use char because int might match the return type of a gcc2
48117    builtin and then its argument prototype would still apply.  */
48118 char $ac_func ();
48119 /* The GNU C library defines this for functions which it implements
48120     to always fail with ENOSYS.  Some functions are actually named
48121     something starting with __ and the normal name is an alias.  */
48122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48123 choke me
48124 #else
48125 char (*f) () = $ac_func;
48126 #endif
48127 #ifdef __cplusplus
48128 }
48129 #endif
48130
48131 int
48132 main ()
48133 {
48134 return f != $ac_func;
48135   ;
48136   return 0;
48137 }
48138 _ACEOF
48139 rm -f conftest.$ac_objext conftest$ac_exeext
48140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48141   (eval $ac_link) 2>conftest.er1
48142   ac_status=$?
48143   grep -v '^ *+' conftest.er1 >conftest.err
48144   rm -f conftest.er1
48145   cat conftest.err >&5
48146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48147   (exit $ac_status); } &&
48148          { ac_try='test -z "$ac_c_werror_flag"
48149                          || test ! -s conftest.err'
48150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48151   (eval $ac_try) 2>&5
48152   ac_status=$?
48153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48154   (exit $ac_status); }; } &&
48155          { ac_try='test -s conftest$ac_exeext'
48156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48157   (eval $ac_try) 2>&5
48158   ac_status=$?
48159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48160   (exit $ac_status); }; }; then
48161   eval "$as_ac_var=yes"
48162 else
48163   echo "$as_me: failed program was:" >&5
48164 sed 's/^/| /' conftest.$ac_ext >&5
48165
48166 eval "$as_ac_var=no"
48167 fi
48168 rm -f conftest.err conftest.$ac_objext \
48169       conftest$ac_exeext conftest.$ac_ext
48170 fi
48171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48172 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48173 if test `eval echo '${'$as_ac_var'}'` = yes; then
48174   cat >>confdefs.h <<_ACEOF
48175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48176 _ACEOF
48177
48178 fi
48179 done
48180
48181   else
48182
48183   echo "$as_me:$LINENO: checking for _powl declaration" >&5
48184 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
48185   if test x${glibcxx_cv_func__powl_use+set} != xset; then
48186     if test "${glibcxx_cv_func__powl_use+set}" = set; then
48187   echo $ECHO_N "(cached) $ECHO_C" >&6
48188 else
48189
48190
48191
48192       ac_ext=cc
48193 ac_cpp='$CXXCPP $CPPFLAGS'
48194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48197
48198       cat >conftest.$ac_ext <<_ACEOF
48199 /* confdefs.h.  */
48200 _ACEOF
48201 cat confdefs.h >>conftest.$ac_ext
48202 cat >>conftest.$ac_ext <<_ACEOF
48203 /* end confdefs.h.  */
48204 #include <math.h>
48205 int
48206 main ()
48207 {
48208  _powl(0, 0);
48209   ;
48210   return 0;
48211 }
48212 _ACEOF
48213 rm -f conftest.$ac_objext
48214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48215   (eval $ac_compile) 2>conftest.er1
48216   ac_status=$?
48217   grep -v '^ *+' conftest.er1 >conftest.err
48218   rm -f conftest.er1
48219   cat conftest.err >&5
48220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48221   (exit $ac_status); } &&
48222          { ac_try='test -z "$ac_cxx_werror_flag"
48223                          || test ! -s conftest.err'
48224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48225   (eval $ac_try) 2>&5
48226   ac_status=$?
48227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48228   (exit $ac_status); }; } &&
48229          { ac_try='test -s conftest.$ac_objext'
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); }; }; then
48235   glibcxx_cv_func__powl_use=yes
48236 else
48237   echo "$as_me: failed program was:" >&5
48238 sed 's/^/| /' conftest.$ac_ext >&5
48239
48240 glibcxx_cv_func__powl_use=no
48241 fi
48242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48243       ac_ext=c
48244 ac_cpp='$CPP $CPPFLAGS'
48245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48248
48249
48250 fi
48251
48252   fi
48253   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
48254 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
48255
48256     if test x$glibcxx_cv_func__powl_use = x"yes"; then
48257
48258 for ac_func in _powl
48259 do
48260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48261 echo "$as_me:$LINENO: checking for $ac_func" >&5
48262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48263 if eval "test \"\${$as_ac_var+set}\" = set"; then
48264   echo $ECHO_N "(cached) $ECHO_C" >&6
48265 else
48266   if test x$gcc_no_link = xyes; then
48267   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48269    { (exit 1); exit 1; }; }
48270 fi
48271 cat >conftest.$ac_ext <<_ACEOF
48272 /* confdefs.h.  */
48273 _ACEOF
48274 cat confdefs.h >>conftest.$ac_ext
48275 cat >>conftest.$ac_ext <<_ACEOF
48276 /* end confdefs.h.  */
48277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48278    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48279 #define $ac_func innocuous_$ac_func
48280
48281 /* System header to define __stub macros and hopefully few prototypes,
48282     which can conflict with char $ac_func (); below.
48283     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48284     <limits.h> exists even on freestanding compilers.  */
48285
48286 #ifdef __STDC__
48287 # include <limits.h>
48288 #else
48289 # include <assert.h>
48290 #endif
48291
48292 #undef $ac_func
48293
48294 /* Override any gcc2 internal prototype to avoid an error.  */
48295 #ifdef __cplusplus
48296 extern "C"
48297 {
48298 #endif
48299 /* We use char because int might match the return type of a gcc2
48300    builtin and then its argument prototype would still apply.  */
48301 char $ac_func ();
48302 /* The GNU C library defines this for functions which it implements
48303     to always fail with ENOSYS.  Some functions are actually named
48304     something starting with __ and the normal name is an alias.  */
48305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48306 choke me
48307 #else
48308 char (*f) () = $ac_func;
48309 #endif
48310 #ifdef __cplusplus
48311 }
48312 #endif
48313
48314 int
48315 main ()
48316 {
48317 return f != $ac_func;
48318   ;
48319   return 0;
48320 }
48321 _ACEOF
48322 rm -f conftest.$ac_objext conftest$ac_exeext
48323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48324   (eval $ac_link) 2>conftest.er1
48325   ac_status=$?
48326   grep -v '^ *+' conftest.er1 >conftest.err
48327   rm -f conftest.er1
48328   cat conftest.err >&5
48329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48330   (exit $ac_status); } &&
48331          { ac_try='test -z "$ac_c_werror_flag"
48332                          || test ! -s conftest.err'
48333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48334   (eval $ac_try) 2>&5
48335   ac_status=$?
48336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48337   (exit $ac_status); }; } &&
48338          { ac_try='test -s conftest$ac_exeext'
48339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48340   (eval $ac_try) 2>&5
48341   ac_status=$?
48342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48343   (exit $ac_status); }; }; then
48344   eval "$as_ac_var=yes"
48345 else
48346   echo "$as_me: failed program was:" >&5
48347 sed 's/^/| /' conftest.$ac_ext >&5
48348
48349 eval "$as_ac_var=no"
48350 fi
48351 rm -f conftest.err conftest.$ac_objext \
48352       conftest$ac_exeext conftest.$ac_ext
48353 fi
48354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48356 if test `eval echo '${'$as_ac_var'}'` = yes; then
48357   cat >>confdefs.h <<_ACEOF
48358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48359 _ACEOF
48360
48361 fi
48362 done
48363
48364     fi
48365   fi
48366
48367
48368
48369
48370
48371
48372   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
48373 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
48374   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
48375     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
48376   echo $ECHO_N "(cached) $ECHO_C" >&6
48377 else
48378
48379
48380
48381       ac_ext=cc
48382 ac_cpp='$CXXCPP $CPPFLAGS'
48383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48386
48387       cat >conftest.$ac_ext <<_ACEOF
48388 /* confdefs.h.  */
48389 _ACEOF
48390 cat confdefs.h >>conftest.$ac_ext
48391 cat >>conftest.$ac_ext <<_ACEOF
48392 /* end confdefs.h.  */
48393 #include <math.h>
48394                       #ifdef HAVE_IEEEFP_H
48395                       #include <ieeefp.h>
48396                       #endif
48397
48398 int
48399 main ()
48400 {
48401  sqrtl(0);
48402   ;
48403   return 0;
48404 }
48405 _ACEOF
48406 rm -f conftest.$ac_objext
48407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48408   (eval $ac_compile) 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_cxx_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_objext'
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   glibcxx_cv_func_sqrtl_use=yes
48429 else
48430   echo "$as_me: failed program was:" >&5
48431 sed 's/^/| /' conftest.$ac_ext >&5
48432
48433 glibcxx_cv_func_sqrtl_use=no
48434 fi
48435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48436       ac_ext=c
48437 ac_cpp='$CPP $CPPFLAGS'
48438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48441
48442
48443 fi
48444
48445   fi
48446   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
48447 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
48448
48449   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
48450
48451 for ac_func in sqrtl
48452 do
48453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48454 echo "$as_me:$LINENO: checking for $ac_func" >&5
48455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48456 if eval "test \"\${$as_ac_var+set}\" = set"; then
48457   echo $ECHO_N "(cached) $ECHO_C" >&6
48458 else
48459   if test x$gcc_no_link = xyes; then
48460   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48462    { (exit 1); exit 1; }; }
48463 fi
48464 cat >conftest.$ac_ext <<_ACEOF
48465 /* confdefs.h.  */
48466 _ACEOF
48467 cat confdefs.h >>conftest.$ac_ext
48468 cat >>conftest.$ac_ext <<_ACEOF
48469 /* end confdefs.h.  */
48470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48471    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48472 #define $ac_func innocuous_$ac_func
48473
48474 /* System header to define __stub macros and hopefully few prototypes,
48475     which can conflict with char $ac_func (); below.
48476     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48477     <limits.h> exists even on freestanding compilers.  */
48478
48479 #ifdef __STDC__
48480 # include <limits.h>
48481 #else
48482 # include <assert.h>
48483 #endif
48484
48485 #undef $ac_func
48486
48487 /* Override any gcc2 internal prototype to avoid an error.  */
48488 #ifdef __cplusplus
48489 extern "C"
48490 {
48491 #endif
48492 /* We use char because int might match the return type of a gcc2
48493    builtin and then its argument prototype would still apply.  */
48494 char $ac_func ();
48495 /* The GNU C library defines this for functions which it implements
48496     to always fail with ENOSYS.  Some functions are actually named
48497     something starting with __ and the normal name is an alias.  */
48498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48499 choke me
48500 #else
48501 char (*f) () = $ac_func;
48502 #endif
48503 #ifdef __cplusplus
48504 }
48505 #endif
48506
48507 int
48508 main ()
48509 {
48510 return f != $ac_func;
48511   ;
48512   return 0;
48513 }
48514 _ACEOF
48515 rm -f conftest.$ac_objext conftest$ac_exeext
48516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48517   (eval $ac_link) 2>conftest.er1
48518   ac_status=$?
48519   grep -v '^ *+' conftest.er1 >conftest.err
48520   rm -f conftest.er1
48521   cat conftest.err >&5
48522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48523   (exit $ac_status); } &&
48524          { ac_try='test -z "$ac_c_werror_flag"
48525                          || test ! -s conftest.err'
48526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48527   (eval $ac_try) 2>&5
48528   ac_status=$?
48529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48530   (exit $ac_status); }; } &&
48531          { ac_try='test -s conftest$ac_exeext'
48532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48533   (eval $ac_try) 2>&5
48534   ac_status=$?
48535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48536   (exit $ac_status); }; }; then
48537   eval "$as_ac_var=yes"
48538 else
48539   echo "$as_me: failed program was:" >&5
48540 sed 's/^/| /' conftest.$ac_ext >&5
48541
48542 eval "$as_ac_var=no"
48543 fi
48544 rm -f conftest.err conftest.$ac_objext \
48545       conftest$ac_exeext conftest.$ac_ext
48546 fi
48547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48549 if test `eval echo '${'$as_ac_var'}'` = yes; then
48550   cat >>confdefs.h <<_ACEOF
48551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48552 _ACEOF
48553
48554 fi
48555 done
48556
48557   else
48558
48559   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
48560 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
48561   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
48562     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
48563   echo $ECHO_N "(cached) $ECHO_C" >&6
48564 else
48565
48566
48567
48568       ac_ext=cc
48569 ac_cpp='$CXXCPP $CPPFLAGS'
48570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48573
48574       cat >conftest.$ac_ext <<_ACEOF
48575 /* confdefs.h.  */
48576 _ACEOF
48577 cat confdefs.h >>conftest.$ac_ext
48578 cat >>conftest.$ac_ext <<_ACEOF
48579 /* end confdefs.h.  */
48580 #include <math.h>
48581                       #ifdef HAVE_IEEEFP_H
48582                       #include <ieeefp.h>
48583                       #endif
48584
48585 int
48586 main ()
48587 {
48588  _sqrtl(0);
48589   ;
48590   return 0;
48591 }
48592 _ACEOF
48593 rm -f conftest.$ac_objext
48594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48595   (eval $ac_compile) 2>conftest.er1
48596   ac_status=$?
48597   grep -v '^ *+' conftest.er1 >conftest.err
48598   rm -f conftest.er1
48599   cat conftest.err >&5
48600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48601   (exit $ac_status); } &&
48602          { ac_try='test -z "$ac_cxx_werror_flag"
48603                          || test ! -s conftest.err'
48604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48605   (eval $ac_try) 2>&5
48606   ac_status=$?
48607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48608   (exit $ac_status); }; } &&
48609          { ac_try='test -s conftest.$ac_objext'
48610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48611   (eval $ac_try) 2>&5
48612   ac_status=$?
48613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48614   (exit $ac_status); }; }; then
48615   glibcxx_cv_func__sqrtl_use=yes
48616 else
48617   echo "$as_me: failed program was:" >&5
48618 sed 's/^/| /' conftest.$ac_ext >&5
48619
48620 glibcxx_cv_func__sqrtl_use=no
48621 fi
48622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48623       ac_ext=c
48624 ac_cpp='$CPP $CPPFLAGS'
48625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48628
48629
48630 fi
48631
48632   fi
48633   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
48634 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
48635
48636     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
48637
48638 for ac_func in _sqrtl
48639 do
48640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48641 echo "$as_me:$LINENO: checking for $ac_func" >&5
48642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48643 if eval "test \"\${$as_ac_var+set}\" = set"; then
48644   echo $ECHO_N "(cached) $ECHO_C" >&6
48645 else
48646   if test x$gcc_no_link = xyes; then
48647   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48649    { (exit 1); exit 1; }; }
48650 fi
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48658    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48659 #define $ac_func innocuous_$ac_func
48660
48661 /* System header to define __stub macros and hopefully few prototypes,
48662     which can conflict with char $ac_func (); below.
48663     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48664     <limits.h> exists even on freestanding compilers.  */
48665
48666 #ifdef __STDC__
48667 # include <limits.h>
48668 #else
48669 # include <assert.h>
48670 #endif
48671
48672 #undef $ac_func
48673
48674 /* Override any gcc2 internal prototype to avoid an error.  */
48675 #ifdef __cplusplus
48676 extern "C"
48677 {
48678 #endif
48679 /* We use char because int might match the return type of a gcc2
48680    builtin and then its argument prototype would still apply.  */
48681 char $ac_func ();
48682 /* The GNU C library defines this for functions which it implements
48683     to always fail with ENOSYS.  Some functions are actually named
48684     something starting with __ and the normal name is an alias.  */
48685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48686 choke me
48687 #else
48688 char (*f) () = $ac_func;
48689 #endif
48690 #ifdef __cplusplus
48691 }
48692 #endif
48693
48694 int
48695 main ()
48696 {
48697 return f != $ac_func;
48698   ;
48699   return 0;
48700 }
48701 _ACEOF
48702 rm -f conftest.$ac_objext conftest$ac_exeext
48703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48704   (eval $ac_link) 2>conftest.er1
48705   ac_status=$?
48706   grep -v '^ *+' conftest.er1 >conftest.err
48707   rm -f conftest.er1
48708   cat conftest.err >&5
48709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48710   (exit $ac_status); } &&
48711          { ac_try='test -z "$ac_c_werror_flag"
48712                          || test ! -s conftest.err'
48713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48714   (eval $ac_try) 2>&5
48715   ac_status=$?
48716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48717   (exit $ac_status); }; } &&
48718          { ac_try='test -s conftest$ac_exeext'
48719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48720   (eval $ac_try) 2>&5
48721   ac_status=$?
48722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48723   (exit $ac_status); }; }; then
48724   eval "$as_ac_var=yes"
48725 else
48726   echo "$as_me: failed program was:" >&5
48727 sed 's/^/| /' conftest.$ac_ext >&5
48728
48729 eval "$as_ac_var=no"
48730 fi
48731 rm -f conftest.err conftest.$ac_objext \
48732       conftest$ac_exeext conftest.$ac_ext
48733 fi
48734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48735 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48736 if test `eval echo '${'$as_ac_var'}'` = yes; then
48737   cat >>confdefs.h <<_ACEOF
48738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48739 _ACEOF
48740
48741 fi
48742 done
48743
48744     fi
48745   fi
48746
48747
48748
48749
48750
48751
48752   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
48753 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
48754   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
48755     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
48756   echo $ECHO_N "(cached) $ECHO_C" >&6
48757 else
48758
48759
48760
48761       ac_ext=cc
48762 ac_cpp='$CXXCPP $CPPFLAGS'
48763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48766
48767       cat >conftest.$ac_ext <<_ACEOF
48768 /* confdefs.h.  */
48769 _ACEOF
48770 cat confdefs.h >>conftest.$ac_ext
48771 cat >>conftest.$ac_ext <<_ACEOF
48772 /* end confdefs.h.  */
48773 #include <math.h>
48774 int
48775 main ()
48776 {
48777  sincosl(0, 0, 0);
48778   ;
48779   return 0;
48780 }
48781 _ACEOF
48782 rm -f conftest.$ac_objext
48783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48784   (eval $ac_compile) 2>conftest.er1
48785   ac_status=$?
48786   grep -v '^ *+' conftest.er1 >conftest.err
48787   rm -f conftest.er1
48788   cat conftest.err >&5
48789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48790   (exit $ac_status); } &&
48791          { ac_try='test -z "$ac_cxx_werror_flag"
48792                          || test ! -s conftest.err'
48793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48794   (eval $ac_try) 2>&5
48795   ac_status=$?
48796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48797   (exit $ac_status); }; } &&
48798          { ac_try='test -s conftest.$ac_objext'
48799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48800   (eval $ac_try) 2>&5
48801   ac_status=$?
48802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48803   (exit $ac_status); }; }; then
48804   glibcxx_cv_func_sincosl_use=yes
48805 else
48806   echo "$as_me: failed program was:" >&5
48807 sed 's/^/| /' conftest.$ac_ext >&5
48808
48809 glibcxx_cv_func_sincosl_use=no
48810 fi
48811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48812       ac_ext=c
48813 ac_cpp='$CPP $CPPFLAGS'
48814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48817
48818
48819 fi
48820
48821   fi
48822   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
48823 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
48824
48825   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
48826
48827 for ac_func in sincosl
48828 do
48829 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48830 echo "$as_me:$LINENO: checking for $ac_func" >&5
48831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48832 if eval "test \"\${$as_ac_var+set}\" = set"; then
48833   echo $ECHO_N "(cached) $ECHO_C" >&6
48834 else
48835   if test x$gcc_no_link = xyes; then
48836   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48838    { (exit 1); exit 1; }; }
48839 fi
48840 cat >conftest.$ac_ext <<_ACEOF
48841 /* confdefs.h.  */
48842 _ACEOF
48843 cat confdefs.h >>conftest.$ac_ext
48844 cat >>conftest.$ac_ext <<_ACEOF
48845 /* end confdefs.h.  */
48846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48847    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48848 #define $ac_func innocuous_$ac_func
48849
48850 /* System header to define __stub macros and hopefully few prototypes,
48851     which can conflict with char $ac_func (); below.
48852     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48853     <limits.h> exists even on freestanding compilers.  */
48854
48855 #ifdef __STDC__
48856 # include <limits.h>
48857 #else
48858 # include <assert.h>
48859 #endif
48860
48861 #undef $ac_func
48862
48863 /* Override any gcc2 internal prototype to avoid an error.  */
48864 #ifdef __cplusplus
48865 extern "C"
48866 {
48867 #endif
48868 /* We use char because int might match the return type of a gcc2
48869    builtin and then its argument prototype would still apply.  */
48870 char $ac_func ();
48871 /* The GNU C library defines this for functions which it implements
48872     to always fail with ENOSYS.  Some functions are actually named
48873     something starting with __ and the normal name is an alias.  */
48874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48875 choke me
48876 #else
48877 char (*f) () = $ac_func;
48878 #endif
48879 #ifdef __cplusplus
48880 }
48881 #endif
48882
48883 int
48884 main ()
48885 {
48886 return f != $ac_func;
48887   ;
48888   return 0;
48889 }
48890 _ACEOF
48891 rm -f conftest.$ac_objext conftest$ac_exeext
48892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48893   (eval $ac_link) 2>conftest.er1
48894   ac_status=$?
48895   grep -v '^ *+' conftest.er1 >conftest.err
48896   rm -f conftest.er1
48897   cat conftest.err >&5
48898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48899   (exit $ac_status); } &&
48900          { ac_try='test -z "$ac_c_werror_flag"
48901                          || test ! -s conftest.err'
48902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48903   (eval $ac_try) 2>&5
48904   ac_status=$?
48905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48906   (exit $ac_status); }; } &&
48907          { ac_try='test -s conftest$ac_exeext'
48908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48909   (eval $ac_try) 2>&5
48910   ac_status=$?
48911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48912   (exit $ac_status); }; }; then
48913   eval "$as_ac_var=yes"
48914 else
48915   echo "$as_me: failed program was:" >&5
48916 sed 's/^/| /' conftest.$ac_ext >&5
48917
48918 eval "$as_ac_var=no"
48919 fi
48920 rm -f conftest.err conftest.$ac_objext \
48921       conftest$ac_exeext conftest.$ac_ext
48922 fi
48923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48924 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48925 if test `eval echo '${'$as_ac_var'}'` = yes; then
48926   cat >>confdefs.h <<_ACEOF
48927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48928 _ACEOF
48929
48930 fi
48931 done
48932
48933   else
48934
48935   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
48936 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
48937   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
48938     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
48939   echo $ECHO_N "(cached) $ECHO_C" >&6
48940 else
48941
48942
48943
48944       ac_ext=cc
48945 ac_cpp='$CXXCPP $CPPFLAGS'
48946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48949
48950       cat >conftest.$ac_ext <<_ACEOF
48951 /* confdefs.h.  */
48952 _ACEOF
48953 cat confdefs.h >>conftest.$ac_ext
48954 cat >>conftest.$ac_ext <<_ACEOF
48955 /* end confdefs.h.  */
48956 #include <math.h>
48957 int
48958 main ()
48959 {
48960  _sincosl(0, 0, 0);
48961   ;
48962   return 0;
48963 }
48964 _ACEOF
48965 rm -f conftest.$ac_objext
48966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48967   (eval $ac_compile) 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_cxx_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_objext'
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   glibcxx_cv_func__sincosl_use=yes
48988 else
48989   echo "$as_me: failed program was:" >&5
48990 sed 's/^/| /' conftest.$ac_ext >&5
48991
48992 glibcxx_cv_func__sincosl_use=no
48993 fi
48994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48995       ac_ext=c
48996 ac_cpp='$CPP $CPPFLAGS'
48997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49000
49001
49002 fi
49003
49004   fi
49005   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
49006 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
49007
49008     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
49009
49010 for ac_func in _sincosl
49011 do
49012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49013 echo "$as_me:$LINENO: checking for $ac_func" >&5
49014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49015 if eval "test \"\${$as_ac_var+set}\" = set"; then
49016   echo $ECHO_N "(cached) $ECHO_C" >&6
49017 else
49018   if test x$gcc_no_link = xyes; then
49019   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49021    { (exit 1); exit 1; }; }
49022 fi
49023 cat >conftest.$ac_ext <<_ACEOF
49024 /* confdefs.h.  */
49025 _ACEOF
49026 cat confdefs.h >>conftest.$ac_ext
49027 cat >>conftest.$ac_ext <<_ACEOF
49028 /* end confdefs.h.  */
49029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49030    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49031 #define $ac_func innocuous_$ac_func
49032
49033 /* System header to define __stub macros and hopefully few prototypes,
49034     which can conflict with char $ac_func (); below.
49035     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49036     <limits.h> exists even on freestanding compilers.  */
49037
49038 #ifdef __STDC__
49039 # include <limits.h>
49040 #else
49041 # include <assert.h>
49042 #endif
49043
49044 #undef $ac_func
49045
49046 /* Override any gcc2 internal prototype to avoid an error.  */
49047 #ifdef __cplusplus
49048 extern "C"
49049 {
49050 #endif
49051 /* We use char because int might match the return type of a gcc2
49052    builtin and then its argument prototype would still apply.  */
49053 char $ac_func ();
49054 /* The GNU C library defines this for functions which it implements
49055     to always fail with ENOSYS.  Some functions are actually named
49056     something starting with __ and the normal name is an alias.  */
49057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49058 choke me
49059 #else
49060 char (*f) () = $ac_func;
49061 #endif
49062 #ifdef __cplusplus
49063 }
49064 #endif
49065
49066 int
49067 main ()
49068 {
49069 return f != $ac_func;
49070   ;
49071   return 0;
49072 }
49073 _ACEOF
49074 rm -f conftest.$ac_objext conftest$ac_exeext
49075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49076   (eval $ac_link) 2>conftest.er1
49077   ac_status=$?
49078   grep -v '^ *+' conftest.er1 >conftest.err
49079   rm -f conftest.er1
49080   cat conftest.err >&5
49081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49082   (exit $ac_status); } &&
49083          { ac_try='test -z "$ac_c_werror_flag"
49084                          || test ! -s conftest.err'
49085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49086   (eval $ac_try) 2>&5
49087   ac_status=$?
49088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49089   (exit $ac_status); }; } &&
49090          { ac_try='test -s conftest$ac_exeext'
49091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49092   (eval $ac_try) 2>&5
49093   ac_status=$?
49094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49095   (exit $ac_status); }; }; then
49096   eval "$as_ac_var=yes"
49097 else
49098   echo "$as_me: failed program was:" >&5
49099 sed 's/^/| /' conftest.$ac_ext >&5
49100
49101 eval "$as_ac_var=no"
49102 fi
49103 rm -f conftest.err conftest.$ac_objext \
49104       conftest$ac_exeext conftest.$ac_ext
49105 fi
49106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49108 if test `eval echo '${'$as_ac_var'}'` = yes; then
49109   cat >>confdefs.h <<_ACEOF
49110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49111 _ACEOF
49112
49113 fi
49114 done
49115
49116     fi
49117   fi
49118
49119
49120
49121
49122
49123
49124   echo "$as_me:$LINENO: checking for finitel declaration" >&5
49125 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
49126   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
49127     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
49128   echo $ECHO_N "(cached) $ECHO_C" >&6
49129 else
49130
49131
49132
49133       ac_ext=cc
49134 ac_cpp='$CXXCPP $CPPFLAGS'
49135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49138
49139       cat >conftest.$ac_ext <<_ACEOF
49140 /* confdefs.h.  */
49141 _ACEOF
49142 cat confdefs.h >>conftest.$ac_ext
49143 cat >>conftest.$ac_ext <<_ACEOF
49144 /* end confdefs.h.  */
49145 #include <math.h>
49146                       #ifdef HAVE_IEEEFP_H
49147                       #include <ieeefp.h>
49148                       #endif
49149
49150 int
49151 main ()
49152 {
49153  finitel(0);
49154   ;
49155   return 0;
49156 }
49157 _ACEOF
49158 rm -f conftest.$ac_objext
49159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49160   (eval $ac_compile) 2>conftest.er1
49161   ac_status=$?
49162   grep -v '^ *+' conftest.er1 >conftest.err
49163   rm -f conftest.er1
49164   cat conftest.err >&5
49165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49166   (exit $ac_status); } &&
49167          { ac_try='test -z "$ac_cxx_werror_flag"
49168                          || test ! -s conftest.err'
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); }; } &&
49174          { ac_try='test -s conftest.$ac_objext'
49175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49176   (eval $ac_try) 2>&5
49177   ac_status=$?
49178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49179   (exit $ac_status); }; }; then
49180   glibcxx_cv_func_finitel_use=yes
49181 else
49182   echo "$as_me: failed program was:" >&5
49183 sed 's/^/| /' conftest.$ac_ext >&5
49184
49185 glibcxx_cv_func_finitel_use=no
49186 fi
49187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49188       ac_ext=c
49189 ac_cpp='$CPP $CPPFLAGS'
49190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49193
49194
49195 fi
49196
49197   fi
49198   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
49199 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
49200
49201   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
49202
49203 for ac_func in finitel
49204 do
49205 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49206 echo "$as_me:$LINENO: checking for $ac_func" >&5
49207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49208 if eval "test \"\${$as_ac_var+set}\" = set"; then
49209   echo $ECHO_N "(cached) $ECHO_C" >&6
49210 else
49211   if test x$gcc_no_link = xyes; then
49212   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49214    { (exit 1); exit 1; }; }
49215 fi
49216 cat >conftest.$ac_ext <<_ACEOF
49217 /* confdefs.h.  */
49218 _ACEOF
49219 cat confdefs.h >>conftest.$ac_ext
49220 cat >>conftest.$ac_ext <<_ACEOF
49221 /* end confdefs.h.  */
49222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49223    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49224 #define $ac_func innocuous_$ac_func
49225
49226 /* System header to define __stub macros and hopefully few prototypes,
49227     which can conflict with char $ac_func (); below.
49228     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49229     <limits.h> exists even on freestanding compilers.  */
49230
49231 #ifdef __STDC__
49232 # include <limits.h>
49233 #else
49234 # include <assert.h>
49235 #endif
49236
49237 #undef $ac_func
49238
49239 /* Override any gcc2 internal prototype to avoid an error.  */
49240 #ifdef __cplusplus
49241 extern "C"
49242 {
49243 #endif
49244 /* We use char because int might match the return type of a gcc2
49245    builtin and then its argument prototype would still apply.  */
49246 char $ac_func ();
49247 /* The GNU C library defines this for functions which it implements
49248     to always fail with ENOSYS.  Some functions are actually named
49249     something starting with __ and the normal name is an alias.  */
49250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49251 choke me
49252 #else
49253 char (*f) () = $ac_func;
49254 #endif
49255 #ifdef __cplusplus
49256 }
49257 #endif
49258
49259 int
49260 main ()
49261 {
49262 return f != $ac_func;
49263   ;
49264   return 0;
49265 }
49266 _ACEOF
49267 rm -f conftest.$ac_objext conftest$ac_exeext
49268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49269   (eval $ac_link) 2>conftest.er1
49270   ac_status=$?
49271   grep -v '^ *+' conftest.er1 >conftest.err
49272   rm -f conftest.er1
49273   cat conftest.err >&5
49274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49275   (exit $ac_status); } &&
49276          { ac_try='test -z "$ac_c_werror_flag"
49277                          || test ! -s conftest.err'
49278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49279   (eval $ac_try) 2>&5
49280   ac_status=$?
49281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49282   (exit $ac_status); }; } &&
49283          { ac_try='test -s conftest$ac_exeext'
49284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49285   (eval $ac_try) 2>&5
49286   ac_status=$?
49287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49288   (exit $ac_status); }; }; then
49289   eval "$as_ac_var=yes"
49290 else
49291   echo "$as_me: failed program was:" >&5
49292 sed 's/^/| /' conftest.$ac_ext >&5
49293
49294 eval "$as_ac_var=no"
49295 fi
49296 rm -f conftest.err conftest.$ac_objext \
49297       conftest$ac_exeext conftest.$ac_ext
49298 fi
49299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49301 if test `eval echo '${'$as_ac_var'}'` = yes; then
49302   cat >>confdefs.h <<_ACEOF
49303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49304 _ACEOF
49305
49306 fi
49307 done
49308
49309   else
49310
49311   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
49312 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
49313   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
49314     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
49315   echo $ECHO_N "(cached) $ECHO_C" >&6
49316 else
49317
49318
49319
49320       ac_ext=cc
49321 ac_cpp='$CXXCPP $CPPFLAGS'
49322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49325
49326       cat >conftest.$ac_ext <<_ACEOF
49327 /* confdefs.h.  */
49328 _ACEOF
49329 cat confdefs.h >>conftest.$ac_ext
49330 cat >>conftest.$ac_ext <<_ACEOF
49331 /* end confdefs.h.  */
49332 #include <math.h>
49333                       #ifdef HAVE_IEEEFP_H
49334                       #include <ieeefp.h>
49335                       #endif
49336
49337 int
49338 main ()
49339 {
49340  _finitel(0);
49341   ;
49342   return 0;
49343 }
49344 _ACEOF
49345 rm -f conftest.$ac_objext
49346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49347   (eval $ac_compile) 2>conftest.er1
49348   ac_status=$?
49349   grep -v '^ *+' conftest.er1 >conftest.err
49350   rm -f conftest.er1
49351   cat conftest.err >&5
49352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49353   (exit $ac_status); } &&
49354          { ac_try='test -z "$ac_cxx_werror_flag"
49355                          || test ! -s conftest.err'
49356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49357   (eval $ac_try) 2>&5
49358   ac_status=$?
49359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49360   (exit $ac_status); }; } &&
49361          { ac_try='test -s conftest.$ac_objext'
49362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49363   (eval $ac_try) 2>&5
49364   ac_status=$?
49365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49366   (exit $ac_status); }; }; then
49367   glibcxx_cv_func__finitel_use=yes
49368 else
49369   echo "$as_me: failed program was:" >&5
49370 sed 's/^/| /' conftest.$ac_ext >&5
49371
49372 glibcxx_cv_func__finitel_use=no
49373 fi
49374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49375       ac_ext=c
49376 ac_cpp='$CPP $CPPFLAGS'
49377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49380
49381
49382 fi
49383
49384   fi
49385   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
49386 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
49387
49388     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
49389
49390 for ac_func in _finitel
49391 do
49392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49393 echo "$as_me:$LINENO: checking for $ac_func" >&5
49394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49395 if eval "test \"\${$as_ac_var+set}\" = set"; then
49396   echo $ECHO_N "(cached) $ECHO_C" >&6
49397 else
49398   if test x$gcc_no_link = xyes; then
49399   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49401    { (exit 1); exit 1; }; }
49402 fi
49403 cat >conftest.$ac_ext <<_ACEOF
49404 /* confdefs.h.  */
49405 _ACEOF
49406 cat confdefs.h >>conftest.$ac_ext
49407 cat >>conftest.$ac_ext <<_ACEOF
49408 /* end confdefs.h.  */
49409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49410    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49411 #define $ac_func innocuous_$ac_func
49412
49413 /* System header to define __stub macros and hopefully few prototypes,
49414     which can conflict with char $ac_func (); below.
49415     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49416     <limits.h> exists even on freestanding compilers.  */
49417
49418 #ifdef __STDC__
49419 # include <limits.h>
49420 #else
49421 # include <assert.h>
49422 #endif
49423
49424 #undef $ac_func
49425
49426 /* Override any gcc2 internal prototype to avoid an error.  */
49427 #ifdef __cplusplus
49428 extern "C"
49429 {
49430 #endif
49431 /* We use char because int might match the return type of a gcc2
49432    builtin and then its argument prototype would still apply.  */
49433 char $ac_func ();
49434 /* The GNU C library defines this for functions which it implements
49435     to always fail with ENOSYS.  Some functions are actually named
49436     something starting with __ and the normal name is an alias.  */
49437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49438 choke me
49439 #else
49440 char (*f) () = $ac_func;
49441 #endif
49442 #ifdef __cplusplus
49443 }
49444 #endif
49445
49446 int
49447 main ()
49448 {
49449 return f != $ac_func;
49450   ;
49451   return 0;
49452 }
49453 _ACEOF
49454 rm -f conftest.$ac_objext conftest$ac_exeext
49455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49456   (eval $ac_link) 2>conftest.er1
49457   ac_status=$?
49458   grep -v '^ *+' conftest.er1 >conftest.err
49459   rm -f conftest.er1
49460   cat conftest.err >&5
49461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49462   (exit $ac_status); } &&
49463          { ac_try='test -z "$ac_c_werror_flag"
49464                          || test ! -s conftest.err'
49465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49466   (eval $ac_try) 2>&5
49467   ac_status=$?
49468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49469   (exit $ac_status); }; } &&
49470          { ac_try='test -s conftest$ac_exeext'
49471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49472   (eval $ac_try) 2>&5
49473   ac_status=$?
49474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49475   (exit $ac_status); }; }; then
49476   eval "$as_ac_var=yes"
49477 else
49478   echo "$as_me: failed program was:" >&5
49479 sed 's/^/| /' conftest.$ac_ext >&5
49480
49481 eval "$as_ac_var=no"
49482 fi
49483 rm -f conftest.err conftest.$ac_objext \
49484       conftest$ac_exeext conftest.$ac_ext
49485 fi
49486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49488 if test `eval echo '${'$as_ac_var'}'` = yes; then
49489   cat >>confdefs.h <<_ACEOF
49490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49491 _ACEOF
49492
49493 fi
49494 done
49495
49496     fi
49497   fi
49498
49499
49500
49501
49502
49503   LIBS="$ac_save_LIBS"
49504   CXXFLAGS="$ac_save_CXXFLAGS"
49505
49506
49507
49508   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
49509 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
49510   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
49511     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
49512   echo $ECHO_N "(cached) $ECHO_C" >&6
49513 else
49514
49515
49516
49517       ac_ext=cc
49518 ac_cpp='$CXXCPP $CPPFLAGS'
49519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49522
49523       cat >conftest.$ac_ext <<_ACEOF
49524 /* confdefs.h.  */
49525 _ACEOF
49526 cat confdefs.h >>conftest.$ac_ext
49527 cat >>conftest.$ac_ext <<_ACEOF
49528 /* end confdefs.h.  */
49529 #include <math.h>
49530 int
49531 main ()
49532 {
49533  __builtin_abs(0);
49534   ;
49535   return 0;
49536 }
49537 _ACEOF
49538 rm -f conftest.$ac_objext
49539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49540   (eval $ac_compile) 2>conftest.er1
49541   ac_status=$?
49542   grep -v '^ *+' conftest.er1 >conftest.err
49543   rm -f conftest.er1
49544   cat conftest.err >&5
49545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49546   (exit $ac_status); } &&
49547          { ac_try='test -z "$ac_cxx_werror_flag"
49548                          || test ! -s conftest.err'
49549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49550   (eval $ac_try) 2>&5
49551   ac_status=$?
49552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49553   (exit $ac_status); }; } &&
49554          { ac_try='test -s conftest.$ac_objext'
49555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49556   (eval $ac_try) 2>&5
49557   ac_status=$?
49558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49559   (exit $ac_status); }; }; then
49560   glibcxx_cv_func___builtin_abs_use=yes
49561 else
49562   echo "$as_me: failed program was:" >&5
49563 sed 's/^/| /' conftest.$ac_ext >&5
49564
49565 glibcxx_cv_func___builtin_abs_use=no
49566 fi
49567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49568       ac_ext=c
49569 ac_cpp='$CPP $CPPFLAGS'
49570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49573
49574
49575 fi
49576
49577   fi
49578   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
49579 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
49580   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
49581     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
49582 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
49583     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
49584       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
49585   echo $ECHO_N "(cached) $ECHO_C" >&6
49586 else
49587
49588         if test x$gcc_no_link = xyes; then
49589   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49591    { (exit 1); exit 1; }; }
49592 fi
49593 cat >conftest.$ac_ext <<_ACEOF
49594 /* confdefs.h.  */
49595 _ACEOF
49596 cat confdefs.h >>conftest.$ac_ext
49597 cat >>conftest.$ac_ext <<_ACEOF
49598 /* end confdefs.h.  */
49599 #include <math.h>
49600 int
49601 main ()
49602 {
49603  __builtin_abs(0);
49604   ;
49605   return 0;
49606 }
49607 _ACEOF
49608 rm -f conftest.$ac_objext conftest$ac_exeext
49609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49610   (eval $ac_link) 2>conftest.er1
49611   ac_status=$?
49612   grep -v '^ *+' conftest.er1 >conftest.err
49613   rm -f conftest.er1
49614   cat conftest.err >&5
49615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49616   (exit $ac_status); } &&
49617          { ac_try='test -z "$ac_c_werror_flag"
49618                          || test ! -s conftest.err'
49619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49620   (eval $ac_try) 2>&5
49621   ac_status=$?
49622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49623   (exit $ac_status); }; } &&
49624          { ac_try='test -s conftest$ac_exeext'
49625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49626   (eval $ac_try) 2>&5
49627   ac_status=$?
49628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49629   (exit $ac_status); }; }; then
49630   glibcxx_cv_func___builtin_abs_link=yes
49631 else
49632   echo "$as_me: failed program was:" >&5
49633 sed 's/^/| /' conftest.$ac_ext >&5
49634
49635 glibcxx_cv_func___builtin_abs_link=no
49636 fi
49637 rm -f conftest.err conftest.$ac_objext \
49638       conftest$ac_exeext conftest.$ac_ext
49639
49640 fi
49641
49642     fi
49643     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
49644 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
49645
49646     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
49647
49648 cat >>confdefs.h <<\_ACEOF
49649 #define HAVE___BUILTIN_ABS 1
49650 _ACEOF
49651
49652     fi
49653
49654   fi
49655
49656
49657   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
49658 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
49659   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
49660     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
49661   echo $ECHO_N "(cached) $ECHO_C" >&6
49662 else
49663
49664
49665
49666       ac_ext=cc
49667 ac_cpp='$CXXCPP $CPPFLAGS'
49668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49671
49672       cat >conftest.$ac_ext <<_ACEOF
49673 /* confdefs.h.  */
49674 _ACEOF
49675 cat confdefs.h >>conftest.$ac_ext
49676 cat >>conftest.$ac_ext <<_ACEOF
49677 /* end confdefs.h.  */
49678 #include <math.h>
49679 int
49680 main ()
49681 {
49682  __builtin_fabsf(0);
49683   ;
49684   return 0;
49685 }
49686 _ACEOF
49687 rm -f conftest.$ac_objext
49688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49689   (eval $ac_compile) 2>conftest.er1
49690   ac_status=$?
49691   grep -v '^ *+' conftest.er1 >conftest.err
49692   rm -f conftest.er1
49693   cat conftest.err >&5
49694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49695   (exit $ac_status); } &&
49696          { ac_try='test -z "$ac_cxx_werror_flag"
49697                          || test ! -s conftest.err'
49698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49699   (eval $ac_try) 2>&5
49700   ac_status=$?
49701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49702   (exit $ac_status); }; } &&
49703          { ac_try='test -s conftest.$ac_objext'
49704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49705   (eval $ac_try) 2>&5
49706   ac_status=$?
49707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49708   (exit $ac_status); }; }; then
49709   glibcxx_cv_func___builtin_fabsf_use=yes
49710 else
49711   echo "$as_me: failed program was:" >&5
49712 sed 's/^/| /' conftest.$ac_ext >&5
49713
49714 glibcxx_cv_func___builtin_fabsf_use=no
49715 fi
49716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49717       ac_ext=c
49718 ac_cpp='$CPP $CPPFLAGS'
49719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49722
49723
49724 fi
49725
49726   fi
49727   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
49728 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
49729   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
49730     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
49731 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
49732     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
49733       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
49734   echo $ECHO_N "(cached) $ECHO_C" >&6
49735 else
49736
49737         if test x$gcc_no_link = xyes; then
49738   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49740    { (exit 1); exit 1; }; }
49741 fi
49742 cat >conftest.$ac_ext <<_ACEOF
49743 /* confdefs.h.  */
49744 _ACEOF
49745 cat confdefs.h >>conftest.$ac_ext
49746 cat >>conftest.$ac_ext <<_ACEOF
49747 /* end confdefs.h.  */
49748 #include <math.h>
49749 int
49750 main ()
49751 {
49752  __builtin_fabsf(0);
49753   ;
49754   return 0;
49755 }
49756 _ACEOF
49757 rm -f conftest.$ac_objext conftest$ac_exeext
49758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49759   (eval $ac_link) 2>conftest.er1
49760   ac_status=$?
49761   grep -v '^ *+' conftest.er1 >conftest.err
49762   rm -f conftest.er1
49763   cat conftest.err >&5
49764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49765   (exit $ac_status); } &&
49766          { ac_try='test -z "$ac_c_werror_flag"
49767                          || test ! -s conftest.err'
49768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49769   (eval $ac_try) 2>&5
49770   ac_status=$?
49771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49772   (exit $ac_status); }; } &&
49773          { ac_try='test -s conftest$ac_exeext'
49774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49775   (eval $ac_try) 2>&5
49776   ac_status=$?
49777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49778   (exit $ac_status); }; }; then
49779   glibcxx_cv_func___builtin_fabsf_link=yes
49780 else
49781   echo "$as_me: failed program was:" >&5
49782 sed 's/^/| /' conftest.$ac_ext >&5
49783
49784 glibcxx_cv_func___builtin_fabsf_link=no
49785 fi
49786 rm -f conftest.err conftest.$ac_objext \
49787       conftest$ac_exeext conftest.$ac_ext
49788
49789 fi
49790
49791     fi
49792     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
49793 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
49794
49795     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
49796
49797 cat >>confdefs.h <<\_ACEOF
49798 #define HAVE___BUILTIN_FABSF 1
49799 _ACEOF
49800
49801     fi
49802
49803   fi
49804
49805
49806   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
49807 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
49808   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
49809     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
49810   echo $ECHO_N "(cached) $ECHO_C" >&6
49811 else
49812
49813
49814
49815       ac_ext=cc
49816 ac_cpp='$CXXCPP $CPPFLAGS'
49817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49820
49821       cat >conftest.$ac_ext <<_ACEOF
49822 /* confdefs.h.  */
49823 _ACEOF
49824 cat confdefs.h >>conftest.$ac_ext
49825 cat >>conftest.$ac_ext <<_ACEOF
49826 /* end confdefs.h.  */
49827 #include <math.h>
49828 int
49829 main ()
49830 {
49831  __builtin_fabs(0);
49832   ;
49833   return 0;
49834 }
49835 _ACEOF
49836 rm -f conftest.$ac_objext
49837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49838   (eval $ac_compile) 2>conftest.er1
49839   ac_status=$?
49840   grep -v '^ *+' conftest.er1 >conftest.err
49841   rm -f conftest.er1
49842   cat conftest.err >&5
49843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49844   (exit $ac_status); } &&
49845          { ac_try='test -z "$ac_cxx_werror_flag"
49846                          || test ! -s conftest.err'
49847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49848   (eval $ac_try) 2>&5
49849   ac_status=$?
49850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49851   (exit $ac_status); }; } &&
49852          { ac_try='test -s conftest.$ac_objext'
49853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49854   (eval $ac_try) 2>&5
49855   ac_status=$?
49856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49857   (exit $ac_status); }; }; then
49858   glibcxx_cv_func___builtin_fabs_use=yes
49859 else
49860   echo "$as_me: failed program was:" >&5
49861 sed 's/^/| /' conftest.$ac_ext >&5
49862
49863 glibcxx_cv_func___builtin_fabs_use=no
49864 fi
49865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49866       ac_ext=c
49867 ac_cpp='$CPP $CPPFLAGS'
49868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49871
49872
49873 fi
49874
49875   fi
49876   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
49877 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
49878   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
49879     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
49880 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
49881     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
49882       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
49883   echo $ECHO_N "(cached) $ECHO_C" >&6
49884 else
49885
49886         if test x$gcc_no_link = xyes; then
49887   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49889    { (exit 1); exit 1; }; }
49890 fi
49891 cat >conftest.$ac_ext <<_ACEOF
49892 /* confdefs.h.  */
49893 _ACEOF
49894 cat confdefs.h >>conftest.$ac_ext
49895 cat >>conftest.$ac_ext <<_ACEOF
49896 /* end confdefs.h.  */
49897 #include <math.h>
49898 int
49899 main ()
49900 {
49901  __builtin_fabs(0);
49902   ;
49903   return 0;
49904 }
49905 _ACEOF
49906 rm -f conftest.$ac_objext conftest$ac_exeext
49907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49908   (eval $ac_link) 2>conftest.er1
49909   ac_status=$?
49910   grep -v '^ *+' conftest.er1 >conftest.err
49911   rm -f conftest.er1
49912   cat conftest.err >&5
49913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49914   (exit $ac_status); } &&
49915          { ac_try='test -z "$ac_c_werror_flag"
49916                          || test ! -s conftest.err'
49917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49918   (eval $ac_try) 2>&5
49919   ac_status=$?
49920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49921   (exit $ac_status); }; } &&
49922          { ac_try='test -s conftest$ac_exeext'
49923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49924   (eval $ac_try) 2>&5
49925   ac_status=$?
49926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49927   (exit $ac_status); }; }; then
49928   glibcxx_cv_func___builtin_fabs_link=yes
49929 else
49930   echo "$as_me: failed program was:" >&5
49931 sed 's/^/| /' conftest.$ac_ext >&5
49932
49933 glibcxx_cv_func___builtin_fabs_link=no
49934 fi
49935 rm -f conftest.err conftest.$ac_objext \
49936       conftest$ac_exeext conftest.$ac_ext
49937
49938 fi
49939
49940     fi
49941     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
49942 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
49943
49944     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
49945
49946 cat >>confdefs.h <<\_ACEOF
49947 #define HAVE___BUILTIN_FABS 1
49948 _ACEOF
49949
49950     fi
49951
49952   fi
49953
49954
49955   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
49956 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
49957   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
49958     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
49959   echo $ECHO_N "(cached) $ECHO_C" >&6
49960 else
49961
49962
49963
49964       ac_ext=cc
49965 ac_cpp='$CXXCPP $CPPFLAGS'
49966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49969
49970       cat >conftest.$ac_ext <<_ACEOF
49971 /* confdefs.h.  */
49972 _ACEOF
49973 cat confdefs.h >>conftest.$ac_ext
49974 cat >>conftest.$ac_ext <<_ACEOF
49975 /* end confdefs.h.  */
49976 #include <math.h>
49977 int
49978 main ()
49979 {
49980  __builtin_fabsl(0);
49981   ;
49982   return 0;
49983 }
49984 _ACEOF
49985 rm -f conftest.$ac_objext
49986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49987   (eval $ac_compile) 2>conftest.er1
49988   ac_status=$?
49989   grep -v '^ *+' conftest.er1 >conftest.err
49990   rm -f conftest.er1
49991   cat conftest.err >&5
49992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49993   (exit $ac_status); } &&
49994          { ac_try='test -z "$ac_cxx_werror_flag"
49995                          || test ! -s conftest.err'
49996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49997   (eval $ac_try) 2>&5
49998   ac_status=$?
49999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50000   (exit $ac_status); }; } &&
50001          { ac_try='test -s conftest.$ac_objext'
50002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50003   (eval $ac_try) 2>&5
50004   ac_status=$?
50005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50006   (exit $ac_status); }; }; then
50007   glibcxx_cv_func___builtin_fabsl_use=yes
50008 else
50009   echo "$as_me: failed program was:" >&5
50010 sed 's/^/| /' conftest.$ac_ext >&5
50011
50012 glibcxx_cv_func___builtin_fabsl_use=no
50013 fi
50014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50015       ac_ext=c
50016 ac_cpp='$CPP $CPPFLAGS'
50017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50020
50021
50022 fi
50023
50024   fi
50025   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
50026 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
50027   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
50028     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
50029 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
50030     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
50031       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
50032   echo $ECHO_N "(cached) $ECHO_C" >&6
50033 else
50034
50035         if test x$gcc_no_link = xyes; then
50036   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50038    { (exit 1); exit 1; }; }
50039 fi
50040 cat >conftest.$ac_ext <<_ACEOF
50041 /* confdefs.h.  */
50042 _ACEOF
50043 cat confdefs.h >>conftest.$ac_ext
50044 cat >>conftest.$ac_ext <<_ACEOF
50045 /* end confdefs.h.  */
50046 #include <math.h>
50047 int
50048 main ()
50049 {
50050  __builtin_fabsl(0);
50051   ;
50052   return 0;
50053 }
50054 _ACEOF
50055 rm -f conftest.$ac_objext conftest$ac_exeext
50056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50057   (eval $ac_link) 2>conftest.er1
50058   ac_status=$?
50059   grep -v '^ *+' conftest.er1 >conftest.err
50060   rm -f conftest.er1
50061   cat conftest.err >&5
50062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50063   (exit $ac_status); } &&
50064          { ac_try='test -z "$ac_c_werror_flag"
50065                          || test ! -s conftest.err'
50066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50067   (eval $ac_try) 2>&5
50068   ac_status=$?
50069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50070   (exit $ac_status); }; } &&
50071          { ac_try='test -s conftest$ac_exeext'
50072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50073   (eval $ac_try) 2>&5
50074   ac_status=$?
50075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50076   (exit $ac_status); }; }; then
50077   glibcxx_cv_func___builtin_fabsl_link=yes
50078 else
50079   echo "$as_me: failed program was:" >&5
50080 sed 's/^/| /' conftest.$ac_ext >&5
50081
50082 glibcxx_cv_func___builtin_fabsl_link=no
50083 fi
50084 rm -f conftest.err conftest.$ac_objext \
50085       conftest$ac_exeext conftest.$ac_ext
50086
50087 fi
50088
50089     fi
50090     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
50091 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
50092
50093     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
50094
50095 cat >>confdefs.h <<\_ACEOF
50096 #define HAVE___BUILTIN_FABSL 1
50097 _ACEOF
50098
50099     fi
50100
50101   fi
50102
50103
50104   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
50105 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
50106   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
50107     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
50108   echo $ECHO_N "(cached) $ECHO_C" >&6
50109 else
50110
50111
50112
50113       ac_ext=cc
50114 ac_cpp='$CXXCPP $CPPFLAGS'
50115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50118
50119       cat >conftest.$ac_ext <<_ACEOF
50120 /* confdefs.h.  */
50121 _ACEOF
50122 cat confdefs.h >>conftest.$ac_ext
50123 cat >>conftest.$ac_ext <<_ACEOF
50124 /* end confdefs.h.  */
50125 #include <math.h>
50126 int
50127 main ()
50128 {
50129  __builtin_labs(0);
50130   ;
50131   return 0;
50132 }
50133 _ACEOF
50134 rm -f conftest.$ac_objext
50135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50136   (eval $ac_compile) 2>conftest.er1
50137   ac_status=$?
50138   grep -v '^ *+' conftest.er1 >conftest.err
50139   rm -f conftest.er1
50140   cat conftest.err >&5
50141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50142   (exit $ac_status); } &&
50143          { ac_try='test -z "$ac_cxx_werror_flag"
50144                          || test ! -s conftest.err'
50145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50146   (eval $ac_try) 2>&5
50147   ac_status=$?
50148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50149   (exit $ac_status); }; } &&
50150          { ac_try='test -s conftest.$ac_objext'
50151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50152   (eval $ac_try) 2>&5
50153   ac_status=$?
50154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50155   (exit $ac_status); }; }; then
50156   glibcxx_cv_func___builtin_labs_use=yes
50157 else
50158   echo "$as_me: failed program was:" >&5
50159 sed 's/^/| /' conftest.$ac_ext >&5
50160
50161 glibcxx_cv_func___builtin_labs_use=no
50162 fi
50163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50164       ac_ext=c
50165 ac_cpp='$CPP $CPPFLAGS'
50166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50169
50170
50171 fi
50172
50173   fi
50174   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
50175 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
50176   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
50177     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
50178 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
50179     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
50180       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
50181   echo $ECHO_N "(cached) $ECHO_C" >&6
50182 else
50183
50184         if test x$gcc_no_link = xyes; then
50185   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50187    { (exit 1); exit 1; }; }
50188 fi
50189 cat >conftest.$ac_ext <<_ACEOF
50190 /* confdefs.h.  */
50191 _ACEOF
50192 cat confdefs.h >>conftest.$ac_ext
50193 cat >>conftest.$ac_ext <<_ACEOF
50194 /* end confdefs.h.  */
50195 #include <math.h>
50196 int
50197 main ()
50198 {
50199  __builtin_labs(0);
50200   ;
50201   return 0;
50202 }
50203 _ACEOF
50204 rm -f conftest.$ac_objext conftest$ac_exeext
50205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50206   (eval $ac_link) 2>conftest.er1
50207   ac_status=$?
50208   grep -v '^ *+' conftest.er1 >conftest.err
50209   rm -f conftest.er1
50210   cat conftest.err >&5
50211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50212   (exit $ac_status); } &&
50213          { ac_try='test -z "$ac_c_werror_flag"
50214                          || test ! -s conftest.err'
50215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50216   (eval $ac_try) 2>&5
50217   ac_status=$?
50218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50219   (exit $ac_status); }; } &&
50220          { ac_try='test -s conftest$ac_exeext'
50221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50222   (eval $ac_try) 2>&5
50223   ac_status=$?
50224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50225   (exit $ac_status); }; }; then
50226   glibcxx_cv_func___builtin_labs_link=yes
50227 else
50228   echo "$as_me: failed program was:" >&5
50229 sed 's/^/| /' conftest.$ac_ext >&5
50230
50231 glibcxx_cv_func___builtin_labs_link=no
50232 fi
50233 rm -f conftest.err conftest.$ac_objext \
50234       conftest$ac_exeext conftest.$ac_ext
50235
50236 fi
50237
50238     fi
50239     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
50240 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
50241
50242     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
50243
50244 cat >>confdefs.h <<\_ACEOF
50245 #define HAVE___BUILTIN_LABS 1
50246 _ACEOF
50247
50248     fi
50249
50250   fi
50251
50252
50253
50254   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
50255 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
50256   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
50257     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
50258   echo $ECHO_N "(cached) $ECHO_C" >&6
50259 else
50260
50261
50262
50263       ac_ext=cc
50264 ac_cpp='$CXXCPP $CPPFLAGS'
50265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50268
50269       cat >conftest.$ac_ext <<_ACEOF
50270 /* confdefs.h.  */
50271 _ACEOF
50272 cat confdefs.h >>conftest.$ac_ext
50273 cat >>conftest.$ac_ext <<_ACEOF
50274 /* end confdefs.h.  */
50275 #include <math.h>
50276 int
50277 main ()
50278 {
50279  __builtin_sqrtf(0);
50280   ;
50281   return 0;
50282 }
50283 _ACEOF
50284 rm -f conftest.$ac_objext
50285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50286   (eval $ac_compile) 2>conftest.er1
50287   ac_status=$?
50288   grep -v '^ *+' conftest.er1 >conftest.err
50289   rm -f conftest.er1
50290   cat conftest.err >&5
50291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50292   (exit $ac_status); } &&
50293          { ac_try='test -z "$ac_cxx_werror_flag"
50294                          || test ! -s conftest.err'
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); }; } &&
50300          { ac_try='test -s conftest.$ac_objext'
50301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50302   (eval $ac_try) 2>&5
50303   ac_status=$?
50304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50305   (exit $ac_status); }; }; then
50306   glibcxx_cv_func___builtin_sqrtf_use=yes
50307 else
50308   echo "$as_me: failed program was:" >&5
50309 sed 's/^/| /' conftest.$ac_ext >&5
50310
50311 glibcxx_cv_func___builtin_sqrtf_use=no
50312 fi
50313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50314       ac_ext=c
50315 ac_cpp='$CPP $CPPFLAGS'
50316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50319
50320
50321 fi
50322
50323   fi
50324   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
50325 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
50326   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
50327     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
50328 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
50329     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
50330       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
50331   echo $ECHO_N "(cached) $ECHO_C" >&6
50332 else
50333
50334         if test x$gcc_no_link = xyes; then
50335   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50337    { (exit 1); exit 1; }; }
50338 fi
50339 cat >conftest.$ac_ext <<_ACEOF
50340 /* confdefs.h.  */
50341 _ACEOF
50342 cat confdefs.h >>conftest.$ac_ext
50343 cat >>conftest.$ac_ext <<_ACEOF
50344 /* end confdefs.h.  */
50345 #include <math.h>
50346 int
50347 main ()
50348 {
50349  __builtin_sqrtf(0);
50350   ;
50351   return 0;
50352 }
50353 _ACEOF
50354 rm -f conftest.$ac_objext conftest$ac_exeext
50355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50356   (eval $ac_link) 2>conftest.er1
50357   ac_status=$?
50358   grep -v '^ *+' conftest.er1 >conftest.err
50359   rm -f conftest.er1
50360   cat conftest.err >&5
50361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50362   (exit $ac_status); } &&
50363          { ac_try='test -z "$ac_c_werror_flag"
50364                          || test ! -s conftest.err'
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); }; } &&
50370          { ac_try='test -s conftest$ac_exeext'
50371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50372   (eval $ac_try) 2>&5
50373   ac_status=$?
50374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50375   (exit $ac_status); }; }; then
50376   glibcxx_cv_func___builtin_sqrtf_link=yes
50377 else
50378   echo "$as_me: failed program was:" >&5
50379 sed 's/^/| /' conftest.$ac_ext >&5
50380
50381 glibcxx_cv_func___builtin_sqrtf_link=no
50382 fi
50383 rm -f conftest.err conftest.$ac_objext \
50384       conftest$ac_exeext conftest.$ac_ext
50385
50386 fi
50387
50388     fi
50389     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
50390 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
50391
50392     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
50393
50394 cat >>confdefs.h <<\_ACEOF
50395 #define HAVE___BUILTIN_SQRTF 1
50396 _ACEOF
50397
50398     fi
50399
50400   fi
50401
50402
50403   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
50404 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
50405   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
50406     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
50407   echo $ECHO_N "(cached) $ECHO_C" >&6
50408 else
50409
50410
50411
50412       ac_ext=cc
50413 ac_cpp='$CXXCPP $CPPFLAGS'
50414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50417
50418       cat >conftest.$ac_ext <<_ACEOF
50419 /* confdefs.h.  */
50420 _ACEOF
50421 cat confdefs.h >>conftest.$ac_ext
50422 cat >>conftest.$ac_ext <<_ACEOF
50423 /* end confdefs.h.  */
50424 #include <math.h>
50425 int
50426 main ()
50427 {
50428  __builtin_sqrt(0);
50429   ;
50430   return 0;
50431 }
50432 _ACEOF
50433 rm -f conftest.$ac_objext
50434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50435   (eval $ac_compile) 2>conftest.er1
50436   ac_status=$?
50437   grep -v '^ *+' conftest.er1 >conftest.err
50438   rm -f conftest.er1
50439   cat conftest.err >&5
50440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50441   (exit $ac_status); } &&
50442          { ac_try='test -z "$ac_cxx_werror_flag"
50443                          || test ! -s conftest.err'
50444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50445   (eval $ac_try) 2>&5
50446   ac_status=$?
50447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50448   (exit $ac_status); }; } &&
50449          { ac_try='test -s conftest.$ac_objext'
50450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50451   (eval $ac_try) 2>&5
50452   ac_status=$?
50453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50454   (exit $ac_status); }; }; then
50455   glibcxx_cv_func___builtin_sqrt_use=yes
50456 else
50457   echo "$as_me: failed program was:" >&5
50458 sed 's/^/| /' conftest.$ac_ext >&5
50459
50460 glibcxx_cv_func___builtin_sqrt_use=no
50461 fi
50462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50463       ac_ext=c
50464 ac_cpp='$CPP $CPPFLAGS'
50465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50468
50469
50470 fi
50471
50472   fi
50473   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
50474 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
50475   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
50476     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
50477 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
50478     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
50479       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
50480   echo $ECHO_N "(cached) $ECHO_C" >&6
50481 else
50482
50483         if test x$gcc_no_link = xyes; then
50484   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50486    { (exit 1); exit 1; }; }
50487 fi
50488 cat >conftest.$ac_ext <<_ACEOF
50489 /* confdefs.h.  */
50490 _ACEOF
50491 cat confdefs.h >>conftest.$ac_ext
50492 cat >>conftest.$ac_ext <<_ACEOF
50493 /* end confdefs.h.  */
50494 #include <math.h>
50495 int
50496 main ()
50497 {
50498  __builtin_sqrt(0);
50499   ;
50500   return 0;
50501 }
50502 _ACEOF
50503 rm -f conftest.$ac_objext conftest$ac_exeext
50504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50505   (eval $ac_link) 2>conftest.er1
50506   ac_status=$?
50507   grep -v '^ *+' conftest.er1 >conftest.err
50508   rm -f conftest.er1
50509   cat conftest.err >&5
50510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50511   (exit $ac_status); } &&
50512          { ac_try='test -z "$ac_c_werror_flag"
50513                          || test ! -s conftest.err'
50514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50515   (eval $ac_try) 2>&5
50516   ac_status=$?
50517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50518   (exit $ac_status); }; } &&
50519          { ac_try='test -s conftest$ac_exeext'
50520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50521   (eval $ac_try) 2>&5
50522   ac_status=$?
50523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50524   (exit $ac_status); }; }; then
50525   glibcxx_cv_func___builtin_sqrt_link=yes
50526 else
50527   echo "$as_me: failed program was:" >&5
50528 sed 's/^/| /' conftest.$ac_ext >&5
50529
50530 glibcxx_cv_func___builtin_sqrt_link=no
50531 fi
50532 rm -f conftest.err conftest.$ac_objext \
50533       conftest$ac_exeext conftest.$ac_ext
50534
50535 fi
50536
50537     fi
50538     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
50539 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
50540
50541     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
50542
50543 cat >>confdefs.h <<\_ACEOF
50544 #define HAVE___BUILTIN_SQRT 1
50545 _ACEOF
50546
50547     fi
50548
50549   fi
50550
50551
50552   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
50553 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
50554   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
50555     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
50556   echo $ECHO_N "(cached) $ECHO_C" >&6
50557 else
50558
50559
50560
50561       ac_ext=cc
50562 ac_cpp='$CXXCPP $CPPFLAGS'
50563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50566
50567       cat >conftest.$ac_ext <<_ACEOF
50568 /* confdefs.h.  */
50569 _ACEOF
50570 cat confdefs.h >>conftest.$ac_ext
50571 cat >>conftest.$ac_ext <<_ACEOF
50572 /* end confdefs.h.  */
50573 #include <math.h>
50574 int
50575 main ()
50576 {
50577  __builtin_sqrtl(0);
50578   ;
50579   return 0;
50580 }
50581 _ACEOF
50582 rm -f conftest.$ac_objext
50583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50584   (eval $ac_compile) 2>conftest.er1
50585   ac_status=$?
50586   grep -v '^ *+' conftest.er1 >conftest.err
50587   rm -f conftest.er1
50588   cat conftest.err >&5
50589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50590   (exit $ac_status); } &&
50591          { ac_try='test -z "$ac_cxx_werror_flag"
50592                          || test ! -s conftest.err'
50593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50594   (eval $ac_try) 2>&5
50595   ac_status=$?
50596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50597   (exit $ac_status); }; } &&
50598          { ac_try='test -s conftest.$ac_objext'
50599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50600   (eval $ac_try) 2>&5
50601   ac_status=$?
50602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50603   (exit $ac_status); }; }; then
50604   glibcxx_cv_func___builtin_sqrtl_use=yes
50605 else
50606   echo "$as_me: failed program was:" >&5
50607 sed 's/^/| /' conftest.$ac_ext >&5
50608
50609 glibcxx_cv_func___builtin_sqrtl_use=no
50610 fi
50611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50612       ac_ext=c
50613 ac_cpp='$CPP $CPPFLAGS'
50614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50617
50618
50619 fi
50620
50621   fi
50622   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
50623 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
50624   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
50625     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
50626 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
50627     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
50628       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
50629   echo $ECHO_N "(cached) $ECHO_C" >&6
50630 else
50631
50632         if test x$gcc_no_link = xyes; then
50633   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50635    { (exit 1); exit 1; }; }
50636 fi
50637 cat >conftest.$ac_ext <<_ACEOF
50638 /* confdefs.h.  */
50639 _ACEOF
50640 cat confdefs.h >>conftest.$ac_ext
50641 cat >>conftest.$ac_ext <<_ACEOF
50642 /* end confdefs.h.  */
50643 #include <math.h>
50644 int
50645 main ()
50646 {
50647  __builtin_sqrtl(0);
50648   ;
50649   return 0;
50650 }
50651 _ACEOF
50652 rm -f conftest.$ac_objext conftest$ac_exeext
50653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50654   (eval $ac_link) 2>conftest.er1
50655   ac_status=$?
50656   grep -v '^ *+' conftest.er1 >conftest.err
50657   rm -f conftest.er1
50658   cat conftest.err >&5
50659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50660   (exit $ac_status); } &&
50661          { ac_try='test -z "$ac_c_werror_flag"
50662                          || test ! -s conftest.err'
50663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50664   (eval $ac_try) 2>&5
50665   ac_status=$?
50666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50667   (exit $ac_status); }; } &&
50668          { ac_try='test -s conftest$ac_exeext'
50669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50670   (eval $ac_try) 2>&5
50671   ac_status=$?
50672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50673   (exit $ac_status); }; }; then
50674   glibcxx_cv_func___builtin_sqrtl_link=yes
50675 else
50676   echo "$as_me: failed program was:" >&5
50677 sed 's/^/| /' conftest.$ac_ext >&5
50678
50679 glibcxx_cv_func___builtin_sqrtl_link=no
50680 fi
50681 rm -f conftest.err conftest.$ac_objext \
50682       conftest$ac_exeext conftest.$ac_ext
50683
50684 fi
50685
50686     fi
50687     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
50688 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
50689
50690     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
50691
50692 cat >>confdefs.h <<\_ACEOF
50693 #define HAVE___BUILTIN_SQRTL 1
50694 _ACEOF
50695
50696     fi
50697
50698   fi
50699
50700
50701
50702   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
50703 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
50704   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
50705     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
50706   echo $ECHO_N "(cached) $ECHO_C" >&6
50707 else
50708
50709
50710
50711       ac_ext=cc
50712 ac_cpp='$CXXCPP $CPPFLAGS'
50713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50716
50717       cat >conftest.$ac_ext <<_ACEOF
50718 /* confdefs.h.  */
50719 _ACEOF
50720 cat confdefs.h >>conftest.$ac_ext
50721 cat >>conftest.$ac_ext <<_ACEOF
50722 /* end confdefs.h.  */
50723 #include <math.h>
50724 int
50725 main ()
50726 {
50727  __builtin_sinf(0);
50728   ;
50729   return 0;
50730 }
50731 _ACEOF
50732 rm -f conftest.$ac_objext
50733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50734   (eval $ac_compile) 2>conftest.er1
50735   ac_status=$?
50736   grep -v '^ *+' conftest.er1 >conftest.err
50737   rm -f conftest.er1
50738   cat conftest.err >&5
50739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50740   (exit $ac_status); } &&
50741          { ac_try='test -z "$ac_cxx_werror_flag"
50742                          || test ! -s conftest.err'
50743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50744   (eval $ac_try) 2>&5
50745   ac_status=$?
50746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50747   (exit $ac_status); }; } &&
50748          { ac_try='test -s conftest.$ac_objext'
50749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50750   (eval $ac_try) 2>&5
50751   ac_status=$?
50752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50753   (exit $ac_status); }; }; then
50754   glibcxx_cv_func___builtin_sinf_use=yes
50755 else
50756   echo "$as_me: failed program was:" >&5
50757 sed 's/^/| /' conftest.$ac_ext >&5
50758
50759 glibcxx_cv_func___builtin_sinf_use=no
50760 fi
50761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50762       ac_ext=c
50763 ac_cpp='$CPP $CPPFLAGS'
50764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50767
50768
50769 fi
50770
50771   fi
50772   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
50773 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
50774   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
50775     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
50776 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
50777     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
50778       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
50779   echo $ECHO_N "(cached) $ECHO_C" >&6
50780 else
50781
50782         if test x$gcc_no_link = xyes; then
50783   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50784 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50785    { (exit 1); exit 1; }; }
50786 fi
50787 cat >conftest.$ac_ext <<_ACEOF
50788 /* confdefs.h.  */
50789 _ACEOF
50790 cat confdefs.h >>conftest.$ac_ext
50791 cat >>conftest.$ac_ext <<_ACEOF
50792 /* end confdefs.h.  */
50793 #include <math.h>
50794 int
50795 main ()
50796 {
50797  __builtin_sinf(0);
50798   ;
50799   return 0;
50800 }
50801 _ACEOF
50802 rm -f conftest.$ac_objext conftest$ac_exeext
50803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50804   (eval $ac_link) 2>conftest.er1
50805   ac_status=$?
50806   grep -v '^ *+' conftest.er1 >conftest.err
50807   rm -f conftest.er1
50808   cat conftest.err >&5
50809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50810   (exit $ac_status); } &&
50811          { ac_try='test -z "$ac_c_werror_flag"
50812                          || test ! -s conftest.err'
50813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50814   (eval $ac_try) 2>&5
50815   ac_status=$?
50816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50817   (exit $ac_status); }; } &&
50818          { ac_try='test -s conftest$ac_exeext'
50819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50820   (eval $ac_try) 2>&5
50821   ac_status=$?
50822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50823   (exit $ac_status); }; }; then
50824   glibcxx_cv_func___builtin_sinf_link=yes
50825 else
50826   echo "$as_me: failed program was:" >&5
50827 sed 's/^/| /' conftest.$ac_ext >&5
50828
50829 glibcxx_cv_func___builtin_sinf_link=no
50830 fi
50831 rm -f conftest.err conftest.$ac_objext \
50832       conftest$ac_exeext conftest.$ac_ext
50833
50834 fi
50835
50836     fi
50837     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
50838 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
50839
50840     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
50841
50842 cat >>confdefs.h <<\_ACEOF
50843 #define HAVE___BUILTIN_SINF 1
50844 _ACEOF
50845
50846     fi
50847
50848   fi
50849
50850
50851   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
50852 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
50853   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
50854     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
50855   echo $ECHO_N "(cached) $ECHO_C" >&6
50856 else
50857
50858
50859
50860       ac_ext=cc
50861 ac_cpp='$CXXCPP $CPPFLAGS'
50862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50865
50866       cat >conftest.$ac_ext <<_ACEOF
50867 /* confdefs.h.  */
50868 _ACEOF
50869 cat confdefs.h >>conftest.$ac_ext
50870 cat >>conftest.$ac_ext <<_ACEOF
50871 /* end confdefs.h.  */
50872 #include <math.h>
50873 int
50874 main ()
50875 {
50876  __builtin_sin(0);
50877   ;
50878   return 0;
50879 }
50880 _ACEOF
50881 rm -f conftest.$ac_objext
50882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50883   (eval $ac_compile) 2>conftest.er1
50884   ac_status=$?
50885   grep -v '^ *+' conftest.er1 >conftest.err
50886   rm -f conftest.er1
50887   cat conftest.err >&5
50888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50889   (exit $ac_status); } &&
50890          { ac_try='test -z "$ac_cxx_werror_flag"
50891                          || test ! -s conftest.err'
50892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50893   (eval $ac_try) 2>&5
50894   ac_status=$?
50895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50896   (exit $ac_status); }; } &&
50897          { ac_try='test -s conftest.$ac_objext'
50898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50899   (eval $ac_try) 2>&5
50900   ac_status=$?
50901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50902   (exit $ac_status); }; }; then
50903   glibcxx_cv_func___builtin_sin_use=yes
50904 else
50905   echo "$as_me: failed program was:" >&5
50906 sed 's/^/| /' conftest.$ac_ext >&5
50907
50908 glibcxx_cv_func___builtin_sin_use=no
50909 fi
50910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50911       ac_ext=c
50912 ac_cpp='$CPP $CPPFLAGS'
50913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50916
50917
50918 fi
50919
50920   fi
50921   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
50922 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
50923   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
50924     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
50925 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
50926     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
50927       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
50928   echo $ECHO_N "(cached) $ECHO_C" >&6
50929 else
50930
50931         if test x$gcc_no_link = xyes; then
50932   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50934    { (exit 1); exit 1; }; }
50935 fi
50936 cat >conftest.$ac_ext <<_ACEOF
50937 /* confdefs.h.  */
50938 _ACEOF
50939 cat confdefs.h >>conftest.$ac_ext
50940 cat >>conftest.$ac_ext <<_ACEOF
50941 /* end confdefs.h.  */
50942 #include <math.h>
50943 int
50944 main ()
50945 {
50946  __builtin_sin(0);
50947   ;
50948   return 0;
50949 }
50950 _ACEOF
50951 rm -f conftest.$ac_objext conftest$ac_exeext
50952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50953   (eval $ac_link) 2>conftest.er1
50954   ac_status=$?
50955   grep -v '^ *+' conftest.er1 >conftest.err
50956   rm -f conftest.er1
50957   cat conftest.err >&5
50958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50959   (exit $ac_status); } &&
50960          { ac_try='test -z "$ac_c_werror_flag"
50961                          || test ! -s conftest.err'
50962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50963   (eval $ac_try) 2>&5
50964   ac_status=$?
50965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50966   (exit $ac_status); }; } &&
50967          { ac_try='test -s conftest$ac_exeext'
50968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50969   (eval $ac_try) 2>&5
50970   ac_status=$?
50971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50972   (exit $ac_status); }; }; then
50973   glibcxx_cv_func___builtin_sin_link=yes
50974 else
50975   echo "$as_me: failed program was:" >&5
50976 sed 's/^/| /' conftest.$ac_ext >&5
50977
50978 glibcxx_cv_func___builtin_sin_link=no
50979 fi
50980 rm -f conftest.err conftest.$ac_objext \
50981       conftest$ac_exeext conftest.$ac_ext
50982
50983 fi
50984
50985     fi
50986     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
50987 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
50988
50989     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
50990
50991 cat >>confdefs.h <<\_ACEOF
50992 #define HAVE___BUILTIN_SIN 1
50993 _ACEOF
50994
50995     fi
50996
50997   fi
50998
50999
51000   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
51001 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
51002   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
51003     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
51004   echo $ECHO_N "(cached) $ECHO_C" >&6
51005 else
51006
51007
51008
51009       ac_ext=cc
51010 ac_cpp='$CXXCPP $CPPFLAGS'
51011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51014
51015       cat >conftest.$ac_ext <<_ACEOF
51016 /* confdefs.h.  */
51017 _ACEOF
51018 cat confdefs.h >>conftest.$ac_ext
51019 cat >>conftest.$ac_ext <<_ACEOF
51020 /* end confdefs.h.  */
51021 #include <math.h>
51022 int
51023 main ()
51024 {
51025  __builtin_sinl(0);
51026   ;
51027   return 0;
51028 }
51029 _ACEOF
51030 rm -f conftest.$ac_objext
51031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51032   (eval $ac_compile) 2>conftest.er1
51033   ac_status=$?
51034   grep -v '^ *+' conftest.er1 >conftest.err
51035   rm -f conftest.er1
51036   cat conftest.err >&5
51037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51038   (exit $ac_status); } &&
51039          { ac_try='test -z "$ac_cxx_werror_flag"
51040                          || test ! -s conftest.err'
51041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51042   (eval $ac_try) 2>&5
51043   ac_status=$?
51044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51045   (exit $ac_status); }; } &&
51046          { ac_try='test -s conftest.$ac_objext'
51047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51048   (eval $ac_try) 2>&5
51049   ac_status=$?
51050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51051   (exit $ac_status); }; }; then
51052   glibcxx_cv_func___builtin_sinl_use=yes
51053 else
51054   echo "$as_me: failed program was:" >&5
51055 sed 's/^/| /' conftest.$ac_ext >&5
51056
51057 glibcxx_cv_func___builtin_sinl_use=no
51058 fi
51059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51060       ac_ext=c
51061 ac_cpp='$CPP $CPPFLAGS'
51062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51065
51066
51067 fi
51068
51069   fi
51070   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
51071 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
51072   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
51073     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
51074 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
51075     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
51076       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
51077   echo $ECHO_N "(cached) $ECHO_C" >&6
51078 else
51079
51080         if test x$gcc_no_link = xyes; then
51081   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51083    { (exit 1); exit 1; }; }
51084 fi
51085 cat >conftest.$ac_ext <<_ACEOF
51086 /* confdefs.h.  */
51087 _ACEOF
51088 cat confdefs.h >>conftest.$ac_ext
51089 cat >>conftest.$ac_ext <<_ACEOF
51090 /* end confdefs.h.  */
51091 #include <math.h>
51092 int
51093 main ()
51094 {
51095  __builtin_sinl(0);
51096   ;
51097   return 0;
51098 }
51099 _ACEOF
51100 rm -f conftest.$ac_objext conftest$ac_exeext
51101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51102   (eval $ac_link) 2>conftest.er1
51103   ac_status=$?
51104   grep -v '^ *+' conftest.er1 >conftest.err
51105   rm -f conftest.er1
51106   cat conftest.err >&5
51107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51108   (exit $ac_status); } &&
51109          { ac_try='test -z "$ac_c_werror_flag"
51110                          || test ! -s conftest.err'
51111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51112   (eval $ac_try) 2>&5
51113   ac_status=$?
51114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51115   (exit $ac_status); }; } &&
51116          { ac_try='test -s conftest$ac_exeext'
51117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51118   (eval $ac_try) 2>&5
51119   ac_status=$?
51120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51121   (exit $ac_status); }; }; then
51122   glibcxx_cv_func___builtin_sinl_link=yes
51123 else
51124   echo "$as_me: failed program was:" >&5
51125 sed 's/^/| /' conftest.$ac_ext >&5
51126
51127 glibcxx_cv_func___builtin_sinl_link=no
51128 fi
51129 rm -f conftest.err conftest.$ac_objext \
51130       conftest$ac_exeext conftest.$ac_ext
51131
51132 fi
51133
51134     fi
51135     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
51136 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
51137
51138     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
51139
51140 cat >>confdefs.h <<\_ACEOF
51141 #define HAVE___BUILTIN_SINL 1
51142 _ACEOF
51143
51144     fi
51145
51146   fi
51147
51148
51149
51150   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
51151 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
51152   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
51153     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
51154   echo $ECHO_N "(cached) $ECHO_C" >&6
51155 else
51156
51157
51158
51159       ac_ext=cc
51160 ac_cpp='$CXXCPP $CPPFLAGS'
51161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51164
51165       cat >conftest.$ac_ext <<_ACEOF
51166 /* confdefs.h.  */
51167 _ACEOF
51168 cat confdefs.h >>conftest.$ac_ext
51169 cat >>conftest.$ac_ext <<_ACEOF
51170 /* end confdefs.h.  */
51171 #include <math.h>
51172 int
51173 main ()
51174 {
51175  __builtin_cosf(0);
51176   ;
51177   return 0;
51178 }
51179 _ACEOF
51180 rm -f conftest.$ac_objext
51181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51182   (eval $ac_compile) 2>conftest.er1
51183   ac_status=$?
51184   grep -v '^ *+' conftest.er1 >conftest.err
51185   rm -f conftest.er1
51186   cat conftest.err >&5
51187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51188   (exit $ac_status); } &&
51189          { ac_try='test -z "$ac_cxx_werror_flag"
51190                          || test ! -s conftest.err'
51191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51192   (eval $ac_try) 2>&5
51193   ac_status=$?
51194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51195   (exit $ac_status); }; } &&
51196          { ac_try='test -s conftest.$ac_objext'
51197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51198   (eval $ac_try) 2>&5
51199   ac_status=$?
51200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51201   (exit $ac_status); }; }; then
51202   glibcxx_cv_func___builtin_cosf_use=yes
51203 else
51204   echo "$as_me: failed program was:" >&5
51205 sed 's/^/| /' conftest.$ac_ext >&5
51206
51207 glibcxx_cv_func___builtin_cosf_use=no
51208 fi
51209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51210       ac_ext=c
51211 ac_cpp='$CPP $CPPFLAGS'
51212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51215
51216
51217 fi
51218
51219   fi
51220   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
51221 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
51222   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
51223     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
51224 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
51225     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
51226       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
51227   echo $ECHO_N "(cached) $ECHO_C" >&6
51228 else
51229
51230         if test x$gcc_no_link = xyes; then
51231   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51233    { (exit 1); exit 1; }; }
51234 fi
51235 cat >conftest.$ac_ext <<_ACEOF
51236 /* confdefs.h.  */
51237 _ACEOF
51238 cat confdefs.h >>conftest.$ac_ext
51239 cat >>conftest.$ac_ext <<_ACEOF
51240 /* end confdefs.h.  */
51241 #include <math.h>
51242 int
51243 main ()
51244 {
51245  __builtin_cosf(0);
51246   ;
51247   return 0;
51248 }
51249 _ACEOF
51250 rm -f conftest.$ac_objext conftest$ac_exeext
51251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51252   (eval $ac_link) 2>conftest.er1
51253   ac_status=$?
51254   grep -v '^ *+' conftest.er1 >conftest.err
51255   rm -f conftest.er1
51256   cat conftest.err >&5
51257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51258   (exit $ac_status); } &&
51259          { ac_try='test -z "$ac_c_werror_flag"
51260                          || test ! -s conftest.err'
51261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51262   (eval $ac_try) 2>&5
51263   ac_status=$?
51264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51265   (exit $ac_status); }; } &&
51266          { ac_try='test -s conftest$ac_exeext'
51267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51268   (eval $ac_try) 2>&5
51269   ac_status=$?
51270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51271   (exit $ac_status); }; }; then
51272   glibcxx_cv_func___builtin_cosf_link=yes
51273 else
51274   echo "$as_me: failed program was:" >&5
51275 sed 's/^/| /' conftest.$ac_ext >&5
51276
51277 glibcxx_cv_func___builtin_cosf_link=no
51278 fi
51279 rm -f conftest.err conftest.$ac_objext \
51280       conftest$ac_exeext conftest.$ac_ext
51281
51282 fi
51283
51284     fi
51285     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
51286 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
51287
51288     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
51289
51290 cat >>confdefs.h <<\_ACEOF
51291 #define HAVE___BUILTIN_COSF 1
51292 _ACEOF
51293
51294     fi
51295
51296   fi
51297
51298
51299   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
51300 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
51301   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
51302     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
51303   echo $ECHO_N "(cached) $ECHO_C" >&6
51304 else
51305
51306
51307
51308       ac_ext=cc
51309 ac_cpp='$CXXCPP $CPPFLAGS'
51310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51313
51314       cat >conftest.$ac_ext <<_ACEOF
51315 /* confdefs.h.  */
51316 _ACEOF
51317 cat confdefs.h >>conftest.$ac_ext
51318 cat >>conftest.$ac_ext <<_ACEOF
51319 /* end confdefs.h.  */
51320 #include <math.h>
51321 int
51322 main ()
51323 {
51324  __builtin_cos(0);
51325   ;
51326   return 0;
51327 }
51328 _ACEOF
51329 rm -f conftest.$ac_objext
51330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51331   (eval $ac_compile) 2>conftest.er1
51332   ac_status=$?
51333   grep -v '^ *+' conftest.er1 >conftest.err
51334   rm -f conftest.er1
51335   cat conftest.err >&5
51336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51337   (exit $ac_status); } &&
51338          { ac_try='test -z "$ac_cxx_werror_flag"
51339                          || test ! -s conftest.err'
51340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51341   (eval $ac_try) 2>&5
51342   ac_status=$?
51343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51344   (exit $ac_status); }; } &&
51345          { ac_try='test -s conftest.$ac_objext'
51346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51347   (eval $ac_try) 2>&5
51348   ac_status=$?
51349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51350   (exit $ac_status); }; }; then
51351   glibcxx_cv_func___builtin_cos_use=yes
51352 else
51353   echo "$as_me: failed program was:" >&5
51354 sed 's/^/| /' conftest.$ac_ext >&5
51355
51356 glibcxx_cv_func___builtin_cos_use=no
51357 fi
51358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51359       ac_ext=c
51360 ac_cpp='$CPP $CPPFLAGS'
51361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51364
51365
51366 fi
51367
51368   fi
51369   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
51370 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
51371   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
51372     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
51373 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
51374     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
51375       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
51376   echo $ECHO_N "(cached) $ECHO_C" >&6
51377 else
51378
51379         if test x$gcc_no_link = xyes; then
51380   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51381 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51382    { (exit 1); exit 1; }; }
51383 fi
51384 cat >conftest.$ac_ext <<_ACEOF
51385 /* confdefs.h.  */
51386 _ACEOF
51387 cat confdefs.h >>conftest.$ac_ext
51388 cat >>conftest.$ac_ext <<_ACEOF
51389 /* end confdefs.h.  */
51390 #include <math.h>
51391 int
51392 main ()
51393 {
51394  __builtin_cos(0);
51395   ;
51396   return 0;
51397 }
51398 _ACEOF
51399 rm -f conftest.$ac_objext conftest$ac_exeext
51400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51401   (eval $ac_link) 2>conftest.er1
51402   ac_status=$?
51403   grep -v '^ *+' conftest.er1 >conftest.err
51404   rm -f conftest.er1
51405   cat conftest.err >&5
51406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51407   (exit $ac_status); } &&
51408          { ac_try='test -z "$ac_c_werror_flag"
51409                          || test ! -s conftest.err'
51410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51411   (eval $ac_try) 2>&5
51412   ac_status=$?
51413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51414   (exit $ac_status); }; } &&
51415          { ac_try='test -s conftest$ac_exeext'
51416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51417   (eval $ac_try) 2>&5
51418   ac_status=$?
51419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51420   (exit $ac_status); }; }; then
51421   glibcxx_cv_func___builtin_cos_link=yes
51422 else
51423   echo "$as_me: failed program was:" >&5
51424 sed 's/^/| /' conftest.$ac_ext >&5
51425
51426 glibcxx_cv_func___builtin_cos_link=no
51427 fi
51428 rm -f conftest.err conftest.$ac_objext \
51429       conftest$ac_exeext conftest.$ac_ext
51430
51431 fi
51432
51433     fi
51434     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
51435 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
51436
51437     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
51438
51439 cat >>confdefs.h <<\_ACEOF
51440 #define HAVE___BUILTIN_COS 1
51441 _ACEOF
51442
51443     fi
51444
51445   fi
51446
51447
51448   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
51449 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
51450   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
51451     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
51452   echo $ECHO_N "(cached) $ECHO_C" >&6
51453 else
51454
51455
51456
51457       ac_ext=cc
51458 ac_cpp='$CXXCPP $CPPFLAGS'
51459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51462
51463       cat >conftest.$ac_ext <<_ACEOF
51464 /* confdefs.h.  */
51465 _ACEOF
51466 cat confdefs.h >>conftest.$ac_ext
51467 cat >>conftest.$ac_ext <<_ACEOF
51468 /* end confdefs.h.  */
51469 #include <math.h>
51470 int
51471 main ()
51472 {
51473  __builtin_cosl(0);
51474   ;
51475   return 0;
51476 }
51477 _ACEOF
51478 rm -f conftest.$ac_objext
51479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51480   (eval $ac_compile) 2>conftest.er1
51481   ac_status=$?
51482   grep -v '^ *+' conftest.er1 >conftest.err
51483   rm -f conftest.er1
51484   cat conftest.err >&5
51485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51486   (exit $ac_status); } &&
51487          { ac_try='test -z "$ac_cxx_werror_flag"
51488                          || test ! -s conftest.err'
51489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51490   (eval $ac_try) 2>&5
51491   ac_status=$?
51492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51493   (exit $ac_status); }; } &&
51494          { ac_try='test -s conftest.$ac_objext'
51495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51496   (eval $ac_try) 2>&5
51497   ac_status=$?
51498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51499   (exit $ac_status); }; }; then
51500   glibcxx_cv_func___builtin_cosl_use=yes
51501 else
51502   echo "$as_me: failed program was:" >&5
51503 sed 's/^/| /' conftest.$ac_ext >&5
51504
51505 glibcxx_cv_func___builtin_cosl_use=no
51506 fi
51507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51508       ac_ext=c
51509 ac_cpp='$CPP $CPPFLAGS'
51510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51513
51514
51515 fi
51516
51517   fi
51518   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
51519 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
51520   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
51521     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
51522 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
51523     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
51524       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
51525   echo $ECHO_N "(cached) $ECHO_C" >&6
51526 else
51527
51528         if test x$gcc_no_link = xyes; then
51529   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51531    { (exit 1); exit 1; }; }
51532 fi
51533 cat >conftest.$ac_ext <<_ACEOF
51534 /* confdefs.h.  */
51535 _ACEOF
51536 cat confdefs.h >>conftest.$ac_ext
51537 cat >>conftest.$ac_ext <<_ACEOF
51538 /* end confdefs.h.  */
51539 #include <math.h>
51540 int
51541 main ()
51542 {
51543  __builtin_cosl(0);
51544   ;
51545   return 0;
51546 }
51547 _ACEOF
51548 rm -f conftest.$ac_objext conftest$ac_exeext
51549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51550   (eval $ac_link) 2>conftest.er1
51551   ac_status=$?
51552   grep -v '^ *+' conftest.er1 >conftest.err
51553   rm -f conftest.er1
51554   cat conftest.err >&5
51555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51556   (exit $ac_status); } &&
51557          { ac_try='test -z "$ac_c_werror_flag"
51558                          || test ! -s conftest.err'
51559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51560   (eval $ac_try) 2>&5
51561   ac_status=$?
51562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51563   (exit $ac_status); }; } &&
51564          { ac_try='test -s conftest$ac_exeext'
51565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51566   (eval $ac_try) 2>&5
51567   ac_status=$?
51568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51569   (exit $ac_status); }; }; then
51570   glibcxx_cv_func___builtin_cosl_link=yes
51571 else
51572   echo "$as_me: failed program was:" >&5
51573 sed 's/^/| /' conftest.$ac_ext >&5
51574
51575 glibcxx_cv_func___builtin_cosl_link=no
51576 fi
51577 rm -f conftest.err conftest.$ac_objext \
51578       conftest$ac_exeext conftest.$ac_ext
51579
51580 fi
51581
51582     fi
51583     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
51584 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
51585
51586     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
51587
51588 cat >>confdefs.h <<\_ACEOF
51589 #define HAVE___BUILTIN_COSL 1
51590 _ACEOF
51591
51592     fi
51593
51594   fi
51595
51596
51597
51598
51599 echo "$as_me:$LINENO: checking for main in -lm" >&5
51600 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
51601 if test "${ac_cv_lib_m_main+set}" = set; then
51602   echo $ECHO_N "(cached) $ECHO_C" >&6
51603 else
51604   ac_check_lib_save_LIBS=$LIBS
51605 LIBS="-lm  $LIBS"
51606 if test x$gcc_no_link = xyes; then
51607   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51608 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51609    { (exit 1); exit 1; }; }
51610 fi
51611 cat >conftest.$ac_ext <<_ACEOF
51612 /* confdefs.h.  */
51613 _ACEOF
51614 cat confdefs.h >>conftest.$ac_ext
51615 cat >>conftest.$ac_ext <<_ACEOF
51616 /* end confdefs.h.  */
51617
51618
51619 int
51620 main ()
51621 {
51622 main ();
51623   ;
51624   return 0;
51625 }
51626 _ACEOF
51627 rm -f conftest.$ac_objext conftest$ac_exeext
51628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51629   (eval $ac_link) 2>conftest.er1
51630   ac_status=$?
51631   grep -v '^ *+' conftest.er1 >conftest.err
51632   rm -f conftest.er1
51633   cat conftest.err >&5
51634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51635   (exit $ac_status); } &&
51636          { ac_try='test -z "$ac_c_werror_flag"
51637                          || test ! -s conftest.err'
51638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51639   (eval $ac_try) 2>&5
51640   ac_status=$?
51641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51642   (exit $ac_status); }; } &&
51643          { ac_try='test -s conftest$ac_exeext'
51644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51645   (eval $ac_try) 2>&5
51646   ac_status=$?
51647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51648   (exit $ac_status); }; }; then
51649   ac_cv_lib_m_main=yes
51650 else
51651   echo "$as_me: failed program was:" >&5
51652 sed 's/^/| /' conftest.$ac_ext >&5
51653
51654 ac_cv_lib_m_main=no
51655 fi
51656 rm -f conftest.err conftest.$ac_objext \
51657       conftest$ac_exeext conftest.$ac_ext
51658 LIBS=$ac_check_lib_save_LIBS
51659 fi
51660 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
51661 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
51662 if test $ac_cv_lib_m_main = yes; then
51663   cat >>confdefs.h <<_ACEOF
51664 #define HAVE_LIBM 1
51665 _ACEOF
51666
51667   LIBS="-lm $LIBS"
51668
51669 fi
51670
51671
51672 for ac_func in copysignf
51673 do
51674 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51675 echo "$as_me:$LINENO: checking for $ac_func" >&5
51676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51677 if eval "test \"\${$as_ac_var+set}\" = set"; then
51678   echo $ECHO_N "(cached) $ECHO_C" >&6
51679 else
51680   if test x$gcc_no_link = xyes; then
51681   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51683    { (exit 1); exit 1; }; }
51684 fi
51685 cat >conftest.$ac_ext <<_ACEOF
51686 /* confdefs.h.  */
51687 _ACEOF
51688 cat confdefs.h >>conftest.$ac_ext
51689 cat >>conftest.$ac_ext <<_ACEOF
51690 /* end confdefs.h.  */
51691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51692    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51693 #define $ac_func innocuous_$ac_func
51694
51695 /* System header to define __stub macros and hopefully few prototypes,
51696     which can conflict with char $ac_func (); below.
51697     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51698     <limits.h> exists even on freestanding compilers.  */
51699
51700 #ifdef __STDC__
51701 # include <limits.h>
51702 #else
51703 # include <assert.h>
51704 #endif
51705
51706 #undef $ac_func
51707
51708 /* Override any gcc2 internal prototype to avoid an error.  */
51709 #ifdef __cplusplus
51710 extern "C"
51711 {
51712 #endif
51713 /* We use char because int might match the return type of a gcc2
51714    builtin and then its argument prototype would still apply.  */
51715 char $ac_func ();
51716 /* The GNU C library defines this for functions which it implements
51717     to always fail with ENOSYS.  Some functions are actually named
51718     something starting with __ and the normal name is an alias.  */
51719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51720 choke me
51721 #else
51722 char (*f) () = $ac_func;
51723 #endif
51724 #ifdef __cplusplus
51725 }
51726 #endif
51727
51728 int
51729 main ()
51730 {
51731 return f != $ac_func;
51732   ;
51733   return 0;
51734 }
51735 _ACEOF
51736 rm -f conftest.$ac_objext conftest$ac_exeext
51737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51738   (eval $ac_link) 2>conftest.er1
51739   ac_status=$?
51740   grep -v '^ *+' conftest.er1 >conftest.err
51741   rm -f conftest.er1
51742   cat conftest.err >&5
51743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51744   (exit $ac_status); } &&
51745          { ac_try='test -z "$ac_c_werror_flag"
51746                          || test ! -s conftest.err'
51747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51748   (eval $ac_try) 2>&5
51749   ac_status=$?
51750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51751   (exit $ac_status); }; } &&
51752          { ac_try='test -s conftest$ac_exeext'
51753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51754   (eval $ac_try) 2>&5
51755   ac_status=$?
51756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51757   (exit $ac_status); }; }; then
51758   eval "$as_ac_var=yes"
51759 else
51760   echo "$as_me: failed program was:" >&5
51761 sed 's/^/| /' conftest.$ac_ext >&5
51762
51763 eval "$as_ac_var=no"
51764 fi
51765 rm -f conftest.err conftest.$ac_objext \
51766       conftest$ac_exeext conftest.$ac_ext
51767 fi
51768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51770 if test `eval echo '${'$as_ac_var'}'` = yes; then
51771   cat >>confdefs.h <<_ACEOF
51772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51773 _ACEOF
51774
51775 else
51776   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
51777 fi
51778 done
51779
51780
51781
51782 for ac_func in __signbit
51783 do
51784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51785 echo "$as_me:$LINENO: checking for $ac_func" >&5
51786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51787 if eval "test \"\${$as_ac_var+set}\" = set"; then
51788   echo $ECHO_N "(cached) $ECHO_C" >&6
51789 else
51790   if test x$gcc_no_link = xyes; then
51791   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51793    { (exit 1); exit 1; }; }
51794 fi
51795 cat >conftest.$ac_ext <<_ACEOF
51796 /* confdefs.h.  */
51797 _ACEOF
51798 cat confdefs.h >>conftest.$ac_ext
51799 cat >>conftest.$ac_ext <<_ACEOF
51800 /* end confdefs.h.  */
51801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51802    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51803 #define $ac_func innocuous_$ac_func
51804
51805 /* System header to define __stub macros and hopefully few prototypes,
51806     which can conflict with char $ac_func (); below.
51807     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51808     <limits.h> exists even on freestanding compilers.  */
51809
51810 #ifdef __STDC__
51811 # include <limits.h>
51812 #else
51813 # include <assert.h>
51814 #endif
51815
51816 #undef $ac_func
51817
51818 /* Override any gcc2 internal prototype to avoid an error.  */
51819 #ifdef __cplusplus
51820 extern "C"
51821 {
51822 #endif
51823 /* We use char because int might match the return type of a gcc2
51824    builtin and then its argument prototype would still apply.  */
51825 char $ac_func ();
51826 /* The GNU C library defines this for functions which it implements
51827     to always fail with ENOSYS.  Some functions are actually named
51828     something starting with __ and the normal name is an alias.  */
51829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51830 choke me
51831 #else
51832 char (*f) () = $ac_func;
51833 #endif
51834 #ifdef __cplusplus
51835 }
51836 #endif
51837
51838 int
51839 main ()
51840 {
51841 return f != $ac_func;
51842   ;
51843   return 0;
51844 }
51845 _ACEOF
51846 rm -f conftest.$ac_objext conftest$ac_exeext
51847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51848   (eval $ac_link) 2>conftest.er1
51849   ac_status=$?
51850   grep -v '^ *+' conftest.er1 >conftest.err
51851   rm -f conftest.er1
51852   cat conftest.err >&5
51853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51854   (exit $ac_status); } &&
51855          { ac_try='test -z "$ac_c_werror_flag"
51856                          || test ! -s conftest.err'
51857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51858   (eval $ac_try) 2>&5
51859   ac_status=$?
51860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51861   (exit $ac_status); }; } &&
51862          { ac_try='test -s conftest$ac_exeext'
51863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51864   (eval $ac_try) 2>&5
51865   ac_status=$?
51866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51867   (exit $ac_status); }; }; then
51868   eval "$as_ac_var=yes"
51869 else
51870   echo "$as_me: failed program was:" >&5
51871 sed 's/^/| /' conftest.$ac_ext >&5
51872
51873 eval "$as_ac_var=no"
51874 fi
51875 rm -f conftest.err conftest.$ac_objext \
51876       conftest$ac_exeext conftest.$ac_ext
51877 fi
51878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51880 if test `eval echo '${'$as_ac_var'}'` = yes; then
51881   cat >>confdefs.h <<_ACEOF
51882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51883 _ACEOF
51884
51885 else
51886   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
51887 fi
51888 done
51889
51890
51891
51892 for ac_func in __signbitf
51893 do
51894 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51895 echo "$as_me:$LINENO: checking for $ac_func" >&5
51896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51897 if eval "test \"\${$as_ac_var+set}\" = set"; then
51898   echo $ECHO_N "(cached) $ECHO_C" >&6
51899 else
51900   if test x$gcc_no_link = xyes; then
51901   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51903    { (exit 1); exit 1; }; }
51904 fi
51905 cat >conftest.$ac_ext <<_ACEOF
51906 /* confdefs.h.  */
51907 _ACEOF
51908 cat confdefs.h >>conftest.$ac_ext
51909 cat >>conftest.$ac_ext <<_ACEOF
51910 /* end confdefs.h.  */
51911 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51912    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51913 #define $ac_func innocuous_$ac_func
51914
51915 /* System header to define __stub macros and hopefully few prototypes,
51916     which can conflict with char $ac_func (); below.
51917     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51918     <limits.h> exists even on freestanding compilers.  */
51919
51920 #ifdef __STDC__
51921 # include <limits.h>
51922 #else
51923 # include <assert.h>
51924 #endif
51925
51926 #undef $ac_func
51927
51928 /* Override any gcc2 internal prototype to avoid an error.  */
51929 #ifdef __cplusplus
51930 extern "C"
51931 {
51932 #endif
51933 /* We use char because int might match the return type of a gcc2
51934    builtin and then its argument prototype would still apply.  */
51935 char $ac_func ();
51936 /* The GNU C library defines this for functions which it implements
51937     to always fail with ENOSYS.  Some functions are actually named
51938     something starting with __ and the normal name is an alias.  */
51939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51940 choke me
51941 #else
51942 char (*f) () = $ac_func;
51943 #endif
51944 #ifdef __cplusplus
51945 }
51946 #endif
51947
51948 int
51949 main ()
51950 {
51951 return f != $ac_func;
51952   ;
51953   return 0;
51954 }
51955 _ACEOF
51956 rm -f conftest.$ac_objext conftest$ac_exeext
51957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51958   (eval $ac_link) 2>conftest.er1
51959   ac_status=$?
51960   grep -v '^ *+' conftest.er1 >conftest.err
51961   rm -f conftest.er1
51962   cat conftest.err >&5
51963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51964   (exit $ac_status); } &&
51965          { ac_try='test -z "$ac_c_werror_flag"
51966                          || test ! -s conftest.err'
51967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51968   (eval $ac_try) 2>&5
51969   ac_status=$?
51970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51971   (exit $ac_status); }; } &&
51972          { ac_try='test -s conftest$ac_exeext'
51973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51974   (eval $ac_try) 2>&5
51975   ac_status=$?
51976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51977   (exit $ac_status); }; }; then
51978   eval "$as_ac_var=yes"
51979 else
51980   echo "$as_me: failed program was:" >&5
51981 sed 's/^/| /' conftest.$ac_ext >&5
51982
51983 eval "$as_ac_var=no"
51984 fi
51985 rm -f conftest.err conftest.$ac_objext \
51986       conftest$ac_exeext conftest.$ac_ext
51987 fi
51988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51989 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51990 if test `eval echo '${'$as_ac_var'}'` = yes; then
51991   cat >>confdefs.h <<_ACEOF
51992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51993 _ACEOF
51994
51995 else
51996   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
51997 fi
51998 done
51999
52000
52001           if test x$ac_cv_func_copysignl = x"yes"; then
52002
52003 for ac_func in __signbitl
52004 do
52005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52006 echo "$as_me:$LINENO: checking for $ac_func" >&5
52007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52008 if eval "test \"\${$as_ac_var+set}\" = set"; then
52009   echo $ECHO_N "(cached) $ECHO_C" >&6
52010 else
52011   if test x$gcc_no_link = xyes; then
52012   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52014    { (exit 1); exit 1; }; }
52015 fi
52016 cat >conftest.$ac_ext <<_ACEOF
52017 /* confdefs.h.  */
52018 _ACEOF
52019 cat confdefs.h >>conftest.$ac_ext
52020 cat >>conftest.$ac_ext <<_ACEOF
52021 /* end confdefs.h.  */
52022 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52023    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52024 #define $ac_func innocuous_$ac_func
52025
52026 /* System header to define __stub macros and hopefully few prototypes,
52027     which can conflict with char $ac_func (); below.
52028     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52029     <limits.h> exists even on freestanding compilers.  */
52030
52031 #ifdef __STDC__
52032 # include <limits.h>
52033 #else
52034 # include <assert.h>
52035 #endif
52036
52037 #undef $ac_func
52038
52039 /* Override any gcc2 internal prototype to avoid an error.  */
52040 #ifdef __cplusplus
52041 extern "C"
52042 {
52043 #endif
52044 /* We use char because int might match the return type of a gcc2
52045    builtin and then its argument prototype would still apply.  */
52046 char $ac_func ();
52047 /* The GNU C library defines this for functions which it implements
52048     to always fail with ENOSYS.  Some functions are actually named
52049     something starting with __ and the normal name is an alias.  */
52050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52051 choke me
52052 #else
52053 char (*f) () = $ac_func;
52054 #endif
52055 #ifdef __cplusplus
52056 }
52057 #endif
52058
52059 int
52060 main ()
52061 {
52062 return f != $ac_func;
52063   ;
52064   return 0;
52065 }
52066 _ACEOF
52067 rm -f conftest.$ac_objext conftest$ac_exeext
52068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52069   (eval $ac_link) 2>conftest.er1
52070   ac_status=$?
52071   grep -v '^ *+' conftest.er1 >conftest.err
52072   rm -f conftest.er1
52073   cat conftest.err >&5
52074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52075   (exit $ac_status); } &&
52076          { ac_try='test -z "$ac_c_werror_flag"
52077                          || test ! -s conftest.err'
52078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52079   (eval $ac_try) 2>&5
52080   ac_status=$?
52081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52082   (exit $ac_status); }; } &&
52083          { ac_try='test -s conftest$ac_exeext'
52084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52085   (eval $ac_try) 2>&5
52086   ac_status=$?
52087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52088   (exit $ac_status); }; }; then
52089   eval "$as_ac_var=yes"
52090 else
52091   echo "$as_me: failed program was:" >&5
52092 sed 's/^/| /' conftest.$ac_ext >&5
52093
52094 eval "$as_ac_var=no"
52095 fi
52096 rm -f conftest.err conftest.$ac_objext \
52097       conftest$ac_exeext conftest.$ac_ext
52098 fi
52099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52100 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52101 if test `eval echo '${'$as_ac_var'}'` = yes; then
52102   cat >>confdefs.h <<_ACEOF
52103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52104 _ACEOF
52105
52106 else
52107   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
52108 fi
52109 done
52110
52111   fi
52112
52113   # Used in libmath/Makefile.am.
52114   if test -n "$LIBMATHOBJS"; then
52115     need_libmath=yes
52116   fi
52117
52118
52119
52120
52121   enable_iconv=no
52122   # Only continue checking if the ISO C99 headers exist and support is on.
52123   if test x"$enable_wchar_t" = xyes; then
52124
52125     # Use iconv for wchar_t to char conversions. As such, check for
52126     # X/Open Portability Guide, version 2 features (XPG2).
52127     if test "${ac_cv_header_iconv_h+set}" = set; then
52128   echo "$as_me:$LINENO: checking for iconv.h" >&5
52129 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
52130 if test "${ac_cv_header_iconv_h+set}" = set; then
52131   echo $ECHO_N "(cached) $ECHO_C" >&6
52132 fi
52133 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
52134 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
52135 else
52136   # Is the header compilable?
52137 echo "$as_me:$LINENO: checking iconv.h usability" >&5
52138 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
52139 cat >conftest.$ac_ext <<_ACEOF
52140 /* confdefs.h.  */
52141 _ACEOF
52142 cat confdefs.h >>conftest.$ac_ext
52143 cat >>conftest.$ac_ext <<_ACEOF
52144 /* end confdefs.h.  */
52145 $ac_includes_default
52146 #include <iconv.h>
52147 _ACEOF
52148 rm -f conftest.$ac_objext
52149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52150   (eval $ac_compile) 2>conftest.er1
52151   ac_status=$?
52152   grep -v '^ *+' conftest.er1 >conftest.err
52153   rm -f conftest.er1
52154   cat conftest.err >&5
52155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52156   (exit $ac_status); } &&
52157          { ac_try='test -z "$ac_c_werror_flag"
52158                          || test ! -s conftest.err'
52159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52160   (eval $ac_try) 2>&5
52161   ac_status=$?
52162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52163   (exit $ac_status); }; } &&
52164          { ac_try='test -s conftest.$ac_objext'
52165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52166   (eval $ac_try) 2>&5
52167   ac_status=$?
52168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52169   (exit $ac_status); }; }; then
52170   ac_header_compiler=yes
52171 else
52172   echo "$as_me: failed program was:" >&5
52173 sed 's/^/| /' conftest.$ac_ext >&5
52174
52175 ac_header_compiler=no
52176 fi
52177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52178 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52179 echo "${ECHO_T}$ac_header_compiler" >&6
52180
52181 # Is the header present?
52182 echo "$as_me:$LINENO: checking iconv.h presence" >&5
52183 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
52184 cat >conftest.$ac_ext <<_ACEOF
52185 /* confdefs.h.  */
52186 _ACEOF
52187 cat confdefs.h >>conftest.$ac_ext
52188 cat >>conftest.$ac_ext <<_ACEOF
52189 /* end confdefs.h.  */
52190 #include <iconv.h>
52191 _ACEOF
52192 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52193   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52194   ac_status=$?
52195   grep -v '^ *+' conftest.er1 >conftest.err
52196   rm -f conftest.er1
52197   cat conftest.err >&5
52198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52199   (exit $ac_status); } >/dev/null; then
52200   if test -s conftest.err; then
52201     ac_cpp_err=$ac_c_preproc_warn_flag
52202     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52203   else
52204     ac_cpp_err=
52205   fi
52206 else
52207   ac_cpp_err=yes
52208 fi
52209 if test -z "$ac_cpp_err"; then
52210   ac_header_preproc=yes
52211 else
52212   echo "$as_me: failed program was:" >&5
52213 sed 's/^/| /' conftest.$ac_ext >&5
52214
52215   ac_header_preproc=no
52216 fi
52217 rm -f conftest.err conftest.$ac_ext
52218 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52219 echo "${ECHO_T}$ac_header_preproc" >&6
52220
52221 # So?  What about this header?
52222 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52223   yes:no: )
52224     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
52225 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52226     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
52227 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
52228     ac_header_preproc=yes
52229     ;;
52230   no:yes:* )
52231     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
52232 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
52233     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
52234 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
52235     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
52236 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
52237     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
52238 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
52239     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
52240 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
52241     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
52242 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
52243     (
52244       cat <<\_ASBOX
52245 ## ----------------------------------------- ##
52246 ## Report this to the package-unused lists.  ##
52247 ## ----------------------------------------- ##
52248 _ASBOX
52249     ) |
52250       sed "s/^/$as_me: WARNING:     /" >&2
52251     ;;
52252 esac
52253 echo "$as_me:$LINENO: checking for iconv.h" >&5
52254 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
52255 if test "${ac_cv_header_iconv_h+set}" = set; then
52256   echo $ECHO_N "(cached) $ECHO_C" >&6
52257 else
52258   ac_cv_header_iconv_h=$ac_header_preproc
52259 fi
52260 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
52261 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
52262
52263 fi
52264 if test $ac_cv_header_iconv_h = yes; then
52265   ac_has_iconv_h=yes
52266 else
52267   ac_has_iconv_h=no
52268 fi
52269
52270
52271     if test "${ac_cv_header_langinfo_h+set}" = set; then
52272   echo "$as_me:$LINENO: checking for langinfo.h" >&5
52273 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52274 if test "${ac_cv_header_langinfo_h+set}" = set; then
52275   echo $ECHO_N "(cached) $ECHO_C" >&6
52276 fi
52277 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52278 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52279 else
52280   # Is the header compilable?
52281 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
52282 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
52283 cat >conftest.$ac_ext <<_ACEOF
52284 /* confdefs.h.  */
52285 _ACEOF
52286 cat confdefs.h >>conftest.$ac_ext
52287 cat >>conftest.$ac_ext <<_ACEOF
52288 /* end confdefs.h.  */
52289 $ac_includes_default
52290 #include <langinfo.h>
52291 _ACEOF
52292 rm -f conftest.$ac_objext
52293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52294   (eval $ac_compile) 2>conftest.er1
52295   ac_status=$?
52296   grep -v '^ *+' conftest.er1 >conftest.err
52297   rm -f conftest.er1
52298   cat conftest.err >&5
52299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52300   (exit $ac_status); } &&
52301          { ac_try='test -z "$ac_c_werror_flag"
52302                          || test ! -s conftest.err'
52303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52304   (eval $ac_try) 2>&5
52305   ac_status=$?
52306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52307   (exit $ac_status); }; } &&
52308          { ac_try='test -s conftest.$ac_objext'
52309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52310   (eval $ac_try) 2>&5
52311   ac_status=$?
52312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52313   (exit $ac_status); }; }; then
52314   ac_header_compiler=yes
52315 else
52316   echo "$as_me: failed program was:" >&5
52317 sed 's/^/| /' conftest.$ac_ext >&5
52318
52319 ac_header_compiler=no
52320 fi
52321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52322 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52323 echo "${ECHO_T}$ac_header_compiler" >&6
52324
52325 # Is the header present?
52326 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
52327 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
52328 cat >conftest.$ac_ext <<_ACEOF
52329 /* confdefs.h.  */
52330 _ACEOF
52331 cat confdefs.h >>conftest.$ac_ext
52332 cat >>conftest.$ac_ext <<_ACEOF
52333 /* end confdefs.h.  */
52334 #include <langinfo.h>
52335 _ACEOF
52336 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52337   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52338   ac_status=$?
52339   grep -v '^ *+' conftest.er1 >conftest.err
52340   rm -f conftest.er1
52341   cat conftest.err >&5
52342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52343   (exit $ac_status); } >/dev/null; then
52344   if test -s conftest.err; then
52345     ac_cpp_err=$ac_c_preproc_warn_flag
52346     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52347   else
52348     ac_cpp_err=
52349   fi
52350 else
52351   ac_cpp_err=yes
52352 fi
52353 if test -z "$ac_cpp_err"; then
52354   ac_header_preproc=yes
52355 else
52356   echo "$as_me: failed program was:" >&5
52357 sed 's/^/| /' conftest.$ac_ext >&5
52358
52359   ac_header_preproc=no
52360 fi
52361 rm -f conftest.err conftest.$ac_ext
52362 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52363 echo "${ECHO_T}$ac_header_preproc" >&6
52364
52365 # So?  What about this header?
52366 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52367   yes:no: )
52368     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
52369 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52370     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
52371 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
52372     ac_header_preproc=yes
52373     ;;
52374   no:yes:* )
52375     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
52376 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
52377     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
52378 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
52379     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
52380 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
52381     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
52382 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
52383     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
52384 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
52385     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
52386 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
52387     (
52388       cat <<\_ASBOX
52389 ## ----------------------------------------- ##
52390 ## Report this to the package-unused lists.  ##
52391 ## ----------------------------------------- ##
52392 _ASBOX
52393     ) |
52394       sed "s/^/$as_me: WARNING:     /" >&2
52395     ;;
52396 esac
52397 echo "$as_me:$LINENO: checking for langinfo.h" >&5
52398 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52399 if test "${ac_cv_header_langinfo_h+set}" = set; then
52400   echo $ECHO_N "(cached) $ECHO_C" >&6
52401 else
52402   ac_cv_header_langinfo_h=$ac_header_preproc
52403 fi
52404 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52405 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52406
52407 fi
52408 if test $ac_cv_header_langinfo_h = yes; then
52409   ac_has_langinfo_h=yes
52410 else
52411   ac_has_langinfo_h=no
52412 fi
52413
52414
52415
52416     # Check for existence of libiconv.a providing XPG2 wchar_t support.
52417     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
52418 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
52419 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
52420   echo $ECHO_N "(cached) $ECHO_C" >&6
52421 else
52422   ac_check_lib_save_LIBS=$LIBS
52423 LIBS="-liconv  $LIBS"
52424 if test x$gcc_no_link = xyes; then
52425   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52427    { (exit 1); exit 1; }; }
52428 fi
52429 cat >conftest.$ac_ext <<_ACEOF
52430 /* confdefs.h.  */
52431 _ACEOF
52432 cat confdefs.h >>conftest.$ac_ext
52433 cat >>conftest.$ac_ext <<_ACEOF
52434 /* end confdefs.h.  */
52435
52436 /* Override any gcc2 internal prototype to avoid an error.  */
52437 #ifdef __cplusplus
52438 extern "C"
52439 #endif
52440 /* We use char because int might match the return type of a gcc2
52441    builtin and then its argument prototype would still apply.  */
52442 char iconv ();
52443 int
52444 main ()
52445 {
52446 iconv ();
52447   ;
52448   return 0;
52449 }
52450 _ACEOF
52451 rm -f conftest.$ac_objext conftest$ac_exeext
52452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52453   (eval $ac_link) 2>conftest.er1
52454   ac_status=$?
52455   grep -v '^ *+' conftest.er1 >conftest.err
52456   rm -f conftest.er1
52457   cat conftest.err >&5
52458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52459   (exit $ac_status); } &&
52460          { ac_try='test -z "$ac_c_werror_flag"
52461                          || test ! -s conftest.err'
52462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52463   (eval $ac_try) 2>&5
52464   ac_status=$?
52465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52466   (exit $ac_status); }; } &&
52467          { ac_try='test -s conftest$ac_exeext'
52468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52469   (eval $ac_try) 2>&5
52470   ac_status=$?
52471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52472   (exit $ac_status); }; }; then
52473   ac_cv_lib_iconv_iconv=yes
52474 else
52475   echo "$as_me: failed program was:" >&5
52476 sed 's/^/| /' conftest.$ac_ext >&5
52477
52478 ac_cv_lib_iconv_iconv=no
52479 fi
52480 rm -f conftest.err conftest.$ac_objext \
52481       conftest$ac_exeext conftest.$ac_ext
52482 LIBS=$ac_check_lib_save_LIBS
52483 fi
52484 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
52485 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
52486 if test $ac_cv_lib_iconv_iconv = yes; then
52487   LIBICONV="-liconv"
52488 fi
52489
52490     ac_save_LIBS="$LIBS"
52491     LIBS="$LIBS $LIBICONV"
52492
52493
52494
52495
52496
52497
52498 for ac_func in iconv_open iconv_close iconv nl_langinfo
52499 do
52500 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52501 echo "$as_me:$LINENO: checking for $ac_func" >&5
52502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52503 if eval "test \"\${$as_ac_var+set}\" = set"; then
52504   echo $ECHO_N "(cached) $ECHO_C" >&6
52505 else
52506   if test x$gcc_no_link = xyes; then
52507   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52508 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52509    { (exit 1); exit 1; }; }
52510 fi
52511 cat >conftest.$ac_ext <<_ACEOF
52512 /* confdefs.h.  */
52513 _ACEOF
52514 cat confdefs.h >>conftest.$ac_ext
52515 cat >>conftest.$ac_ext <<_ACEOF
52516 /* end confdefs.h.  */
52517 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52518    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52519 #define $ac_func innocuous_$ac_func
52520
52521 /* System header to define __stub macros and hopefully few prototypes,
52522     which can conflict with char $ac_func (); below.
52523     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52524     <limits.h> exists even on freestanding compilers.  */
52525
52526 #ifdef __STDC__
52527 # include <limits.h>
52528 #else
52529 # include <assert.h>
52530 #endif
52531
52532 #undef $ac_func
52533
52534 /* Override any gcc2 internal prototype to avoid an error.  */
52535 #ifdef __cplusplus
52536 extern "C"
52537 {
52538 #endif
52539 /* We use char because int might match the return type of a gcc2
52540    builtin and then its argument prototype would still apply.  */
52541 char $ac_func ();
52542 /* The GNU C library defines this for functions which it implements
52543     to always fail with ENOSYS.  Some functions are actually named
52544     something starting with __ and the normal name is an alias.  */
52545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52546 choke me
52547 #else
52548 char (*f) () = $ac_func;
52549 #endif
52550 #ifdef __cplusplus
52551 }
52552 #endif
52553
52554 int
52555 main ()
52556 {
52557 return f != $ac_func;
52558   ;
52559   return 0;
52560 }
52561 _ACEOF
52562 rm -f conftest.$ac_objext conftest$ac_exeext
52563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52564   (eval $ac_link) 2>conftest.er1
52565   ac_status=$?
52566   grep -v '^ *+' conftest.er1 >conftest.err
52567   rm -f conftest.er1
52568   cat conftest.err >&5
52569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52570   (exit $ac_status); } &&
52571          { ac_try='test -z "$ac_c_werror_flag"
52572                          || test ! -s conftest.err'
52573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52574   (eval $ac_try) 2>&5
52575   ac_status=$?
52576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52577   (exit $ac_status); }; } &&
52578          { ac_try='test -s conftest$ac_exeext'
52579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52580   (eval $ac_try) 2>&5
52581   ac_status=$?
52582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52583   (exit $ac_status); }; }; then
52584   eval "$as_ac_var=yes"
52585 else
52586   echo "$as_me: failed program was:" >&5
52587 sed 's/^/| /' conftest.$ac_ext >&5
52588
52589 eval "$as_ac_var=no"
52590 fi
52591 rm -f conftest.err conftest.$ac_objext \
52592       conftest$ac_exeext conftest.$ac_ext
52593 fi
52594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52595 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52596 if test `eval echo '${'$as_ac_var'}'` = yes; then
52597   cat >>confdefs.h <<_ACEOF
52598 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52599 _ACEOF
52600  ac_XPG2funcs=yes
52601 else
52602   ac_XPG2funcs=no
52603 fi
52604 done
52605
52606
52607     LIBS="$ac_save_LIBS"
52608
52609     if test x"$ac_has_iconv_h" = xyes &&
52610        test x"$ac_has_langinfo_h" = xyes &&
52611        test x"$ac_XPG2funcs" = xyes;
52612     then
52613
52614 cat >>confdefs.h <<\_ACEOF
52615 #define _GLIBCXX_USE_ICONV 1
52616 _ACEOF
52617
52618       enable_iconv=yes
52619     fi
52620   fi
52621   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
52622 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
52623   echo "$as_me:$LINENO: result: $enable_iconv" >&5
52624 echo "${ECHO_T}$enable_iconv" >&6
52625
52626
52627   ac_test_CXXFLAGS="${CXXFLAGS+set}"
52628   ac_save_CXXFLAGS="$CXXFLAGS"
52629   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52630
52631
52632   echo "$as_me:$LINENO: checking for strtold declaration" >&5
52633 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
52634   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52635     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
52636   echo $ECHO_N "(cached) $ECHO_C" >&6
52637 else
52638
52639
52640
52641       ac_ext=cc
52642 ac_cpp='$CXXCPP $CPPFLAGS'
52643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52646
52647       cat >conftest.$ac_ext <<_ACEOF
52648 /* confdefs.h.  */
52649 _ACEOF
52650 cat confdefs.h >>conftest.$ac_ext
52651 cat >>conftest.$ac_ext <<_ACEOF
52652 /* end confdefs.h.  */
52653 #include <stdlib.h>
52654 int
52655 main ()
52656 {
52657  strtold(0, 0);
52658   ;
52659   return 0;
52660 }
52661 _ACEOF
52662 rm -f conftest.$ac_objext
52663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52664   (eval $ac_compile) 2>conftest.er1
52665   ac_status=$?
52666   grep -v '^ *+' conftest.er1 >conftest.err
52667   rm -f conftest.er1
52668   cat conftest.err >&5
52669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52670   (exit $ac_status); } &&
52671          { ac_try='test -z "$ac_cxx_werror_flag"
52672                          || test ! -s conftest.err'
52673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52674   (eval $ac_try) 2>&5
52675   ac_status=$?
52676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52677   (exit $ac_status); }; } &&
52678          { ac_try='test -s conftest.$ac_objext'
52679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52680   (eval $ac_try) 2>&5
52681   ac_status=$?
52682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52683   (exit $ac_status); }; }; then
52684   glibcxx_cv_func_strtold_use=yes
52685 else
52686   echo "$as_me: failed program was:" >&5
52687 sed 's/^/| /' conftest.$ac_ext >&5
52688
52689 glibcxx_cv_func_strtold_use=no
52690 fi
52691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52692       ac_ext=c
52693 ac_cpp='$CPP $CPPFLAGS'
52694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52697
52698
52699 fi
52700
52701   fi
52702   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
52703 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
52704   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
52705
52706 for ac_func in strtold
52707 do
52708 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52709 echo "$as_me:$LINENO: checking for $ac_func" >&5
52710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52711 if eval "test \"\${$as_ac_var+set}\" = set"; then
52712   echo $ECHO_N "(cached) $ECHO_C" >&6
52713 else
52714   if test x$gcc_no_link = xyes; then
52715   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52717    { (exit 1); exit 1; }; }
52718 fi
52719 cat >conftest.$ac_ext <<_ACEOF
52720 /* confdefs.h.  */
52721 _ACEOF
52722 cat confdefs.h >>conftest.$ac_ext
52723 cat >>conftest.$ac_ext <<_ACEOF
52724 /* end confdefs.h.  */
52725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52726    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52727 #define $ac_func innocuous_$ac_func
52728
52729 /* System header to define __stub macros and hopefully few prototypes,
52730     which can conflict with char $ac_func (); below.
52731     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52732     <limits.h> exists even on freestanding compilers.  */
52733
52734 #ifdef __STDC__
52735 # include <limits.h>
52736 #else
52737 # include <assert.h>
52738 #endif
52739
52740 #undef $ac_func
52741
52742 /* Override any gcc2 internal prototype to avoid an error.  */
52743 #ifdef __cplusplus
52744 extern "C"
52745 {
52746 #endif
52747 /* We use char because int might match the return type of a gcc2
52748    builtin and then its argument prototype would still apply.  */
52749 char $ac_func ();
52750 /* The GNU C library defines this for functions which it implements
52751     to always fail with ENOSYS.  Some functions are actually named
52752     something starting with __ and the normal name is an alias.  */
52753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52754 choke me
52755 #else
52756 char (*f) () = $ac_func;
52757 #endif
52758 #ifdef __cplusplus
52759 }
52760 #endif
52761
52762 int
52763 main ()
52764 {
52765 return f != $ac_func;
52766   ;
52767   return 0;
52768 }
52769 _ACEOF
52770 rm -f conftest.$ac_objext conftest$ac_exeext
52771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52772   (eval $ac_link) 2>conftest.er1
52773   ac_status=$?
52774   grep -v '^ *+' conftest.er1 >conftest.err
52775   rm -f conftest.er1
52776   cat conftest.err >&5
52777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52778   (exit $ac_status); } &&
52779          { ac_try='test -z "$ac_c_werror_flag"
52780                          || test ! -s conftest.err'
52781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52782   (eval $ac_try) 2>&5
52783   ac_status=$?
52784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52785   (exit $ac_status); }; } &&
52786          { ac_try='test -s conftest$ac_exeext'
52787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52788   (eval $ac_try) 2>&5
52789   ac_status=$?
52790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52791   (exit $ac_status); }; }; then
52792   eval "$as_ac_var=yes"
52793 else
52794   echo "$as_me: failed program was:" >&5
52795 sed 's/^/| /' conftest.$ac_ext >&5
52796
52797 eval "$as_ac_var=no"
52798 fi
52799 rm -f conftest.err conftest.$ac_objext \
52800       conftest$ac_exeext conftest.$ac_ext
52801 fi
52802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52804 if test `eval echo '${'$as_ac_var'}'` = yes; then
52805   cat >>confdefs.h <<_ACEOF
52806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52807 _ACEOF
52808
52809 fi
52810 done
52811
52812   fi
52813
52814
52815
52816
52817
52818   echo "$as_me:$LINENO: checking for strtof declaration" >&5
52819 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
52820   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
52821     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
52822   echo $ECHO_N "(cached) $ECHO_C" >&6
52823 else
52824
52825
52826
52827       ac_ext=cc
52828 ac_cpp='$CXXCPP $CPPFLAGS'
52829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52832
52833       cat >conftest.$ac_ext <<_ACEOF
52834 /* confdefs.h.  */
52835 _ACEOF
52836 cat confdefs.h >>conftest.$ac_ext
52837 cat >>conftest.$ac_ext <<_ACEOF
52838 /* end confdefs.h.  */
52839 #include <stdlib.h>
52840 int
52841 main ()
52842 {
52843  strtof(0, 0);
52844   ;
52845   return 0;
52846 }
52847 _ACEOF
52848 rm -f conftest.$ac_objext
52849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52850   (eval $ac_compile) 2>conftest.er1
52851   ac_status=$?
52852   grep -v '^ *+' conftest.er1 >conftest.err
52853   rm -f conftest.er1
52854   cat conftest.err >&5
52855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52856   (exit $ac_status); } &&
52857          { ac_try='test -z "$ac_cxx_werror_flag"
52858                          || test ! -s conftest.err'
52859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52860   (eval $ac_try) 2>&5
52861   ac_status=$?
52862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52863   (exit $ac_status); }; } &&
52864          { ac_try='test -s conftest.$ac_objext'
52865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52866   (eval $ac_try) 2>&5
52867   ac_status=$?
52868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52869   (exit $ac_status); }; }; then
52870   glibcxx_cv_func_strtof_use=yes
52871 else
52872   echo "$as_me: failed program was:" >&5
52873 sed 's/^/| /' conftest.$ac_ext >&5
52874
52875 glibcxx_cv_func_strtof_use=no
52876 fi
52877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52878       ac_ext=c
52879 ac_cpp='$CPP $CPPFLAGS'
52880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52883
52884
52885 fi
52886
52887   fi
52888   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
52889 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
52890   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
52891
52892 for ac_func in strtof
52893 do
52894 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52895 echo "$as_me:$LINENO: checking for $ac_func" >&5
52896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52897 if eval "test \"\${$as_ac_var+set}\" = set"; then
52898   echo $ECHO_N "(cached) $ECHO_C" >&6
52899 else
52900   if test x$gcc_no_link = xyes; then
52901   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52903    { (exit 1); exit 1; }; }
52904 fi
52905 cat >conftest.$ac_ext <<_ACEOF
52906 /* confdefs.h.  */
52907 _ACEOF
52908 cat confdefs.h >>conftest.$ac_ext
52909 cat >>conftest.$ac_ext <<_ACEOF
52910 /* end confdefs.h.  */
52911 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52912    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52913 #define $ac_func innocuous_$ac_func
52914
52915 /* System header to define __stub macros and hopefully few prototypes,
52916     which can conflict with char $ac_func (); below.
52917     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52918     <limits.h> exists even on freestanding compilers.  */
52919
52920 #ifdef __STDC__
52921 # include <limits.h>
52922 #else
52923 # include <assert.h>
52924 #endif
52925
52926 #undef $ac_func
52927
52928 /* Override any gcc2 internal prototype to avoid an error.  */
52929 #ifdef __cplusplus
52930 extern "C"
52931 {
52932 #endif
52933 /* We use char because int might match the return type of a gcc2
52934    builtin and then its argument prototype would still apply.  */
52935 char $ac_func ();
52936 /* The GNU C library defines this for functions which it implements
52937     to always fail with ENOSYS.  Some functions are actually named
52938     something starting with __ and the normal name is an alias.  */
52939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52940 choke me
52941 #else
52942 char (*f) () = $ac_func;
52943 #endif
52944 #ifdef __cplusplus
52945 }
52946 #endif
52947
52948 int
52949 main ()
52950 {
52951 return f != $ac_func;
52952   ;
52953   return 0;
52954 }
52955 _ACEOF
52956 rm -f conftest.$ac_objext conftest$ac_exeext
52957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52958   (eval $ac_link) 2>conftest.er1
52959   ac_status=$?
52960   grep -v '^ *+' conftest.er1 >conftest.err
52961   rm -f conftest.er1
52962   cat conftest.err >&5
52963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52964   (exit $ac_status); } &&
52965          { ac_try='test -z "$ac_c_werror_flag"
52966                          || test ! -s conftest.err'
52967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52968   (eval $ac_try) 2>&5
52969   ac_status=$?
52970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52971   (exit $ac_status); }; } &&
52972          { ac_try='test -s conftest$ac_exeext'
52973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52974   (eval $ac_try) 2>&5
52975   ac_status=$?
52976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52977   (exit $ac_status); }; }; then
52978   eval "$as_ac_var=yes"
52979 else
52980   echo "$as_me: failed program was:" >&5
52981 sed 's/^/| /' conftest.$ac_ext >&5
52982
52983 eval "$as_ac_var=no"
52984 fi
52985 rm -f conftest.err conftest.$ac_objext \
52986       conftest$ac_exeext conftest.$ac_ext
52987 fi
52988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52989 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52990 if test `eval echo '${'$as_ac_var'}'` = yes; then
52991   cat >>confdefs.h <<_ACEOF
52992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52993 _ACEOF
52994
52995 fi
52996 done
52997
52998   fi
52999
53000
53001
53002
53003
53004   CXXFLAGS="$ac_save_CXXFLAGS"
53005
53006
53007     # For showmanyc_helper().
53008
53009
53010 for ac_header in sys/ioctl.h sys/filio.h
53011 do
53012 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53013 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53014   echo "$as_me:$LINENO: checking for $ac_header" >&5
53015 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53016 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53017   echo $ECHO_N "(cached) $ECHO_C" >&6
53018 fi
53019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53020 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53021 else
53022   # Is the header compilable?
53023 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53024 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53025 cat >conftest.$ac_ext <<_ACEOF
53026 /* confdefs.h.  */
53027 _ACEOF
53028 cat confdefs.h >>conftest.$ac_ext
53029 cat >>conftest.$ac_ext <<_ACEOF
53030 /* end confdefs.h.  */
53031 $ac_includes_default
53032 #include <$ac_header>
53033 _ACEOF
53034 rm -f conftest.$ac_objext
53035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53036   (eval $ac_compile) 2>conftest.er1
53037   ac_status=$?
53038   grep -v '^ *+' conftest.er1 >conftest.err
53039   rm -f conftest.er1
53040   cat conftest.err >&5
53041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53042   (exit $ac_status); } &&
53043          { ac_try='test -z "$ac_c_werror_flag"
53044                          || test ! -s conftest.err'
53045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53046   (eval $ac_try) 2>&5
53047   ac_status=$?
53048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53049   (exit $ac_status); }; } &&
53050          { ac_try='test -s conftest.$ac_objext'
53051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53052   (eval $ac_try) 2>&5
53053   ac_status=$?
53054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53055   (exit $ac_status); }; }; then
53056   ac_header_compiler=yes
53057 else
53058   echo "$as_me: failed program was:" >&5
53059 sed 's/^/| /' conftest.$ac_ext >&5
53060
53061 ac_header_compiler=no
53062 fi
53063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53064 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53065 echo "${ECHO_T}$ac_header_compiler" >&6
53066
53067 # Is the header present?
53068 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53069 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53070 cat >conftest.$ac_ext <<_ACEOF
53071 /* confdefs.h.  */
53072 _ACEOF
53073 cat confdefs.h >>conftest.$ac_ext
53074 cat >>conftest.$ac_ext <<_ACEOF
53075 /* end confdefs.h.  */
53076 #include <$ac_header>
53077 _ACEOF
53078 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53079   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53080   ac_status=$?
53081   grep -v '^ *+' conftest.er1 >conftest.err
53082   rm -f conftest.er1
53083   cat conftest.err >&5
53084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53085   (exit $ac_status); } >/dev/null; then
53086   if test -s conftest.err; then
53087     ac_cpp_err=$ac_c_preproc_warn_flag
53088     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53089   else
53090     ac_cpp_err=
53091   fi
53092 else
53093   ac_cpp_err=yes
53094 fi
53095 if test -z "$ac_cpp_err"; then
53096   ac_header_preproc=yes
53097 else
53098   echo "$as_me: failed program was:" >&5
53099 sed 's/^/| /' conftest.$ac_ext >&5
53100
53101   ac_header_preproc=no
53102 fi
53103 rm -f conftest.err conftest.$ac_ext
53104 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53105 echo "${ECHO_T}$ac_header_preproc" >&6
53106
53107 # So?  What about this header?
53108 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53109   yes:no: )
53110     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53111 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53112     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53113 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53114     ac_header_preproc=yes
53115     ;;
53116   no:yes:* )
53117     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53118 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53119     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
53120 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
53121     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53122 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53123     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
53124 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
53125     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53126 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53127     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53128 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53129     (
53130       cat <<\_ASBOX
53131 ## ----------------------------------------- ##
53132 ## Report this to the package-unused lists.  ##
53133 ## ----------------------------------------- ##
53134 _ASBOX
53135     ) |
53136       sed "s/^/$as_me: WARNING:     /" >&2
53137     ;;
53138 esac
53139 echo "$as_me:$LINENO: checking for $ac_header" >&5
53140 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53141 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53142   echo $ECHO_N "(cached) $ECHO_C" >&6
53143 else
53144   eval "$as_ac_Header=\$ac_header_preproc"
53145 fi
53146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53147 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53148
53149 fi
53150 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53151   cat >>confdefs.h <<_ACEOF
53152 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53153 _ACEOF
53154
53155 fi
53156
53157 done
53158
53159
53160   echo "$as_me:$LINENO: checking for poll" >&5
53161 echo $ECHO_N "checking for poll... $ECHO_C" >&6
53162   if test "${glibcxx_cv_POLL+set}" = set; then
53163   echo $ECHO_N "(cached) $ECHO_C" >&6
53164 else
53165
53166     if test x$gcc_no_link = xyes; then
53167   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53169    { (exit 1); exit 1; }; }
53170 fi
53171 cat >conftest.$ac_ext <<_ACEOF
53172 /* confdefs.h.  */
53173 _ACEOF
53174 cat confdefs.h >>conftest.$ac_ext
53175 cat >>conftest.$ac_ext <<_ACEOF
53176 /* end confdefs.h.  */
53177 #include <poll.h>
53178 int
53179 main ()
53180 {
53181 struct pollfd pfd[1];
53182        pfd[0].events = POLLIN;
53183        poll(pfd, 1, 0);
53184   ;
53185   return 0;
53186 }
53187 _ACEOF
53188 rm -f conftest.$ac_objext conftest$ac_exeext
53189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53190   (eval $ac_link) 2>conftest.er1
53191   ac_status=$?
53192   grep -v '^ *+' conftest.er1 >conftest.err
53193   rm -f conftest.er1
53194   cat conftest.err >&5
53195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53196   (exit $ac_status); } &&
53197          { ac_try='test -z "$ac_c_werror_flag"
53198                          || test ! -s conftest.err'
53199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53200   (eval $ac_try) 2>&5
53201   ac_status=$?
53202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53203   (exit $ac_status); }; } &&
53204          { ac_try='test -s conftest$ac_exeext'
53205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53206   (eval $ac_try) 2>&5
53207   ac_status=$?
53208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53209   (exit $ac_status); }; }; then
53210   glibcxx_cv_POLL=yes
53211 else
53212   echo "$as_me: failed program was:" >&5
53213 sed 's/^/| /' conftest.$ac_ext >&5
53214
53215 glibcxx_cv_POLL=no
53216 fi
53217 rm -f conftest.err conftest.$ac_objext \
53218       conftest$ac_exeext conftest.$ac_ext
53219
53220 fi
53221
53222   if test $glibcxx_cv_POLL = yes; then
53223
53224 cat >>confdefs.h <<\_ACEOF
53225 #define HAVE_POLL 1
53226 _ACEOF
53227
53228   fi
53229   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
53230 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
53231
53232
53233   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
53234 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
53235   if test "${glibcxx_cv_S_ISREG+set}" = set; then
53236   echo $ECHO_N "(cached) $ECHO_C" >&6
53237 else
53238
53239     if test x$gcc_no_link = xyes; then
53240   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53241 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53242    { (exit 1); exit 1; }; }
53243 fi
53244 cat >conftest.$ac_ext <<_ACEOF
53245 /* confdefs.h.  */
53246 _ACEOF
53247 cat confdefs.h >>conftest.$ac_ext
53248 cat >>conftest.$ac_ext <<_ACEOF
53249 /* end confdefs.h.  */
53250 #include <sys/stat.h>
53251 int
53252 main ()
53253 {
53254 struct stat buffer;
53255        fstat(0, &buffer);
53256        S_ISREG(buffer.st_mode);
53257   ;
53258   return 0;
53259 }
53260 _ACEOF
53261 rm -f conftest.$ac_objext conftest$ac_exeext
53262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53263   (eval $ac_link) 2>conftest.er1
53264   ac_status=$?
53265   grep -v '^ *+' conftest.er1 >conftest.err
53266   rm -f conftest.er1
53267   cat conftest.err >&5
53268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53269   (exit $ac_status); } &&
53270          { ac_try='test -z "$ac_c_werror_flag"
53271                          || test ! -s conftest.err'
53272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53273   (eval $ac_try) 2>&5
53274   ac_status=$?
53275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53276   (exit $ac_status); }; } &&
53277          { ac_try='test -s conftest$ac_exeext'
53278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53279   (eval $ac_try) 2>&5
53280   ac_status=$?
53281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53282   (exit $ac_status); }; }; then
53283   glibcxx_cv_S_ISREG=yes
53284 else
53285   echo "$as_me: failed program was:" >&5
53286 sed 's/^/| /' conftest.$ac_ext >&5
53287
53288 glibcxx_cv_S_ISREG=no
53289 fi
53290 rm -f conftest.err conftest.$ac_objext \
53291       conftest$ac_exeext conftest.$ac_ext
53292
53293 fi
53294
53295   if test "${glibcxx_cv_S_IFREG+set}" = set; then
53296   echo $ECHO_N "(cached) $ECHO_C" >&6
53297 else
53298
53299     if test x$gcc_no_link = xyes; then
53300   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53301 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53302    { (exit 1); exit 1; }; }
53303 fi
53304 cat >conftest.$ac_ext <<_ACEOF
53305 /* confdefs.h.  */
53306 _ACEOF
53307 cat confdefs.h >>conftest.$ac_ext
53308 cat >>conftest.$ac_ext <<_ACEOF
53309 /* end confdefs.h.  */
53310 #include <sys/stat.h>
53311 int
53312 main ()
53313 {
53314 struct stat buffer;
53315        fstat(0, &buffer);
53316        S_IFREG & buffer.st_mode;
53317   ;
53318   return 0;
53319 }
53320 _ACEOF
53321 rm -f conftest.$ac_objext conftest$ac_exeext
53322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53323   (eval $ac_link) 2>conftest.er1
53324   ac_status=$?
53325   grep -v '^ *+' conftest.er1 >conftest.err
53326   rm -f conftest.er1
53327   cat conftest.err >&5
53328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53329   (exit $ac_status); } &&
53330          { ac_try='test -z "$ac_c_werror_flag"
53331                          || test ! -s conftest.err'
53332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53333   (eval $ac_try) 2>&5
53334   ac_status=$?
53335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53336   (exit $ac_status); }; } &&
53337          { ac_try='test -s conftest$ac_exeext'
53338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53339   (eval $ac_try) 2>&5
53340   ac_status=$?
53341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53342   (exit $ac_status); }; }; then
53343   glibcxx_cv_S_IFREG=yes
53344 else
53345   echo "$as_me: failed program was:" >&5
53346 sed 's/^/| /' conftest.$ac_ext >&5
53347
53348 glibcxx_cv_S_IFREG=no
53349 fi
53350 rm -f conftest.err conftest.$ac_objext \
53351       conftest$ac_exeext conftest.$ac_ext
53352
53353 fi
53354
53355   res=no
53356   if test $glibcxx_cv_S_ISREG = yes; then
53357
53358 cat >>confdefs.h <<\_ACEOF
53359 #define HAVE_S_ISREG 1
53360 _ACEOF
53361
53362     res=S_ISREG
53363   elif test $glibcxx_cv_S_IFREG = yes; then
53364
53365 cat >>confdefs.h <<\_ACEOF
53366 #define HAVE_S_IFREG 1
53367 _ACEOF
53368
53369     res=S_IFREG
53370   fi
53371   echo "$as_me:$LINENO: result: $res" >&5
53372 echo "${ECHO_T}$res" >&6
53373
53374
53375     # For xsputn_2().
53376
53377 for ac_header in sys/uio.h
53378 do
53379 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53380 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53381   echo "$as_me:$LINENO: checking for $ac_header" >&5
53382 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53383 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53384   echo $ECHO_N "(cached) $ECHO_C" >&6
53385 fi
53386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53387 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53388 else
53389   # Is the header compilable?
53390 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53391 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53392 cat >conftest.$ac_ext <<_ACEOF
53393 /* confdefs.h.  */
53394 _ACEOF
53395 cat confdefs.h >>conftest.$ac_ext
53396 cat >>conftest.$ac_ext <<_ACEOF
53397 /* end confdefs.h.  */
53398 $ac_includes_default
53399 #include <$ac_header>
53400 _ACEOF
53401 rm -f conftest.$ac_objext
53402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53403   (eval $ac_compile) 2>conftest.er1
53404   ac_status=$?
53405   grep -v '^ *+' conftest.er1 >conftest.err
53406   rm -f conftest.er1
53407   cat conftest.err >&5
53408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53409   (exit $ac_status); } &&
53410          { ac_try='test -z "$ac_c_werror_flag"
53411                          || test ! -s conftest.err'
53412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53413   (eval $ac_try) 2>&5
53414   ac_status=$?
53415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53416   (exit $ac_status); }; } &&
53417          { ac_try='test -s conftest.$ac_objext'
53418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53419   (eval $ac_try) 2>&5
53420   ac_status=$?
53421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53422   (exit $ac_status); }; }; then
53423   ac_header_compiler=yes
53424 else
53425   echo "$as_me: failed program was:" >&5
53426 sed 's/^/| /' conftest.$ac_ext >&5
53427
53428 ac_header_compiler=no
53429 fi
53430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53431 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53432 echo "${ECHO_T}$ac_header_compiler" >&6
53433
53434 # Is the header present?
53435 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53436 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53437 cat >conftest.$ac_ext <<_ACEOF
53438 /* confdefs.h.  */
53439 _ACEOF
53440 cat confdefs.h >>conftest.$ac_ext
53441 cat >>conftest.$ac_ext <<_ACEOF
53442 /* end confdefs.h.  */
53443 #include <$ac_header>
53444 _ACEOF
53445 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53446   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53447   ac_status=$?
53448   grep -v '^ *+' conftest.er1 >conftest.err
53449   rm -f conftest.er1
53450   cat conftest.err >&5
53451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53452   (exit $ac_status); } >/dev/null; then
53453   if test -s conftest.err; then
53454     ac_cpp_err=$ac_c_preproc_warn_flag
53455     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53456   else
53457     ac_cpp_err=
53458   fi
53459 else
53460   ac_cpp_err=yes
53461 fi
53462 if test -z "$ac_cpp_err"; then
53463   ac_header_preproc=yes
53464 else
53465   echo "$as_me: failed program was:" >&5
53466 sed 's/^/| /' conftest.$ac_ext >&5
53467
53468   ac_header_preproc=no
53469 fi
53470 rm -f conftest.err conftest.$ac_ext
53471 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53472 echo "${ECHO_T}$ac_header_preproc" >&6
53473
53474 # So?  What about this header?
53475 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53476   yes:no: )
53477     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53478 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53479     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53480 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53481     ac_header_preproc=yes
53482     ;;
53483   no:yes:* )
53484     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53485 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53486     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
53487 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
53488     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53489 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53490     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
53491 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
53492     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53493 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53494     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53495 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53496     (
53497       cat <<\_ASBOX
53498 ## ----------------------------------------- ##
53499 ## Report this to the package-unused lists.  ##
53500 ## ----------------------------------------- ##
53501 _ASBOX
53502     ) |
53503       sed "s/^/$as_me: WARNING:     /" >&2
53504     ;;
53505 esac
53506 echo "$as_me:$LINENO: checking for $ac_header" >&5
53507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53508 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53509   echo $ECHO_N "(cached) $ECHO_C" >&6
53510 else
53511   eval "$as_ac_Header=\$ac_header_preproc"
53512 fi
53513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53514 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53515
53516 fi
53517 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53518   cat >>confdefs.h <<_ACEOF
53519 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53520 _ACEOF
53521
53522 fi
53523
53524 done
53525
53526
53527   echo "$as_me:$LINENO: checking for writev" >&5
53528 echo $ECHO_N "checking for writev... $ECHO_C" >&6
53529   if test "${glibcxx_cv_WRITEV+set}" = set; then
53530   echo $ECHO_N "(cached) $ECHO_C" >&6
53531 else
53532
53533     if test x$gcc_no_link = xyes; then
53534   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53536    { (exit 1); exit 1; }; }
53537 fi
53538 cat >conftest.$ac_ext <<_ACEOF
53539 /* confdefs.h.  */
53540 _ACEOF
53541 cat confdefs.h >>conftest.$ac_ext
53542 cat >>conftest.$ac_ext <<_ACEOF
53543 /* end confdefs.h.  */
53544 #include <sys/uio.h>
53545 int
53546 main ()
53547 {
53548 struct iovec iov[2];
53549        writev(0, iov, 0);
53550   ;
53551   return 0;
53552 }
53553 _ACEOF
53554 rm -f conftest.$ac_objext conftest$ac_exeext
53555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53556   (eval $ac_link) 2>conftest.er1
53557   ac_status=$?
53558   grep -v '^ *+' conftest.er1 >conftest.err
53559   rm -f conftest.er1
53560   cat conftest.err >&5
53561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53562   (exit $ac_status); } &&
53563          { ac_try='test -z "$ac_c_werror_flag"
53564                          || test ! -s conftest.err'
53565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53566   (eval $ac_try) 2>&5
53567   ac_status=$?
53568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53569   (exit $ac_status); }; } &&
53570          { ac_try='test -s conftest$ac_exeext'
53571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53572   (eval $ac_try) 2>&5
53573   ac_status=$?
53574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53575   (exit $ac_status); }; }; then
53576   glibcxx_cv_WRITEV=yes
53577 else
53578   echo "$as_me: failed program was:" >&5
53579 sed 's/^/| /' conftest.$ac_ext >&5
53580
53581 glibcxx_cv_WRITEV=no
53582 fi
53583 rm -f conftest.err conftest.$ac_objext \
53584       conftest$ac_exeext conftest.$ac_ext
53585
53586 fi
53587
53588   if test $glibcxx_cv_WRITEV = yes; then
53589
53590 cat >>confdefs.h <<\_ACEOF
53591 #define HAVE_WRITEV 1
53592 _ACEOF
53593
53594   fi
53595   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
53596 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
53597
53598
53599     cat >>confdefs.h <<\_ACEOF
53600 #define HAVE_LC_MESSAGES 1
53601 _ACEOF
53602
53603
53604     cat >conftest.$ac_ext <<_ACEOF
53605 /* confdefs.h.  */
53606 _ACEOF
53607 cat confdefs.h >>conftest.$ac_ext
53608 cat >>conftest.$ac_ext <<_ACEOF
53609 /* end confdefs.h.  */
53610 #include <setjmp.h>
53611 int
53612 main ()
53613 {
53614 sigjmp_buf env;
53615        while (! sigsetjmp (env, 1))
53616          siglongjmp (env, 1);
53617
53618   ;
53619   return 0;
53620 }
53621 _ACEOF
53622 rm -f conftest.$ac_objext
53623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53624   (eval $ac_compile) 2>conftest.er1
53625   ac_status=$?
53626   grep -v '^ *+' conftest.er1 >conftest.err
53627   rm -f conftest.er1
53628   cat conftest.err >&5
53629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53630   (exit $ac_status); } &&
53631          { ac_try='test -z "$ac_c_werror_flag"
53632                          || test ! -s conftest.err'
53633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53634   (eval $ac_try) 2>&5
53635   ac_status=$?
53636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53637   (exit $ac_status); }; } &&
53638          { ac_try='test -s conftest.$ac_objext'
53639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53640   (eval $ac_try) 2>&5
53641   ac_status=$?
53642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53643   (exit $ac_status); }; }; then
53644
53645 cat >>confdefs.h <<\_ACEOF
53646 #define HAVE_SIGSETJMP 1
53647 _ACEOF
53648
53649 else
53650   echo "$as_me: failed program was:" >&5
53651 sed 's/^/| /' conftest.$ac_ext >&5
53652
53653 fi
53654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53655
53656     cat >>confdefs.h <<\_ACEOF
53657 #define HAVE_MMAP 1
53658 _ACEOF
53659
53660     ;;
53661
53662   *djgpp)
53663
53664
53665
53666
53667
53668
53669
53670
53671
53672
53673
53674
53675
53676
53677
53678
53679
53680
53681
53682
53683 for ac_header in float.h ieeefp.h inttypes.h locale.h \
53684       memory.h stdint.h stdlib.h strings.h string.h unistd.h \
53685       wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
53686       sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
53687 do
53688 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53689 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53690   echo "$as_me:$LINENO: checking for $ac_header" >&5
53691 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53692 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53693   echo $ECHO_N "(cached) $ECHO_C" >&6
53694 fi
53695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53696 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53697 else
53698   # Is the header compilable?
53699 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53700 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53701 cat >conftest.$ac_ext <<_ACEOF
53702 /* confdefs.h.  */
53703 _ACEOF
53704 cat confdefs.h >>conftest.$ac_ext
53705 cat >>conftest.$ac_ext <<_ACEOF
53706 /* end confdefs.h.  */
53707 $ac_includes_default
53708 #include <$ac_header>
53709 _ACEOF
53710 rm -f conftest.$ac_objext
53711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53712   (eval $ac_compile) 2>conftest.er1
53713   ac_status=$?
53714   grep -v '^ *+' conftest.er1 >conftest.err
53715   rm -f conftest.er1
53716   cat conftest.err >&5
53717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53718   (exit $ac_status); } &&
53719          { ac_try='test -z "$ac_c_werror_flag"
53720                          || test ! -s conftest.err'
53721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53722   (eval $ac_try) 2>&5
53723   ac_status=$?
53724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53725   (exit $ac_status); }; } &&
53726          { ac_try='test -s conftest.$ac_objext'
53727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53728   (eval $ac_try) 2>&5
53729   ac_status=$?
53730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53731   (exit $ac_status); }; }; then
53732   ac_header_compiler=yes
53733 else
53734   echo "$as_me: failed program was:" >&5
53735 sed 's/^/| /' conftest.$ac_ext >&5
53736
53737 ac_header_compiler=no
53738 fi
53739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53740 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53741 echo "${ECHO_T}$ac_header_compiler" >&6
53742
53743 # Is the header present?
53744 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53745 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53746 cat >conftest.$ac_ext <<_ACEOF
53747 /* confdefs.h.  */
53748 _ACEOF
53749 cat confdefs.h >>conftest.$ac_ext
53750 cat >>conftest.$ac_ext <<_ACEOF
53751 /* end confdefs.h.  */
53752 #include <$ac_header>
53753 _ACEOF
53754 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53755   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53756   ac_status=$?
53757   grep -v '^ *+' conftest.er1 >conftest.err
53758   rm -f conftest.er1
53759   cat conftest.err >&5
53760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53761   (exit $ac_status); } >/dev/null; then
53762   if test -s conftest.err; then
53763     ac_cpp_err=$ac_c_preproc_warn_flag
53764     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53765   else
53766     ac_cpp_err=
53767   fi
53768 else
53769   ac_cpp_err=yes
53770 fi
53771 if test -z "$ac_cpp_err"; then
53772   ac_header_preproc=yes
53773 else
53774   echo "$as_me: failed program was:" >&5
53775 sed 's/^/| /' conftest.$ac_ext >&5
53776
53777   ac_header_preproc=no
53778 fi
53779 rm -f conftest.err conftest.$ac_ext
53780 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53781 echo "${ECHO_T}$ac_header_preproc" >&6
53782
53783 # So?  What about this header?
53784 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53785   yes:no: )
53786     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53787 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53788     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53789 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53790     ac_header_preproc=yes
53791     ;;
53792   no:yes:* )
53793     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53794 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53795     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
53796 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
53797     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53798 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53799     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
53800 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
53801     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53802 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53803     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53804 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53805     (
53806       cat <<\_ASBOX
53807 ## ----------------------------------------- ##
53808 ## Report this to the package-unused lists.  ##
53809 ## ----------------------------------------- ##
53810 _ASBOX
53811     ) |
53812       sed "s/^/$as_me: WARNING:     /" >&2
53813     ;;
53814 esac
53815 echo "$as_me:$LINENO: checking for $ac_header" >&5
53816 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53817 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53818   echo $ECHO_N "(cached) $ECHO_C" >&6
53819 else
53820   eval "$as_ac_Header=\$ac_header_preproc"
53821 fi
53822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53823 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53824
53825 fi
53826 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53827   cat >>confdefs.h <<_ACEOF
53828 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53829 _ACEOF
53830
53831 fi
53832
53833 done
53834
53835
53836   # All these tests are for C++; save the language and the compiler flags.
53837   # The CXXFLAGS thing is suspicious, but based on similar bits previously
53838   # found in GLIBCXX_CONFIGURE.
53839
53840
53841   ac_ext=cc
53842 ac_cpp='$CXXCPP $CPPFLAGS'
53843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53846
53847   ac_test_CXXFLAGS="${CXXFLAGS+set}"
53848   ac_save_CXXFLAGS="$CXXFLAGS"
53849
53850   # Check for maintainer-mode bits.
53851   if test x"$USE_MAINTAINER_MODE" = xno; then
53852     WERROR=''
53853   else
53854     WERROR='-Werror'
53855   fi
53856
53857   # Check for -ffunction-sections -fdata-sections
53858   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
53859 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
53860   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
53861   cat >conftest.$ac_ext <<_ACEOF
53862 /* confdefs.h.  */
53863 _ACEOF
53864 cat confdefs.h >>conftest.$ac_ext
53865 cat >>conftest.$ac_ext <<_ACEOF
53866 /* end confdefs.h.  */
53867
53868 int
53869 main ()
53870 {
53871 int foo;
53872   ;
53873   return 0;
53874 }
53875 _ACEOF
53876 rm -f conftest.$ac_objext
53877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53878   (eval $ac_compile) 2>conftest.er1
53879   ac_status=$?
53880   grep -v '^ *+' conftest.er1 >conftest.err
53881   rm -f conftest.er1
53882   cat conftest.err >&5
53883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53884   (exit $ac_status); } &&
53885          { ac_try='test -z "$ac_cxx_werror_flag"
53886                          || test ! -s conftest.err'
53887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53888   (eval $ac_try) 2>&5
53889   ac_status=$?
53890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53891   (exit $ac_status); }; } &&
53892          { ac_try='test -s conftest.$ac_objext'
53893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53894   (eval $ac_try) 2>&5
53895   ac_status=$?
53896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53897   (exit $ac_status); }; }; then
53898   ac_fdsections=yes
53899 else
53900   echo "$as_me: failed program was:" >&5
53901 sed 's/^/| /' conftest.$ac_ext >&5
53902
53903 ac_fdsections=no
53904 fi
53905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53906   if test "$ac_test_CXXFLAGS" = set; then
53907     CXXFLAGS="$ac_save_CXXFLAGS"
53908   else
53909     # this is the suspicious part
53910     CXXFLAGS=''
53911   fi
53912   if test x"$ac_fdsections" = x"yes"; then
53913     SECTION_FLAGS='-ffunction-sections -fdata-sections'
53914   fi
53915   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
53916 echo "${ECHO_T}$ac_fdsections" >&6
53917
53918   ac_ext=c
53919 ac_cpp='$CPP $CPPFLAGS'
53920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53923
53924
53925
53926
53927
53928   # If we're not using GNU ld, then there's no point in even trying these
53929   # tests.  Check for that first.  We should have already tested for gld
53930   # by now (in libtool), but require it now just to be safe...
53931   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53932   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53933
53934
53935
53936   # The name set by libtool depends on the version of libtool.  Shame on us
53937   # for depending on an impl detail, but c'est la vie.  Older versions used
53938   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53939   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53940   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
53941   # set (hence we're using an older libtool), then set it.
53942   if test x${with_gnu_ld+set} != xset; then
53943     if test x${ac_cv_prog_gnu_ld+set} != xset; then
53944       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
53945       with_gnu_ld=no
53946     else
53947       with_gnu_ld=$ac_cv_prog_gnu_ld
53948     fi
53949   fi
53950
53951   # Start by getting the version number.  I think the libtool test already
53952   # does some of this, but throws away the result.
53953   echo "$as_me:$LINENO: checking for ld version" >&5
53954 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
53955
53956   ldver=`$LD --version 2>/dev/null | head -1 | \
53957          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
53958
53959   glibcxx_gnu_ld_version=`echo $ldver | \
53960          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53961   echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
53962 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
53963
53964   # Set --gc-sections.
53965   glibcxx_gcsections_min_ld=21602
53966   if test x"$with_gnu_ld" = x"yes" &&
53967         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53968
53969     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
53970     # NB: This flag only works reliably after 2.16.1. Configure tests
53971     # for this are difficult, so hard wire a value that should work.
53972
53973     # All these tests are for C++, but run with the "C" compiler driver.
53974     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
53975     ac_test_CFLAGS="${CFLAGS+set}"
53976     ac_save_CFLAGS="$CFLAGS"
53977     CFLAGS='-x c++ -Wl,--gc-sections'
53978
53979     # Check for -Wl,--gc-sections
53980     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
53981 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
53982     if test x$gcc_no_link = xyes; then
53983   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53985    { (exit 1); exit 1; }; }
53986 fi
53987 cat >conftest.$ac_ext <<_ACEOF
53988 /* confdefs.h.  */
53989 _ACEOF
53990 cat confdefs.h >>conftest.$ac_ext
53991 cat >>conftest.$ac_ext <<_ACEOF
53992 /* end confdefs.h.  */
53993  int one(void) { return 1; }
53994      int two(void) { return 2; }
53995
53996 int
53997 main ()
53998 {
53999  two();
54000   ;
54001   return 0;
54002 }
54003 _ACEOF
54004 rm -f conftest.$ac_objext conftest$ac_exeext
54005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54006   (eval $ac_link) 2>conftest.er1
54007   ac_status=$?
54008   grep -v '^ *+' conftest.er1 >conftest.err
54009   rm -f conftest.er1
54010   cat conftest.err >&5
54011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54012   (exit $ac_status); } &&
54013          { ac_try='test -z "$ac_c_werror_flag"
54014                          || test ! -s conftest.err'
54015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54016   (eval $ac_try) 2>&5
54017   ac_status=$?
54018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54019   (exit $ac_status); }; } &&
54020          { ac_try='test -s conftest$ac_exeext'
54021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54022   (eval $ac_try) 2>&5
54023   ac_status=$?
54024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54025   (exit $ac_status); }; }; then
54026   ac_gcsections=yes
54027 else
54028   echo "$as_me: failed program was:" >&5
54029 sed 's/^/| /' conftest.$ac_ext >&5
54030
54031 ac_gcsections=no
54032 fi
54033 rm -f conftest.err conftest.$ac_objext \
54034       conftest$ac_exeext conftest.$ac_ext
54035     if test "$ac_gcsections" = "yes"; then
54036       rm -f conftest.c
54037       touch conftest.c
54038       if $CC -c conftest.c; then
54039         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
54040            grep "Warning: gc-sections option ignored" > /dev/null; then
54041           ac_gcsections=no
54042         fi
54043       fi
54044       rm -f conftest.c conftest.o conftest
54045     fi
54046     if test "$ac_gcsections" = "yes"; then
54047       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54048     fi
54049     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
54050 echo "${ECHO_T}$ac_gcsections" >&6
54051
54052     if test "$ac_test_CFLAGS" = set; then
54053       CFLAGS="$ac_save_CFLAGS"
54054     else
54055       # this is the suspicious part
54056       CFLAGS=''
54057     fi
54058   fi
54059
54060   # Set -z,relro.
54061   # Note this is only for shared objects.
54062   ac_ld_relro=no
54063   if test x"$with_gnu_ld" = x"yes"; then
54064     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
54065 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
54066     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
54067     if test -n "$cxx_z_relo"; then
54068       OPT_LDFLAGS="-Wl,-z,relro"
54069       ac_ld_relro=yes
54070     fi
54071     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
54072 echo "${ECHO_T}$ac_ld_relro" >&6
54073   fi
54074
54075   # Set linker optimization flags.
54076   if test x"$with_gnu_ld" = x"yes"; then
54077     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
54078   fi
54079
54080
54081
54082
54083
54084   ac_test_CXXFLAGS="${CXXFLAGS+set}"
54085   ac_save_CXXFLAGS="$CXXFLAGS"
54086   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54087
54088     echo "$as_me:$LINENO: checking for sin in -lm" >&5
54089 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
54090 if test "${ac_cv_lib_m_sin+set}" = set; then
54091   echo $ECHO_N "(cached) $ECHO_C" >&6
54092 else
54093   ac_check_lib_save_LIBS=$LIBS
54094 LIBS="-lm  $LIBS"
54095 if test x$gcc_no_link = xyes; then
54096   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54098    { (exit 1); exit 1; }; }
54099 fi
54100 cat >conftest.$ac_ext <<_ACEOF
54101 /* confdefs.h.  */
54102 _ACEOF
54103 cat confdefs.h >>conftest.$ac_ext
54104 cat >>conftest.$ac_ext <<_ACEOF
54105 /* end confdefs.h.  */
54106
54107 /* Override any gcc2 internal prototype to avoid an error.  */
54108 #ifdef __cplusplus
54109 extern "C"
54110 #endif
54111 /* We use char because int might match the return type of a gcc2
54112    builtin and then its argument prototype would still apply.  */
54113 char sin ();
54114 int
54115 main ()
54116 {
54117 sin ();
54118   ;
54119   return 0;
54120 }
54121 _ACEOF
54122 rm -f conftest.$ac_objext conftest$ac_exeext
54123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54124   (eval $ac_link) 2>conftest.er1
54125   ac_status=$?
54126   grep -v '^ *+' conftest.er1 >conftest.err
54127   rm -f conftest.er1
54128   cat conftest.err >&5
54129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54130   (exit $ac_status); } &&
54131          { ac_try='test -z "$ac_c_werror_flag"
54132                          || test ! -s conftest.err'
54133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54134   (eval $ac_try) 2>&5
54135   ac_status=$?
54136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54137   (exit $ac_status); }; } &&
54138          { ac_try='test -s conftest$ac_exeext'
54139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54140   (eval $ac_try) 2>&5
54141   ac_status=$?
54142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54143   (exit $ac_status); }; }; then
54144   ac_cv_lib_m_sin=yes
54145 else
54146   echo "$as_me: failed program was:" >&5
54147 sed 's/^/| /' conftest.$ac_ext >&5
54148
54149 ac_cv_lib_m_sin=no
54150 fi
54151 rm -f conftest.err conftest.$ac_objext \
54152       conftest$ac_exeext conftest.$ac_ext
54153 LIBS=$ac_check_lib_save_LIBS
54154 fi
54155 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
54156 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
54157 if test $ac_cv_lib_m_sin = yes; then
54158   libm="-lm"
54159 fi
54160
54161   ac_save_LIBS="$LIBS"
54162   LIBS="$LIBS $libm"
54163
54164
54165
54166   echo "$as_me:$LINENO: checking for isinf declaration" >&5
54167 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
54168   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54169     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
54170   echo $ECHO_N "(cached) $ECHO_C" >&6
54171 else
54172
54173
54174
54175       ac_ext=cc
54176 ac_cpp='$CXXCPP $CPPFLAGS'
54177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54180
54181       cat >conftest.$ac_ext <<_ACEOF
54182 /* confdefs.h.  */
54183 _ACEOF
54184 cat confdefs.h >>conftest.$ac_ext
54185 cat >>conftest.$ac_ext <<_ACEOF
54186 /* end confdefs.h.  */
54187 #include <math.h>
54188                       #ifdef HAVE_IEEEFP_H
54189                       #include <ieeefp.h>
54190                       #endif
54191
54192 int
54193 main ()
54194 {
54195  isinf(0);
54196   ;
54197   return 0;
54198 }
54199 _ACEOF
54200 rm -f conftest.$ac_objext
54201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54202   (eval $ac_compile) 2>conftest.er1
54203   ac_status=$?
54204   grep -v '^ *+' conftest.er1 >conftest.err
54205   rm -f conftest.er1
54206   cat conftest.err >&5
54207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54208   (exit $ac_status); } &&
54209          { ac_try='test -z "$ac_cxx_werror_flag"
54210                          || test ! -s conftest.err'
54211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54212   (eval $ac_try) 2>&5
54213   ac_status=$?
54214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54215   (exit $ac_status); }; } &&
54216          { ac_try='test -s conftest.$ac_objext'
54217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54218   (eval $ac_try) 2>&5
54219   ac_status=$?
54220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54221   (exit $ac_status); }; }; then
54222   glibcxx_cv_func_isinf_use=yes
54223 else
54224   echo "$as_me: failed program was:" >&5
54225 sed 's/^/| /' conftest.$ac_ext >&5
54226
54227 glibcxx_cv_func_isinf_use=no
54228 fi
54229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54230       ac_ext=c
54231 ac_cpp='$CPP $CPPFLAGS'
54232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54235
54236
54237 fi
54238
54239   fi
54240   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
54241 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
54242
54243   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54244
54245 for ac_func in isinf
54246 do
54247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54248 echo "$as_me:$LINENO: checking for $ac_func" >&5
54249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54250 if eval "test \"\${$as_ac_var+set}\" = set"; then
54251   echo $ECHO_N "(cached) $ECHO_C" >&6
54252 else
54253   if test x$gcc_no_link = xyes; then
54254   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54256    { (exit 1); exit 1; }; }
54257 fi
54258 cat >conftest.$ac_ext <<_ACEOF
54259 /* confdefs.h.  */
54260 _ACEOF
54261 cat confdefs.h >>conftest.$ac_ext
54262 cat >>conftest.$ac_ext <<_ACEOF
54263 /* end confdefs.h.  */
54264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54265    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54266 #define $ac_func innocuous_$ac_func
54267
54268 /* System header to define __stub macros and hopefully few prototypes,
54269     which can conflict with char $ac_func (); below.
54270     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54271     <limits.h> exists even on freestanding compilers.  */
54272
54273 #ifdef __STDC__
54274 # include <limits.h>
54275 #else
54276 # include <assert.h>
54277 #endif
54278
54279 #undef $ac_func
54280
54281 /* Override any gcc2 internal prototype to avoid an error.  */
54282 #ifdef __cplusplus
54283 extern "C"
54284 {
54285 #endif
54286 /* We use char because int might match the return type of a gcc2
54287    builtin and then its argument prototype would still apply.  */
54288 char $ac_func ();
54289 /* The GNU C library defines this for functions which it implements
54290     to always fail with ENOSYS.  Some functions are actually named
54291     something starting with __ and the normal name is an alias.  */
54292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54293 choke me
54294 #else
54295 char (*f) () = $ac_func;
54296 #endif
54297 #ifdef __cplusplus
54298 }
54299 #endif
54300
54301 int
54302 main ()
54303 {
54304 return f != $ac_func;
54305   ;
54306   return 0;
54307 }
54308 _ACEOF
54309 rm -f conftest.$ac_objext conftest$ac_exeext
54310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54311   (eval $ac_link) 2>conftest.er1
54312   ac_status=$?
54313   grep -v '^ *+' conftest.er1 >conftest.err
54314   rm -f conftest.er1
54315   cat conftest.err >&5
54316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54317   (exit $ac_status); } &&
54318          { ac_try='test -z "$ac_c_werror_flag"
54319                          || test ! -s conftest.err'
54320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54321   (eval $ac_try) 2>&5
54322   ac_status=$?
54323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54324   (exit $ac_status); }; } &&
54325          { ac_try='test -s conftest$ac_exeext'
54326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54327   (eval $ac_try) 2>&5
54328   ac_status=$?
54329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54330   (exit $ac_status); }; }; then
54331   eval "$as_ac_var=yes"
54332 else
54333   echo "$as_me: failed program was:" >&5
54334 sed 's/^/| /' conftest.$ac_ext >&5
54335
54336 eval "$as_ac_var=no"
54337 fi
54338 rm -f conftest.err conftest.$ac_objext \
54339       conftest$ac_exeext conftest.$ac_ext
54340 fi
54341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54342 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54343 if test `eval echo '${'$as_ac_var'}'` = yes; then
54344   cat >>confdefs.h <<_ACEOF
54345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54346 _ACEOF
54347
54348 fi
54349 done
54350
54351   else
54352
54353   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
54354 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
54355   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54356     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
54357   echo $ECHO_N "(cached) $ECHO_C" >&6
54358 else
54359
54360
54361
54362       ac_ext=cc
54363 ac_cpp='$CXXCPP $CPPFLAGS'
54364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54367
54368       cat >conftest.$ac_ext <<_ACEOF
54369 /* confdefs.h.  */
54370 _ACEOF
54371 cat confdefs.h >>conftest.$ac_ext
54372 cat >>conftest.$ac_ext <<_ACEOF
54373 /* end confdefs.h.  */
54374 #include <math.h>
54375                       #ifdef HAVE_IEEEFP_H
54376                       #include <ieeefp.h>
54377                       #endif
54378
54379 int
54380 main ()
54381 {
54382  _isinf(0);
54383   ;
54384   return 0;
54385 }
54386 _ACEOF
54387 rm -f conftest.$ac_objext
54388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54389   (eval $ac_compile) 2>conftest.er1
54390   ac_status=$?
54391   grep -v '^ *+' conftest.er1 >conftest.err
54392   rm -f conftest.er1
54393   cat conftest.err >&5
54394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54395   (exit $ac_status); } &&
54396          { ac_try='test -z "$ac_cxx_werror_flag"
54397                          || test ! -s conftest.err'
54398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54399   (eval $ac_try) 2>&5
54400   ac_status=$?
54401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54402   (exit $ac_status); }; } &&
54403          { ac_try='test -s conftest.$ac_objext'
54404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54405   (eval $ac_try) 2>&5
54406   ac_status=$?
54407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54408   (exit $ac_status); }; }; then
54409   glibcxx_cv_func__isinf_use=yes
54410 else
54411   echo "$as_me: failed program was:" >&5
54412 sed 's/^/| /' conftest.$ac_ext >&5
54413
54414 glibcxx_cv_func__isinf_use=no
54415 fi
54416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54417       ac_ext=c
54418 ac_cpp='$CPP $CPPFLAGS'
54419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54422
54423
54424 fi
54425
54426   fi
54427   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
54428 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
54429
54430     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54431
54432 for ac_func in _isinf
54433 do
54434 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54435 echo "$as_me:$LINENO: checking for $ac_func" >&5
54436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54437 if eval "test \"\${$as_ac_var+set}\" = set"; then
54438   echo $ECHO_N "(cached) $ECHO_C" >&6
54439 else
54440   if test x$gcc_no_link = xyes; then
54441   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54443    { (exit 1); exit 1; }; }
54444 fi
54445 cat >conftest.$ac_ext <<_ACEOF
54446 /* confdefs.h.  */
54447 _ACEOF
54448 cat confdefs.h >>conftest.$ac_ext
54449 cat >>conftest.$ac_ext <<_ACEOF
54450 /* end confdefs.h.  */
54451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54452    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54453 #define $ac_func innocuous_$ac_func
54454
54455 /* System header to define __stub macros and hopefully few prototypes,
54456     which can conflict with char $ac_func (); below.
54457     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54458     <limits.h> exists even on freestanding compilers.  */
54459
54460 #ifdef __STDC__
54461 # include <limits.h>
54462 #else
54463 # include <assert.h>
54464 #endif
54465
54466 #undef $ac_func
54467
54468 /* Override any gcc2 internal prototype to avoid an error.  */
54469 #ifdef __cplusplus
54470 extern "C"
54471 {
54472 #endif
54473 /* We use char because int might match the return type of a gcc2
54474    builtin and then its argument prototype would still apply.  */
54475 char $ac_func ();
54476 /* The GNU C library defines this for functions which it implements
54477     to always fail with ENOSYS.  Some functions are actually named
54478     something starting with __ and the normal name is an alias.  */
54479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54480 choke me
54481 #else
54482 char (*f) () = $ac_func;
54483 #endif
54484 #ifdef __cplusplus
54485 }
54486 #endif
54487
54488 int
54489 main ()
54490 {
54491 return f != $ac_func;
54492   ;
54493   return 0;
54494 }
54495 _ACEOF
54496 rm -f conftest.$ac_objext conftest$ac_exeext
54497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54498   (eval $ac_link) 2>conftest.er1
54499   ac_status=$?
54500   grep -v '^ *+' conftest.er1 >conftest.err
54501   rm -f conftest.er1
54502   cat conftest.err >&5
54503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54504   (exit $ac_status); } &&
54505          { ac_try='test -z "$ac_c_werror_flag"
54506                          || test ! -s conftest.err'
54507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54508   (eval $ac_try) 2>&5
54509   ac_status=$?
54510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54511   (exit $ac_status); }; } &&
54512          { ac_try='test -s conftest$ac_exeext'
54513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54514   (eval $ac_try) 2>&5
54515   ac_status=$?
54516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54517   (exit $ac_status); }; }; then
54518   eval "$as_ac_var=yes"
54519 else
54520   echo "$as_me: failed program was:" >&5
54521 sed 's/^/| /' conftest.$ac_ext >&5
54522
54523 eval "$as_ac_var=no"
54524 fi
54525 rm -f conftest.err conftest.$ac_objext \
54526       conftest$ac_exeext conftest.$ac_ext
54527 fi
54528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54529 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54530 if test `eval echo '${'$as_ac_var'}'` = yes; then
54531   cat >>confdefs.h <<_ACEOF
54532 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54533 _ACEOF
54534
54535 fi
54536 done
54537
54538     fi
54539   fi
54540
54541
54542
54543
54544
54545
54546   echo "$as_me:$LINENO: checking for isnan declaration" >&5
54547 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
54548   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54549     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
54550   echo $ECHO_N "(cached) $ECHO_C" >&6
54551 else
54552
54553
54554
54555       ac_ext=cc
54556 ac_cpp='$CXXCPP $CPPFLAGS'
54557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54560
54561       cat >conftest.$ac_ext <<_ACEOF
54562 /* confdefs.h.  */
54563 _ACEOF
54564 cat confdefs.h >>conftest.$ac_ext
54565 cat >>conftest.$ac_ext <<_ACEOF
54566 /* end confdefs.h.  */
54567 #include <math.h>
54568                       #ifdef HAVE_IEEEFP_H
54569                       #include <ieeefp.h>
54570                       #endif
54571
54572 int
54573 main ()
54574 {
54575  isnan(0);
54576   ;
54577   return 0;
54578 }
54579 _ACEOF
54580 rm -f conftest.$ac_objext
54581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54582   (eval $ac_compile) 2>conftest.er1
54583   ac_status=$?
54584   grep -v '^ *+' conftest.er1 >conftest.err
54585   rm -f conftest.er1
54586   cat conftest.err >&5
54587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54588   (exit $ac_status); } &&
54589          { ac_try='test -z "$ac_cxx_werror_flag"
54590                          || test ! -s conftest.err'
54591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54592   (eval $ac_try) 2>&5
54593   ac_status=$?
54594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54595   (exit $ac_status); }; } &&
54596          { ac_try='test -s conftest.$ac_objext'
54597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54598   (eval $ac_try) 2>&5
54599   ac_status=$?
54600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54601   (exit $ac_status); }; }; then
54602   glibcxx_cv_func_isnan_use=yes
54603 else
54604   echo "$as_me: failed program was:" >&5
54605 sed 's/^/| /' conftest.$ac_ext >&5
54606
54607 glibcxx_cv_func_isnan_use=no
54608 fi
54609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54610       ac_ext=c
54611 ac_cpp='$CPP $CPPFLAGS'
54612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54615
54616
54617 fi
54618
54619   fi
54620   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
54621 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
54622
54623   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54624
54625 for ac_func in isnan
54626 do
54627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54628 echo "$as_me:$LINENO: checking for $ac_func" >&5
54629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54630 if eval "test \"\${$as_ac_var+set}\" = set"; then
54631   echo $ECHO_N "(cached) $ECHO_C" >&6
54632 else
54633   if test x$gcc_no_link = xyes; then
54634   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54636    { (exit 1); exit 1; }; }
54637 fi
54638 cat >conftest.$ac_ext <<_ACEOF
54639 /* confdefs.h.  */
54640 _ACEOF
54641 cat confdefs.h >>conftest.$ac_ext
54642 cat >>conftest.$ac_ext <<_ACEOF
54643 /* end confdefs.h.  */
54644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54645    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54646 #define $ac_func innocuous_$ac_func
54647
54648 /* System header to define __stub macros and hopefully few prototypes,
54649     which can conflict with char $ac_func (); below.
54650     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54651     <limits.h> exists even on freestanding compilers.  */
54652
54653 #ifdef __STDC__
54654 # include <limits.h>
54655 #else
54656 # include <assert.h>
54657 #endif
54658
54659 #undef $ac_func
54660
54661 /* Override any gcc2 internal prototype to avoid an error.  */
54662 #ifdef __cplusplus
54663 extern "C"
54664 {
54665 #endif
54666 /* We use char because int might match the return type of a gcc2
54667    builtin and then its argument prototype would still apply.  */
54668 char $ac_func ();
54669 /* The GNU C library defines this for functions which it implements
54670     to always fail with ENOSYS.  Some functions are actually named
54671     something starting with __ and the normal name is an alias.  */
54672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54673 choke me
54674 #else
54675 char (*f) () = $ac_func;
54676 #endif
54677 #ifdef __cplusplus
54678 }
54679 #endif
54680
54681 int
54682 main ()
54683 {
54684 return f != $ac_func;
54685   ;
54686   return 0;
54687 }
54688 _ACEOF
54689 rm -f conftest.$ac_objext conftest$ac_exeext
54690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54691   (eval $ac_link) 2>conftest.er1
54692   ac_status=$?
54693   grep -v '^ *+' conftest.er1 >conftest.err
54694   rm -f conftest.er1
54695   cat conftest.err >&5
54696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54697   (exit $ac_status); } &&
54698          { ac_try='test -z "$ac_c_werror_flag"
54699                          || test ! -s conftest.err'
54700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54701   (eval $ac_try) 2>&5
54702   ac_status=$?
54703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54704   (exit $ac_status); }; } &&
54705          { ac_try='test -s conftest$ac_exeext'
54706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54707   (eval $ac_try) 2>&5
54708   ac_status=$?
54709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54710   (exit $ac_status); }; }; then
54711   eval "$as_ac_var=yes"
54712 else
54713   echo "$as_me: failed program was:" >&5
54714 sed 's/^/| /' conftest.$ac_ext >&5
54715
54716 eval "$as_ac_var=no"
54717 fi
54718 rm -f conftest.err conftest.$ac_objext \
54719       conftest$ac_exeext conftest.$ac_ext
54720 fi
54721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54723 if test `eval echo '${'$as_ac_var'}'` = yes; then
54724   cat >>confdefs.h <<_ACEOF
54725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54726 _ACEOF
54727
54728 fi
54729 done
54730
54731   else
54732
54733   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
54734 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
54735   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54736     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
54737   echo $ECHO_N "(cached) $ECHO_C" >&6
54738 else
54739
54740
54741
54742       ac_ext=cc
54743 ac_cpp='$CXXCPP $CPPFLAGS'
54744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54747
54748       cat >conftest.$ac_ext <<_ACEOF
54749 /* confdefs.h.  */
54750 _ACEOF
54751 cat confdefs.h >>conftest.$ac_ext
54752 cat >>conftest.$ac_ext <<_ACEOF
54753 /* end confdefs.h.  */
54754 #include <math.h>
54755                       #ifdef HAVE_IEEEFP_H
54756                       #include <ieeefp.h>
54757                       #endif
54758
54759 int
54760 main ()
54761 {
54762  _isnan(0);
54763   ;
54764   return 0;
54765 }
54766 _ACEOF
54767 rm -f conftest.$ac_objext
54768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54769   (eval $ac_compile) 2>conftest.er1
54770   ac_status=$?
54771   grep -v '^ *+' conftest.er1 >conftest.err
54772   rm -f conftest.er1
54773   cat conftest.err >&5
54774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54775   (exit $ac_status); } &&
54776          { ac_try='test -z "$ac_cxx_werror_flag"
54777                          || test ! -s conftest.err'
54778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54779   (eval $ac_try) 2>&5
54780   ac_status=$?
54781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54782   (exit $ac_status); }; } &&
54783          { ac_try='test -s conftest.$ac_objext'
54784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54785   (eval $ac_try) 2>&5
54786   ac_status=$?
54787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54788   (exit $ac_status); }; }; then
54789   glibcxx_cv_func__isnan_use=yes
54790 else
54791   echo "$as_me: failed program was:" >&5
54792 sed 's/^/| /' conftest.$ac_ext >&5
54793
54794 glibcxx_cv_func__isnan_use=no
54795 fi
54796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54797       ac_ext=c
54798 ac_cpp='$CPP $CPPFLAGS'
54799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54802
54803
54804 fi
54805
54806   fi
54807   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
54808 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
54809
54810     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54811
54812 for ac_func in _isnan
54813 do
54814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54815 echo "$as_me:$LINENO: checking for $ac_func" >&5
54816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54817 if eval "test \"\${$as_ac_var+set}\" = set"; then
54818   echo $ECHO_N "(cached) $ECHO_C" >&6
54819 else
54820   if test x$gcc_no_link = xyes; then
54821   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54823    { (exit 1); exit 1; }; }
54824 fi
54825 cat >conftest.$ac_ext <<_ACEOF
54826 /* confdefs.h.  */
54827 _ACEOF
54828 cat confdefs.h >>conftest.$ac_ext
54829 cat >>conftest.$ac_ext <<_ACEOF
54830 /* end confdefs.h.  */
54831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54832    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54833 #define $ac_func innocuous_$ac_func
54834
54835 /* System header to define __stub macros and hopefully few prototypes,
54836     which can conflict with char $ac_func (); below.
54837     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54838     <limits.h> exists even on freestanding compilers.  */
54839
54840 #ifdef __STDC__
54841 # include <limits.h>
54842 #else
54843 # include <assert.h>
54844 #endif
54845
54846 #undef $ac_func
54847
54848 /* Override any gcc2 internal prototype to avoid an error.  */
54849 #ifdef __cplusplus
54850 extern "C"
54851 {
54852 #endif
54853 /* We use char because int might match the return type of a gcc2
54854    builtin and then its argument prototype would still apply.  */
54855 char $ac_func ();
54856 /* The GNU C library defines this for functions which it implements
54857     to always fail with ENOSYS.  Some functions are actually named
54858     something starting with __ and the normal name is an alias.  */
54859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54860 choke me
54861 #else
54862 char (*f) () = $ac_func;
54863 #endif
54864 #ifdef __cplusplus
54865 }
54866 #endif
54867
54868 int
54869 main ()
54870 {
54871 return f != $ac_func;
54872   ;
54873   return 0;
54874 }
54875 _ACEOF
54876 rm -f conftest.$ac_objext conftest$ac_exeext
54877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54878   (eval $ac_link) 2>conftest.er1
54879   ac_status=$?
54880   grep -v '^ *+' conftest.er1 >conftest.err
54881   rm -f conftest.er1
54882   cat conftest.err >&5
54883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54884   (exit $ac_status); } &&
54885          { ac_try='test -z "$ac_c_werror_flag"
54886                          || test ! -s conftest.err'
54887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54888   (eval $ac_try) 2>&5
54889   ac_status=$?
54890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54891   (exit $ac_status); }; } &&
54892          { ac_try='test -s conftest$ac_exeext'
54893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54894   (eval $ac_try) 2>&5
54895   ac_status=$?
54896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54897   (exit $ac_status); }; }; then
54898   eval "$as_ac_var=yes"
54899 else
54900   echo "$as_me: failed program was:" >&5
54901 sed 's/^/| /' conftest.$ac_ext >&5
54902
54903 eval "$as_ac_var=no"
54904 fi
54905 rm -f conftest.err conftest.$ac_objext \
54906       conftest$ac_exeext conftest.$ac_ext
54907 fi
54908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54910 if test `eval echo '${'$as_ac_var'}'` = yes; then
54911   cat >>confdefs.h <<_ACEOF
54912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54913 _ACEOF
54914
54915 fi
54916 done
54917
54918     fi
54919   fi
54920
54921
54922
54923
54924
54925
54926   echo "$as_me:$LINENO: checking for finite declaration" >&5
54927 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
54928   if test x${glibcxx_cv_func_finite_use+set} != xset; then
54929     if test "${glibcxx_cv_func_finite_use+set}" = set; then
54930   echo $ECHO_N "(cached) $ECHO_C" >&6
54931 else
54932
54933
54934
54935       ac_ext=cc
54936 ac_cpp='$CXXCPP $CPPFLAGS'
54937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54940
54941       cat >conftest.$ac_ext <<_ACEOF
54942 /* confdefs.h.  */
54943 _ACEOF
54944 cat confdefs.h >>conftest.$ac_ext
54945 cat >>conftest.$ac_ext <<_ACEOF
54946 /* end confdefs.h.  */
54947 #include <math.h>
54948                       #ifdef HAVE_IEEEFP_H
54949                       #include <ieeefp.h>
54950                       #endif
54951
54952 int
54953 main ()
54954 {
54955  finite(0);
54956   ;
54957   return 0;
54958 }
54959 _ACEOF
54960 rm -f conftest.$ac_objext
54961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54962   (eval $ac_compile) 2>conftest.er1
54963   ac_status=$?
54964   grep -v '^ *+' conftest.er1 >conftest.err
54965   rm -f conftest.er1
54966   cat conftest.err >&5
54967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54968   (exit $ac_status); } &&
54969          { ac_try='test -z "$ac_cxx_werror_flag"
54970                          || test ! -s conftest.err'
54971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54972   (eval $ac_try) 2>&5
54973   ac_status=$?
54974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54975   (exit $ac_status); }; } &&
54976          { ac_try='test -s conftest.$ac_objext'
54977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54978   (eval $ac_try) 2>&5
54979   ac_status=$?
54980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54981   (exit $ac_status); }; }; then
54982   glibcxx_cv_func_finite_use=yes
54983 else
54984   echo "$as_me: failed program was:" >&5
54985 sed 's/^/| /' conftest.$ac_ext >&5
54986
54987 glibcxx_cv_func_finite_use=no
54988 fi
54989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54990       ac_ext=c
54991 ac_cpp='$CPP $CPPFLAGS'
54992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54995
54996
54997 fi
54998
54999   fi
55000   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
55001 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
55002
55003   if test x$glibcxx_cv_func_finite_use = x"yes"; then
55004
55005 for ac_func in finite
55006 do
55007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55008 echo "$as_me:$LINENO: checking for $ac_func" >&5
55009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55010 if eval "test \"\${$as_ac_var+set}\" = set"; then
55011   echo $ECHO_N "(cached) $ECHO_C" >&6
55012 else
55013   if test x$gcc_no_link = xyes; then
55014   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55016    { (exit 1); exit 1; }; }
55017 fi
55018 cat >conftest.$ac_ext <<_ACEOF
55019 /* confdefs.h.  */
55020 _ACEOF
55021 cat confdefs.h >>conftest.$ac_ext
55022 cat >>conftest.$ac_ext <<_ACEOF
55023 /* end confdefs.h.  */
55024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55025    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55026 #define $ac_func innocuous_$ac_func
55027
55028 /* System header to define __stub macros and hopefully few prototypes,
55029     which can conflict with char $ac_func (); below.
55030     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55031     <limits.h> exists even on freestanding compilers.  */
55032
55033 #ifdef __STDC__
55034 # include <limits.h>
55035 #else
55036 # include <assert.h>
55037 #endif
55038
55039 #undef $ac_func
55040
55041 /* Override any gcc2 internal prototype to avoid an error.  */
55042 #ifdef __cplusplus
55043 extern "C"
55044 {
55045 #endif
55046 /* We use char because int might match the return type of a gcc2
55047    builtin and then its argument prototype would still apply.  */
55048 char $ac_func ();
55049 /* The GNU C library defines this for functions which it implements
55050     to always fail with ENOSYS.  Some functions are actually named
55051     something starting with __ and the normal name is an alias.  */
55052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55053 choke me
55054 #else
55055 char (*f) () = $ac_func;
55056 #endif
55057 #ifdef __cplusplus
55058 }
55059 #endif
55060
55061 int
55062 main ()
55063 {
55064 return f != $ac_func;
55065   ;
55066   return 0;
55067 }
55068 _ACEOF
55069 rm -f conftest.$ac_objext conftest$ac_exeext
55070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55071   (eval $ac_link) 2>conftest.er1
55072   ac_status=$?
55073   grep -v '^ *+' conftest.er1 >conftest.err
55074   rm -f conftest.er1
55075   cat conftest.err >&5
55076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55077   (exit $ac_status); } &&
55078          { ac_try='test -z "$ac_c_werror_flag"
55079                          || test ! -s conftest.err'
55080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55081   (eval $ac_try) 2>&5
55082   ac_status=$?
55083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55084   (exit $ac_status); }; } &&
55085          { ac_try='test -s conftest$ac_exeext'
55086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55087   (eval $ac_try) 2>&5
55088   ac_status=$?
55089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55090   (exit $ac_status); }; }; then
55091   eval "$as_ac_var=yes"
55092 else
55093   echo "$as_me: failed program was:" >&5
55094 sed 's/^/| /' conftest.$ac_ext >&5
55095
55096 eval "$as_ac_var=no"
55097 fi
55098 rm -f conftest.err conftest.$ac_objext \
55099       conftest$ac_exeext conftest.$ac_ext
55100 fi
55101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55103 if test `eval echo '${'$as_ac_var'}'` = yes; then
55104   cat >>confdefs.h <<_ACEOF
55105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55106 _ACEOF
55107
55108 fi
55109 done
55110
55111   else
55112
55113   echo "$as_me:$LINENO: checking for _finite declaration" >&5
55114 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
55115   if test x${glibcxx_cv_func__finite_use+set} != xset; then
55116     if test "${glibcxx_cv_func__finite_use+set}" = set; then
55117   echo $ECHO_N "(cached) $ECHO_C" >&6
55118 else
55119
55120
55121
55122       ac_ext=cc
55123 ac_cpp='$CXXCPP $CPPFLAGS'
55124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55127
55128       cat >conftest.$ac_ext <<_ACEOF
55129 /* confdefs.h.  */
55130 _ACEOF
55131 cat confdefs.h >>conftest.$ac_ext
55132 cat >>conftest.$ac_ext <<_ACEOF
55133 /* end confdefs.h.  */
55134 #include <math.h>
55135                       #ifdef HAVE_IEEEFP_H
55136                       #include <ieeefp.h>
55137                       #endif
55138
55139 int
55140 main ()
55141 {
55142  _finite(0);
55143   ;
55144   return 0;
55145 }
55146 _ACEOF
55147 rm -f conftest.$ac_objext
55148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55149   (eval $ac_compile) 2>conftest.er1
55150   ac_status=$?
55151   grep -v '^ *+' conftest.er1 >conftest.err
55152   rm -f conftest.er1
55153   cat conftest.err >&5
55154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55155   (exit $ac_status); } &&
55156          { ac_try='test -z "$ac_cxx_werror_flag"
55157                          || test ! -s conftest.err'
55158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55159   (eval $ac_try) 2>&5
55160   ac_status=$?
55161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55162   (exit $ac_status); }; } &&
55163          { ac_try='test -s conftest.$ac_objext'
55164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55165   (eval $ac_try) 2>&5
55166   ac_status=$?
55167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55168   (exit $ac_status); }; }; then
55169   glibcxx_cv_func__finite_use=yes
55170 else
55171   echo "$as_me: failed program was:" >&5
55172 sed 's/^/| /' conftest.$ac_ext >&5
55173
55174 glibcxx_cv_func__finite_use=no
55175 fi
55176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55177       ac_ext=c
55178 ac_cpp='$CPP $CPPFLAGS'
55179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55182
55183
55184 fi
55185
55186   fi
55187   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
55188 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
55189
55190     if test x$glibcxx_cv_func__finite_use = x"yes"; then
55191
55192 for ac_func in _finite
55193 do
55194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55195 echo "$as_me:$LINENO: checking for $ac_func" >&5
55196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55197 if eval "test \"\${$as_ac_var+set}\" = set"; then
55198   echo $ECHO_N "(cached) $ECHO_C" >&6
55199 else
55200   if test x$gcc_no_link = xyes; then
55201   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55203    { (exit 1); exit 1; }; }
55204 fi
55205 cat >conftest.$ac_ext <<_ACEOF
55206 /* confdefs.h.  */
55207 _ACEOF
55208 cat confdefs.h >>conftest.$ac_ext
55209 cat >>conftest.$ac_ext <<_ACEOF
55210 /* end confdefs.h.  */
55211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55212    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55213 #define $ac_func innocuous_$ac_func
55214
55215 /* System header to define __stub macros and hopefully few prototypes,
55216     which can conflict with char $ac_func (); below.
55217     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55218     <limits.h> exists even on freestanding compilers.  */
55219
55220 #ifdef __STDC__
55221 # include <limits.h>
55222 #else
55223 # include <assert.h>
55224 #endif
55225
55226 #undef $ac_func
55227
55228 /* Override any gcc2 internal prototype to avoid an error.  */
55229 #ifdef __cplusplus
55230 extern "C"
55231 {
55232 #endif
55233 /* We use char because int might match the return type of a gcc2
55234    builtin and then its argument prototype would still apply.  */
55235 char $ac_func ();
55236 /* The GNU C library defines this for functions which it implements
55237     to always fail with ENOSYS.  Some functions are actually named
55238     something starting with __ and the normal name is an alias.  */
55239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55240 choke me
55241 #else
55242 char (*f) () = $ac_func;
55243 #endif
55244 #ifdef __cplusplus
55245 }
55246 #endif
55247
55248 int
55249 main ()
55250 {
55251 return f != $ac_func;
55252   ;
55253   return 0;
55254 }
55255 _ACEOF
55256 rm -f conftest.$ac_objext conftest$ac_exeext
55257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55258   (eval $ac_link) 2>conftest.er1
55259   ac_status=$?
55260   grep -v '^ *+' conftest.er1 >conftest.err
55261   rm -f conftest.er1
55262   cat conftest.err >&5
55263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55264   (exit $ac_status); } &&
55265          { ac_try='test -z "$ac_c_werror_flag"
55266                          || test ! -s conftest.err'
55267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55268   (eval $ac_try) 2>&5
55269   ac_status=$?
55270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55271   (exit $ac_status); }; } &&
55272          { ac_try='test -s conftest$ac_exeext'
55273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55274   (eval $ac_try) 2>&5
55275   ac_status=$?
55276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55277   (exit $ac_status); }; }; then
55278   eval "$as_ac_var=yes"
55279 else
55280   echo "$as_me: failed program was:" >&5
55281 sed 's/^/| /' conftest.$ac_ext >&5
55282
55283 eval "$as_ac_var=no"
55284 fi
55285 rm -f conftest.err conftest.$ac_objext \
55286       conftest$ac_exeext conftest.$ac_ext
55287 fi
55288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55290 if test `eval echo '${'$as_ac_var'}'` = yes; then
55291   cat >>confdefs.h <<_ACEOF
55292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55293 _ACEOF
55294
55295 fi
55296 done
55297
55298     fi
55299   fi
55300
55301
55302
55303
55304
55305
55306   echo "$as_me:$LINENO: checking for copysign declaration" >&5
55307 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
55308   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
55309     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
55310   echo $ECHO_N "(cached) $ECHO_C" >&6
55311 else
55312
55313
55314
55315       ac_ext=cc
55316 ac_cpp='$CXXCPP $CPPFLAGS'
55317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55320
55321       cat >conftest.$ac_ext <<_ACEOF
55322 /* confdefs.h.  */
55323 _ACEOF
55324 cat confdefs.h >>conftest.$ac_ext
55325 cat >>conftest.$ac_ext <<_ACEOF
55326 /* end confdefs.h.  */
55327 #include <math.h>
55328 int
55329 main ()
55330 {
55331  copysign(0, 0);
55332   ;
55333   return 0;
55334 }
55335 _ACEOF
55336 rm -f conftest.$ac_objext
55337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55338   (eval $ac_compile) 2>conftest.er1
55339   ac_status=$?
55340   grep -v '^ *+' conftest.er1 >conftest.err
55341   rm -f conftest.er1
55342   cat conftest.err >&5
55343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55344   (exit $ac_status); } &&
55345          { ac_try='test -z "$ac_cxx_werror_flag"
55346                          || test ! -s conftest.err'
55347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55348   (eval $ac_try) 2>&5
55349   ac_status=$?
55350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55351   (exit $ac_status); }; } &&
55352          { ac_try='test -s conftest.$ac_objext'
55353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55354   (eval $ac_try) 2>&5
55355   ac_status=$?
55356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55357   (exit $ac_status); }; }; then
55358   glibcxx_cv_func_copysign_use=yes
55359 else
55360   echo "$as_me: failed program was:" >&5
55361 sed 's/^/| /' conftest.$ac_ext >&5
55362
55363 glibcxx_cv_func_copysign_use=no
55364 fi
55365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55366       ac_ext=c
55367 ac_cpp='$CPP $CPPFLAGS'
55368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55371
55372
55373 fi
55374
55375   fi
55376   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
55377 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
55378
55379   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
55380
55381 for ac_func in copysign
55382 do
55383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55384 echo "$as_me:$LINENO: checking for $ac_func" >&5
55385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55386 if eval "test \"\${$as_ac_var+set}\" = set"; then
55387   echo $ECHO_N "(cached) $ECHO_C" >&6
55388 else
55389   if test x$gcc_no_link = xyes; then
55390   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55392    { (exit 1); exit 1; }; }
55393 fi
55394 cat >conftest.$ac_ext <<_ACEOF
55395 /* confdefs.h.  */
55396 _ACEOF
55397 cat confdefs.h >>conftest.$ac_ext
55398 cat >>conftest.$ac_ext <<_ACEOF
55399 /* end confdefs.h.  */
55400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55401    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55402 #define $ac_func innocuous_$ac_func
55403
55404 /* System header to define __stub macros and hopefully few prototypes,
55405     which can conflict with char $ac_func (); below.
55406     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55407     <limits.h> exists even on freestanding compilers.  */
55408
55409 #ifdef __STDC__
55410 # include <limits.h>
55411 #else
55412 # include <assert.h>
55413 #endif
55414
55415 #undef $ac_func
55416
55417 /* Override any gcc2 internal prototype to avoid an error.  */
55418 #ifdef __cplusplus
55419 extern "C"
55420 {
55421 #endif
55422 /* We use char because int might match the return type of a gcc2
55423    builtin and then its argument prototype would still apply.  */
55424 char $ac_func ();
55425 /* The GNU C library defines this for functions which it implements
55426     to always fail with ENOSYS.  Some functions are actually named
55427     something starting with __ and the normal name is an alias.  */
55428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55429 choke me
55430 #else
55431 char (*f) () = $ac_func;
55432 #endif
55433 #ifdef __cplusplus
55434 }
55435 #endif
55436
55437 int
55438 main ()
55439 {
55440 return f != $ac_func;
55441   ;
55442   return 0;
55443 }
55444 _ACEOF
55445 rm -f conftest.$ac_objext conftest$ac_exeext
55446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55447   (eval $ac_link) 2>conftest.er1
55448   ac_status=$?
55449   grep -v '^ *+' conftest.er1 >conftest.err
55450   rm -f conftest.er1
55451   cat conftest.err >&5
55452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55453   (exit $ac_status); } &&
55454          { ac_try='test -z "$ac_c_werror_flag"
55455                          || test ! -s conftest.err'
55456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55457   (eval $ac_try) 2>&5
55458   ac_status=$?
55459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55460   (exit $ac_status); }; } &&
55461          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
55467   eval "$as_ac_var=yes"
55468 else
55469   echo "$as_me: failed program was:" >&5
55470 sed 's/^/| /' conftest.$ac_ext >&5
55471
55472 eval "$as_ac_var=no"
55473 fi
55474 rm -f conftest.err conftest.$ac_objext \
55475       conftest$ac_exeext conftest.$ac_ext
55476 fi
55477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55478 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55479 if test `eval echo '${'$as_ac_var'}'` = yes; then
55480   cat >>confdefs.h <<_ACEOF
55481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55482 _ACEOF
55483
55484 fi
55485 done
55486
55487   else
55488
55489   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
55490 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
55491   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
55492     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
55493   echo $ECHO_N "(cached) $ECHO_C" >&6
55494 else
55495
55496
55497
55498       ac_ext=cc
55499 ac_cpp='$CXXCPP $CPPFLAGS'
55500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55503
55504       cat >conftest.$ac_ext <<_ACEOF
55505 /* confdefs.h.  */
55506 _ACEOF
55507 cat confdefs.h >>conftest.$ac_ext
55508 cat >>conftest.$ac_ext <<_ACEOF
55509 /* end confdefs.h.  */
55510 #include <math.h>
55511 int
55512 main ()
55513 {
55514  _copysign(0, 0);
55515   ;
55516   return 0;
55517 }
55518 _ACEOF
55519 rm -f conftest.$ac_objext
55520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55521   (eval $ac_compile) 2>conftest.er1
55522   ac_status=$?
55523   grep -v '^ *+' conftest.er1 >conftest.err
55524   rm -f conftest.er1
55525   cat conftest.err >&5
55526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55527   (exit $ac_status); } &&
55528          { ac_try='test -z "$ac_cxx_werror_flag"
55529                          || test ! -s conftest.err'
55530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55531   (eval $ac_try) 2>&5
55532   ac_status=$?
55533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55534   (exit $ac_status); }; } &&
55535          { ac_try='test -s conftest.$ac_objext'
55536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55537   (eval $ac_try) 2>&5
55538   ac_status=$?
55539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55540   (exit $ac_status); }; }; then
55541   glibcxx_cv_func__copysign_use=yes
55542 else
55543   echo "$as_me: failed program was:" >&5
55544 sed 's/^/| /' conftest.$ac_ext >&5
55545
55546 glibcxx_cv_func__copysign_use=no
55547 fi
55548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55549       ac_ext=c
55550 ac_cpp='$CPP $CPPFLAGS'
55551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55554
55555
55556 fi
55557
55558   fi
55559   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
55560 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
55561
55562     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
55563
55564 for ac_func in _copysign
55565 do
55566 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55567 echo "$as_me:$LINENO: checking for $ac_func" >&5
55568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55569 if eval "test \"\${$as_ac_var+set}\" = set"; then
55570   echo $ECHO_N "(cached) $ECHO_C" >&6
55571 else
55572   if test x$gcc_no_link = xyes; then
55573   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55575    { (exit 1); exit 1; }; }
55576 fi
55577 cat >conftest.$ac_ext <<_ACEOF
55578 /* confdefs.h.  */
55579 _ACEOF
55580 cat confdefs.h >>conftest.$ac_ext
55581 cat >>conftest.$ac_ext <<_ACEOF
55582 /* end confdefs.h.  */
55583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55584    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55585 #define $ac_func innocuous_$ac_func
55586
55587 /* System header to define __stub macros and hopefully few prototypes,
55588     which can conflict with char $ac_func (); below.
55589     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55590     <limits.h> exists even on freestanding compilers.  */
55591
55592 #ifdef __STDC__
55593 # include <limits.h>
55594 #else
55595 # include <assert.h>
55596 #endif
55597
55598 #undef $ac_func
55599
55600 /* Override any gcc2 internal prototype to avoid an error.  */
55601 #ifdef __cplusplus
55602 extern "C"
55603 {
55604 #endif
55605 /* We use char because int might match the return type of a gcc2
55606    builtin and then its argument prototype would still apply.  */
55607 char $ac_func ();
55608 /* The GNU C library defines this for functions which it implements
55609     to always fail with ENOSYS.  Some functions are actually named
55610     something starting with __ and the normal name is an alias.  */
55611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55612 choke me
55613 #else
55614 char (*f) () = $ac_func;
55615 #endif
55616 #ifdef __cplusplus
55617 }
55618 #endif
55619
55620 int
55621 main ()
55622 {
55623 return f != $ac_func;
55624   ;
55625   return 0;
55626 }
55627 _ACEOF
55628 rm -f conftest.$ac_objext conftest$ac_exeext
55629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55630   (eval $ac_link) 2>conftest.er1
55631   ac_status=$?
55632   grep -v '^ *+' conftest.er1 >conftest.err
55633   rm -f conftest.er1
55634   cat conftest.err >&5
55635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55636   (exit $ac_status); } &&
55637          { ac_try='test -z "$ac_c_werror_flag"
55638                          || test ! -s conftest.err'
55639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55640   (eval $ac_try) 2>&5
55641   ac_status=$?
55642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55643   (exit $ac_status); }; } &&
55644          { ac_try='test -s conftest$ac_exeext'
55645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55646   (eval $ac_try) 2>&5
55647   ac_status=$?
55648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55649   (exit $ac_status); }; }; then
55650   eval "$as_ac_var=yes"
55651 else
55652   echo "$as_me: failed program was:" >&5
55653 sed 's/^/| /' conftest.$ac_ext >&5
55654
55655 eval "$as_ac_var=no"
55656 fi
55657 rm -f conftest.err conftest.$ac_objext \
55658       conftest$ac_exeext conftest.$ac_ext
55659 fi
55660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55662 if test `eval echo '${'$as_ac_var'}'` = yes; then
55663   cat >>confdefs.h <<_ACEOF
55664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55665 _ACEOF
55666
55667 fi
55668 done
55669
55670     fi
55671   fi
55672
55673
55674
55675
55676
55677
55678   echo "$as_me:$LINENO: checking for sincos declaration" >&5
55679 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
55680   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
55681     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
55682   echo $ECHO_N "(cached) $ECHO_C" >&6
55683 else
55684
55685
55686
55687       ac_ext=cc
55688 ac_cpp='$CXXCPP $CPPFLAGS'
55689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55692
55693       cat >conftest.$ac_ext <<_ACEOF
55694 /* confdefs.h.  */
55695 _ACEOF
55696 cat confdefs.h >>conftest.$ac_ext
55697 cat >>conftest.$ac_ext <<_ACEOF
55698 /* end confdefs.h.  */
55699 #include <math.h>
55700 int
55701 main ()
55702 {
55703  sincos(0, 0, 0);
55704   ;
55705   return 0;
55706 }
55707 _ACEOF
55708 rm -f conftest.$ac_objext
55709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55710   (eval $ac_compile) 2>conftest.er1
55711   ac_status=$?
55712   grep -v '^ *+' conftest.er1 >conftest.err
55713   rm -f conftest.er1
55714   cat conftest.err >&5
55715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55716   (exit $ac_status); } &&
55717          { ac_try='test -z "$ac_cxx_werror_flag"
55718                          || test ! -s conftest.err'
55719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55720   (eval $ac_try) 2>&5
55721   ac_status=$?
55722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55723   (exit $ac_status); }; } &&
55724          { ac_try='test -s conftest.$ac_objext'
55725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55726   (eval $ac_try) 2>&5
55727   ac_status=$?
55728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55729   (exit $ac_status); }; }; then
55730   glibcxx_cv_func_sincos_use=yes
55731 else
55732   echo "$as_me: failed program was:" >&5
55733 sed 's/^/| /' conftest.$ac_ext >&5
55734
55735 glibcxx_cv_func_sincos_use=no
55736 fi
55737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55738       ac_ext=c
55739 ac_cpp='$CPP $CPPFLAGS'
55740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55743
55744
55745 fi
55746
55747   fi
55748   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
55749 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
55750
55751   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
55752
55753 for ac_func in sincos
55754 do
55755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55756 echo "$as_me:$LINENO: checking for $ac_func" >&5
55757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55758 if eval "test \"\${$as_ac_var+set}\" = set"; then
55759   echo $ECHO_N "(cached) $ECHO_C" >&6
55760 else
55761   if test x$gcc_no_link = xyes; then
55762   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55764    { (exit 1); exit 1; }; }
55765 fi
55766 cat >conftest.$ac_ext <<_ACEOF
55767 /* confdefs.h.  */
55768 _ACEOF
55769 cat confdefs.h >>conftest.$ac_ext
55770 cat >>conftest.$ac_ext <<_ACEOF
55771 /* end confdefs.h.  */
55772 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55773    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55774 #define $ac_func innocuous_$ac_func
55775
55776 /* System header to define __stub macros and hopefully few prototypes,
55777     which can conflict with char $ac_func (); below.
55778     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55779     <limits.h> exists even on freestanding compilers.  */
55780
55781 #ifdef __STDC__
55782 # include <limits.h>
55783 #else
55784 # include <assert.h>
55785 #endif
55786
55787 #undef $ac_func
55788
55789 /* Override any gcc2 internal prototype to avoid an error.  */
55790 #ifdef __cplusplus
55791 extern "C"
55792 {
55793 #endif
55794 /* We use char because int might match the return type of a gcc2
55795    builtin and then its argument prototype would still apply.  */
55796 char $ac_func ();
55797 /* The GNU C library defines this for functions which it implements
55798     to always fail with ENOSYS.  Some functions are actually named
55799     something starting with __ and the normal name is an alias.  */
55800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55801 choke me
55802 #else
55803 char (*f) () = $ac_func;
55804 #endif
55805 #ifdef __cplusplus
55806 }
55807 #endif
55808
55809 int
55810 main ()
55811 {
55812 return f != $ac_func;
55813   ;
55814   return 0;
55815 }
55816 _ACEOF
55817 rm -f conftest.$ac_objext conftest$ac_exeext
55818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55819   (eval $ac_link) 2>conftest.er1
55820   ac_status=$?
55821   grep -v '^ *+' conftest.er1 >conftest.err
55822   rm -f conftest.er1
55823   cat conftest.err >&5
55824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55825   (exit $ac_status); } &&
55826          { ac_try='test -z "$ac_c_werror_flag"
55827                          || test ! -s conftest.err'
55828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55829   (eval $ac_try) 2>&5
55830   ac_status=$?
55831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55832   (exit $ac_status); }; } &&
55833          { ac_try='test -s conftest$ac_exeext'
55834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55835   (eval $ac_try) 2>&5
55836   ac_status=$?
55837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55838   (exit $ac_status); }; }; then
55839   eval "$as_ac_var=yes"
55840 else
55841   echo "$as_me: failed program was:" >&5
55842 sed 's/^/| /' conftest.$ac_ext >&5
55843
55844 eval "$as_ac_var=no"
55845 fi
55846 rm -f conftest.err conftest.$ac_objext \
55847       conftest$ac_exeext conftest.$ac_ext
55848 fi
55849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55850 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55851 if test `eval echo '${'$as_ac_var'}'` = yes; then
55852   cat >>confdefs.h <<_ACEOF
55853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55854 _ACEOF
55855
55856 fi
55857 done
55858
55859   else
55860
55861   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
55862 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
55863   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
55864     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
55865   echo $ECHO_N "(cached) $ECHO_C" >&6
55866 else
55867
55868
55869
55870       ac_ext=cc
55871 ac_cpp='$CXXCPP $CPPFLAGS'
55872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55875
55876       cat >conftest.$ac_ext <<_ACEOF
55877 /* confdefs.h.  */
55878 _ACEOF
55879 cat confdefs.h >>conftest.$ac_ext
55880 cat >>conftest.$ac_ext <<_ACEOF
55881 /* end confdefs.h.  */
55882 #include <math.h>
55883 int
55884 main ()
55885 {
55886  _sincos(0, 0, 0);
55887   ;
55888   return 0;
55889 }
55890 _ACEOF
55891 rm -f conftest.$ac_objext
55892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55893   (eval $ac_compile) 2>conftest.er1
55894   ac_status=$?
55895   grep -v '^ *+' conftest.er1 >conftest.err
55896   rm -f conftest.er1
55897   cat conftest.err >&5
55898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55899   (exit $ac_status); } &&
55900          { ac_try='test -z "$ac_cxx_werror_flag"
55901                          || test ! -s conftest.err'
55902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55903   (eval $ac_try) 2>&5
55904   ac_status=$?
55905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55906   (exit $ac_status); }; } &&
55907          { ac_try='test -s conftest.$ac_objext'
55908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55909   (eval $ac_try) 2>&5
55910   ac_status=$?
55911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55912   (exit $ac_status); }; }; then
55913   glibcxx_cv_func__sincos_use=yes
55914 else
55915   echo "$as_me: failed program was:" >&5
55916 sed 's/^/| /' conftest.$ac_ext >&5
55917
55918 glibcxx_cv_func__sincos_use=no
55919 fi
55920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55921       ac_ext=c
55922 ac_cpp='$CPP $CPPFLAGS'
55923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55926
55927
55928 fi
55929
55930   fi
55931   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
55932 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
55933
55934     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
55935
55936 for ac_func in _sincos
55937 do
55938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55939 echo "$as_me:$LINENO: checking for $ac_func" >&5
55940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55941 if eval "test \"\${$as_ac_var+set}\" = set"; then
55942   echo $ECHO_N "(cached) $ECHO_C" >&6
55943 else
55944   if test x$gcc_no_link = xyes; then
55945   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55947    { (exit 1); exit 1; }; }
55948 fi
55949 cat >conftest.$ac_ext <<_ACEOF
55950 /* confdefs.h.  */
55951 _ACEOF
55952 cat confdefs.h >>conftest.$ac_ext
55953 cat >>conftest.$ac_ext <<_ACEOF
55954 /* end confdefs.h.  */
55955 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55956    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55957 #define $ac_func innocuous_$ac_func
55958
55959 /* System header to define __stub macros and hopefully few prototypes,
55960     which can conflict with char $ac_func (); below.
55961     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55962     <limits.h> exists even on freestanding compilers.  */
55963
55964 #ifdef __STDC__
55965 # include <limits.h>
55966 #else
55967 # include <assert.h>
55968 #endif
55969
55970 #undef $ac_func
55971
55972 /* Override any gcc2 internal prototype to avoid an error.  */
55973 #ifdef __cplusplus
55974 extern "C"
55975 {
55976 #endif
55977 /* We use char because int might match the return type of a gcc2
55978    builtin and then its argument prototype would still apply.  */
55979 char $ac_func ();
55980 /* The GNU C library defines this for functions which it implements
55981     to always fail with ENOSYS.  Some functions are actually named
55982     something starting with __ and the normal name is an alias.  */
55983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55984 choke me
55985 #else
55986 char (*f) () = $ac_func;
55987 #endif
55988 #ifdef __cplusplus
55989 }
55990 #endif
55991
55992 int
55993 main ()
55994 {
55995 return f != $ac_func;
55996   ;
55997   return 0;
55998 }
55999 _ACEOF
56000 rm -f conftest.$ac_objext conftest$ac_exeext
56001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56002   (eval $ac_link) 2>conftest.er1
56003   ac_status=$?
56004   grep -v '^ *+' conftest.er1 >conftest.err
56005   rm -f conftest.er1
56006   cat conftest.err >&5
56007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56008   (exit $ac_status); } &&
56009          { ac_try='test -z "$ac_c_werror_flag"
56010                          || test ! -s conftest.err'
56011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56012   (eval $ac_try) 2>&5
56013   ac_status=$?
56014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56015   (exit $ac_status); }; } &&
56016          { ac_try='test -s conftest$ac_exeext'
56017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56018   (eval $ac_try) 2>&5
56019   ac_status=$?
56020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56021   (exit $ac_status); }; }; then
56022   eval "$as_ac_var=yes"
56023 else
56024   echo "$as_me: failed program was:" >&5
56025 sed 's/^/| /' conftest.$ac_ext >&5
56026
56027 eval "$as_ac_var=no"
56028 fi
56029 rm -f conftest.err conftest.$ac_objext \
56030       conftest$ac_exeext conftest.$ac_ext
56031 fi
56032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56034 if test `eval echo '${'$as_ac_var'}'` = yes; then
56035   cat >>confdefs.h <<_ACEOF
56036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56037 _ACEOF
56038
56039 fi
56040 done
56041
56042     fi
56043   fi
56044
56045
56046
56047
56048
56049
56050   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
56051 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
56052   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
56053     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
56054   echo $ECHO_N "(cached) $ECHO_C" >&6
56055 else
56056
56057
56058
56059       ac_ext=cc
56060 ac_cpp='$CXXCPP $CPPFLAGS'
56061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56064
56065       cat >conftest.$ac_ext <<_ACEOF
56066 /* confdefs.h.  */
56067 _ACEOF
56068 cat confdefs.h >>conftest.$ac_ext
56069 cat >>conftest.$ac_ext <<_ACEOF
56070 /* end confdefs.h.  */
56071 #include <math.h>
56072                       #ifdef HAVE_IEEEFP_H
56073                       #include <ieeefp.h>
56074                       #endif
56075
56076 int
56077 main ()
56078 {
56079  fpclass(0);
56080   ;
56081   return 0;
56082 }
56083 _ACEOF
56084 rm -f conftest.$ac_objext
56085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56086   (eval $ac_compile) 2>conftest.er1
56087   ac_status=$?
56088   grep -v '^ *+' conftest.er1 >conftest.err
56089   rm -f conftest.er1
56090   cat conftest.err >&5
56091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56092   (exit $ac_status); } &&
56093          { ac_try='test -z "$ac_cxx_werror_flag"
56094                          || test ! -s conftest.err'
56095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56096   (eval $ac_try) 2>&5
56097   ac_status=$?
56098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56099   (exit $ac_status); }; } &&
56100          { ac_try='test -s conftest.$ac_objext'
56101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56102   (eval $ac_try) 2>&5
56103   ac_status=$?
56104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56105   (exit $ac_status); }; }; then
56106   glibcxx_cv_func_fpclass_use=yes
56107 else
56108   echo "$as_me: failed program was:" >&5
56109 sed 's/^/| /' conftest.$ac_ext >&5
56110
56111 glibcxx_cv_func_fpclass_use=no
56112 fi
56113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56114       ac_ext=c
56115 ac_cpp='$CPP $CPPFLAGS'
56116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56119
56120
56121 fi
56122
56123   fi
56124   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
56125 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
56126
56127   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
56128
56129 for ac_func in fpclass
56130 do
56131 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56132 echo "$as_me:$LINENO: checking for $ac_func" >&5
56133 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56134 if eval "test \"\${$as_ac_var+set}\" = set"; then
56135   echo $ECHO_N "(cached) $ECHO_C" >&6
56136 else
56137   if test x$gcc_no_link = xyes; then
56138   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56140    { (exit 1); exit 1; }; }
56141 fi
56142 cat >conftest.$ac_ext <<_ACEOF
56143 /* confdefs.h.  */
56144 _ACEOF
56145 cat confdefs.h >>conftest.$ac_ext
56146 cat >>conftest.$ac_ext <<_ACEOF
56147 /* end confdefs.h.  */
56148 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56149    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56150 #define $ac_func innocuous_$ac_func
56151
56152 /* System header to define __stub macros and hopefully few prototypes,
56153     which can conflict with char $ac_func (); below.
56154     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56155     <limits.h> exists even on freestanding compilers.  */
56156
56157 #ifdef __STDC__
56158 # include <limits.h>
56159 #else
56160 # include <assert.h>
56161 #endif
56162
56163 #undef $ac_func
56164
56165 /* Override any gcc2 internal prototype to avoid an error.  */
56166 #ifdef __cplusplus
56167 extern "C"
56168 {
56169 #endif
56170 /* We use char because int might match the return type of a gcc2
56171    builtin and then its argument prototype would still apply.  */
56172 char $ac_func ();
56173 /* The GNU C library defines this for functions which it implements
56174     to always fail with ENOSYS.  Some functions are actually named
56175     something starting with __ and the normal name is an alias.  */
56176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56177 choke me
56178 #else
56179 char (*f) () = $ac_func;
56180 #endif
56181 #ifdef __cplusplus
56182 }
56183 #endif
56184
56185 int
56186 main ()
56187 {
56188 return f != $ac_func;
56189   ;
56190   return 0;
56191 }
56192 _ACEOF
56193 rm -f conftest.$ac_objext conftest$ac_exeext
56194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56195   (eval $ac_link) 2>conftest.er1
56196   ac_status=$?
56197   grep -v '^ *+' conftest.er1 >conftest.err
56198   rm -f conftest.er1
56199   cat conftest.err >&5
56200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56201   (exit $ac_status); } &&
56202          { ac_try='test -z "$ac_c_werror_flag"
56203                          || test ! -s conftest.err'
56204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56205   (eval $ac_try) 2>&5
56206   ac_status=$?
56207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56208   (exit $ac_status); }; } &&
56209          { ac_try='test -s conftest$ac_exeext'
56210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56211   (eval $ac_try) 2>&5
56212   ac_status=$?
56213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56214   (exit $ac_status); }; }; then
56215   eval "$as_ac_var=yes"
56216 else
56217   echo "$as_me: failed program was:" >&5
56218 sed 's/^/| /' conftest.$ac_ext >&5
56219
56220 eval "$as_ac_var=no"
56221 fi
56222 rm -f conftest.err conftest.$ac_objext \
56223       conftest$ac_exeext conftest.$ac_ext
56224 fi
56225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56226 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56227 if test `eval echo '${'$as_ac_var'}'` = yes; then
56228   cat >>confdefs.h <<_ACEOF
56229 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56230 _ACEOF
56231
56232 fi
56233 done
56234
56235   else
56236
56237   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
56238 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
56239   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
56240     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
56241   echo $ECHO_N "(cached) $ECHO_C" >&6
56242 else
56243
56244
56245
56246       ac_ext=cc
56247 ac_cpp='$CXXCPP $CPPFLAGS'
56248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56251
56252       cat >conftest.$ac_ext <<_ACEOF
56253 /* confdefs.h.  */
56254 _ACEOF
56255 cat confdefs.h >>conftest.$ac_ext
56256 cat >>conftest.$ac_ext <<_ACEOF
56257 /* end confdefs.h.  */
56258 #include <math.h>
56259                       #ifdef HAVE_IEEEFP_H
56260                       #include <ieeefp.h>
56261                       #endif
56262
56263 int
56264 main ()
56265 {
56266  _fpclass(0);
56267   ;
56268   return 0;
56269 }
56270 _ACEOF
56271 rm -f conftest.$ac_objext
56272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56273   (eval $ac_compile) 2>conftest.er1
56274   ac_status=$?
56275   grep -v '^ *+' conftest.er1 >conftest.err
56276   rm -f conftest.er1
56277   cat conftest.err >&5
56278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56279   (exit $ac_status); } &&
56280          { ac_try='test -z "$ac_cxx_werror_flag"
56281                          || test ! -s conftest.err'
56282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56283   (eval $ac_try) 2>&5
56284   ac_status=$?
56285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56286   (exit $ac_status); }; } &&
56287          { ac_try='test -s conftest.$ac_objext'
56288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56289   (eval $ac_try) 2>&5
56290   ac_status=$?
56291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56292   (exit $ac_status); }; }; then
56293   glibcxx_cv_func__fpclass_use=yes
56294 else
56295   echo "$as_me: failed program was:" >&5
56296 sed 's/^/| /' conftest.$ac_ext >&5
56297
56298 glibcxx_cv_func__fpclass_use=no
56299 fi
56300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56301       ac_ext=c
56302 ac_cpp='$CPP $CPPFLAGS'
56303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56306
56307
56308 fi
56309
56310   fi
56311   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
56312 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
56313
56314     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
56315
56316 for ac_func in _fpclass
56317 do
56318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56319 echo "$as_me:$LINENO: checking for $ac_func" >&5
56320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56321 if eval "test \"\${$as_ac_var+set}\" = set"; then
56322   echo $ECHO_N "(cached) $ECHO_C" >&6
56323 else
56324   if test x$gcc_no_link = xyes; then
56325   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56327    { (exit 1); exit 1; }; }
56328 fi
56329 cat >conftest.$ac_ext <<_ACEOF
56330 /* confdefs.h.  */
56331 _ACEOF
56332 cat confdefs.h >>conftest.$ac_ext
56333 cat >>conftest.$ac_ext <<_ACEOF
56334 /* end confdefs.h.  */
56335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56336    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56337 #define $ac_func innocuous_$ac_func
56338
56339 /* System header to define __stub macros and hopefully few prototypes,
56340     which can conflict with char $ac_func (); below.
56341     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56342     <limits.h> exists even on freestanding compilers.  */
56343
56344 #ifdef __STDC__
56345 # include <limits.h>
56346 #else
56347 # include <assert.h>
56348 #endif
56349
56350 #undef $ac_func
56351
56352 /* Override any gcc2 internal prototype to avoid an error.  */
56353 #ifdef __cplusplus
56354 extern "C"
56355 {
56356 #endif
56357 /* We use char because int might match the return type of a gcc2
56358    builtin and then its argument prototype would still apply.  */
56359 char $ac_func ();
56360 /* The GNU C library defines this for functions which it implements
56361     to always fail with ENOSYS.  Some functions are actually named
56362     something starting with __ and the normal name is an alias.  */
56363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56364 choke me
56365 #else
56366 char (*f) () = $ac_func;
56367 #endif
56368 #ifdef __cplusplus
56369 }
56370 #endif
56371
56372 int
56373 main ()
56374 {
56375 return f != $ac_func;
56376   ;
56377   return 0;
56378 }
56379 _ACEOF
56380 rm -f conftest.$ac_objext conftest$ac_exeext
56381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56382   (eval $ac_link) 2>conftest.er1
56383   ac_status=$?
56384   grep -v '^ *+' conftest.er1 >conftest.err
56385   rm -f conftest.er1
56386   cat conftest.err >&5
56387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56388   (exit $ac_status); } &&
56389          { ac_try='test -z "$ac_c_werror_flag"
56390                          || test ! -s conftest.err'
56391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56392   (eval $ac_try) 2>&5
56393   ac_status=$?
56394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56395   (exit $ac_status); }; } &&
56396          { ac_try='test -s conftest$ac_exeext'
56397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56398   (eval $ac_try) 2>&5
56399   ac_status=$?
56400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56401   (exit $ac_status); }; }; then
56402   eval "$as_ac_var=yes"
56403 else
56404   echo "$as_me: failed program was:" >&5
56405 sed 's/^/| /' conftest.$ac_ext >&5
56406
56407 eval "$as_ac_var=no"
56408 fi
56409 rm -f conftest.err conftest.$ac_objext \
56410       conftest$ac_exeext conftest.$ac_ext
56411 fi
56412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56414 if test `eval echo '${'$as_ac_var'}'` = yes; then
56415   cat >>confdefs.h <<_ACEOF
56416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56417 _ACEOF
56418
56419 fi
56420 done
56421
56422     fi
56423   fi
56424
56425
56426
56427
56428
56429
56430   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
56431 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
56432   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
56433     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
56434   echo $ECHO_N "(cached) $ECHO_C" >&6
56435 else
56436
56437
56438
56439       ac_ext=cc
56440 ac_cpp='$CXXCPP $CPPFLAGS'
56441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56444
56445       cat >conftest.$ac_ext <<_ACEOF
56446 /* confdefs.h.  */
56447 _ACEOF
56448 cat confdefs.h >>conftest.$ac_ext
56449 cat >>conftest.$ac_ext <<_ACEOF
56450 /* end confdefs.h.  */
56451 #include <math.h>
56452                       #ifdef HAVE_IEEEFP_H
56453                       #include <ieeefp.h>
56454                       #endif
56455
56456 int
56457 main ()
56458 {
56459  qfpclass(0);
56460   ;
56461   return 0;
56462 }
56463 _ACEOF
56464 rm -f conftest.$ac_objext
56465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56466   (eval $ac_compile) 2>conftest.er1
56467   ac_status=$?
56468   grep -v '^ *+' conftest.er1 >conftest.err
56469   rm -f conftest.er1
56470   cat conftest.err >&5
56471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56472   (exit $ac_status); } &&
56473          { ac_try='test -z "$ac_cxx_werror_flag"
56474                          || test ! -s conftest.err'
56475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56476   (eval $ac_try) 2>&5
56477   ac_status=$?
56478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56479   (exit $ac_status); }; } &&
56480          { ac_try='test -s conftest.$ac_objext'
56481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56482   (eval $ac_try) 2>&5
56483   ac_status=$?
56484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56485   (exit $ac_status); }; }; then
56486   glibcxx_cv_func_qfpclass_use=yes
56487 else
56488   echo "$as_me: failed program was:" >&5
56489 sed 's/^/| /' conftest.$ac_ext >&5
56490
56491 glibcxx_cv_func_qfpclass_use=no
56492 fi
56493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56494       ac_ext=c
56495 ac_cpp='$CPP $CPPFLAGS'
56496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56499
56500
56501 fi
56502
56503   fi
56504   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
56505 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
56506
56507   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
56508
56509 for ac_func in qfpclass
56510 do
56511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56512 echo "$as_me:$LINENO: checking for $ac_func" >&5
56513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56514 if eval "test \"\${$as_ac_var+set}\" = set"; then
56515   echo $ECHO_N "(cached) $ECHO_C" >&6
56516 else
56517   if test x$gcc_no_link = xyes; then
56518   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56520    { (exit 1); exit 1; }; }
56521 fi
56522 cat >conftest.$ac_ext <<_ACEOF
56523 /* confdefs.h.  */
56524 _ACEOF
56525 cat confdefs.h >>conftest.$ac_ext
56526 cat >>conftest.$ac_ext <<_ACEOF
56527 /* end confdefs.h.  */
56528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56529    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56530 #define $ac_func innocuous_$ac_func
56531
56532 /* System header to define __stub macros and hopefully few prototypes,
56533     which can conflict with char $ac_func (); below.
56534     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56535     <limits.h> exists even on freestanding compilers.  */
56536
56537 #ifdef __STDC__
56538 # include <limits.h>
56539 #else
56540 # include <assert.h>
56541 #endif
56542
56543 #undef $ac_func
56544
56545 /* Override any gcc2 internal prototype to avoid an error.  */
56546 #ifdef __cplusplus
56547 extern "C"
56548 {
56549 #endif
56550 /* We use char because int might match the return type of a gcc2
56551    builtin and then its argument prototype would still apply.  */
56552 char $ac_func ();
56553 /* The GNU C library defines this for functions which it implements
56554     to always fail with ENOSYS.  Some functions are actually named
56555     something starting with __ and the normal name is an alias.  */
56556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56557 choke me
56558 #else
56559 char (*f) () = $ac_func;
56560 #endif
56561 #ifdef __cplusplus
56562 }
56563 #endif
56564
56565 int
56566 main ()
56567 {
56568 return f != $ac_func;
56569   ;
56570   return 0;
56571 }
56572 _ACEOF
56573 rm -f conftest.$ac_objext conftest$ac_exeext
56574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56575   (eval $ac_link) 2>conftest.er1
56576   ac_status=$?
56577   grep -v '^ *+' conftest.er1 >conftest.err
56578   rm -f conftest.er1
56579   cat conftest.err >&5
56580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56581   (exit $ac_status); } &&
56582          { ac_try='test -z "$ac_c_werror_flag"
56583                          || test ! -s conftest.err'
56584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56585   (eval $ac_try) 2>&5
56586   ac_status=$?
56587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56588   (exit $ac_status); }; } &&
56589          { ac_try='test -s conftest$ac_exeext'
56590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56591   (eval $ac_try) 2>&5
56592   ac_status=$?
56593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56594   (exit $ac_status); }; }; then
56595   eval "$as_ac_var=yes"
56596 else
56597   echo "$as_me: failed program was:" >&5
56598 sed 's/^/| /' conftest.$ac_ext >&5
56599
56600 eval "$as_ac_var=no"
56601 fi
56602 rm -f conftest.err conftest.$ac_objext \
56603       conftest$ac_exeext conftest.$ac_ext
56604 fi
56605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56607 if test `eval echo '${'$as_ac_var'}'` = yes; then
56608   cat >>confdefs.h <<_ACEOF
56609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56610 _ACEOF
56611
56612 fi
56613 done
56614
56615   else
56616
56617   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
56618 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
56619   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
56620     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
56621   echo $ECHO_N "(cached) $ECHO_C" >&6
56622 else
56623
56624
56625
56626       ac_ext=cc
56627 ac_cpp='$CXXCPP $CPPFLAGS'
56628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56631
56632       cat >conftest.$ac_ext <<_ACEOF
56633 /* confdefs.h.  */
56634 _ACEOF
56635 cat confdefs.h >>conftest.$ac_ext
56636 cat >>conftest.$ac_ext <<_ACEOF
56637 /* end confdefs.h.  */
56638 #include <math.h>
56639                       #ifdef HAVE_IEEEFP_H
56640                       #include <ieeefp.h>
56641                       #endif
56642
56643 int
56644 main ()
56645 {
56646  _qfpclass(0);
56647   ;
56648   return 0;
56649 }
56650 _ACEOF
56651 rm -f conftest.$ac_objext
56652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56653   (eval $ac_compile) 2>conftest.er1
56654   ac_status=$?
56655   grep -v '^ *+' conftest.er1 >conftest.err
56656   rm -f conftest.er1
56657   cat conftest.err >&5
56658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56659   (exit $ac_status); } &&
56660          { ac_try='test -z "$ac_cxx_werror_flag"
56661                          || test ! -s conftest.err'
56662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56663   (eval $ac_try) 2>&5
56664   ac_status=$?
56665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56666   (exit $ac_status); }; } &&
56667          { ac_try='test -s conftest.$ac_objext'
56668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56669   (eval $ac_try) 2>&5
56670   ac_status=$?
56671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56672   (exit $ac_status); }; }; then
56673   glibcxx_cv_func__qfpclass_use=yes
56674 else
56675   echo "$as_me: failed program was:" >&5
56676 sed 's/^/| /' conftest.$ac_ext >&5
56677
56678 glibcxx_cv_func__qfpclass_use=no
56679 fi
56680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56681       ac_ext=c
56682 ac_cpp='$CPP $CPPFLAGS'
56683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56686
56687
56688 fi
56689
56690   fi
56691   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
56692 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
56693
56694     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
56695
56696 for ac_func in _qfpclass
56697 do
56698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56699 echo "$as_me:$LINENO: checking for $ac_func" >&5
56700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56701 if eval "test \"\${$as_ac_var+set}\" = set"; then
56702   echo $ECHO_N "(cached) $ECHO_C" >&6
56703 else
56704   if test x$gcc_no_link = xyes; then
56705   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56707    { (exit 1); exit 1; }; }
56708 fi
56709 cat >conftest.$ac_ext <<_ACEOF
56710 /* confdefs.h.  */
56711 _ACEOF
56712 cat confdefs.h >>conftest.$ac_ext
56713 cat >>conftest.$ac_ext <<_ACEOF
56714 /* end confdefs.h.  */
56715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56716    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56717 #define $ac_func innocuous_$ac_func
56718
56719 /* System header to define __stub macros and hopefully few prototypes,
56720     which can conflict with char $ac_func (); below.
56721     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56722     <limits.h> exists even on freestanding compilers.  */
56723
56724 #ifdef __STDC__
56725 # include <limits.h>
56726 #else
56727 # include <assert.h>
56728 #endif
56729
56730 #undef $ac_func
56731
56732 /* Override any gcc2 internal prototype to avoid an error.  */
56733 #ifdef __cplusplus
56734 extern "C"
56735 {
56736 #endif
56737 /* We use char because int might match the return type of a gcc2
56738    builtin and then its argument prototype would still apply.  */
56739 char $ac_func ();
56740 /* The GNU C library defines this for functions which it implements
56741     to always fail with ENOSYS.  Some functions are actually named
56742     something starting with __ and the normal name is an alias.  */
56743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56744 choke me
56745 #else
56746 char (*f) () = $ac_func;
56747 #endif
56748 #ifdef __cplusplus
56749 }
56750 #endif
56751
56752 int
56753 main ()
56754 {
56755 return f != $ac_func;
56756   ;
56757   return 0;
56758 }
56759 _ACEOF
56760 rm -f conftest.$ac_objext conftest$ac_exeext
56761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56762   (eval $ac_link) 2>conftest.er1
56763   ac_status=$?
56764   grep -v '^ *+' conftest.er1 >conftest.err
56765   rm -f conftest.er1
56766   cat conftest.err >&5
56767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56768   (exit $ac_status); } &&
56769          { ac_try='test -z "$ac_c_werror_flag"
56770                          || test ! -s conftest.err'
56771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56772   (eval $ac_try) 2>&5
56773   ac_status=$?
56774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56775   (exit $ac_status); }; } &&
56776          { ac_try='test -s conftest$ac_exeext'
56777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56778   (eval $ac_try) 2>&5
56779   ac_status=$?
56780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56781   (exit $ac_status); }; }; then
56782   eval "$as_ac_var=yes"
56783 else
56784   echo "$as_me: failed program was:" >&5
56785 sed 's/^/| /' conftest.$ac_ext >&5
56786
56787 eval "$as_ac_var=no"
56788 fi
56789 rm -f conftest.err conftest.$ac_objext \
56790       conftest$ac_exeext conftest.$ac_ext
56791 fi
56792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56794 if test `eval echo '${'$as_ac_var'}'` = yes; then
56795   cat >>confdefs.h <<_ACEOF
56796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56797 _ACEOF
56798
56799 fi
56800 done
56801
56802     fi
56803   fi
56804
56805
56806
56807
56808
56809
56810   echo "$as_me:$LINENO: checking for hypot declaration" >&5
56811 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
56812   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
56813     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
56814   echo $ECHO_N "(cached) $ECHO_C" >&6
56815 else
56816
56817
56818
56819       ac_ext=cc
56820 ac_cpp='$CXXCPP $CPPFLAGS'
56821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56824
56825       cat >conftest.$ac_ext <<_ACEOF
56826 /* confdefs.h.  */
56827 _ACEOF
56828 cat confdefs.h >>conftest.$ac_ext
56829 cat >>conftest.$ac_ext <<_ACEOF
56830 /* end confdefs.h.  */
56831 #include <math.h>
56832 int
56833 main ()
56834 {
56835  hypot(0, 0);
56836   ;
56837   return 0;
56838 }
56839 _ACEOF
56840 rm -f conftest.$ac_objext
56841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56842   (eval $ac_compile) 2>conftest.er1
56843   ac_status=$?
56844   grep -v '^ *+' conftest.er1 >conftest.err
56845   rm -f conftest.er1
56846   cat conftest.err >&5
56847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56848   (exit $ac_status); } &&
56849          { ac_try='test -z "$ac_cxx_werror_flag"
56850                          || test ! -s conftest.err'
56851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56852   (eval $ac_try) 2>&5
56853   ac_status=$?
56854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56855   (exit $ac_status); }; } &&
56856          { ac_try='test -s conftest.$ac_objext'
56857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56858   (eval $ac_try) 2>&5
56859   ac_status=$?
56860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56861   (exit $ac_status); }; }; then
56862   glibcxx_cv_func_hypot_use=yes
56863 else
56864   echo "$as_me: failed program was:" >&5
56865 sed 's/^/| /' conftest.$ac_ext >&5
56866
56867 glibcxx_cv_func_hypot_use=no
56868 fi
56869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56870       ac_ext=c
56871 ac_cpp='$CPP $CPPFLAGS'
56872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56875
56876
56877 fi
56878
56879   fi
56880   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
56881 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
56882
56883   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
56884
56885 for ac_func in hypot
56886 do
56887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56888 echo "$as_me:$LINENO: checking for $ac_func" >&5
56889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56890 if eval "test \"\${$as_ac_var+set}\" = set"; then
56891   echo $ECHO_N "(cached) $ECHO_C" >&6
56892 else
56893   if test x$gcc_no_link = xyes; then
56894   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56896    { (exit 1); exit 1; }; }
56897 fi
56898 cat >conftest.$ac_ext <<_ACEOF
56899 /* confdefs.h.  */
56900 _ACEOF
56901 cat confdefs.h >>conftest.$ac_ext
56902 cat >>conftest.$ac_ext <<_ACEOF
56903 /* end confdefs.h.  */
56904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56905    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56906 #define $ac_func innocuous_$ac_func
56907
56908 /* System header to define __stub macros and hopefully few prototypes,
56909     which can conflict with char $ac_func (); below.
56910     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56911     <limits.h> exists even on freestanding compilers.  */
56912
56913 #ifdef __STDC__
56914 # include <limits.h>
56915 #else
56916 # include <assert.h>
56917 #endif
56918
56919 #undef $ac_func
56920
56921 /* Override any gcc2 internal prototype to avoid an error.  */
56922 #ifdef __cplusplus
56923 extern "C"
56924 {
56925 #endif
56926 /* We use char because int might match the return type of a gcc2
56927    builtin and then its argument prototype would still apply.  */
56928 char $ac_func ();
56929 /* The GNU C library defines this for functions which it implements
56930     to always fail with ENOSYS.  Some functions are actually named
56931     something starting with __ and the normal name is an alias.  */
56932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56933 choke me
56934 #else
56935 char (*f) () = $ac_func;
56936 #endif
56937 #ifdef __cplusplus
56938 }
56939 #endif
56940
56941 int
56942 main ()
56943 {
56944 return f != $ac_func;
56945   ;
56946   return 0;
56947 }
56948 _ACEOF
56949 rm -f conftest.$ac_objext conftest$ac_exeext
56950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56951   (eval $ac_link) 2>conftest.er1
56952   ac_status=$?
56953   grep -v '^ *+' conftest.er1 >conftest.err
56954   rm -f conftest.er1
56955   cat conftest.err >&5
56956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56957   (exit $ac_status); } &&
56958          { ac_try='test -z "$ac_c_werror_flag"
56959                          || test ! -s conftest.err'
56960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56961   (eval $ac_try) 2>&5
56962   ac_status=$?
56963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56964   (exit $ac_status); }; } &&
56965          { ac_try='test -s conftest$ac_exeext'
56966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56967   (eval $ac_try) 2>&5
56968   ac_status=$?
56969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56970   (exit $ac_status); }; }; then
56971   eval "$as_ac_var=yes"
56972 else
56973   echo "$as_me: failed program was:" >&5
56974 sed 's/^/| /' conftest.$ac_ext >&5
56975
56976 eval "$as_ac_var=no"
56977 fi
56978 rm -f conftest.err conftest.$ac_objext \
56979       conftest$ac_exeext conftest.$ac_ext
56980 fi
56981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56983 if test `eval echo '${'$as_ac_var'}'` = yes; then
56984   cat >>confdefs.h <<_ACEOF
56985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56986 _ACEOF
56987
56988 fi
56989 done
56990
56991   else
56992
56993   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
56994 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
56995   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
56996     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
56997   echo $ECHO_N "(cached) $ECHO_C" >&6
56998 else
56999
57000
57001
57002       ac_ext=cc
57003 ac_cpp='$CXXCPP $CPPFLAGS'
57004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57007
57008       cat >conftest.$ac_ext <<_ACEOF
57009 /* confdefs.h.  */
57010 _ACEOF
57011 cat confdefs.h >>conftest.$ac_ext
57012 cat >>conftest.$ac_ext <<_ACEOF
57013 /* end confdefs.h.  */
57014 #include <math.h>
57015 int
57016 main ()
57017 {
57018  _hypot(0, 0);
57019   ;
57020   return 0;
57021 }
57022 _ACEOF
57023 rm -f conftest.$ac_objext
57024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57025   (eval $ac_compile) 2>conftest.er1
57026   ac_status=$?
57027   grep -v '^ *+' conftest.er1 >conftest.err
57028   rm -f conftest.er1
57029   cat conftest.err >&5
57030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57031   (exit $ac_status); } &&
57032          { ac_try='test -z "$ac_cxx_werror_flag"
57033                          || test ! -s conftest.err'
57034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57035   (eval $ac_try) 2>&5
57036   ac_status=$?
57037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57038   (exit $ac_status); }; } &&
57039          { ac_try='test -s conftest.$ac_objext'
57040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57041   (eval $ac_try) 2>&5
57042   ac_status=$?
57043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57044   (exit $ac_status); }; }; then
57045   glibcxx_cv_func__hypot_use=yes
57046 else
57047   echo "$as_me: failed program was:" >&5
57048 sed 's/^/| /' conftest.$ac_ext >&5
57049
57050 glibcxx_cv_func__hypot_use=no
57051 fi
57052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57053       ac_ext=c
57054 ac_cpp='$CPP $CPPFLAGS'
57055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57058
57059
57060 fi
57061
57062   fi
57063   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
57064 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
57065
57066     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
57067
57068 for ac_func in _hypot
57069 do
57070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57071 echo "$as_me:$LINENO: checking for $ac_func" >&5
57072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57073 if eval "test \"\${$as_ac_var+set}\" = set"; then
57074   echo $ECHO_N "(cached) $ECHO_C" >&6
57075 else
57076   if test x$gcc_no_link = xyes; then
57077   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57079    { (exit 1); exit 1; }; }
57080 fi
57081 cat >conftest.$ac_ext <<_ACEOF
57082 /* confdefs.h.  */
57083 _ACEOF
57084 cat confdefs.h >>conftest.$ac_ext
57085 cat >>conftest.$ac_ext <<_ACEOF
57086 /* end confdefs.h.  */
57087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57088    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57089 #define $ac_func innocuous_$ac_func
57090
57091 /* System header to define __stub macros and hopefully few prototypes,
57092     which can conflict with char $ac_func (); below.
57093     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57094     <limits.h> exists even on freestanding compilers.  */
57095
57096 #ifdef __STDC__
57097 # include <limits.h>
57098 #else
57099 # include <assert.h>
57100 #endif
57101
57102 #undef $ac_func
57103
57104 /* Override any gcc2 internal prototype to avoid an error.  */
57105 #ifdef __cplusplus
57106 extern "C"
57107 {
57108 #endif
57109 /* We use char because int might match the return type of a gcc2
57110    builtin and then its argument prototype would still apply.  */
57111 char $ac_func ();
57112 /* The GNU C library defines this for functions which it implements
57113     to always fail with ENOSYS.  Some functions are actually named
57114     something starting with __ and the normal name is an alias.  */
57115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57116 choke me
57117 #else
57118 char (*f) () = $ac_func;
57119 #endif
57120 #ifdef __cplusplus
57121 }
57122 #endif
57123
57124 int
57125 main ()
57126 {
57127 return f != $ac_func;
57128   ;
57129   return 0;
57130 }
57131 _ACEOF
57132 rm -f conftest.$ac_objext conftest$ac_exeext
57133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57134   (eval $ac_link) 2>conftest.er1
57135   ac_status=$?
57136   grep -v '^ *+' conftest.er1 >conftest.err
57137   rm -f conftest.er1
57138   cat conftest.err >&5
57139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57140   (exit $ac_status); } &&
57141          { ac_try='test -z "$ac_c_werror_flag"
57142                          || test ! -s conftest.err'
57143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57144   (eval $ac_try) 2>&5
57145   ac_status=$?
57146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57147   (exit $ac_status); }; } &&
57148          { ac_try='test -s conftest$ac_exeext'
57149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57150   (eval $ac_try) 2>&5
57151   ac_status=$?
57152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57153   (exit $ac_status); }; }; then
57154   eval "$as_ac_var=yes"
57155 else
57156   echo "$as_me: failed program was:" >&5
57157 sed 's/^/| /' conftest.$ac_ext >&5
57158
57159 eval "$as_ac_var=no"
57160 fi
57161 rm -f conftest.err conftest.$ac_objext \
57162       conftest$ac_exeext conftest.$ac_ext
57163 fi
57164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57165 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57166 if test `eval echo '${'$as_ac_var'}'` = yes; then
57167   cat >>confdefs.h <<_ACEOF
57168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57169 _ACEOF
57170
57171 fi
57172 done
57173
57174     fi
57175   fi
57176
57177
57178
57179
57180
57181
57182     echo "$as_me:$LINENO: checking for float trig functions" >&5
57183 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
57184   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
57185   echo $ECHO_N "(cached) $ECHO_C" >&6
57186 else
57187
57188
57189
57190     ac_ext=cc
57191 ac_cpp='$CXXCPP $CPPFLAGS'
57192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57195
57196     cat >conftest.$ac_ext <<_ACEOF
57197 /* confdefs.h.  */
57198 _ACEOF
57199 cat confdefs.h >>conftest.$ac_ext
57200 cat >>conftest.$ac_ext <<_ACEOF
57201 /* end confdefs.h.  */
57202 #include <math.h>
57203 int
57204 main ()
57205 {
57206 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
57207   ;
57208   return 0;
57209 }
57210 _ACEOF
57211 rm -f conftest.$ac_objext
57212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57213   (eval $ac_compile) 2>conftest.er1
57214   ac_status=$?
57215   grep -v '^ *+' conftest.er1 >conftest.err
57216   rm -f conftest.er1
57217   cat conftest.err >&5
57218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57219   (exit $ac_status); } &&
57220          { ac_try='test -z "$ac_cxx_werror_flag"
57221                          || test ! -s conftest.err'
57222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57223   (eval $ac_try) 2>&5
57224   ac_status=$?
57225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57226   (exit $ac_status); }; } &&
57227          { ac_try='test -s conftest.$ac_objext'
57228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57229   (eval $ac_try) 2>&5
57230   ac_status=$?
57231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57232   (exit $ac_status); }; }; then
57233   glibcxx_cv_func_float_trig_use=yes
57234 else
57235   echo "$as_me: failed program was:" >&5
57236 sed 's/^/| /' conftest.$ac_ext >&5
57237
57238 glibcxx_cv_func_float_trig_use=no
57239 fi
57240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57241     ac_ext=c
57242 ac_cpp='$CPP $CPPFLAGS'
57243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57246
57247 fi
57248
57249   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
57250 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
57251   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
57252
57253
57254
57255
57256
57257
57258
57259
57260
57261 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
57262 do
57263 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57264 echo "$as_me:$LINENO: checking for $ac_func" >&5
57265 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57266 if eval "test \"\${$as_ac_var+set}\" = set"; then
57267   echo $ECHO_N "(cached) $ECHO_C" >&6
57268 else
57269   if test x$gcc_no_link = xyes; then
57270   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57272    { (exit 1); exit 1; }; }
57273 fi
57274 cat >conftest.$ac_ext <<_ACEOF
57275 /* confdefs.h.  */
57276 _ACEOF
57277 cat confdefs.h >>conftest.$ac_ext
57278 cat >>conftest.$ac_ext <<_ACEOF
57279 /* end confdefs.h.  */
57280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57281    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57282 #define $ac_func innocuous_$ac_func
57283
57284 /* System header to define __stub macros and hopefully few prototypes,
57285     which can conflict with char $ac_func (); below.
57286     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57287     <limits.h> exists even on freestanding compilers.  */
57288
57289 #ifdef __STDC__
57290 # include <limits.h>
57291 #else
57292 # include <assert.h>
57293 #endif
57294
57295 #undef $ac_func
57296
57297 /* Override any gcc2 internal prototype to avoid an error.  */
57298 #ifdef __cplusplus
57299 extern "C"
57300 {
57301 #endif
57302 /* We use char because int might match the return type of a gcc2
57303    builtin and then its argument prototype would still apply.  */
57304 char $ac_func ();
57305 /* The GNU C library defines this for functions which it implements
57306     to always fail with ENOSYS.  Some functions are actually named
57307     something starting with __ and the normal name is an alias.  */
57308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57309 choke me
57310 #else
57311 char (*f) () = $ac_func;
57312 #endif
57313 #ifdef __cplusplus
57314 }
57315 #endif
57316
57317 int
57318 main ()
57319 {
57320 return f != $ac_func;
57321   ;
57322   return 0;
57323 }
57324 _ACEOF
57325 rm -f conftest.$ac_objext conftest$ac_exeext
57326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57327   (eval $ac_link) 2>conftest.er1
57328   ac_status=$?
57329   grep -v '^ *+' conftest.er1 >conftest.err
57330   rm -f conftest.er1
57331   cat conftest.err >&5
57332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57333   (exit $ac_status); } &&
57334          { ac_try='test -z "$ac_c_werror_flag"
57335                          || test ! -s conftest.err'
57336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57337   (eval $ac_try) 2>&5
57338   ac_status=$?
57339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57340   (exit $ac_status); }; } &&
57341          { ac_try='test -s conftest$ac_exeext'
57342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57343   (eval $ac_try) 2>&5
57344   ac_status=$?
57345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57346   (exit $ac_status); }; }; then
57347   eval "$as_ac_var=yes"
57348 else
57349   echo "$as_me: failed program was:" >&5
57350 sed 's/^/| /' conftest.$ac_ext >&5
57351
57352 eval "$as_ac_var=no"
57353 fi
57354 rm -f conftest.err conftest.$ac_objext \
57355       conftest$ac_exeext conftest.$ac_ext
57356 fi
57357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57358 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57359 if test `eval echo '${'$as_ac_var'}'` = yes; then
57360   cat >>confdefs.h <<_ACEOF
57361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57362 _ACEOF
57363
57364 fi
57365 done
57366
57367   else
57368     echo "$as_me:$LINENO: checking for _float trig functions" >&5
57369 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
57370     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
57371   echo $ECHO_N "(cached) $ECHO_C" >&6
57372 else
57373
57374
57375
57376       ac_ext=cc
57377 ac_cpp='$CXXCPP $CPPFLAGS'
57378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57381
57382       cat >conftest.$ac_ext <<_ACEOF
57383 /* confdefs.h.  */
57384 _ACEOF
57385 cat confdefs.h >>conftest.$ac_ext
57386 cat >>conftest.$ac_ext <<_ACEOF
57387 /* end confdefs.h.  */
57388 #include <math.h>
57389 int
57390 main ()
57391 {
57392 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
57393   ;
57394   return 0;
57395 }
57396 _ACEOF
57397 rm -f conftest.$ac_objext
57398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57399   (eval $ac_compile) 2>conftest.er1
57400   ac_status=$?
57401   grep -v '^ *+' conftest.er1 >conftest.err
57402   rm -f conftest.er1
57403   cat conftest.err >&5
57404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57405   (exit $ac_status); } &&
57406          { ac_try='test -z "$ac_cxx_werror_flag"
57407                          || test ! -s conftest.err'
57408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57409   (eval $ac_try) 2>&5
57410   ac_status=$?
57411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57412   (exit $ac_status); }; } &&
57413          { ac_try='test -s conftest.$ac_objext'
57414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57415   (eval $ac_try) 2>&5
57416   ac_status=$?
57417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57418   (exit $ac_status); }; }; then
57419   glibcxx_cv_func__float_trig_use=yes
57420 else
57421   echo "$as_me: failed program was:" >&5
57422 sed 's/^/| /' conftest.$ac_ext >&5
57423
57424 glibcxx_cv_func__float_trig_use=no
57425 fi
57426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57427       ac_ext=c
57428 ac_cpp='$CPP $CPPFLAGS'
57429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57432
57433 fi
57434
57435     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
57436 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
57437     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
57438
57439
57440
57441
57442
57443
57444
57445
57446
57447 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
57448 do
57449 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57450 echo "$as_me:$LINENO: checking for $ac_func" >&5
57451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57452 if eval "test \"\${$as_ac_var+set}\" = set"; then
57453   echo $ECHO_N "(cached) $ECHO_C" >&6
57454 else
57455   if test x$gcc_no_link = xyes; then
57456   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57457 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57458    { (exit 1); exit 1; }; }
57459 fi
57460 cat >conftest.$ac_ext <<_ACEOF
57461 /* confdefs.h.  */
57462 _ACEOF
57463 cat confdefs.h >>conftest.$ac_ext
57464 cat >>conftest.$ac_ext <<_ACEOF
57465 /* end confdefs.h.  */
57466 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57467    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57468 #define $ac_func innocuous_$ac_func
57469
57470 /* System header to define __stub macros and hopefully few prototypes,
57471     which can conflict with char $ac_func (); below.
57472     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57473     <limits.h> exists even on freestanding compilers.  */
57474
57475 #ifdef __STDC__
57476 # include <limits.h>
57477 #else
57478 # include <assert.h>
57479 #endif
57480
57481 #undef $ac_func
57482
57483 /* Override any gcc2 internal prototype to avoid an error.  */
57484 #ifdef __cplusplus
57485 extern "C"
57486 {
57487 #endif
57488 /* We use char because int might match the return type of a gcc2
57489    builtin and then its argument prototype would still apply.  */
57490 char $ac_func ();
57491 /* The GNU C library defines this for functions which it implements
57492     to always fail with ENOSYS.  Some functions are actually named
57493     something starting with __ and the normal name is an alias.  */
57494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57495 choke me
57496 #else
57497 char (*f) () = $ac_func;
57498 #endif
57499 #ifdef __cplusplus
57500 }
57501 #endif
57502
57503 int
57504 main ()
57505 {
57506 return f != $ac_func;
57507   ;
57508   return 0;
57509 }
57510 _ACEOF
57511 rm -f conftest.$ac_objext conftest$ac_exeext
57512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57513   (eval $ac_link) 2>conftest.er1
57514   ac_status=$?
57515   grep -v '^ *+' conftest.er1 >conftest.err
57516   rm -f conftest.er1
57517   cat conftest.err >&5
57518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57519   (exit $ac_status); } &&
57520          { ac_try='test -z "$ac_c_werror_flag"
57521                          || test ! -s conftest.err'
57522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57523   (eval $ac_try) 2>&5
57524   ac_status=$?
57525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57526   (exit $ac_status); }; } &&
57527          { ac_try='test -s conftest$ac_exeext'
57528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57529   (eval $ac_try) 2>&5
57530   ac_status=$?
57531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57532   (exit $ac_status); }; }; then
57533   eval "$as_ac_var=yes"
57534 else
57535   echo "$as_me: failed program was:" >&5
57536 sed 's/^/| /' conftest.$ac_ext >&5
57537
57538 eval "$as_ac_var=no"
57539 fi
57540 rm -f conftest.err conftest.$ac_objext \
57541       conftest$ac_exeext conftest.$ac_ext
57542 fi
57543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57544 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57545 if test `eval echo '${'$as_ac_var'}'` = yes; then
57546   cat >>confdefs.h <<_ACEOF
57547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57548 _ACEOF
57549
57550 fi
57551 done
57552
57553     fi
57554   fi
57555
57556
57557
57558
57559
57560
57561
57562
57563
57564
57565
57566
57567
57568
57569     echo "$as_me:$LINENO: checking for float round functions" >&5
57570 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
57571   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
57572   echo $ECHO_N "(cached) $ECHO_C" >&6
57573 else
57574
57575
57576
57577     ac_ext=cc
57578 ac_cpp='$CXXCPP $CPPFLAGS'
57579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57582
57583     cat >conftest.$ac_ext <<_ACEOF
57584 /* confdefs.h.  */
57585 _ACEOF
57586 cat confdefs.h >>conftest.$ac_ext
57587 cat >>conftest.$ac_ext <<_ACEOF
57588 /* end confdefs.h.  */
57589 #include <math.h>
57590 int
57591 main ()
57592 {
57593 ceilf (0); floorf (0);
57594   ;
57595   return 0;
57596 }
57597 _ACEOF
57598 rm -f conftest.$ac_objext
57599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57600   (eval $ac_compile) 2>conftest.er1
57601   ac_status=$?
57602   grep -v '^ *+' conftest.er1 >conftest.err
57603   rm -f conftest.er1
57604   cat conftest.err >&5
57605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57606   (exit $ac_status); } &&
57607          { ac_try='test -z "$ac_cxx_werror_flag"
57608                          || test ! -s conftest.err'
57609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57610   (eval $ac_try) 2>&5
57611   ac_status=$?
57612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57613   (exit $ac_status); }; } &&
57614          { ac_try='test -s conftest.$ac_objext'
57615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57616   (eval $ac_try) 2>&5
57617   ac_status=$?
57618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57619   (exit $ac_status); }; }; then
57620   glibcxx_cv_func_float_round_use=yes
57621 else
57622   echo "$as_me: failed program was:" >&5
57623 sed 's/^/| /' conftest.$ac_ext >&5
57624
57625 glibcxx_cv_func_float_round_use=no
57626 fi
57627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57628     ac_ext=c
57629 ac_cpp='$CPP $CPPFLAGS'
57630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57633
57634 fi
57635
57636   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
57637 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
57638   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
57639
57640
57641 for ac_func in ceilf floorf
57642 do
57643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57644 echo "$as_me:$LINENO: checking for $ac_func" >&5
57645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57646 if eval "test \"\${$as_ac_var+set}\" = set"; then
57647   echo $ECHO_N "(cached) $ECHO_C" >&6
57648 else
57649   if test x$gcc_no_link = xyes; then
57650   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57652    { (exit 1); exit 1; }; }
57653 fi
57654 cat >conftest.$ac_ext <<_ACEOF
57655 /* confdefs.h.  */
57656 _ACEOF
57657 cat confdefs.h >>conftest.$ac_ext
57658 cat >>conftest.$ac_ext <<_ACEOF
57659 /* end confdefs.h.  */
57660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57661    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57662 #define $ac_func innocuous_$ac_func
57663
57664 /* System header to define __stub macros and hopefully few prototypes,
57665     which can conflict with char $ac_func (); below.
57666     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57667     <limits.h> exists even on freestanding compilers.  */
57668
57669 #ifdef __STDC__
57670 # include <limits.h>
57671 #else
57672 # include <assert.h>
57673 #endif
57674
57675 #undef $ac_func
57676
57677 /* Override any gcc2 internal prototype to avoid an error.  */
57678 #ifdef __cplusplus
57679 extern "C"
57680 {
57681 #endif
57682 /* We use char because int might match the return type of a gcc2
57683    builtin and then its argument prototype would still apply.  */
57684 char $ac_func ();
57685 /* The GNU C library defines this for functions which it implements
57686     to always fail with ENOSYS.  Some functions are actually named
57687     something starting with __ and the normal name is an alias.  */
57688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57689 choke me
57690 #else
57691 char (*f) () = $ac_func;
57692 #endif
57693 #ifdef __cplusplus
57694 }
57695 #endif
57696
57697 int
57698 main ()
57699 {
57700 return f != $ac_func;
57701   ;
57702   return 0;
57703 }
57704 _ACEOF
57705 rm -f conftest.$ac_objext conftest$ac_exeext
57706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57707   (eval $ac_link) 2>conftest.er1
57708   ac_status=$?
57709   grep -v '^ *+' conftest.er1 >conftest.err
57710   rm -f conftest.er1
57711   cat conftest.err >&5
57712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57713   (exit $ac_status); } &&
57714          { ac_try='test -z "$ac_c_werror_flag"
57715                          || test ! -s conftest.err'
57716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57717   (eval $ac_try) 2>&5
57718   ac_status=$?
57719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57720   (exit $ac_status); }; } &&
57721          { ac_try='test -s conftest$ac_exeext'
57722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57723   (eval $ac_try) 2>&5
57724   ac_status=$?
57725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57726   (exit $ac_status); }; }; then
57727   eval "$as_ac_var=yes"
57728 else
57729   echo "$as_me: failed program was:" >&5
57730 sed 's/^/| /' conftest.$ac_ext >&5
57731
57732 eval "$as_ac_var=no"
57733 fi
57734 rm -f conftest.err conftest.$ac_objext \
57735       conftest$ac_exeext conftest.$ac_ext
57736 fi
57737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57739 if test `eval echo '${'$as_ac_var'}'` = yes; then
57740   cat >>confdefs.h <<_ACEOF
57741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57742 _ACEOF
57743
57744 fi
57745 done
57746
57747   else
57748     echo "$as_me:$LINENO: checking for _float round functions" >&5
57749 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
57750     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
57751   echo $ECHO_N "(cached) $ECHO_C" >&6
57752 else
57753
57754
57755
57756       ac_ext=cc
57757 ac_cpp='$CXXCPP $CPPFLAGS'
57758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57761
57762       cat >conftest.$ac_ext <<_ACEOF
57763 /* confdefs.h.  */
57764 _ACEOF
57765 cat confdefs.h >>conftest.$ac_ext
57766 cat >>conftest.$ac_ext <<_ACEOF
57767 /* end confdefs.h.  */
57768 #include <math.h>
57769 int
57770 main ()
57771 {
57772 _ceilf (0); _floorf (0);
57773   ;
57774   return 0;
57775 }
57776 _ACEOF
57777 rm -f conftest.$ac_objext
57778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57779   (eval $ac_compile) 2>conftest.er1
57780   ac_status=$?
57781   grep -v '^ *+' conftest.er1 >conftest.err
57782   rm -f conftest.er1
57783   cat conftest.err >&5
57784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57785   (exit $ac_status); } &&
57786          { ac_try='test -z "$ac_cxx_werror_flag"
57787                          || test ! -s conftest.err'
57788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57789   (eval $ac_try) 2>&5
57790   ac_status=$?
57791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57792   (exit $ac_status); }; } &&
57793          { ac_try='test -s conftest.$ac_objext'
57794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57795   (eval $ac_try) 2>&5
57796   ac_status=$?
57797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57798   (exit $ac_status); }; }; then
57799   glibcxx_cv_func__float_round_use=yes
57800 else
57801   echo "$as_me: failed program was:" >&5
57802 sed 's/^/| /' conftest.$ac_ext >&5
57803
57804 glibcxx_cv_func__float_round_use=no
57805 fi
57806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57807       ac_ext=c
57808 ac_cpp='$CPP $CPPFLAGS'
57809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57812
57813 fi
57814
57815     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
57816 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
57817     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
57818
57819
57820 for ac_func in _ceilf _floorf
57821 do
57822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57823 echo "$as_me:$LINENO: checking for $ac_func" >&5
57824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57825 if eval "test \"\${$as_ac_var+set}\" = set"; then
57826   echo $ECHO_N "(cached) $ECHO_C" >&6
57827 else
57828   if test x$gcc_no_link = xyes; then
57829   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57831    { (exit 1); exit 1; }; }
57832 fi
57833 cat >conftest.$ac_ext <<_ACEOF
57834 /* confdefs.h.  */
57835 _ACEOF
57836 cat confdefs.h >>conftest.$ac_ext
57837 cat >>conftest.$ac_ext <<_ACEOF
57838 /* end confdefs.h.  */
57839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57840    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57841 #define $ac_func innocuous_$ac_func
57842
57843 /* System header to define __stub macros and hopefully few prototypes,
57844     which can conflict with char $ac_func (); below.
57845     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57846     <limits.h> exists even on freestanding compilers.  */
57847
57848 #ifdef __STDC__
57849 # include <limits.h>
57850 #else
57851 # include <assert.h>
57852 #endif
57853
57854 #undef $ac_func
57855
57856 /* Override any gcc2 internal prototype to avoid an error.  */
57857 #ifdef __cplusplus
57858 extern "C"
57859 {
57860 #endif
57861 /* We use char because int might match the return type of a gcc2
57862    builtin and then its argument prototype would still apply.  */
57863 char $ac_func ();
57864 /* The GNU C library defines this for functions which it implements
57865     to always fail with ENOSYS.  Some functions are actually named
57866     something starting with __ and the normal name is an alias.  */
57867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57868 choke me
57869 #else
57870 char (*f) () = $ac_func;
57871 #endif
57872 #ifdef __cplusplus
57873 }
57874 #endif
57875
57876 int
57877 main ()
57878 {
57879 return f != $ac_func;
57880   ;
57881   return 0;
57882 }
57883 _ACEOF
57884 rm -f conftest.$ac_objext conftest$ac_exeext
57885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57886   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
57907 else
57908   echo "$as_me: failed program was:" >&5
57909 sed 's/^/| /' conftest.$ac_ext >&5
57910
57911 eval "$as_ac_var=no"
57912 fi
57913 rm -f conftest.err conftest.$ac_objext \
57914       conftest$ac_exeext conftest.$ac_ext
57915 fi
57916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57918 if test `eval echo '${'$as_ac_var'}'` = yes; then
57919   cat >>confdefs.h <<_ACEOF
57920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57921 _ACEOF
57922
57923 fi
57924 done
57925
57926     fi
57927   fi
57928
57929
57930
57931
57932
57933
57934
57935
57936   echo "$as_me:$LINENO: checking for expf declaration" >&5
57937 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
57938   if test x${glibcxx_cv_func_expf_use+set} != xset; then
57939     if test "${glibcxx_cv_func_expf_use+set}" = set; then
57940   echo $ECHO_N "(cached) $ECHO_C" >&6
57941 else
57942
57943
57944
57945       ac_ext=cc
57946 ac_cpp='$CXXCPP $CPPFLAGS'
57947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57950
57951       cat >conftest.$ac_ext <<_ACEOF
57952 /* confdefs.h.  */
57953 _ACEOF
57954 cat confdefs.h >>conftest.$ac_ext
57955 cat >>conftest.$ac_ext <<_ACEOF
57956 /* end confdefs.h.  */
57957 #include <math.h>
57958                       #ifdef HAVE_IEEEFP_H
57959                       #include <ieeefp.h>
57960                       #endif
57961
57962 int
57963 main ()
57964 {
57965  expf(0);
57966   ;
57967   return 0;
57968 }
57969 _ACEOF
57970 rm -f conftest.$ac_objext
57971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57972   (eval $ac_compile) 2>conftest.er1
57973   ac_status=$?
57974   grep -v '^ *+' conftest.er1 >conftest.err
57975   rm -f conftest.er1
57976   cat conftest.err >&5
57977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57978   (exit $ac_status); } &&
57979          { ac_try='test -z "$ac_cxx_werror_flag"
57980                          || test ! -s conftest.err'
57981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57982   (eval $ac_try) 2>&5
57983   ac_status=$?
57984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57985   (exit $ac_status); }; } &&
57986          { ac_try='test -s conftest.$ac_objext'
57987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57988   (eval $ac_try) 2>&5
57989   ac_status=$?
57990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57991   (exit $ac_status); }; }; then
57992   glibcxx_cv_func_expf_use=yes
57993 else
57994   echo "$as_me: failed program was:" >&5
57995 sed 's/^/| /' conftest.$ac_ext >&5
57996
57997 glibcxx_cv_func_expf_use=no
57998 fi
57999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58000       ac_ext=c
58001 ac_cpp='$CPP $CPPFLAGS'
58002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58005
58006
58007 fi
58008
58009   fi
58010   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
58011 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
58012
58013   if test x$glibcxx_cv_func_expf_use = x"yes"; then
58014
58015 for ac_func in expf
58016 do
58017 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58018 echo "$as_me:$LINENO: checking for $ac_func" >&5
58019 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58020 if eval "test \"\${$as_ac_var+set}\" = set"; then
58021   echo $ECHO_N "(cached) $ECHO_C" >&6
58022 else
58023   if test x$gcc_no_link = xyes; then
58024   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58025 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58026    { (exit 1); exit 1; }; }
58027 fi
58028 cat >conftest.$ac_ext <<_ACEOF
58029 /* confdefs.h.  */
58030 _ACEOF
58031 cat confdefs.h >>conftest.$ac_ext
58032 cat >>conftest.$ac_ext <<_ACEOF
58033 /* end confdefs.h.  */
58034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58035    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58036 #define $ac_func innocuous_$ac_func
58037
58038 /* System header to define __stub macros and hopefully few prototypes,
58039     which can conflict with char $ac_func (); below.
58040     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58041     <limits.h> exists even on freestanding compilers.  */
58042
58043 #ifdef __STDC__
58044 # include <limits.h>
58045 #else
58046 # include <assert.h>
58047 #endif
58048
58049 #undef $ac_func
58050
58051 /* Override any gcc2 internal prototype to avoid an error.  */
58052 #ifdef __cplusplus
58053 extern "C"
58054 {
58055 #endif
58056 /* We use char because int might match the return type of a gcc2
58057    builtin and then its argument prototype would still apply.  */
58058 char $ac_func ();
58059 /* The GNU C library defines this for functions which it implements
58060     to always fail with ENOSYS.  Some functions are actually named
58061     something starting with __ and the normal name is an alias.  */
58062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58063 choke me
58064 #else
58065 char (*f) () = $ac_func;
58066 #endif
58067 #ifdef __cplusplus
58068 }
58069 #endif
58070
58071 int
58072 main ()
58073 {
58074 return f != $ac_func;
58075   ;
58076   return 0;
58077 }
58078 _ACEOF
58079 rm -f conftest.$ac_objext conftest$ac_exeext
58080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58081   (eval $ac_link) 2>conftest.er1
58082   ac_status=$?
58083   grep -v '^ *+' conftest.er1 >conftest.err
58084   rm -f conftest.er1
58085   cat conftest.err >&5
58086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58087   (exit $ac_status); } &&
58088          { ac_try='test -z "$ac_c_werror_flag"
58089                          || test ! -s conftest.err'
58090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58091   (eval $ac_try) 2>&5
58092   ac_status=$?
58093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58094   (exit $ac_status); }; } &&
58095          { ac_try='test -s conftest$ac_exeext'
58096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58097   (eval $ac_try) 2>&5
58098   ac_status=$?
58099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58100   (exit $ac_status); }; }; then
58101   eval "$as_ac_var=yes"
58102 else
58103   echo "$as_me: failed program was:" >&5
58104 sed 's/^/| /' conftest.$ac_ext >&5
58105
58106 eval "$as_ac_var=no"
58107 fi
58108 rm -f conftest.err conftest.$ac_objext \
58109       conftest$ac_exeext conftest.$ac_ext
58110 fi
58111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58112 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58113 if test `eval echo '${'$as_ac_var'}'` = yes; then
58114   cat >>confdefs.h <<_ACEOF
58115 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58116 _ACEOF
58117
58118 fi
58119 done
58120
58121   else
58122
58123   echo "$as_me:$LINENO: checking for _expf declaration" >&5
58124 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
58125   if test x${glibcxx_cv_func__expf_use+set} != xset; then
58126     if test "${glibcxx_cv_func__expf_use+set}" = set; then
58127   echo $ECHO_N "(cached) $ECHO_C" >&6
58128 else
58129
58130
58131
58132       ac_ext=cc
58133 ac_cpp='$CXXCPP $CPPFLAGS'
58134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58137
58138       cat >conftest.$ac_ext <<_ACEOF
58139 /* confdefs.h.  */
58140 _ACEOF
58141 cat confdefs.h >>conftest.$ac_ext
58142 cat >>conftest.$ac_ext <<_ACEOF
58143 /* end confdefs.h.  */
58144 #include <math.h>
58145                       #ifdef HAVE_IEEEFP_H
58146                       #include <ieeefp.h>
58147                       #endif
58148
58149 int
58150 main ()
58151 {
58152  _expf(0);
58153   ;
58154   return 0;
58155 }
58156 _ACEOF
58157 rm -f conftest.$ac_objext
58158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58159   (eval $ac_compile) 2>conftest.er1
58160   ac_status=$?
58161   grep -v '^ *+' conftest.er1 >conftest.err
58162   rm -f conftest.er1
58163   cat conftest.err >&5
58164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58165   (exit $ac_status); } &&
58166          { ac_try='test -z "$ac_cxx_werror_flag"
58167                          || test ! -s conftest.err'
58168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58169   (eval $ac_try) 2>&5
58170   ac_status=$?
58171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58172   (exit $ac_status); }; } &&
58173          { ac_try='test -s conftest.$ac_objext'
58174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58175   (eval $ac_try) 2>&5
58176   ac_status=$?
58177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58178   (exit $ac_status); }; }; then
58179   glibcxx_cv_func__expf_use=yes
58180 else
58181   echo "$as_me: failed program was:" >&5
58182 sed 's/^/| /' conftest.$ac_ext >&5
58183
58184 glibcxx_cv_func__expf_use=no
58185 fi
58186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58187       ac_ext=c
58188 ac_cpp='$CPP $CPPFLAGS'
58189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58192
58193
58194 fi
58195
58196   fi
58197   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
58198 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
58199
58200     if test x$glibcxx_cv_func__expf_use = x"yes"; then
58201
58202 for ac_func in _expf
58203 do
58204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58205 echo "$as_me:$LINENO: checking for $ac_func" >&5
58206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58207 if eval "test \"\${$as_ac_var+set}\" = set"; then
58208   echo $ECHO_N "(cached) $ECHO_C" >&6
58209 else
58210   if test x$gcc_no_link = xyes; then
58211   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58213    { (exit 1); exit 1; }; }
58214 fi
58215 cat >conftest.$ac_ext <<_ACEOF
58216 /* confdefs.h.  */
58217 _ACEOF
58218 cat confdefs.h >>conftest.$ac_ext
58219 cat >>conftest.$ac_ext <<_ACEOF
58220 /* end confdefs.h.  */
58221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58222    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58223 #define $ac_func innocuous_$ac_func
58224
58225 /* System header to define __stub macros and hopefully few prototypes,
58226     which can conflict with char $ac_func (); below.
58227     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58228     <limits.h> exists even on freestanding compilers.  */
58229
58230 #ifdef __STDC__
58231 # include <limits.h>
58232 #else
58233 # include <assert.h>
58234 #endif
58235
58236 #undef $ac_func
58237
58238 /* Override any gcc2 internal prototype to avoid an error.  */
58239 #ifdef __cplusplus
58240 extern "C"
58241 {
58242 #endif
58243 /* We use char because int might match the return type of a gcc2
58244    builtin and then its argument prototype would still apply.  */
58245 char $ac_func ();
58246 /* The GNU C library defines this for functions which it implements
58247     to always fail with ENOSYS.  Some functions are actually named
58248     something starting with __ and the normal name is an alias.  */
58249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58250 choke me
58251 #else
58252 char (*f) () = $ac_func;
58253 #endif
58254 #ifdef __cplusplus
58255 }
58256 #endif
58257
58258 int
58259 main ()
58260 {
58261 return f != $ac_func;
58262   ;
58263   return 0;
58264 }
58265 _ACEOF
58266 rm -f conftest.$ac_objext conftest$ac_exeext
58267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58268   (eval $ac_link) 2>conftest.er1
58269   ac_status=$?
58270   grep -v '^ *+' conftest.er1 >conftest.err
58271   rm -f conftest.er1
58272   cat conftest.err >&5
58273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58274   (exit $ac_status); } &&
58275          { ac_try='test -z "$ac_c_werror_flag"
58276                          || test ! -s conftest.err'
58277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58278   (eval $ac_try) 2>&5
58279   ac_status=$?
58280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58281   (exit $ac_status); }; } &&
58282          { ac_try='test -s conftest$ac_exeext'
58283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58284   (eval $ac_try) 2>&5
58285   ac_status=$?
58286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58287   (exit $ac_status); }; }; then
58288   eval "$as_ac_var=yes"
58289 else
58290   echo "$as_me: failed program was:" >&5
58291 sed 's/^/| /' conftest.$ac_ext >&5
58292
58293 eval "$as_ac_var=no"
58294 fi
58295 rm -f conftest.err conftest.$ac_objext \
58296       conftest$ac_exeext conftest.$ac_ext
58297 fi
58298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58299 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58300 if test `eval echo '${'$as_ac_var'}'` = yes; then
58301   cat >>confdefs.h <<_ACEOF
58302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58303 _ACEOF
58304
58305 fi
58306 done
58307
58308     fi
58309   fi
58310
58311
58312
58313
58314
58315
58316   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
58317 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
58318   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
58319     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
58320   echo $ECHO_N "(cached) $ECHO_C" >&6
58321 else
58322
58323
58324
58325       ac_ext=cc
58326 ac_cpp='$CXXCPP $CPPFLAGS'
58327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58330
58331       cat >conftest.$ac_ext <<_ACEOF
58332 /* confdefs.h.  */
58333 _ACEOF
58334 cat confdefs.h >>conftest.$ac_ext
58335 cat >>conftest.$ac_ext <<_ACEOF
58336 /* end confdefs.h.  */
58337 #include <math.h>
58338                       #ifdef HAVE_IEEEFP_H
58339                       #include <ieeefp.h>
58340                       #endif
58341
58342 int
58343 main ()
58344 {
58345  isnanf(0);
58346   ;
58347   return 0;
58348 }
58349 _ACEOF
58350 rm -f conftest.$ac_objext
58351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58352   (eval $ac_compile) 2>conftest.er1
58353   ac_status=$?
58354   grep -v '^ *+' conftest.er1 >conftest.err
58355   rm -f conftest.er1
58356   cat conftest.err >&5
58357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58358   (exit $ac_status); } &&
58359          { ac_try='test -z "$ac_cxx_werror_flag"
58360                          || test ! -s conftest.err'
58361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58362   (eval $ac_try) 2>&5
58363   ac_status=$?
58364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58365   (exit $ac_status); }; } &&
58366          { ac_try='test -s conftest.$ac_objext'
58367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58368   (eval $ac_try) 2>&5
58369   ac_status=$?
58370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58371   (exit $ac_status); }; }; then
58372   glibcxx_cv_func_isnanf_use=yes
58373 else
58374   echo "$as_me: failed program was:" >&5
58375 sed 's/^/| /' conftest.$ac_ext >&5
58376
58377 glibcxx_cv_func_isnanf_use=no
58378 fi
58379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58380       ac_ext=c
58381 ac_cpp='$CPP $CPPFLAGS'
58382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58385
58386
58387 fi
58388
58389   fi
58390   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
58391 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
58392
58393   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
58394
58395 for ac_func in isnanf
58396 do
58397 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58398 echo "$as_me:$LINENO: checking for $ac_func" >&5
58399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58400 if eval "test \"\${$as_ac_var+set}\" = set"; then
58401   echo $ECHO_N "(cached) $ECHO_C" >&6
58402 else
58403   if test x$gcc_no_link = xyes; then
58404   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58405 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58406    { (exit 1); exit 1; }; }
58407 fi
58408 cat >conftest.$ac_ext <<_ACEOF
58409 /* confdefs.h.  */
58410 _ACEOF
58411 cat confdefs.h >>conftest.$ac_ext
58412 cat >>conftest.$ac_ext <<_ACEOF
58413 /* end confdefs.h.  */
58414 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58415    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58416 #define $ac_func innocuous_$ac_func
58417
58418 /* System header to define __stub macros and hopefully few prototypes,
58419     which can conflict with char $ac_func (); below.
58420     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58421     <limits.h> exists even on freestanding compilers.  */
58422
58423 #ifdef __STDC__
58424 # include <limits.h>
58425 #else
58426 # include <assert.h>
58427 #endif
58428
58429 #undef $ac_func
58430
58431 /* Override any gcc2 internal prototype to avoid an error.  */
58432 #ifdef __cplusplus
58433 extern "C"
58434 {
58435 #endif
58436 /* We use char because int might match the return type of a gcc2
58437    builtin and then its argument prototype would still apply.  */
58438 char $ac_func ();
58439 /* The GNU C library defines this for functions which it implements
58440     to always fail with ENOSYS.  Some functions are actually named
58441     something starting with __ and the normal name is an alias.  */
58442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58443 choke me
58444 #else
58445 char (*f) () = $ac_func;
58446 #endif
58447 #ifdef __cplusplus
58448 }
58449 #endif
58450
58451 int
58452 main ()
58453 {
58454 return f != $ac_func;
58455   ;
58456   return 0;
58457 }
58458 _ACEOF
58459 rm -f conftest.$ac_objext conftest$ac_exeext
58460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58461   (eval $ac_link) 2>conftest.er1
58462   ac_status=$?
58463   grep -v '^ *+' conftest.er1 >conftest.err
58464   rm -f conftest.er1
58465   cat conftest.err >&5
58466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58467   (exit $ac_status); } &&
58468          { ac_try='test -z "$ac_c_werror_flag"
58469                          || test ! -s conftest.err'
58470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58471   (eval $ac_try) 2>&5
58472   ac_status=$?
58473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58474   (exit $ac_status); }; } &&
58475          { ac_try='test -s conftest$ac_exeext'
58476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58477   (eval $ac_try) 2>&5
58478   ac_status=$?
58479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58480   (exit $ac_status); }; }; then
58481   eval "$as_ac_var=yes"
58482 else
58483   echo "$as_me: failed program was:" >&5
58484 sed 's/^/| /' conftest.$ac_ext >&5
58485
58486 eval "$as_ac_var=no"
58487 fi
58488 rm -f conftest.err conftest.$ac_objext \
58489       conftest$ac_exeext conftest.$ac_ext
58490 fi
58491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58493 if test `eval echo '${'$as_ac_var'}'` = yes; then
58494   cat >>confdefs.h <<_ACEOF
58495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58496 _ACEOF
58497
58498 fi
58499 done
58500
58501   else
58502
58503   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
58504 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
58505   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
58506     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
58507   echo $ECHO_N "(cached) $ECHO_C" >&6
58508 else
58509
58510
58511
58512       ac_ext=cc
58513 ac_cpp='$CXXCPP $CPPFLAGS'
58514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58517
58518       cat >conftest.$ac_ext <<_ACEOF
58519 /* confdefs.h.  */
58520 _ACEOF
58521 cat confdefs.h >>conftest.$ac_ext
58522 cat >>conftest.$ac_ext <<_ACEOF
58523 /* end confdefs.h.  */
58524 #include <math.h>
58525                       #ifdef HAVE_IEEEFP_H
58526                       #include <ieeefp.h>
58527                       #endif
58528
58529 int
58530 main ()
58531 {
58532  _isnanf(0);
58533   ;
58534   return 0;
58535 }
58536 _ACEOF
58537 rm -f conftest.$ac_objext
58538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58539   (eval $ac_compile) 2>conftest.er1
58540   ac_status=$?
58541   grep -v '^ *+' conftest.er1 >conftest.err
58542   rm -f conftest.er1
58543   cat conftest.err >&5
58544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58545   (exit $ac_status); } &&
58546          { ac_try='test -z "$ac_cxx_werror_flag"
58547                          || test ! -s conftest.err'
58548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58549   (eval $ac_try) 2>&5
58550   ac_status=$?
58551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58552   (exit $ac_status); }; } &&
58553          { ac_try='test -s conftest.$ac_objext'
58554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58555   (eval $ac_try) 2>&5
58556   ac_status=$?
58557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58558   (exit $ac_status); }; }; then
58559   glibcxx_cv_func__isnanf_use=yes
58560 else
58561   echo "$as_me: failed program was:" >&5
58562 sed 's/^/| /' conftest.$ac_ext >&5
58563
58564 glibcxx_cv_func__isnanf_use=no
58565 fi
58566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58567       ac_ext=c
58568 ac_cpp='$CPP $CPPFLAGS'
58569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58572
58573
58574 fi
58575
58576   fi
58577   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
58578 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
58579
58580     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
58581
58582 for ac_func in _isnanf
58583 do
58584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58585 echo "$as_me:$LINENO: checking for $ac_func" >&5
58586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58587 if eval "test \"\${$as_ac_var+set}\" = set"; then
58588   echo $ECHO_N "(cached) $ECHO_C" >&6
58589 else
58590   if test x$gcc_no_link = xyes; then
58591   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58593    { (exit 1); exit 1; }; }
58594 fi
58595 cat >conftest.$ac_ext <<_ACEOF
58596 /* confdefs.h.  */
58597 _ACEOF
58598 cat confdefs.h >>conftest.$ac_ext
58599 cat >>conftest.$ac_ext <<_ACEOF
58600 /* end confdefs.h.  */
58601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58602    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58603 #define $ac_func innocuous_$ac_func
58604
58605 /* System header to define __stub macros and hopefully few prototypes,
58606     which can conflict with char $ac_func (); below.
58607     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58608     <limits.h> exists even on freestanding compilers.  */
58609
58610 #ifdef __STDC__
58611 # include <limits.h>
58612 #else
58613 # include <assert.h>
58614 #endif
58615
58616 #undef $ac_func
58617
58618 /* Override any gcc2 internal prototype to avoid an error.  */
58619 #ifdef __cplusplus
58620 extern "C"
58621 {
58622 #endif
58623 /* We use char because int might match the return type of a gcc2
58624    builtin and then its argument prototype would still apply.  */
58625 char $ac_func ();
58626 /* The GNU C library defines this for functions which it implements
58627     to always fail with ENOSYS.  Some functions are actually named
58628     something starting with __ and the normal name is an alias.  */
58629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58630 choke me
58631 #else
58632 char (*f) () = $ac_func;
58633 #endif
58634 #ifdef __cplusplus
58635 }
58636 #endif
58637
58638 int
58639 main ()
58640 {
58641 return f != $ac_func;
58642   ;
58643   return 0;
58644 }
58645 _ACEOF
58646 rm -f conftest.$ac_objext conftest$ac_exeext
58647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58648   (eval $ac_link) 2>conftest.er1
58649   ac_status=$?
58650   grep -v '^ *+' conftest.er1 >conftest.err
58651   rm -f conftest.er1
58652   cat conftest.err >&5
58653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58654   (exit $ac_status); } &&
58655          { ac_try='test -z "$ac_c_werror_flag"
58656                          || test ! -s conftest.err'
58657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58658   (eval $ac_try) 2>&5
58659   ac_status=$?
58660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58661   (exit $ac_status); }; } &&
58662          { ac_try='test -s conftest$ac_exeext'
58663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58664   (eval $ac_try) 2>&5
58665   ac_status=$?
58666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58667   (exit $ac_status); }; }; then
58668   eval "$as_ac_var=yes"
58669 else
58670   echo "$as_me: failed program was:" >&5
58671 sed 's/^/| /' conftest.$ac_ext >&5
58672
58673 eval "$as_ac_var=no"
58674 fi
58675 rm -f conftest.err conftest.$ac_objext \
58676       conftest$ac_exeext conftest.$ac_ext
58677 fi
58678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58680 if test `eval echo '${'$as_ac_var'}'` = yes; then
58681   cat >>confdefs.h <<_ACEOF
58682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58683 _ACEOF
58684
58685 fi
58686 done
58687
58688     fi
58689   fi
58690
58691
58692
58693
58694
58695
58696   echo "$as_me:$LINENO: checking for isinff declaration" >&5
58697 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
58698   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
58699     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
58700   echo $ECHO_N "(cached) $ECHO_C" >&6
58701 else
58702
58703
58704
58705       ac_ext=cc
58706 ac_cpp='$CXXCPP $CPPFLAGS'
58707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58710
58711       cat >conftest.$ac_ext <<_ACEOF
58712 /* confdefs.h.  */
58713 _ACEOF
58714 cat confdefs.h >>conftest.$ac_ext
58715 cat >>conftest.$ac_ext <<_ACEOF
58716 /* end confdefs.h.  */
58717 #include <math.h>
58718                       #ifdef HAVE_IEEEFP_H
58719                       #include <ieeefp.h>
58720                       #endif
58721
58722 int
58723 main ()
58724 {
58725  isinff(0);
58726   ;
58727   return 0;
58728 }
58729 _ACEOF
58730 rm -f conftest.$ac_objext
58731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58732   (eval $ac_compile) 2>conftest.er1
58733   ac_status=$?
58734   grep -v '^ *+' conftest.er1 >conftest.err
58735   rm -f conftest.er1
58736   cat conftest.err >&5
58737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58738   (exit $ac_status); } &&
58739          { ac_try='test -z "$ac_cxx_werror_flag"
58740                          || test ! -s conftest.err'
58741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58742   (eval $ac_try) 2>&5
58743   ac_status=$?
58744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58745   (exit $ac_status); }; } &&
58746          { ac_try='test -s conftest.$ac_objext'
58747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58748   (eval $ac_try) 2>&5
58749   ac_status=$?
58750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58751   (exit $ac_status); }; }; then
58752   glibcxx_cv_func_isinff_use=yes
58753 else
58754   echo "$as_me: failed program was:" >&5
58755 sed 's/^/| /' conftest.$ac_ext >&5
58756
58757 glibcxx_cv_func_isinff_use=no
58758 fi
58759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58760       ac_ext=c
58761 ac_cpp='$CPP $CPPFLAGS'
58762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58765
58766
58767 fi
58768
58769   fi
58770   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
58771 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
58772
58773   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
58774
58775 for ac_func in isinff
58776 do
58777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58778 echo "$as_me:$LINENO: checking for $ac_func" >&5
58779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58780 if eval "test \"\${$as_ac_var+set}\" = set"; then
58781   echo $ECHO_N "(cached) $ECHO_C" >&6
58782 else
58783   if test x$gcc_no_link = xyes; then
58784   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58786    { (exit 1); exit 1; }; }
58787 fi
58788 cat >conftest.$ac_ext <<_ACEOF
58789 /* confdefs.h.  */
58790 _ACEOF
58791 cat confdefs.h >>conftest.$ac_ext
58792 cat >>conftest.$ac_ext <<_ACEOF
58793 /* end confdefs.h.  */
58794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58795    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58796 #define $ac_func innocuous_$ac_func
58797
58798 /* System header to define __stub macros and hopefully few prototypes,
58799     which can conflict with char $ac_func (); below.
58800     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58801     <limits.h> exists even on freestanding compilers.  */
58802
58803 #ifdef __STDC__
58804 # include <limits.h>
58805 #else
58806 # include <assert.h>
58807 #endif
58808
58809 #undef $ac_func
58810
58811 /* Override any gcc2 internal prototype to avoid an error.  */
58812 #ifdef __cplusplus
58813 extern "C"
58814 {
58815 #endif
58816 /* We use char because int might match the return type of a gcc2
58817    builtin and then its argument prototype would still apply.  */
58818 char $ac_func ();
58819 /* The GNU C library defines this for functions which it implements
58820     to always fail with ENOSYS.  Some functions are actually named
58821     something starting with __ and the normal name is an alias.  */
58822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58823 choke me
58824 #else
58825 char (*f) () = $ac_func;
58826 #endif
58827 #ifdef __cplusplus
58828 }
58829 #endif
58830
58831 int
58832 main ()
58833 {
58834 return f != $ac_func;
58835   ;
58836   return 0;
58837 }
58838 _ACEOF
58839 rm -f conftest.$ac_objext conftest$ac_exeext
58840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58841   (eval $ac_link) 2>conftest.er1
58842   ac_status=$?
58843   grep -v '^ *+' conftest.er1 >conftest.err
58844   rm -f conftest.er1
58845   cat conftest.err >&5
58846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58847   (exit $ac_status); } &&
58848          { ac_try='test -z "$ac_c_werror_flag"
58849                          || test ! -s conftest.err'
58850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58851   (eval $ac_try) 2>&5
58852   ac_status=$?
58853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58854   (exit $ac_status); }; } &&
58855          { ac_try='test -s conftest$ac_exeext'
58856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58857   (eval $ac_try) 2>&5
58858   ac_status=$?
58859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58860   (exit $ac_status); }; }; then
58861   eval "$as_ac_var=yes"
58862 else
58863   echo "$as_me: failed program was:" >&5
58864 sed 's/^/| /' conftest.$ac_ext >&5
58865
58866 eval "$as_ac_var=no"
58867 fi
58868 rm -f conftest.err conftest.$ac_objext \
58869       conftest$ac_exeext conftest.$ac_ext
58870 fi
58871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58873 if test `eval echo '${'$as_ac_var'}'` = yes; then
58874   cat >>confdefs.h <<_ACEOF
58875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58876 _ACEOF
58877
58878 fi
58879 done
58880
58881   else
58882
58883   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
58884 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
58885   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
58886     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
58887   echo $ECHO_N "(cached) $ECHO_C" >&6
58888 else
58889
58890
58891
58892       ac_ext=cc
58893 ac_cpp='$CXXCPP $CPPFLAGS'
58894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58897
58898       cat >conftest.$ac_ext <<_ACEOF
58899 /* confdefs.h.  */
58900 _ACEOF
58901 cat confdefs.h >>conftest.$ac_ext
58902 cat >>conftest.$ac_ext <<_ACEOF
58903 /* end confdefs.h.  */
58904 #include <math.h>
58905                       #ifdef HAVE_IEEEFP_H
58906                       #include <ieeefp.h>
58907                       #endif
58908
58909 int
58910 main ()
58911 {
58912  _isinff(0);
58913   ;
58914   return 0;
58915 }
58916 _ACEOF
58917 rm -f conftest.$ac_objext
58918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58919   (eval $ac_compile) 2>conftest.er1
58920   ac_status=$?
58921   grep -v '^ *+' conftest.er1 >conftest.err
58922   rm -f conftest.er1
58923   cat conftest.err >&5
58924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58925   (exit $ac_status); } &&
58926          { ac_try='test -z "$ac_cxx_werror_flag"
58927                          || test ! -s conftest.err'
58928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58929   (eval $ac_try) 2>&5
58930   ac_status=$?
58931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58932   (exit $ac_status); }; } &&
58933          { ac_try='test -s conftest.$ac_objext'
58934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58935   (eval $ac_try) 2>&5
58936   ac_status=$?
58937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58938   (exit $ac_status); }; }; then
58939   glibcxx_cv_func__isinff_use=yes
58940 else
58941   echo "$as_me: failed program was:" >&5
58942 sed 's/^/| /' conftest.$ac_ext >&5
58943
58944 glibcxx_cv_func__isinff_use=no
58945 fi
58946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58947       ac_ext=c
58948 ac_cpp='$CPP $CPPFLAGS'
58949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58952
58953
58954 fi
58955
58956   fi
58957   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
58958 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
58959
58960     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
58961
58962 for ac_func in _isinff
58963 do
58964 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58965 echo "$as_me:$LINENO: checking for $ac_func" >&5
58966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58967 if eval "test \"\${$as_ac_var+set}\" = set"; then
58968   echo $ECHO_N "(cached) $ECHO_C" >&6
58969 else
58970   if test x$gcc_no_link = xyes; then
58971   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58973    { (exit 1); exit 1; }; }
58974 fi
58975 cat >conftest.$ac_ext <<_ACEOF
58976 /* confdefs.h.  */
58977 _ACEOF
58978 cat confdefs.h >>conftest.$ac_ext
58979 cat >>conftest.$ac_ext <<_ACEOF
58980 /* end confdefs.h.  */
58981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58982    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58983 #define $ac_func innocuous_$ac_func
58984
58985 /* System header to define __stub macros and hopefully few prototypes,
58986     which can conflict with char $ac_func (); below.
58987     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58988     <limits.h> exists even on freestanding compilers.  */
58989
58990 #ifdef __STDC__
58991 # include <limits.h>
58992 #else
58993 # include <assert.h>
58994 #endif
58995
58996 #undef $ac_func
58997
58998 /* Override any gcc2 internal prototype to avoid an error.  */
58999 #ifdef __cplusplus
59000 extern "C"
59001 {
59002 #endif
59003 /* We use char because int might match the return type of a gcc2
59004    builtin and then its argument prototype would still apply.  */
59005 char $ac_func ();
59006 /* The GNU C library defines this for functions which it implements
59007     to always fail with ENOSYS.  Some functions are actually named
59008     something starting with __ and the normal name is an alias.  */
59009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59010 choke me
59011 #else
59012 char (*f) () = $ac_func;
59013 #endif
59014 #ifdef __cplusplus
59015 }
59016 #endif
59017
59018 int
59019 main ()
59020 {
59021 return f != $ac_func;
59022   ;
59023   return 0;
59024 }
59025 _ACEOF
59026 rm -f conftest.$ac_objext conftest$ac_exeext
59027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59028   (eval $ac_link) 2>conftest.er1
59029   ac_status=$?
59030   grep -v '^ *+' conftest.er1 >conftest.err
59031   rm -f conftest.er1
59032   cat conftest.err >&5
59033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59034   (exit $ac_status); } &&
59035          { ac_try='test -z "$ac_c_werror_flag"
59036                          || test ! -s conftest.err'
59037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59038   (eval $ac_try) 2>&5
59039   ac_status=$?
59040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59041   (exit $ac_status); }; } &&
59042          { ac_try='test -s conftest$ac_exeext'
59043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59044   (eval $ac_try) 2>&5
59045   ac_status=$?
59046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59047   (exit $ac_status); }; }; then
59048   eval "$as_ac_var=yes"
59049 else
59050   echo "$as_me: failed program was:" >&5
59051 sed 's/^/| /' conftest.$ac_ext >&5
59052
59053 eval "$as_ac_var=no"
59054 fi
59055 rm -f conftest.err conftest.$ac_objext \
59056       conftest$ac_exeext conftest.$ac_ext
59057 fi
59058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59059 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59060 if test `eval echo '${'$as_ac_var'}'` = yes; then
59061   cat >>confdefs.h <<_ACEOF
59062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59063 _ACEOF
59064
59065 fi
59066 done
59067
59068     fi
59069   fi
59070
59071
59072
59073
59074
59075
59076   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
59077 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
59078   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59079     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
59080   echo $ECHO_N "(cached) $ECHO_C" >&6
59081 else
59082
59083
59084
59085       ac_ext=cc
59086 ac_cpp='$CXXCPP $CPPFLAGS'
59087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59090
59091       cat >conftest.$ac_ext <<_ACEOF
59092 /* confdefs.h.  */
59093 _ACEOF
59094 cat confdefs.h >>conftest.$ac_ext
59095 cat >>conftest.$ac_ext <<_ACEOF
59096 /* end confdefs.h.  */
59097 #include <math.h>
59098 int
59099 main ()
59100 {
59101  atan2f(0, 0);
59102   ;
59103   return 0;
59104 }
59105 _ACEOF
59106 rm -f conftest.$ac_objext
59107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59108   (eval $ac_compile) 2>conftest.er1
59109   ac_status=$?
59110   grep -v '^ *+' conftest.er1 >conftest.err
59111   rm -f conftest.er1
59112   cat conftest.err >&5
59113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59114   (exit $ac_status); } &&
59115          { ac_try='test -z "$ac_cxx_werror_flag"
59116                          || test ! -s conftest.err'
59117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59118   (eval $ac_try) 2>&5
59119   ac_status=$?
59120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59121   (exit $ac_status); }; } &&
59122          { ac_try='test -s conftest.$ac_objext'
59123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59124   (eval $ac_try) 2>&5
59125   ac_status=$?
59126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59127   (exit $ac_status); }; }; then
59128   glibcxx_cv_func_atan2f_use=yes
59129 else
59130   echo "$as_me: failed program was:" >&5
59131 sed 's/^/| /' conftest.$ac_ext >&5
59132
59133 glibcxx_cv_func_atan2f_use=no
59134 fi
59135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59136       ac_ext=c
59137 ac_cpp='$CPP $CPPFLAGS'
59138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59141
59142
59143 fi
59144
59145   fi
59146   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
59147 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
59148
59149   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59150
59151 for ac_func in atan2f
59152 do
59153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59154 echo "$as_me:$LINENO: checking for $ac_func" >&5
59155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59156 if eval "test \"\${$as_ac_var+set}\" = set"; then
59157   echo $ECHO_N "(cached) $ECHO_C" >&6
59158 else
59159   if test x$gcc_no_link = xyes; then
59160   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59162    { (exit 1); exit 1; }; }
59163 fi
59164 cat >conftest.$ac_ext <<_ACEOF
59165 /* confdefs.h.  */
59166 _ACEOF
59167 cat confdefs.h >>conftest.$ac_ext
59168 cat >>conftest.$ac_ext <<_ACEOF
59169 /* end confdefs.h.  */
59170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59171    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59172 #define $ac_func innocuous_$ac_func
59173
59174 /* System header to define __stub macros and hopefully few prototypes,
59175     which can conflict with char $ac_func (); below.
59176     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59177     <limits.h> exists even on freestanding compilers.  */
59178
59179 #ifdef __STDC__
59180 # include <limits.h>
59181 #else
59182 # include <assert.h>
59183 #endif
59184
59185 #undef $ac_func
59186
59187 /* Override any gcc2 internal prototype to avoid an error.  */
59188 #ifdef __cplusplus
59189 extern "C"
59190 {
59191 #endif
59192 /* We use char because int might match the return type of a gcc2
59193    builtin and then its argument prototype would still apply.  */
59194 char $ac_func ();
59195 /* The GNU C library defines this for functions which it implements
59196     to always fail with ENOSYS.  Some functions are actually named
59197     something starting with __ and the normal name is an alias.  */
59198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59199 choke me
59200 #else
59201 char (*f) () = $ac_func;
59202 #endif
59203 #ifdef __cplusplus
59204 }
59205 #endif
59206
59207 int
59208 main ()
59209 {
59210 return f != $ac_func;
59211   ;
59212   return 0;
59213 }
59214 _ACEOF
59215 rm -f conftest.$ac_objext conftest$ac_exeext
59216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59217   (eval $ac_link) 2>conftest.er1
59218   ac_status=$?
59219   grep -v '^ *+' conftest.er1 >conftest.err
59220   rm -f conftest.er1
59221   cat conftest.err >&5
59222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59223   (exit $ac_status); } &&
59224          { ac_try='test -z "$ac_c_werror_flag"
59225                          || test ! -s conftest.err'
59226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59227   (eval $ac_try) 2>&5
59228   ac_status=$?
59229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59230   (exit $ac_status); }; } &&
59231          { ac_try='test -s conftest$ac_exeext'
59232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59233   (eval $ac_try) 2>&5
59234   ac_status=$?
59235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59236   (exit $ac_status); }; }; then
59237   eval "$as_ac_var=yes"
59238 else
59239   echo "$as_me: failed program was:" >&5
59240 sed 's/^/| /' conftest.$ac_ext >&5
59241
59242 eval "$as_ac_var=no"
59243 fi
59244 rm -f conftest.err conftest.$ac_objext \
59245       conftest$ac_exeext conftest.$ac_ext
59246 fi
59247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59249 if test `eval echo '${'$as_ac_var'}'` = yes; then
59250   cat >>confdefs.h <<_ACEOF
59251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59252 _ACEOF
59253
59254 fi
59255 done
59256
59257   else
59258
59259   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
59260 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
59261   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59262     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
59263   echo $ECHO_N "(cached) $ECHO_C" >&6
59264 else
59265
59266
59267
59268       ac_ext=cc
59269 ac_cpp='$CXXCPP $CPPFLAGS'
59270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59273
59274       cat >conftest.$ac_ext <<_ACEOF
59275 /* confdefs.h.  */
59276 _ACEOF
59277 cat confdefs.h >>conftest.$ac_ext
59278 cat >>conftest.$ac_ext <<_ACEOF
59279 /* end confdefs.h.  */
59280 #include <math.h>
59281 int
59282 main ()
59283 {
59284  _atan2f(0, 0);
59285   ;
59286   return 0;
59287 }
59288 _ACEOF
59289 rm -f conftest.$ac_objext
59290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59291   (eval $ac_compile) 2>conftest.er1
59292   ac_status=$?
59293   grep -v '^ *+' conftest.er1 >conftest.err
59294   rm -f conftest.er1
59295   cat conftest.err >&5
59296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59297   (exit $ac_status); } &&
59298          { ac_try='test -z "$ac_cxx_werror_flag"
59299                          || test ! -s conftest.err'
59300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59301   (eval $ac_try) 2>&5
59302   ac_status=$?
59303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59304   (exit $ac_status); }; } &&
59305          { ac_try='test -s conftest.$ac_objext'
59306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59307   (eval $ac_try) 2>&5
59308   ac_status=$?
59309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59310   (exit $ac_status); }; }; then
59311   glibcxx_cv_func__atan2f_use=yes
59312 else
59313   echo "$as_me: failed program was:" >&5
59314 sed 's/^/| /' conftest.$ac_ext >&5
59315
59316 glibcxx_cv_func__atan2f_use=no
59317 fi
59318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59319       ac_ext=c
59320 ac_cpp='$CPP $CPPFLAGS'
59321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59324
59325
59326 fi
59327
59328   fi
59329   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
59330 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
59331
59332     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59333
59334 for ac_func in _atan2f
59335 do
59336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59337 echo "$as_me:$LINENO: checking for $ac_func" >&5
59338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59339 if eval "test \"\${$as_ac_var+set}\" = set"; then
59340   echo $ECHO_N "(cached) $ECHO_C" >&6
59341 else
59342   if test x$gcc_no_link = xyes; then
59343   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59345    { (exit 1); exit 1; }; }
59346 fi
59347 cat >conftest.$ac_ext <<_ACEOF
59348 /* confdefs.h.  */
59349 _ACEOF
59350 cat confdefs.h >>conftest.$ac_ext
59351 cat >>conftest.$ac_ext <<_ACEOF
59352 /* end confdefs.h.  */
59353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59354    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59355 #define $ac_func innocuous_$ac_func
59356
59357 /* System header to define __stub macros and hopefully few prototypes,
59358     which can conflict with char $ac_func (); below.
59359     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59360     <limits.h> exists even on freestanding compilers.  */
59361
59362 #ifdef __STDC__
59363 # include <limits.h>
59364 #else
59365 # include <assert.h>
59366 #endif
59367
59368 #undef $ac_func
59369
59370 /* Override any gcc2 internal prototype to avoid an error.  */
59371 #ifdef __cplusplus
59372 extern "C"
59373 {
59374 #endif
59375 /* We use char because int might match the return type of a gcc2
59376    builtin and then its argument prototype would still apply.  */
59377 char $ac_func ();
59378 /* The GNU C library defines this for functions which it implements
59379     to always fail with ENOSYS.  Some functions are actually named
59380     something starting with __ and the normal name is an alias.  */
59381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59382 choke me
59383 #else
59384 char (*f) () = $ac_func;
59385 #endif
59386 #ifdef __cplusplus
59387 }
59388 #endif
59389
59390 int
59391 main ()
59392 {
59393 return f != $ac_func;
59394   ;
59395   return 0;
59396 }
59397 _ACEOF
59398 rm -f conftest.$ac_objext conftest$ac_exeext
59399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59400   (eval $ac_link) 2>conftest.er1
59401   ac_status=$?
59402   grep -v '^ *+' conftest.er1 >conftest.err
59403   rm -f conftest.er1
59404   cat conftest.err >&5
59405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59406   (exit $ac_status); } &&
59407          { ac_try='test -z "$ac_c_werror_flag"
59408                          || test ! -s conftest.err'
59409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59410   (eval $ac_try) 2>&5
59411   ac_status=$?
59412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59413   (exit $ac_status); }; } &&
59414          { ac_try='test -s conftest$ac_exeext'
59415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59416   (eval $ac_try) 2>&5
59417   ac_status=$?
59418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59419   (exit $ac_status); }; }; then
59420   eval "$as_ac_var=yes"
59421 else
59422   echo "$as_me: failed program was:" >&5
59423 sed 's/^/| /' conftest.$ac_ext >&5
59424
59425 eval "$as_ac_var=no"
59426 fi
59427 rm -f conftest.err conftest.$ac_objext \
59428       conftest$ac_exeext conftest.$ac_ext
59429 fi
59430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59432 if test `eval echo '${'$as_ac_var'}'` = yes; then
59433   cat >>confdefs.h <<_ACEOF
59434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59435 _ACEOF
59436
59437 fi
59438 done
59439
59440     fi
59441   fi
59442
59443
59444
59445
59446
59447
59448   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
59449 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
59450   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59451     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
59452   echo $ECHO_N "(cached) $ECHO_C" >&6
59453 else
59454
59455
59456
59457       ac_ext=cc
59458 ac_cpp='$CXXCPP $CPPFLAGS'
59459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59462
59463       cat >conftest.$ac_ext <<_ACEOF
59464 /* confdefs.h.  */
59465 _ACEOF
59466 cat confdefs.h >>conftest.$ac_ext
59467 cat >>conftest.$ac_ext <<_ACEOF
59468 /* end confdefs.h.  */
59469 #include <math.h>
59470                       #ifdef HAVE_IEEEFP_H
59471                       #include <ieeefp.h>
59472                       #endif
59473
59474 int
59475 main ()
59476 {
59477  fabsf(0);
59478   ;
59479   return 0;
59480 }
59481 _ACEOF
59482 rm -f conftest.$ac_objext
59483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59484   (eval $ac_compile) 2>conftest.er1
59485   ac_status=$?
59486   grep -v '^ *+' conftest.er1 >conftest.err
59487   rm -f conftest.er1
59488   cat conftest.err >&5
59489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59490   (exit $ac_status); } &&
59491          { ac_try='test -z "$ac_cxx_werror_flag"
59492                          || test ! -s conftest.err'
59493   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59494   (eval $ac_try) 2>&5
59495   ac_status=$?
59496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59497   (exit $ac_status); }; } &&
59498          { ac_try='test -s conftest.$ac_objext'
59499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59500   (eval $ac_try) 2>&5
59501   ac_status=$?
59502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59503   (exit $ac_status); }; }; then
59504   glibcxx_cv_func_fabsf_use=yes
59505 else
59506   echo "$as_me: failed program was:" >&5
59507 sed 's/^/| /' conftest.$ac_ext >&5
59508
59509 glibcxx_cv_func_fabsf_use=no
59510 fi
59511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59512       ac_ext=c
59513 ac_cpp='$CPP $CPPFLAGS'
59514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59517
59518
59519 fi
59520
59521   fi
59522   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
59523 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
59524
59525   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59526
59527 for ac_func in fabsf
59528 do
59529 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59530 echo "$as_me:$LINENO: checking for $ac_func" >&5
59531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59532 if eval "test \"\${$as_ac_var+set}\" = set"; then
59533   echo $ECHO_N "(cached) $ECHO_C" >&6
59534 else
59535   if test x$gcc_no_link = xyes; then
59536   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59537 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59538    { (exit 1); exit 1; }; }
59539 fi
59540 cat >conftest.$ac_ext <<_ACEOF
59541 /* confdefs.h.  */
59542 _ACEOF
59543 cat confdefs.h >>conftest.$ac_ext
59544 cat >>conftest.$ac_ext <<_ACEOF
59545 /* end confdefs.h.  */
59546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59547    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59548 #define $ac_func innocuous_$ac_func
59549
59550 /* System header to define __stub macros and hopefully few prototypes,
59551     which can conflict with char $ac_func (); below.
59552     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59553     <limits.h> exists even on freestanding compilers.  */
59554
59555 #ifdef __STDC__
59556 # include <limits.h>
59557 #else
59558 # include <assert.h>
59559 #endif
59560
59561 #undef $ac_func
59562
59563 /* Override any gcc2 internal prototype to avoid an error.  */
59564 #ifdef __cplusplus
59565 extern "C"
59566 {
59567 #endif
59568 /* We use char because int might match the return type of a gcc2
59569    builtin and then its argument prototype would still apply.  */
59570 char $ac_func ();
59571 /* The GNU C library defines this for functions which it implements
59572     to always fail with ENOSYS.  Some functions are actually named
59573     something starting with __ and the normal name is an alias.  */
59574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59575 choke me
59576 #else
59577 char (*f) () = $ac_func;
59578 #endif
59579 #ifdef __cplusplus
59580 }
59581 #endif
59582
59583 int
59584 main ()
59585 {
59586 return f != $ac_func;
59587   ;
59588   return 0;
59589 }
59590 _ACEOF
59591 rm -f conftest.$ac_objext conftest$ac_exeext
59592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59593   (eval $ac_link) 2>conftest.er1
59594   ac_status=$?
59595   grep -v '^ *+' conftest.er1 >conftest.err
59596   rm -f conftest.er1
59597   cat conftest.err >&5
59598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59599   (exit $ac_status); } &&
59600          { ac_try='test -z "$ac_c_werror_flag"
59601                          || test ! -s conftest.err'
59602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59603   (eval $ac_try) 2>&5
59604   ac_status=$?
59605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59606   (exit $ac_status); }; } &&
59607          { ac_try='test -s conftest$ac_exeext'
59608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59609   (eval $ac_try) 2>&5
59610   ac_status=$?
59611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59612   (exit $ac_status); }; }; then
59613   eval "$as_ac_var=yes"
59614 else
59615   echo "$as_me: failed program was:" >&5
59616 sed 's/^/| /' conftest.$ac_ext >&5
59617
59618 eval "$as_ac_var=no"
59619 fi
59620 rm -f conftest.err conftest.$ac_objext \
59621       conftest$ac_exeext conftest.$ac_ext
59622 fi
59623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59624 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59625 if test `eval echo '${'$as_ac_var'}'` = yes; then
59626   cat >>confdefs.h <<_ACEOF
59627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59628 _ACEOF
59629
59630 fi
59631 done
59632
59633   else
59634
59635   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
59636 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
59637   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59638     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
59639   echo $ECHO_N "(cached) $ECHO_C" >&6
59640 else
59641
59642
59643
59644       ac_ext=cc
59645 ac_cpp='$CXXCPP $CPPFLAGS'
59646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59649
59650       cat >conftest.$ac_ext <<_ACEOF
59651 /* confdefs.h.  */
59652 _ACEOF
59653 cat confdefs.h >>conftest.$ac_ext
59654 cat >>conftest.$ac_ext <<_ACEOF
59655 /* end confdefs.h.  */
59656 #include <math.h>
59657                       #ifdef HAVE_IEEEFP_H
59658                       #include <ieeefp.h>
59659                       #endif
59660
59661 int
59662 main ()
59663 {
59664  _fabsf(0);
59665   ;
59666   return 0;
59667 }
59668 _ACEOF
59669 rm -f conftest.$ac_objext
59670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59671   (eval $ac_compile) 2>conftest.er1
59672   ac_status=$?
59673   grep -v '^ *+' conftest.er1 >conftest.err
59674   rm -f conftest.er1
59675   cat conftest.err >&5
59676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59677   (exit $ac_status); } &&
59678          { ac_try='test -z "$ac_cxx_werror_flag"
59679                          || test ! -s conftest.err'
59680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59681   (eval $ac_try) 2>&5
59682   ac_status=$?
59683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59684   (exit $ac_status); }; } &&
59685          { ac_try='test -s conftest.$ac_objext'
59686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59687   (eval $ac_try) 2>&5
59688   ac_status=$?
59689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59690   (exit $ac_status); }; }; then
59691   glibcxx_cv_func__fabsf_use=yes
59692 else
59693   echo "$as_me: failed program was:" >&5
59694 sed 's/^/| /' conftest.$ac_ext >&5
59695
59696 glibcxx_cv_func__fabsf_use=no
59697 fi
59698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59699       ac_ext=c
59700 ac_cpp='$CPP $CPPFLAGS'
59701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59704
59705
59706 fi
59707
59708   fi
59709   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
59710 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
59711
59712     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59713
59714 for ac_func in _fabsf
59715 do
59716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59717 echo "$as_me:$LINENO: checking for $ac_func" >&5
59718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59719 if eval "test \"\${$as_ac_var+set}\" = set"; then
59720   echo $ECHO_N "(cached) $ECHO_C" >&6
59721 else
59722   if test x$gcc_no_link = xyes; then
59723   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59725    { (exit 1); exit 1; }; }
59726 fi
59727 cat >conftest.$ac_ext <<_ACEOF
59728 /* confdefs.h.  */
59729 _ACEOF
59730 cat confdefs.h >>conftest.$ac_ext
59731 cat >>conftest.$ac_ext <<_ACEOF
59732 /* end confdefs.h.  */
59733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59734    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59735 #define $ac_func innocuous_$ac_func
59736
59737 /* System header to define __stub macros and hopefully few prototypes,
59738     which can conflict with char $ac_func (); below.
59739     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59740     <limits.h> exists even on freestanding compilers.  */
59741
59742 #ifdef __STDC__
59743 # include <limits.h>
59744 #else
59745 # include <assert.h>
59746 #endif
59747
59748 #undef $ac_func
59749
59750 /* Override any gcc2 internal prototype to avoid an error.  */
59751 #ifdef __cplusplus
59752 extern "C"
59753 {
59754 #endif
59755 /* We use char because int might match the return type of a gcc2
59756    builtin and then its argument prototype would still apply.  */
59757 char $ac_func ();
59758 /* The GNU C library defines this for functions which it implements
59759     to always fail with ENOSYS.  Some functions are actually named
59760     something starting with __ and the normal name is an alias.  */
59761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59762 choke me
59763 #else
59764 char (*f) () = $ac_func;
59765 #endif
59766 #ifdef __cplusplus
59767 }
59768 #endif
59769
59770 int
59771 main ()
59772 {
59773 return f != $ac_func;
59774   ;
59775   return 0;
59776 }
59777 _ACEOF
59778 rm -f conftest.$ac_objext conftest$ac_exeext
59779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59780   (eval $ac_link) 2>conftest.er1
59781   ac_status=$?
59782   grep -v '^ *+' conftest.er1 >conftest.err
59783   rm -f conftest.er1
59784   cat conftest.err >&5
59785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59786   (exit $ac_status); } &&
59787          { ac_try='test -z "$ac_c_werror_flag"
59788                          || test ! -s conftest.err'
59789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59790   (eval $ac_try) 2>&5
59791   ac_status=$?
59792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59793   (exit $ac_status); }; } &&
59794          { ac_try='test -s conftest$ac_exeext'
59795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59796   (eval $ac_try) 2>&5
59797   ac_status=$?
59798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59799   (exit $ac_status); }; }; then
59800   eval "$as_ac_var=yes"
59801 else
59802   echo "$as_me: failed program was:" >&5
59803 sed 's/^/| /' conftest.$ac_ext >&5
59804
59805 eval "$as_ac_var=no"
59806 fi
59807 rm -f conftest.err conftest.$ac_objext \
59808       conftest$ac_exeext conftest.$ac_ext
59809 fi
59810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59812 if test `eval echo '${'$as_ac_var'}'` = yes; then
59813   cat >>confdefs.h <<_ACEOF
59814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59815 _ACEOF
59816
59817 fi
59818 done
59819
59820     fi
59821   fi
59822
59823
59824
59825
59826
59827
59828   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
59829 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
59830   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59831     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
59832   echo $ECHO_N "(cached) $ECHO_C" >&6
59833 else
59834
59835
59836
59837       ac_ext=cc
59838 ac_cpp='$CXXCPP $CPPFLAGS'
59839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59842
59843       cat >conftest.$ac_ext <<_ACEOF
59844 /* confdefs.h.  */
59845 _ACEOF
59846 cat confdefs.h >>conftest.$ac_ext
59847 cat >>conftest.$ac_ext <<_ACEOF
59848 /* end confdefs.h.  */
59849 #include <math.h>
59850 int
59851 main ()
59852 {
59853  fmodf(0, 0);
59854   ;
59855   return 0;
59856 }
59857 _ACEOF
59858 rm -f conftest.$ac_objext
59859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59860   (eval $ac_compile) 2>conftest.er1
59861   ac_status=$?
59862   grep -v '^ *+' conftest.er1 >conftest.err
59863   rm -f conftest.er1
59864   cat conftest.err >&5
59865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59866   (exit $ac_status); } &&
59867          { ac_try='test -z "$ac_cxx_werror_flag"
59868                          || test ! -s conftest.err'
59869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59870   (eval $ac_try) 2>&5
59871   ac_status=$?
59872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59873   (exit $ac_status); }; } &&
59874          { ac_try='test -s conftest.$ac_objext'
59875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59876   (eval $ac_try) 2>&5
59877   ac_status=$?
59878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59879   (exit $ac_status); }; }; then
59880   glibcxx_cv_func_fmodf_use=yes
59881 else
59882   echo "$as_me: failed program was:" >&5
59883 sed 's/^/| /' conftest.$ac_ext >&5
59884
59885 glibcxx_cv_func_fmodf_use=no
59886 fi
59887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59888       ac_ext=c
59889 ac_cpp='$CPP $CPPFLAGS'
59890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59893
59894
59895 fi
59896
59897   fi
59898   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
59899 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
59900
59901   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59902
59903 for ac_func in fmodf
59904 do
59905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59906 echo "$as_me:$LINENO: checking for $ac_func" >&5
59907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59908 if eval "test \"\${$as_ac_var+set}\" = set"; then
59909   echo $ECHO_N "(cached) $ECHO_C" >&6
59910 else
59911   if test x$gcc_no_link = xyes; then
59912   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59914    { (exit 1); exit 1; }; }
59915 fi
59916 cat >conftest.$ac_ext <<_ACEOF
59917 /* confdefs.h.  */
59918 _ACEOF
59919 cat confdefs.h >>conftest.$ac_ext
59920 cat >>conftest.$ac_ext <<_ACEOF
59921 /* end confdefs.h.  */
59922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59923    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59924 #define $ac_func innocuous_$ac_func
59925
59926 /* System header to define __stub macros and hopefully few prototypes,
59927     which can conflict with char $ac_func (); below.
59928     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59929     <limits.h> exists even on freestanding compilers.  */
59930
59931 #ifdef __STDC__
59932 # include <limits.h>
59933 #else
59934 # include <assert.h>
59935 #endif
59936
59937 #undef $ac_func
59938
59939 /* Override any gcc2 internal prototype to avoid an error.  */
59940 #ifdef __cplusplus
59941 extern "C"
59942 {
59943 #endif
59944 /* We use char because int might match the return type of a gcc2
59945    builtin and then its argument prototype would still apply.  */
59946 char $ac_func ();
59947 /* The GNU C library defines this for functions which it implements
59948     to always fail with ENOSYS.  Some functions are actually named
59949     something starting with __ and the normal name is an alias.  */
59950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59951 choke me
59952 #else
59953 char (*f) () = $ac_func;
59954 #endif
59955 #ifdef __cplusplus
59956 }
59957 #endif
59958
59959 int
59960 main ()
59961 {
59962 return f != $ac_func;
59963   ;
59964   return 0;
59965 }
59966 _ACEOF
59967 rm -f conftest.$ac_objext conftest$ac_exeext
59968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59969   (eval $ac_link) 2>conftest.er1
59970   ac_status=$?
59971   grep -v '^ *+' conftest.er1 >conftest.err
59972   rm -f conftest.er1
59973   cat conftest.err >&5
59974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59975   (exit $ac_status); } &&
59976          { ac_try='test -z "$ac_c_werror_flag"
59977                          || test ! -s conftest.err'
59978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59979   (eval $ac_try) 2>&5
59980   ac_status=$?
59981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59982   (exit $ac_status); }; } &&
59983          { ac_try='test -s conftest$ac_exeext'
59984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59985   (eval $ac_try) 2>&5
59986   ac_status=$?
59987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59988   (exit $ac_status); }; }; then
59989   eval "$as_ac_var=yes"
59990 else
59991   echo "$as_me: failed program was:" >&5
59992 sed 's/^/| /' conftest.$ac_ext >&5
59993
59994 eval "$as_ac_var=no"
59995 fi
59996 rm -f conftest.err conftest.$ac_objext \
59997       conftest$ac_exeext conftest.$ac_ext
59998 fi
59999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60001 if test `eval echo '${'$as_ac_var'}'` = yes; then
60002   cat >>confdefs.h <<_ACEOF
60003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60004 _ACEOF
60005
60006 fi
60007 done
60008
60009   else
60010
60011   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
60012 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
60013   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60014     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
60015   echo $ECHO_N "(cached) $ECHO_C" >&6
60016 else
60017
60018
60019
60020       ac_ext=cc
60021 ac_cpp='$CXXCPP $CPPFLAGS'
60022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60025
60026       cat >conftest.$ac_ext <<_ACEOF
60027 /* confdefs.h.  */
60028 _ACEOF
60029 cat confdefs.h >>conftest.$ac_ext
60030 cat >>conftest.$ac_ext <<_ACEOF
60031 /* end confdefs.h.  */
60032 #include <math.h>
60033 int
60034 main ()
60035 {
60036  _fmodf(0, 0);
60037   ;
60038   return 0;
60039 }
60040 _ACEOF
60041 rm -f conftest.$ac_objext
60042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60043   (eval $ac_compile) 2>conftest.er1
60044   ac_status=$?
60045   grep -v '^ *+' conftest.er1 >conftest.err
60046   rm -f conftest.er1
60047   cat conftest.err >&5
60048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60049   (exit $ac_status); } &&
60050          { ac_try='test -z "$ac_cxx_werror_flag"
60051                          || test ! -s conftest.err'
60052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60053   (eval $ac_try) 2>&5
60054   ac_status=$?
60055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60056   (exit $ac_status); }; } &&
60057          { ac_try='test -s conftest.$ac_objext'
60058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60059   (eval $ac_try) 2>&5
60060   ac_status=$?
60061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60062   (exit $ac_status); }; }; then
60063   glibcxx_cv_func__fmodf_use=yes
60064 else
60065   echo "$as_me: failed program was:" >&5
60066 sed 's/^/| /' conftest.$ac_ext >&5
60067
60068 glibcxx_cv_func__fmodf_use=no
60069 fi
60070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60071       ac_ext=c
60072 ac_cpp='$CPP $CPPFLAGS'
60073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60076
60077
60078 fi
60079
60080   fi
60081   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
60082 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
60083
60084     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60085
60086 for ac_func in _fmodf
60087 do
60088 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60089 echo "$as_me:$LINENO: checking for $ac_func" >&5
60090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60091 if eval "test \"\${$as_ac_var+set}\" = set"; then
60092   echo $ECHO_N "(cached) $ECHO_C" >&6
60093 else
60094   if test x$gcc_no_link = xyes; then
60095   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60097    { (exit 1); exit 1; }; }
60098 fi
60099 cat >conftest.$ac_ext <<_ACEOF
60100 /* confdefs.h.  */
60101 _ACEOF
60102 cat confdefs.h >>conftest.$ac_ext
60103 cat >>conftest.$ac_ext <<_ACEOF
60104 /* end confdefs.h.  */
60105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60106    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60107 #define $ac_func innocuous_$ac_func
60108
60109 /* System header to define __stub macros and hopefully few prototypes,
60110     which can conflict with char $ac_func (); below.
60111     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60112     <limits.h> exists even on freestanding compilers.  */
60113
60114 #ifdef __STDC__
60115 # include <limits.h>
60116 #else
60117 # include <assert.h>
60118 #endif
60119
60120 #undef $ac_func
60121
60122 /* Override any gcc2 internal prototype to avoid an error.  */
60123 #ifdef __cplusplus
60124 extern "C"
60125 {
60126 #endif
60127 /* We use char because int might match the return type of a gcc2
60128    builtin and then its argument prototype would still apply.  */
60129 char $ac_func ();
60130 /* The GNU C library defines this for functions which it implements
60131     to always fail with ENOSYS.  Some functions are actually named
60132     something starting with __ and the normal name is an alias.  */
60133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60134 choke me
60135 #else
60136 char (*f) () = $ac_func;
60137 #endif
60138 #ifdef __cplusplus
60139 }
60140 #endif
60141
60142 int
60143 main ()
60144 {
60145 return f != $ac_func;
60146   ;
60147   return 0;
60148 }
60149 _ACEOF
60150 rm -f conftest.$ac_objext conftest$ac_exeext
60151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60152   (eval $ac_link) 2>conftest.er1
60153   ac_status=$?
60154   grep -v '^ *+' conftest.er1 >conftest.err
60155   rm -f conftest.er1
60156   cat conftest.err >&5
60157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60158   (exit $ac_status); } &&
60159          { ac_try='test -z "$ac_c_werror_flag"
60160                          || test ! -s conftest.err'
60161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60162   (eval $ac_try) 2>&5
60163   ac_status=$?
60164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60165   (exit $ac_status); }; } &&
60166          { ac_try='test -s conftest$ac_exeext'
60167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60168   (eval $ac_try) 2>&5
60169   ac_status=$?
60170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60171   (exit $ac_status); }; }; then
60172   eval "$as_ac_var=yes"
60173 else
60174   echo "$as_me: failed program was:" >&5
60175 sed 's/^/| /' conftest.$ac_ext >&5
60176
60177 eval "$as_ac_var=no"
60178 fi
60179 rm -f conftest.err conftest.$ac_objext \
60180       conftest$ac_exeext conftest.$ac_ext
60181 fi
60182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60183 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60184 if test `eval echo '${'$as_ac_var'}'` = yes; then
60185   cat >>confdefs.h <<_ACEOF
60186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60187 _ACEOF
60188
60189 fi
60190 done
60191
60192     fi
60193   fi
60194
60195
60196
60197
60198
60199
60200   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
60201 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
60202   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60203     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
60204   echo $ECHO_N "(cached) $ECHO_C" >&6
60205 else
60206
60207
60208
60209       ac_ext=cc
60210 ac_cpp='$CXXCPP $CPPFLAGS'
60211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60214
60215       cat >conftest.$ac_ext <<_ACEOF
60216 /* confdefs.h.  */
60217 _ACEOF
60218 cat confdefs.h >>conftest.$ac_ext
60219 cat >>conftest.$ac_ext <<_ACEOF
60220 /* end confdefs.h.  */
60221 #include <math.h>
60222 int
60223 main ()
60224 {
60225  frexpf(0, 0);
60226   ;
60227   return 0;
60228 }
60229 _ACEOF
60230 rm -f conftest.$ac_objext
60231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60232   (eval $ac_compile) 2>conftest.er1
60233   ac_status=$?
60234   grep -v '^ *+' conftest.er1 >conftest.err
60235   rm -f conftest.er1
60236   cat conftest.err >&5
60237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60238   (exit $ac_status); } &&
60239          { ac_try='test -z "$ac_cxx_werror_flag"
60240                          || test ! -s conftest.err'
60241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60242   (eval $ac_try) 2>&5
60243   ac_status=$?
60244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60245   (exit $ac_status); }; } &&
60246          { ac_try='test -s conftest.$ac_objext'
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); }; }; then
60252   glibcxx_cv_func_frexpf_use=yes
60253 else
60254   echo "$as_me: failed program was:" >&5
60255 sed 's/^/| /' conftest.$ac_ext >&5
60256
60257 glibcxx_cv_func_frexpf_use=no
60258 fi
60259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60260       ac_ext=c
60261 ac_cpp='$CPP $CPPFLAGS'
60262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60265
60266
60267 fi
60268
60269   fi
60270   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
60271 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
60272
60273   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60274
60275 for ac_func in frexpf
60276 do
60277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60278 echo "$as_me:$LINENO: checking for $ac_func" >&5
60279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60280 if eval "test \"\${$as_ac_var+set}\" = set"; then
60281   echo $ECHO_N "(cached) $ECHO_C" >&6
60282 else
60283   if test x$gcc_no_link = xyes; then
60284   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60286    { (exit 1); exit 1; }; }
60287 fi
60288 cat >conftest.$ac_ext <<_ACEOF
60289 /* confdefs.h.  */
60290 _ACEOF
60291 cat confdefs.h >>conftest.$ac_ext
60292 cat >>conftest.$ac_ext <<_ACEOF
60293 /* end confdefs.h.  */
60294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60295    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60296 #define $ac_func innocuous_$ac_func
60297
60298 /* System header to define __stub macros and hopefully few prototypes,
60299     which can conflict with char $ac_func (); below.
60300     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60301     <limits.h> exists even on freestanding compilers.  */
60302
60303 #ifdef __STDC__
60304 # include <limits.h>
60305 #else
60306 # include <assert.h>
60307 #endif
60308
60309 #undef $ac_func
60310
60311 /* Override any gcc2 internal prototype to avoid an error.  */
60312 #ifdef __cplusplus
60313 extern "C"
60314 {
60315 #endif
60316 /* We use char because int might match the return type of a gcc2
60317    builtin and then its argument prototype would still apply.  */
60318 char $ac_func ();
60319 /* The GNU C library defines this for functions which it implements
60320     to always fail with ENOSYS.  Some functions are actually named
60321     something starting with __ and the normal name is an alias.  */
60322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60323 choke me
60324 #else
60325 char (*f) () = $ac_func;
60326 #endif
60327 #ifdef __cplusplus
60328 }
60329 #endif
60330
60331 int
60332 main ()
60333 {
60334 return f != $ac_func;
60335   ;
60336   return 0;
60337 }
60338 _ACEOF
60339 rm -f conftest.$ac_objext conftest$ac_exeext
60340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60341   (eval $ac_link) 2>conftest.er1
60342   ac_status=$?
60343   grep -v '^ *+' conftest.er1 >conftest.err
60344   rm -f conftest.er1
60345   cat conftest.err >&5
60346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60347   (exit $ac_status); } &&
60348          { ac_try='test -z "$ac_c_werror_flag"
60349                          || test ! -s conftest.err'
60350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60351   (eval $ac_try) 2>&5
60352   ac_status=$?
60353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60354   (exit $ac_status); }; } &&
60355          { ac_try='test -s conftest$ac_exeext'
60356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60357   (eval $ac_try) 2>&5
60358   ac_status=$?
60359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60360   (exit $ac_status); }; }; then
60361   eval "$as_ac_var=yes"
60362 else
60363   echo "$as_me: failed program was:" >&5
60364 sed 's/^/| /' conftest.$ac_ext >&5
60365
60366 eval "$as_ac_var=no"
60367 fi
60368 rm -f conftest.err conftest.$ac_objext \
60369       conftest$ac_exeext conftest.$ac_ext
60370 fi
60371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60373 if test `eval echo '${'$as_ac_var'}'` = yes; then
60374   cat >>confdefs.h <<_ACEOF
60375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60376 _ACEOF
60377
60378 fi
60379 done
60380
60381   else
60382
60383   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
60384 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
60385   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60386     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
60387   echo $ECHO_N "(cached) $ECHO_C" >&6
60388 else
60389
60390
60391
60392       ac_ext=cc
60393 ac_cpp='$CXXCPP $CPPFLAGS'
60394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60397
60398       cat >conftest.$ac_ext <<_ACEOF
60399 /* confdefs.h.  */
60400 _ACEOF
60401 cat confdefs.h >>conftest.$ac_ext
60402 cat >>conftest.$ac_ext <<_ACEOF
60403 /* end confdefs.h.  */
60404 #include <math.h>
60405 int
60406 main ()
60407 {
60408  _frexpf(0, 0);
60409   ;
60410   return 0;
60411 }
60412 _ACEOF
60413 rm -f conftest.$ac_objext
60414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60415   (eval $ac_compile) 2>conftest.er1
60416   ac_status=$?
60417   grep -v '^ *+' conftest.er1 >conftest.err
60418   rm -f conftest.er1
60419   cat conftest.err >&5
60420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60421   (exit $ac_status); } &&
60422          { ac_try='test -z "$ac_cxx_werror_flag"
60423                          || test ! -s conftest.err'
60424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60425   (eval $ac_try) 2>&5
60426   ac_status=$?
60427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60428   (exit $ac_status); }; } &&
60429          { ac_try='test -s conftest.$ac_objext'
60430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60431   (eval $ac_try) 2>&5
60432   ac_status=$?
60433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60434   (exit $ac_status); }; }; then
60435   glibcxx_cv_func__frexpf_use=yes
60436 else
60437   echo "$as_me: failed program was:" >&5
60438 sed 's/^/| /' conftest.$ac_ext >&5
60439
60440 glibcxx_cv_func__frexpf_use=no
60441 fi
60442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60443       ac_ext=c
60444 ac_cpp='$CPP $CPPFLAGS'
60445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60448
60449
60450 fi
60451
60452   fi
60453   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
60454 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
60455
60456     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
60457
60458 for ac_func in _frexpf
60459 do
60460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60461 echo "$as_me:$LINENO: checking for $ac_func" >&5
60462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60463 if eval "test \"\${$as_ac_var+set}\" = set"; then
60464   echo $ECHO_N "(cached) $ECHO_C" >&6
60465 else
60466   if test x$gcc_no_link = xyes; then
60467   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60469    { (exit 1); exit 1; }; }
60470 fi
60471 cat >conftest.$ac_ext <<_ACEOF
60472 /* confdefs.h.  */
60473 _ACEOF
60474 cat confdefs.h >>conftest.$ac_ext
60475 cat >>conftest.$ac_ext <<_ACEOF
60476 /* end confdefs.h.  */
60477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60478    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60479 #define $ac_func innocuous_$ac_func
60480
60481 /* System header to define __stub macros and hopefully few prototypes,
60482     which can conflict with char $ac_func (); below.
60483     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60484     <limits.h> exists even on freestanding compilers.  */
60485
60486 #ifdef __STDC__
60487 # include <limits.h>
60488 #else
60489 # include <assert.h>
60490 #endif
60491
60492 #undef $ac_func
60493
60494 /* Override any gcc2 internal prototype to avoid an error.  */
60495 #ifdef __cplusplus
60496 extern "C"
60497 {
60498 #endif
60499 /* We use char because int might match the return type of a gcc2
60500    builtin and then its argument prototype would still apply.  */
60501 char $ac_func ();
60502 /* The GNU C library defines this for functions which it implements
60503     to always fail with ENOSYS.  Some functions are actually named
60504     something starting with __ and the normal name is an alias.  */
60505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60506 choke me
60507 #else
60508 char (*f) () = $ac_func;
60509 #endif
60510 #ifdef __cplusplus
60511 }
60512 #endif
60513
60514 int
60515 main ()
60516 {
60517 return f != $ac_func;
60518   ;
60519   return 0;
60520 }
60521 _ACEOF
60522 rm -f conftest.$ac_objext conftest$ac_exeext
60523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60524   (eval $ac_link) 2>conftest.er1
60525   ac_status=$?
60526   grep -v '^ *+' conftest.er1 >conftest.err
60527   rm -f conftest.er1
60528   cat conftest.err >&5
60529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60530   (exit $ac_status); } &&
60531          { ac_try='test -z "$ac_c_werror_flag"
60532                          || test ! -s conftest.err'
60533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60534   (eval $ac_try) 2>&5
60535   ac_status=$?
60536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60537   (exit $ac_status); }; } &&
60538          { ac_try='test -s conftest$ac_exeext'
60539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60540   (eval $ac_try) 2>&5
60541   ac_status=$?
60542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60543   (exit $ac_status); }; }; then
60544   eval "$as_ac_var=yes"
60545 else
60546   echo "$as_me: failed program was:" >&5
60547 sed 's/^/| /' conftest.$ac_ext >&5
60548
60549 eval "$as_ac_var=no"
60550 fi
60551 rm -f conftest.err conftest.$ac_objext \
60552       conftest$ac_exeext conftest.$ac_ext
60553 fi
60554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60556 if test `eval echo '${'$as_ac_var'}'` = yes; then
60557   cat >>confdefs.h <<_ACEOF
60558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60559 _ACEOF
60560
60561 fi
60562 done
60563
60564     fi
60565   fi
60566
60567
60568
60569
60570
60571
60572   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
60573 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
60574   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
60575     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
60576   echo $ECHO_N "(cached) $ECHO_C" >&6
60577 else
60578
60579
60580
60581       ac_ext=cc
60582 ac_cpp='$CXXCPP $CPPFLAGS'
60583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60586
60587       cat >conftest.$ac_ext <<_ACEOF
60588 /* confdefs.h.  */
60589 _ACEOF
60590 cat confdefs.h >>conftest.$ac_ext
60591 cat >>conftest.$ac_ext <<_ACEOF
60592 /* end confdefs.h.  */
60593 #include <math.h>
60594 int
60595 main ()
60596 {
60597  hypotf(0, 0);
60598   ;
60599   return 0;
60600 }
60601 _ACEOF
60602 rm -f conftest.$ac_objext
60603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60604   (eval $ac_compile) 2>conftest.er1
60605   ac_status=$?
60606   grep -v '^ *+' conftest.er1 >conftest.err
60607   rm -f conftest.er1
60608   cat conftest.err >&5
60609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60610   (exit $ac_status); } &&
60611          { ac_try='test -z "$ac_cxx_werror_flag"
60612                          || test ! -s conftest.err'
60613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60614   (eval $ac_try) 2>&5
60615   ac_status=$?
60616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60617   (exit $ac_status); }; } &&
60618          { ac_try='test -s conftest.$ac_objext'
60619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60620   (eval $ac_try) 2>&5
60621   ac_status=$?
60622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60623   (exit $ac_status); }; }; then
60624   glibcxx_cv_func_hypotf_use=yes
60625 else
60626   echo "$as_me: failed program was:" >&5
60627 sed 's/^/| /' conftest.$ac_ext >&5
60628
60629 glibcxx_cv_func_hypotf_use=no
60630 fi
60631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60632       ac_ext=c
60633 ac_cpp='$CPP $CPPFLAGS'
60634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60637
60638
60639 fi
60640
60641   fi
60642   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
60643 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
60644
60645   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
60646
60647 for ac_func in hypotf
60648 do
60649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60650 echo "$as_me:$LINENO: checking for $ac_func" >&5
60651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60652 if eval "test \"\${$as_ac_var+set}\" = set"; then
60653   echo $ECHO_N "(cached) $ECHO_C" >&6
60654 else
60655   if test x$gcc_no_link = xyes; then
60656   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60658    { (exit 1); exit 1; }; }
60659 fi
60660 cat >conftest.$ac_ext <<_ACEOF
60661 /* confdefs.h.  */
60662 _ACEOF
60663 cat confdefs.h >>conftest.$ac_ext
60664 cat >>conftest.$ac_ext <<_ACEOF
60665 /* end confdefs.h.  */
60666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60667    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60668 #define $ac_func innocuous_$ac_func
60669
60670 /* System header to define __stub macros and hopefully few prototypes,
60671     which can conflict with char $ac_func (); below.
60672     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60673     <limits.h> exists even on freestanding compilers.  */
60674
60675 #ifdef __STDC__
60676 # include <limits.h>
60677 #else
60678 # include <assert.h>
60679 #endif
60680
60681 #undef $ac_func
60682
60683 /* Override any gcc2 internal prototype to avoid an error.  */
60684 #ifdef __cplusplus
60685 extern "C"
60686 {
60687 #endif
60688 /* We use char because int might match the return type of a gcc2
60689    builtin and then its argument prototype would still apply.  */
60690 char $ac_func ();
60691 /* The GNU C library defines this for functions which it implements
60692     to always fail with ENOSYS.  Some functions are actually named
60693     something starting with __ and the normal name is an alias.  */
60694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60695 choke me
60696 #else
60697 char (*f) () = $ac_func;
60698 #endif
60699 #ifdef __cplusplus
60700 }
60701 #endif
60702
60703 int
60704 main ()
60705 {
60706 return f != $ac_func;
60707   ;
60708   return 0;
60709 }
60710 _ACEOF
60711 rm -f conftest.$ac_objext conftest$ac_exeext
60712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60713   (eval $ac_link) 2>conftest.er1
60714   ac_status=$?
60715   grep -v '^ *+' conftest.er1 >conftest.err
60716   rm -f conftest.er1
60717   cat conftest.err >&5
60718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60719   (exit $ac_status); } &&
60720          { ac_try='test -z "$ac_c_werror_flag"
60721                          || test ! -s conftest.err'
60722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60723   (eval $ac_try) 2>&5
60724   ac_status=$?
60725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60726   (exit $ac_status); }; } &&
60727          { ac_try='test -s conftest$ac_exeext'
60728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60729   (eval $ac_try) 2>&5
60730   ac_status=$?
60731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60732   (exit $ac_status); }; }; then
60733   eval "$as_ac_var=yes"
60734 else
60735   echo "$as_me: failed program was:" >&5
60736 sed 's/^/| /' conftest.$ac_ext >&5
60737
60738 eval "$as_ac_var=no"
60739 fi
60740 rm -f conftest.err conftest.$ac_objext \
60741       conftest$ac_exeext conftest.$ac_ext
60742 fi
60743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60745 if test `eval echo '${'$as_ac_var'}'` = yes; then
60746   cat >>confdefs.h <<_ACEOF
60747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60748 _ACEOF
60749
60750 fi
60751 done
60752
60753   else
60754
60755   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
60756 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
60757   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
60758     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
60759   echo $ECHO_N "(cached) $ECHO_C" >&6
60760 else
60761
60762
60763
60764       ac_ext=cc
60765 ac_cpp='$CXXCPP $CPPFLAGS'
60766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60769
60770       cat >conftest.$ac_ext <<_ACEOF
60771 /* confdefs.h.  */
60772 _ACEOF
60773 cat confdefs.h >>conftest.$ac_ext
60774 cat >>conftest.$ac_ext <<_ACEOF
60775 /* end confdefs.h.  */
60776 #include <math.h>
60777 int
60778 main ()
60779 {
60780  _hypotf(0, 0);
60781   ;
60782   return 0;
60783 }
60784 _ACEOF
60785 rm -f conftest.$ac_objext
60786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60787   (eval $ac_compile) 2>conftest.er1
60788   ac_status=$?
60789   grep -v '^ *+' conftest.er1 >conftest.err
60790   rm -f conftest.er1
60791   cat conftest.err >&5
60792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60793   (exit $ac_status); } &&
60794          { ac_try='test -z "$ac_cxx_werror_flag"
60795                          || test ! -s conftest.err'
60796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60797   (eval $ac_try) 2>&5
60798   ac_status=$?
60799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60800   (exit $ac_status); }; } &&
60801          { ac_try='test -s conftest.$ac_objext'
60802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60803   (eval $ac_try) 2>&5
60804   ac_status=$?
60805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60806   (exit $ac_status); }; }; then
60807   glibcxx_cv_func__hypotf_use=yes
60808 else
60809   echo "$as_me: failed program was:" >&5
60810 sed 's/^/| /' conftest.$ac_ext >&5
60811
60812 glibcxx_cv_func__hypotf_use=no
60813 fi
60814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60815       ac_ext=c
60816 ac_cpp='$CPP $CPPFLAGS'
60817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60820
60821
60822 fi
60823
60824   fi
60825   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
60826 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
60827
60828     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
60829
60830 for ac_func in _hypotf
60831 do
60832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60833 echo "$as_me:$LINENO: checking for $ac_func" >&5
60834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60835 if eval "test \"\${$as_ac_var+set}\" = set"; then
60836   echo $ECHO_N "(cached) $ECHO_C" >&6
60837 else
60838   if test x$gcc_no_link = xyes; then
60839   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60841    { (exit 1); exit 1; }; }
60842 fi
60843 cat >conftest.$ac_ext <<_ACEOF
60844 /* confdefs.h.  */
60845 _ACEOF
60846 cat confdefs.h >>conftest.$ac_ext
60847 cat >>conftest.$ac_ext <<_ACEOF
60848 /* end confdefs.h.  */
60849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60850    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60851 #define $ac_func innocuous_$ac_func
60852
60853 /* System header to define __stub macros and hopefully few prototypes,
60854     which can conflict with char $ac_func (); below.
60855     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60856     <limits.h> exists even on freestanding compilers.  */
60857
60858 #ifdef __STDC__
60859 # include <limits.h>
60860 #else
60861 # include <assert.h>
60862 #endif
60863
60864 #undef $ac_func
60865
60866 /* Override any gcc2 internal prototype to avoid an error.  */
60867 #ifdef __cplusplus
60868 extern "C"
60869 {
60870 #endif
60871 /* We use char because int might match the return type of a gcc2
60872    builtin and then its argument prototype would still apply.  */
60873 char $ac_func ();
60874 /* The GNU C library defines this for functions which it implements
60875     to always fail with ENOSYS.  Some functions are actually named
60876     something starting with __ and the normal name is an alias.  */
60877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60878 choke me
60879 #else
60880 char (*f) () = $ac_func;
60881 #endif
60882 #ifdef __cplusplus
60883 }
60884 #endif
60885
60886 int
60887 main ()
60888 {
60889 return f != $ac_func;
60890   ;
60891   return 0;
60892 }
60893 _ACEOF
60894 rm -f conftest.$ac_objext conftest$ac_exeext
60895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60896   (eval $ac_link) 2>conftest.er1
60897   ac_status=$?
60898   grep -v '^ *+' conftest.er1 >conftest.err
60899   rm -f conftest.er1
60900   cat conftest.err >&5
60901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60902   (exit $ac_status); } &&
60903          { ac_try='test -z "$ac_c_werror_flag"
60904                          || test ! -s conftest.err'
60905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60906   (eval $ac_try) 2>&5
60907   ac_status=$?
60908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60909   (exit $ac_status); }; } &&
60910          { ac_try='test -s conftest$ac_exeext'
60911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60912   (eval $ac_try) 2>&5
60913   ac_status=$?
60914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60915   (exit $ac_status); }; }; then
60916   eval "$as_ac_var=yes"
60917 else
60918   echo "$as_me: failed program was:" >&5
60919 sed 's/^/| /' conftest.$ac_ext >&5
60920
60921 eval "$as_ac_var=no"
60922 fi
60923 rm -f conftest.err conftest.$ac_objext \
60924       conftest$ac_exeext conftest.$ac_ext
60925 fi
60926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60928 if test `eval echo '${'$as_ac_var'}'` = yes; then
60929   cat >>confdefs.h <<_ACEOF
60930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60931 _ACEOF
60932
60933 fi
60934 done
60935
60936     fi
60937   fi
60938
60939
60940
60941
60942
60943
60944   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
60945 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
60946   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60947     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
60948   echo $ECHO_N "(cached) $ECHO_C" >&6
60949 else
60950
60951
60952
60953       ac_ext=cc
60954 ac_cpp='$CXXCPP $CPPFLAGS'
60955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60958
60959       cat >conftest.$ac_ext <<_ACEOF
60960 /* confdefs.h.  */
60961 _ACEOF
60962 cat confdefs.h >>conftest.$ac_ext
60963 cat >>conftest.$ac_ext <<_ACEOF
60964 /* end confdefs.h.  */
60965 #include <math.h>
60966 int
60967 main ()
60968 {
60969  ldexpf(0, 0);
60970   ;
60971   return 0;
60972 }
60973 _ACEOF
60974 rm -f conftest.$ac_objext
60975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60976   (eval $ac_compile) 2>conftest.er1
60977   ac_status=$?
60978   grep -v '^ *+' conftest.er1 >conftest.err
60979   rm -f conftest.er1
60980   cat conftest.err >&5
60981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60982   (exit $ac_status); } &&
60983          { ac_try='test -z "$ac_cxx_werror_flag"
60984                          || test ! -s conftest.err'
60985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60986   (eval $ac_try) 2>&5
60987   ac_status=$?
60988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60989   (exit $ac_status); }; } &&
60990          { ac_try='test -s conftest.$ac_objext'
60991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60992   (eval $ac_try) 2>&5
60993   ac_status=$?
60994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60995   (exit $ac_status); }; }; then
60996   glibcxx_cv_func_ldexpf_use=yes
60997 else
60998   echo "$as_me: failed program was:" >&5
60999 sed 's/^/| /' conftest.$ac_ext >&5
61000
61001 glibcxx_cv_func_ldexpf_use=no
61002 fi
61003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61004       ac_ext=c
61005 ac_cpp='$CPP $CPPFLAGS'
61006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61009
61010
61011 fi
61012
61013   fi
61014   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
61015 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
61016
61017   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61018
61019 for ac_func in ldexpf
61020 do
61021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61022 echo "$as_me:$LINENO: checking for $ac_func" >&5
61023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61024 if eval "test \"\${$as_ac_var+set}\" = set"; then
61025   echo $ECHO_N "(cached) $ECHO_C" >&6
61026 else
61027   if test x$gcc_no_link = xyes; then
61028   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61030    { (exit 1); exit 1; }; }
61031 fi
61032 cat >conftest.$ac_ext <<_ACEOF
61033 /* confdefs.h.  */
61034 _ACEOF
61035 cat confdefs.h >>conftest.$ac_ext
61036 cat >>conftest.$ac_ext <<_ACEOF
61037 /* end confdefs.h.  */
61038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61039    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61040 #define $ac_func innocuous_$ac_func
61041
61042 /* System header to define __stub macros and hopefully few prototypes,
61043     which can conflict with char $ac_func (); below.
61044     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61045     <limits.h> exists even on freestanding compilers.  */
61046
61047 #ifdef __STDC__
61048 # include <limits.h>
61049 #else
61050 # include <assert.h>
61051 #endif
61052
61053 #undef $ac_func
61054
61055 /* Override any gcc2 internal prototype to avoid an error.  */
61056 #ifdef __cplusplus
61057 extern "C"
61058 {
61059 #endif
61060 /* We use char because int might match the return type of a gcc2
61061    builtin and then its argument prototype would still apply.  */
61062 char $ac_func ();
61063 /* The GNU C library defines this for functions which it implements
61064     to always fail with ENOSYS.  Some functions are actually named
61065     something starting with __ and the normal name is an alias.  */
61066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61067 choke me
61068 #else
61069 char (*f) () = $ac_func;
61070 #endif
61071 #ifdef __cplusplus
61072 }
61073 #endif
61074
61075 int
61076 main ()
61077 {
61078 return f != $ac_func;
61079   ;
61080   return 0;
61081 }
61082 _ACEOF
61083 rm -f conftest.$ac_objext conftest$ac_exeext
61084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61085   (eval $ac_link) 2>conftest.er1
61086   ac_status=$?
61087   grep -v '^ *+' conftest.er1 >conftest.err
61088   rm -f conftest.er1
61089   cat conftest.err >&5
61090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61091   (exit $ac_status); } &&
61092          { ac_try='test -z "$ac_c_werror_flag"
61093                          || test ! -s conftest.err'
61094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61095   (eval $ac_try) 2>&5
61096   ac_status=$?
61097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61098   (exit $ac_status); }; } &&
61099          { ac_try='test -s conftest$ac_exeext'
61100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61101   (eval $ac_try) 2>&5
61102   ac_status=$?
61103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61104   (exit $ac_status); }; }; then
61105   eval "$as_ac_var=yes"
61106 else
61107   echo "$as_me: failed program was:" >&5
61108 sed 's/^/| /' conftest.$ac_ext >&5
61109
61110 eval "$as_ac_var=no"
61111 fi
61112 rm -f conftest.err conftest.$ac_objext \
61113       conftest$ac_exeext conftest.$ac_ext
61114 fi
61115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61117 if test `eval echo '${'$as_ac_var'}'` = yes; then
61118   cat >>confdefs.h <<_ACEOF
61119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61120 _ACEOF
61121
61122 fi
61123 done
61124
61125   else
61126
61127   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
61128 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
61129   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61130     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
61131   echo $ECHO_N "(cached) $ECHO_C" >&6
61132 else
61133
61134
61135
61136       ac_ext=cc
61137 ac_cpp='$CXXCPP $CPPFLAGS'
61138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61141
61142       cat >conftest.$ac_ext <<_ACEOF
61143 /* confdefs.h.  */
61144 _ACEOF
61145 cat confdefs.h >>conftest.$ac_ext
61146 cat >>conftest.$ac_ext <<_ACEOF
61147 /* end confdefs.h.  */
61148 #include <math.h>
61149 int
61150 main ()
61151 {
61152  _ldexpf(0, 0);
61153   ;
61154   return 0;
61155 }
61156 _ACEOF
61157 rm -f conftest.$ac_objext
61158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61159   (eval $ac_compile) 2>conftest.er1
61160   ac_status=$?
61161   grep -v '^ *+' conftest.er1 >conftest.err
61162   rm -f conftest.er1
61163   cat conftest.err >&5
61164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61165   (exit $ac_status); } &&
61166          { ac_try='test -z "$ac_cxx_werror_flag"
61167                          || test ! -s conftest.err'
61168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61169   (eval $ac_try) 2>&5
61170   ac_status=$?
61171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61172   (exit $ac_status); }; } &&
61173          { ac_try='test -s conftest.$ac_objext'
61174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61175   (eval $ac_try) 2>&5
61176   ac_status=$?
61177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61178   (exit $ac_status); }; }; then
61179   glibcxx_cv_func__ldexpf_use=yes
61180 else
61181   echo "$as_me: failed program was:" >&5
61182 sed 's/^/| /' conftest.$ac_ext >&5
61183
61184 glibcxx_cv_func__ldexpf_use=no
61185 fi
61186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61187       ac_ext=c
61188 ac_cpp='$CPP $CPPFLAGS'
61189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61192
61193
61194 fi
61195
61196   fi
61197   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
61198 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
61199
61200     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61201
61202 for ac_func in _ldexpf
61203 do
61204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61205 echo "$as_me:$LINENO: checking for $ac_func" >&5
61206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61207 if eval "test \"\${$as_ac_var+set}\" = set"; then
61208   echo $ECHO_N "(cached) $ECHO_C" >&6
61209 else
61210   if test x$gcc_no_link = xyes; then
61211   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61213    { (exit 1); exit 1; }; }
61214 fi
61215 cat >conftest.$ac_ext <<_ACEOF
61216 /* confdefs.h.  */
61217 _ACEOF
61218 cat confdefs.h >>conftest.$ac_ext
61219 cat >>conftest.$ac_ext <<_ACEOF
61220 /* end confdefs.h.  */
61221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61222    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61223 #define $ac_func innocuous_$ac_func
61224
61225 /* System header to define __stub macros and hopefully few prototypes,
61226     which can conflict with char $ac_func (); below.
61227     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61228     <limits.h> exists even on freestanding compilers.  */
61229
61230 #ifdef __STDC__
61231 # include <limits.h>
61232 #else
61233 # include <assert.h>
61234 #endif
61235
61236 #undef $ac_func
61237
61238 /* Override any gcc2 internal prototype to avoid an error.  */
61239 #ifdef __cplusplus
61240 extern "C"
61241 {
61242 #endif
61243 /* We use char because int might match the return type of a gcc2
61244    builtin and then its argument prototype would still apply.  */
61245 char $ac_func ();
61246 /* The GNU C library defines this for functions which it implements
61247     to always fail with ENOSYS.  Some functions are actually named
61248     something starting with __ and the normal name is an alias.  */
61249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61250 choke me
61251 #else
61252 char (*f) () = $ac_func;
61253 #endif
61254 #ifdef __cplusplus
61255 }
61256 #endif
61257
61258 int
61259 main ()
61260 {
61261 return f != $ac_func;
61262   ;
61263   return 0;
61264 }
61265 _ACEOF
61266 rm -f conftest.$ac_objext conftest$ac_exeext
61267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61268   (eval $ac_link) 2>conftest.er1
61269   ac_status=$?
61270   grep -v '^ *+' conftest.er1 >conftest.err
61271   rm -f conftest.er1
61272   cat conftest.err >&5
61273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61274   (exit $ac_status); } &&
61275          { ac_try='test -z "$ac_c_werror_flag"
61276                          || test ! -s conftest.err'
61277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61278   (eval $ac_try) 2>&5
61279   ac_status=$?
61280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61281   (exit $ac_status); }; } &&
61282          { ac_try='test -s conftest$ac_exeext'
61283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61284   (eval $ac_try) 2>&5
61285   ac_status=$?
61286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61287   (exit $ac_status); }; }; then
61288   eval "$as_ac_var=yes"
61289 else
61290   echo "$as_me: failed program was:" >&5
61291 sed 's/^/| /' conftest.$ac_ext >&5
61292
61293 eval "$as_ac_var=no"
61294 fi
61295 rm -f conftest.err conftest.$ac_objext \
61296       conftest$ac_exeext conftest.$ac_ext
61297 fi
61298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61299 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61300 if test `eval echo '${'$as_ac_var'}'` = yes; then
61301   cat >>confdefs.h <<_ACEOF
61302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61303 _ACEOF
61304
61305 fi
61306 done
61307
61308     fi
61309   fi
61310
61311
61312
61313
61314
61315
61316   echo "$as_me:$LINENO: checking for logf declaration" >&5
61317 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
61318   if test x${glibcxx_cv_func_logf_use+set} != xset; then
61319     if test "${glibcxx_cv_func_logf_use+set}" = set; then
61320   echo $ECHO_N "(cached) $ECHO_C" >&6
61321 else
61322
61323
61324
61325       ac_ext=cc
61326 ac_cpp='$CXXCPP $CPPFLAGS'
61327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61330
61331       cat >conftest.$ac_ext <<_ACEOF
61332 /* confdefs.h.  */
61333 _ACEOF
61334 cat confdefs.h >>conftest.$ac_ext
61335 cat >>conftest.$ac_ext <<_ACEOF
61336 /* end confdefs.h.  */
61337 #include <math.h>
61338                       #ifdef HAVE_IEEEFP_H
61339                       #include <ieeefp.h>
61340                       #endif
61341
61342 int
61343 main ()
61344 {
61345  logf(0);
61346   ;
61347   return 0;
61348 }
61349 _ACEOF
61350 rm -f conftest.$ac_objext
61351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61352   (eval $ac_compile) 2>conftest.er1
61353   ac_status=$?
61354   grep -v '^ *+' conftest.er1 >conftest.err
61355   rm -f conftest.er1
61356   cat conftest.err >&5
61357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61358   (exit $ac_status); } &&
61359          { ac_try='test -z "$ac_cxx_werror_flag"
61360                          || test ! -s conftest.err'
61361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61362   (eval $ac_try) 2>&5
61363   ac_status=$?
61364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61365   (exit $ac_status); }; } &&
61366          { ac_try='test -s conftest.$ac_objext'
61367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61368   (eval $ac_try) 2>&5
61369   ac_status=$?
61370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61371   (exit $ac_status); }; }; then
61372   glibcxx_cv_func_logf_use=yes
61373 else
61374   echo "$as_me: failed program was:" >&5
61375 sed 's/^/| /' conftest.$ac_ext >&5
61376
61377 glibcxx_cv_func_logf_use=no
61378 fi
61379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61380       ac_ext=c
61381 ac_cpp='$CPP $CPPFLAGS'
61382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61385
61386
61387 fi
61388
61389   fi
61390   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
61391 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
61392
61393   if test x$glibcxx_cv_func_logf_use = x"yes"; then
61394
61395 for ac_func in logf
61396 do
61397 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61398 echo "$as_me:$LINENO: checking for $ac_func" >&5
61399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61400 if eval "test \"\${$as_ac_var+set}\" = set"; then
61401   echo $ECHO_N "(cached) $ECHO_C" >&6
61402 else
61403   if test x$gcc_no_link = xyes; then
61404   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61405 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61406    { (exit 1); exit 1; }; }
61407 fi
61408 cat >conftest.$ac_ext <<_ACEOF
61409 /* confdefs.h.  */
61410 _ACEOF
61411 cat confdefs.h >>conftest.$ac_ext
61412 cat >>conftest.$ac_ext <<_ACEOF
61413 /* end confdefs.h.  */
61414 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61415    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61416 #define $ac_func innocuous_$ac_func
61417
61418 /* System header to define __stub macros and hopefully few prototypes,
61419     which can conflict with char $ac_func (); below.
61420     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61421     <limits.h> exists even on freestanding compilers.  */
61422
61423 #ifdef __STDC__
61424 # include <limits.h>
61425 #else
61426 # include <assert.h>
61427 #endif
61428
61429 #undef $ac_func
61430
61431 /* Override any gcc2 internal prototype to avoid an error.  */
61432 #ifdef __cplusplus
61433 extern "C"
61434 {
61435 #endif
61436 /* We use char because int might match the return type of a gcc2
61437    builtin and then its argument prototype would still apply.  */
61438 char $ac_func ();
61439 /* The GNU C library defines this for functions which it implements
61440     to always fail with ENOSYS.  Some functions are actually named
61441     something starting with __ and the normal name is an alias.  */
61442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61443 choke me
61444 #else
61445 char (*f) () = $ac_func;
61446 #endif
61447 #ifdef __cplusplus
61448 }
61449 #endif
61450
61451 int
61452 main ()
61453 {
61454 return f != $ac_func;
61455   ;
61456   return 0;
61457 }
61458 _ACEOF
61459 rm -f conftest.$ac_objext conftest$ac_exeext
61460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61461   (eval $ac_link) 2>conftest.er1
61462   ac_status=$?
61463   grep -v '^ *+' conftest.er1 >conftest.err
61464   rm -f conftest.er1
61465   cat conftest.err >&5
61466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61467   (exit $ac_status); } &&
61468          { ac_try='test -z "$ac_c_werror_flag"
61469                          || test ! -s conftest.err'
61470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61471   (eval $ac_try) 2>&5
61472   ac_status=$?
61473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61474   (exit $ac_status); }; } &&
61475          { ac_try='test -s conftest$ac_exeext'
61476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61477   (eval $ac_try) 2>&5
61478   ac_status=$?
61479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61480   (exit $ac_status); }; }; then
61481   eval "$as_ac_var=yes"
61482 else
61483   echo "$as_me: failed program was:" >&5
61484 sed 's/^/| /' conftest.$ac_ext >&5
61485
61486 eval "$as_ac_var=no"
61487 fi
61488 rm -f conftest.err conftest.$ac_objext \
61489       conftest$ac_exeext conftest.$ac_ext
61490 fi
61491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61493 if test `eval echo '${'$as_ac_var'}'` = yes; then
61494   cat >>confdefs.h <<_ACEOF
61495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61496 _ACEOF
61497
61498 fi
61499 done
61500
61501   else
61502
61503   echo "$as_me:$LINENO: checking for _logf declaration" >&5
61504 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
61505   if test x${glibcxx_cv_func__logf_use+set} != xset; then
61506     if test "${glibcxx_cv_func__logf_use+set}" = set; then
61507   echo $ECHO_N "(cached) $ECHO_C" >&6
61508 else
61509
61510
61511
61512       ac_ext=cc
61513 ac_cpp='$CXXCPP $CPPFLAGS'
61514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61517
61518       cat >conftest.$ac_ext <<_ACEOF
61519 /* confdefs.h.  */
61520 _ACEOF
61521 cat confdefs.h >>conftest.$ac_ext
61522 cat >>conftest.$ac_ext <<_ACEOF
61523 /* end confdefs.h.  */
61524 #include <math.h>
61525                       #ifdef HAVE_IEEEFP_H
61526                       #include <ieeefp.h>
61527                       #endif
61528
61529 int
61530 main ()
61531 {
61532  _logf(0);
61533   ;
61534   return 0;
61535 }
61536 _ACEOF
61537 rm -f conftest.$ac_objext
61538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61539   (eval $ac_compile) 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_cxx_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_objext'
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   glibcxx_cv_func__logf_use=yes
61560 else
61561   echo "$as_me: failed program was:" >&5
61562 sed 's/^/| /' conftest.$ac_ext >&5
61563
61564 glibcxx_cv_func__logf_use=no
61565 fi
61566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61567       ac_ext=c
61568 ac_cpp='$CPP $CPPFLAGS'
61569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61572
61573
61574 fi
61575
61576   fi
61577   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
61578 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
61579
61580     if test x$glibcxx_cv_func__logf_use = x"yes"; then
61581
61582 for ac_func in _logf
61583 do
61584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61585 echo "$as_me:$LINENO: checking for $ac_func" >&5
61586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61587 if eval "test \"\${$as_ac_var+set}\" = set"; then
61588   echo $ECHO_N "(cached) $ECHO_C" >&6
61589 else
61590   if test x$gcc_no_link = xyes; then
61591   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61593    { (exit 1); exit 1; }; }
61594 fi
61595 cat >conftest.$ac_ext <<_ACEOF
61596 /* confdefs.h.  */
61597 _ACEOF
61598 cat confdefs.h >>conftest.$ac_ext
61599 cat >>conftest.$ac_ext <<_ACEOF
61600 /* end confdefs.h.  */
61601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61602    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61603 #define $ac_func innocuous_$ac_func
61604
61605 /* System header to define __stub macros and hopefully few prototypes,
61606     which can conflict with char $ac_func (); below.
61607     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61608     <limits.h> exists even on freestanding compilers.  */
61609
61610 #ifdef __STDC__
61611 # include <limits.h>
61612 #else
61613 # include <assert.h>
61614 #endif
61615
61616 #undef $ac_func
61617
61618 /* Override any gcc2 internal prototype to avoid an error.  */
61619 #ifdef __cplusplus
61620 extern "C"
61621 {
61622 #endif
61623 /* We use char because int might match the return type of a gcc2
61624    builtin and then its argument prototype would still apply.  */
61625 char $ac_func ();
61626 /* The GNU C library defines this for functions which it implements
61627     to always fail with ENOSYS.  Some functions are actually named
61628     something starting with __ and the normal name is an alias.  */
61629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61630 choke me
61631 #else
61632 char (*f) () = $ac_func;
61633 #endif
61634 #ifdef __cplusplus
61635 }
61636 #endif
61637
61638 int
61639 main ()
61640 {
61641 return f != $ac_func;
61642   ;
61643   return 0;
61644 }
61645 _ACEOF
61646 rm -f conftest.$ac_objext conftest$ac_exeext
61647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61648   (eval $ac_link) 2>conftest.er1
61649   ac_status=$?
61650   grep -v '^ *+' conftest.er1 >conftest.err
61651   rm -f conftest.er1
61652   cat conftest.err >&5
61653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61654   (exit $ac_status); } &&
61655          { ac_try='test -z "$ac_c_werror_flag"
61656                          || test ! -s conftest.err'
61657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61658   (eval $ac_try) 2>&5
61659   ac_status=$?
61660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61661   (exit $ac_status); }; } &&
61662          { ac_try='test -s conftest$ac_exeext'
61663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61664   (eval $ac_try) 2>&5
61665   ac_status=$?
61666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61667   (exit $ac_status); }; }; then
61668   eval "$as_ac_var=yes"
61669 else
61670   echo "$as_me: failed program was:" >&5
61671 sed 's/^/| /' conftest.$ac_ext >&5
61672
61673 eval "$as_ac_var=no"
61674 fi
61675 rm -f conftest.err conftest.$ac_objext \
61676       conftest$ac_exeext conftest.$ac_ext
61677 fi
61678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61680 if test `eval echo '${'$as_ac_var'}'` = yes; then
61681   cat >>confdefs.h <<_ACEOF
61682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61683 _ACEOF
61684
61685 fi
61686 done
61687
61688     fi
61689   fi
61690
61691
61692
61693
61694
61695
61696   echo "$as_me:$LINENO: checking for log10f declaration" >&5
61697 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
61698   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61699     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
61700   echo $ECHO_N "(cached) $ECHO_C" >&6
61701 else
61702
61703
61704
61705       ac_ext=cc
61706 ac_cpp='$CXXCPP $CPPFLAGS'
61707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61710
61711       cat >conftest.$ac_ext <<_ACEOF
61712 /* confdefs.h.  */
61713 _ACEOF
61714 cat confdefs.h >>conftest.$ac_ext
61715 cat >>conftest.$ac_ext <<_ACEOF
61716 /* end confdefs.h.  */
61717 #include <math.h>
61718                       #ifdef HAVE_IEEEFP_H
61719                       #include <ieeefp.h>
61720                       #endif
61721
61722 int
61723 main ()
61724 {
61725  log10f(0);
61726   ;
61727   return 0;
61728 }
61729 _ACEOF
61730 rm -f conftest.$ac_objext
61731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61732   (eval $ac_compile) 2>conftest.er1
61733   ac_status=$?
61734   grep -v '^ *+' conftest.er1 >conftest.err
61735   rm -f conftest.er1
61736   cat conftest.err >&5
61737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61738   (exit $ac_status); } &&
61739          { ac_try='test -z "$ac_cxx_werror_flag"
61740                          || test ! -s conftest.err'
61741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61742   (eval $ac_try) 2>&5
61743   ac_status=$?
61744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61745   (exit $ac_status); }; } &&
61746          { ac_try='test -s conftest.$ac_objext'
61747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61748   (eval $ac_try) 2>&5
61749   ac_status=$?
61750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61751   (exit $ac_status); }; }; then
61752   glibcxx_cv_func_log10f_use=yes
61753 else
61754   echo "$as_me: failed program was:" >&5
61755 sed 's/^/| /' conftest.$ac_ext >&5
61756
61757 glibcxx_cv_func_log10f_use=no
61758 fi
61759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61760       ac_ext=c
61761 ac_cpp='$CPP $CPPFLAGS'
61762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61765
61766
61767 fi
61768
61769   fi
61770   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
61771 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
61772
61773   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
61774
61775 for ac_func in log10f
61776 do
61777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61778 echo "$as_me:$LINENO: checking for $ac_func" >&5
61779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61780 if eval "test \"\${$as_ac_var+set}\" = set"; then
61781   echo $ECHO_N "(cached) $ECHO_C" >&6
61782 else
61783   if test x$gcc_no_link = xyes; then
61784   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61786    { (exit 1); exit 1; }; }
61787 fi
61788 cat >conftest.$ac_ext <<_ACEOF
61789 /* confdefs.h.  */
61790 _ACEOF
61791 cat confdefs.h >>conftest.$ac_ext
61792 cat >>conftest.$ac_ext <<_ACEOF
61793 /* end confdefs.h.  */
61794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61795    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61796 #define $ac_func innocuous_$ac_func
61797
61798 /* System header to define __stub macros and hopefully few prototypes,
61799     which can conflict with char $ac_func (); below.
61800     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61801     <limits.h> exists even on freestanding compilers.  */
61802
61803 #ifdef __STDC__
61804 # include <limits.h>
61805 #else
61806 # include <assert.h>
61807 #endif
61808
61809 #undef $ac_func
61810
61811 /* Override any gcc2 internal prototype to avoid an error.  */
61812 #ifdef __cplusplus
61813 extern "C"
61814 {
61815 #endif
61816 /* We use char because int might match the return type of a gcc2
61817    builtin and then its argument prototype would still apply.  */
61818 char $ac_func ();
61819 /* The GNU C library defines this for functions which it implements
61820     to always fail with ENOSYS.  Some functions are actually named
61821     something starting with __ and the normal name is an alias.  */
61822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61823 choke me
61824 #else
61825 char (*f) () = $ac_func;
61826 #endif
61827 #ifdef __cplusplus
61828 }
61829 #endif
61830
61831 int
61832 main ()
61833 {
61834 return f != $ac_func;
61835   ;
61836   return 0;
61837 }
61838 _ACEOF
61839 rm -f conftest.$ac_objext conftest$ac_exeext
61840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61841   (eval $ac_link) 2>conftest.er1
61842   ac_status=$?
61843   grep -v '^ *+' conftest.er1 >conftest.err
61844   rm -f conftest.er1
61845   cat conftest.err >&5
61846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61847   (exit $ac_status); } &&
61848          { ac_try='test -z "$ac_c_werror_flag"
61849                          || test ! -s conftest.err'
61850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61851   (eval $ac_try) 2>&5
61852   ac_status=$?
61853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61854   (exit $ac_status); }; } &&
61855          { ac_try='test -s conftest$ac_exeext'
61856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61857   (eval $ac_try) 2>&5
61858   ac_status=$?
61859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61860   (exit $ac_status); }; }; then
61861   eval "$as_ac_var=yes"
61862 else
61863   echo "$as_me: failed program was:" >&5
61864 sed 's/^/| /' conftest.$ac_ext >&5
61865
61866 eval "$as_ac_var=no"
61867 fi
61868 rm -f conftest.err conftest.$ac_objext \
61869       conftest$ac_exeext conftest.$ac_ext
61870 fi
61871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61873 if test `eval echo '${'$as_ac_var'}'` = yes; then
61874   cat >>confdefs.h <<_ACEOF
61875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61876 _ACEOF
61877
61878 fi
61879 done
61880
61881   else
61882
61883   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
61884 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
61885   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61886     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
61887   echo $ECHO_N "(cached) $ECHO_C" >&6
61888 else
61889
61890
61891
61892       ac_ext=cc
61893 ac_cpp='$CXXCPP $CPPFLAGS'
61894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61897
61898       cat >conftest.$ac_ext <<_ACEOF
61899 /* confdefs.h.  */
61900 _ACEOF
61901 cat confdefs.h >>conftest.$ac_ext
61902 cat >>conftest.$ac_ext <<_ACEOF
61903 /* end confdefs.h.  */
61904 #include <math.h>
61905                       #ifdef HAVE_IEEEFP_H
61906                       #include <ieeefp.h>
61907                       #endif
61908
61909 int
61910 main ()
61911 {
61912  _log10f(0);
61913   ;
61914   return 0;
61915 }
61916 _ACEOF
61917 rm -f conftest.$ac_objext
61918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61919   (eval $ac_compile) 2>conftest.er1
61920   ac_status=$?
61921   grep -v '^ *+' conftest.er1 >conftest.err
61922   rm -f conftest.er1
61923   cat conftest.err >&5
61924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61925   (exit $ac_status); } &&
61926          { ac_try='test -z "$ac_cxx_werror_flag"
61927                          || test ! -s conftest.err'
61928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61929   (eval $ac_try) 2>&5
61930   ac_status=$?
61931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61932   (exit $ac_status); }; } &&
61933          { ac_try='test -s conftest.$ac_objext'
61934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61935   (eval $ac_try) 2>&5
61936   ac_status=$?
61937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61938   (exit $ac_status); }; }; then
61939   glibcxx_cv_func__log10f_use=yes
61940 else
61941   echo "$as_me: failed program was:" >&5
61942 sed 's/^/| /' conftest.$ac_ext >&5
61943
61944 glibcxx_cv_func__log10f_use=no
61945 fi
61946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61947       ac_ext=c
61948 ac_cpp='$CPP $CPPFLAGS'
61949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61952
61953
61954 fi
61955
61956   fi
61957   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
61958 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
61959
61960     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61961
61962 for ac_func in _log10f
61963 do
61964 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61965 echo "$as_me:$LINENO: checking for $ac_func" >&5
61966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61967 if eval "test \"\${$as_ac_var+set}\" = set"; then
61968   echo $ECHO_N "(cached) $ECHO_C" >&6
61969 else
61970   if test x$gcc_no_link = xyes; then
61971   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61973    { (exit 1); exit 1; }; }
61974 fi
61975 cat >conftest.$ac_ext <<_ACEOF
61976 /* confdefs.h.  */
61977 _ACEOF
61978 cat confdefs.h >>conftest.$ac_ext
61979 cat >>conftest.$ac_ext <<_ACEOF
61980 /* end confdefs.h.  */
61981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61982    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61983 #define $ac_func innocuous_$ac_func
61984
61985 /* System header to define __stub macros and hopefully few prototypes,
61986     which can conflict with char $ac_func (); below.
61987     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61988     <limits.h> exists even on freestanding compilers.  */
61989
61990 #ifdef __STDC__
61991 # include <limits.h>
61992 #else
61993 # include <assert.h>
61994 #endif
61995
61996 #undef $ac_func
61997
61998 /* Override any gcc2 internal prototype to avoid an error.  */
61999 #ifdef __cplusplus
62000 extern "C"
62001 {
62002 #endif
62003 /* We use char because int might match the return type of a gcc2
62004    builtin and then its argument prototype would still apply.  */
62005 char $ac_func ();
62006 /* The GNU C library defines this for functions which it implements
62007     to always fail with ENOSYS.  Some functions are actually named
62008     something starting with __ and the normal name is an alias.  */
62009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62010 choke me
62011 #else
62012 char (*f) () = $ac_func;
62013 #endif
62014 #ifdef __cplusplus
62015 }
62016 #endif
62017
62018 int
62019 main ()
62020 {
62021 return f != $ac_func;
62022   ;
62023   return 0;
62024 }
62025 _ACEOF
62026 rm -f conftest.$ac_objext conftest$ac_exeext
62027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62028   (eval $ac_link) 2>conftest.er1
62029   ac_status=$?
62030   grep -v '^ *+' conftest.er1 >conftest.err
62031   rm -f conftest.er1
62032   cat conftest.err >&5
62033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62034   (exit $ac_status); } &&
62035          { ac_try='test -z "$ac_c_werror_flag"
62036                          || test ! -s conftest.err'
62037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62038   (eval $ac_try) 2>&5
62039   ac_status=$?
62040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62041   (exit $ac_status); }; } &&
62042          { ac_try='test -s conftest$ac_exeext'
62043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62044   (eval $ac_try) 2>&5
62045   ac_status=$?
62046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62047   (exit $ac_status); }; }; then
62048   eval "$as_ac_var=yes"
62049 else
62050   echo "$as_me: failed program was:" >&5
62051 sed 's/^/| /' conftest.$ac_ext >&5
62052
62053 eval "$as_ac_var=no"
62054 fi
62055 rm -f conftest.err conftest.$ac_objext \
62056       conftest$ac_exeext conftest.$ac_ext
62057 fi
62058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62059 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62060 if test `eval echo '${'$as_ac_var'}'` = yes; then
62061   cat >>confdefs.h <<_ACEOF
62062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62063 _ACEOF
62064
62065 fi
62066 done
62067
62068     fi
62069   fi
62070
62071
62072
62073
62074
62075
62076   echo "$as_me:$LINENO: checking for modff declaration" >&5
62077 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
62078   if test x${glibcxx_cv_func_modff_use+set} != xset; then
62079     if test "${glibcxx_cv_func_modff_use+set}" = set; then
62080   echo $ECHO_N "(cached) $ECHO_C" >&6
62081 else
62082
62083
62084
62085       ac_ext=cc
62086 ac_cpp='$CXXCPP $CPPFLAGS'
62087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62090
62091       cat >conftest.$ac_ext <<_ACEOF
62092 /* confdefs.h.  */
62093 _ACEOF
62094 cat confdefs.h >>conftest.$ac_ext
62095 cat >>conftest.$ac_ext <<_ACEOF
62096 /* end confdefs.h.  */
62097 #include <math.h>
62098 int
62099 main ()
62100 {
62101  modff(0, 0);
62102   ;
62103   return 0;
62104 }
62105 _ACEOF
62106 rm -f conftest.$ac_objext
62107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62108   (eval $ac_compile) 2>conftest.er1
62109   ac_status=$?
62110   grep -v '^ *+' conftest.er1 >conftest.err
62111   rm -f conftest.er1
62112   cat conftest.err >&5
62113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62114   (exit $ac_status); } &&
62115          { ac_try='test -z "$ac_cxx_werror_flag"
62116                          || test ! -s conftest.err'
62117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62118   (eval $ac_try) 2>&5
62119   ac_status=$?
62120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62121   (exit $ac_status); }; } &&
62122          { ac_try='test -s conftest.$ac_objext'
62123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62124   (eval $ac_try) 2>&5
62125   ac_status=$?
62126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62127   (exit $ac_status); }; }; then
62128   glibcxx_cv_func_modff_use=yes
62129 else
62130   echo "$as_me: failed program was:" >&5
62131 sed 's/^/| /' conftest.$ac_ext >&5
62132
62133 glibcxx_cv_func_modff_use=no
62134 fi
62135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62136       ac_ext=c
62137 ac_cpp='$CPP $CPPFLAGS'
62138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62141
62142
62143 fi
62144
62145   fi
62146   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
62147 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
62148
62149   if test x$glibcxx_cv_func_modff_use = x"yes"; then
62150
62151 for ac_func in modff
62152 do
62153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62154 echo "$as_me:$LINENO: checking for $ac_func" >&5
62155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62156 if eval "test \"\${$as_ac_var+set}\" = set"; then
62157   echo $ECHO_N "(cached) $ECHO_C" >&6
62158 else
62159   if test x$gcc_no_link = xyes; then
62160   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62162    { (exit 1); exit 1; }; }
62163 fi
62164 cat >conftest.$ac_ext <<_ACEOF
62165 /* confdefs.h.  */
62166 _ACEOF
62167 cat confdefs.h >>conftest.$ac_ext
62168 cat >>conftest.$ac_ext <<_ACEOF
62169 /* end confdefs.h.  */
62170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62171    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62172 #define $ac_func innocuous_$ac_func
62173
62174 /* System header to define __stub macros and hopefully few prototypes,
62175     which can conflict with char $ac_func (); below.
62176     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62177     <limits.h> exists even on freestanding compilers.  */
62178
62179 #ifdef __STDC__
62180 # include <limits.h>
62181 #else
62182 # include <assert.h>
62183 #endif
62184
62185 #undef $ac_func
62186
62187 /* Override any gcc2 internal prototype to avoid an error.  */
62188 #ifdef __cplusplus
62189 extern "C"
62190 {
62191 #endif
62192 /* We use char because int might match the return type of a gcc2
62193    builtin and then its argument prototype would still apply.  */
62194 char $ac_func ();
62195 /* The GNU C library defines this for functions which it implements
62196     to always fail with ENOSYS.  Some functions are actually named
62197     something starting with __ and the normal name is an alias.  */
62198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62199 choke me
62200 #else
62201 char (*f) () = $ac_func;
62202 #endif
62203 #ifdef __cplusplus
62204 }
62205 #endif
62206
62207 int
62208 main ()
62209 {
62210 return f != $ac_func;
62211   ;
62212   return 0;
62213 }
62214 _ACEOF
62215 rm -f conftest.$ac_objext conftest$ac_exeext
62216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62217   (eval $ac_link) 2>conftest.er1
62218   ac_status=$?
62219   grep -v '^ *+' conftest.er1 >conftest.err
62220   rm -f conftest.er1
62221   cat conftest.err >&5
62222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62223   (exit $ac_status); } &&
62224          { ac_try='test -z "$ac_c_werror_flag"
62225                          || test ! -s conftest.err'
62226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62227   (eval $ac_try) 2>&5
62228   ac_status=$?
62229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62230   (exit $ac_status); }; } &&
62231          { ac_try='test -s conftest$ac_exeext'
62232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62233   (eval $ac_try) 2>&5
62234   ac_status=$?
62235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62236   (exit $ac_status); }; }; then
62237   eval "$as_ac_var=yes"
62238 else
62239   echo "$as_me: failed program was:" >&5
62240 sed 's/^/| /' conftest.$ac_ext >&5
62241
62242 eval "$as_ac_var=no"
62243 fi
62244 rm -f conftest.err conftest.$ac_objext \
62245       conftest$ac_exeext conftest.$ac_ext
62246 fi
62247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62249 if test `eval echo '${'$as_ac_var'}'` = yes; then
62250   cat >>confdefs.h <<_ACEOF
62251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62252 _ACEOF
62253
62254 fi
62255 done
62256
62257   else
62258
62259   echo "$as_me:$LINENO: checking for _modff declaration" >&5
62260 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
62261   if test x${glibcxx_cv_func__modff_use+set} != xset; then
62262     if test "${glibcxx_cv_func__modff_use+set}" = set; then
62263   echo $ECHO_N "(cached) $ECHO_C" >&6
62264 else
62265
62266
62267
62268       ac_ext=cc
62269 ac_cpp='$CXXCPP $CPPFLAGS'
62270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62273
62274       cat >conftest.$ac_ext <<_ACEOF
62275 /* confdefs.h.  */
62276 _ACEOF
62277 cat confdefs.h >>conftest.$ac_ext
62278 cat >>conftest.$ac_ext <<_ACEOF
62279 /* end confdefs.h.  */
62280 #include <math.h>
62281 int
62282 main ()
62283 {
62284  _modff(0, 0);
62285   ;
62286   return 0;
62287 }
62288 _ACEOF
62289 rm -f conftest.$ac_objext
62290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62291   (eval $ac_compile) 2>conftest.er1
62292   ac_status=$?
62293   grep -v '^ *+' conftest.er1 >conftest.err
62294   rm -f conftest.er1
62295   cat conftest.err >&5
62296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62297   (exit $ac_status); } &&
62298          { ac_try='test -z "$ac_cxx_werror_flag"
62299                          || test ! -s conftest.err'
62300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62301   (eval $ac_try) 2>&5
62302   ac_status=$?
62303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62304   (exit $ac_status); }; } &&
62305          { ac_try='test -s conftest.$ac_objext'
62306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62307   (eval $ac_try) 2>&5
62308   ac_status=$?
62309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62310   (exit $ac_status); }; }; then
62311   glibcxx_cv_func__modff_use=yes
62312 else
62313   echo "$as_me: failed program was:" >&5
62314 sed 's/^/| /' conftest.$ac_ext >&5
62315
62316 glibcxx_cv_func__modff_use=no
62317 fi
62318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62319       ac_ext=c
62320 ac_cpp='$CPP $CPPFLAGS'
62321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62324
62325
62326 fi
62327
62328   fi
62329   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
62330 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
62331
62332     if test x$glibcxx_cv_func__modff_use = x"yes"; then
62333
62334 for ac_func in _modff
62335 do
62336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62337 echo "$as_me:$LINENO: checking for $ac_func" >&5
62338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62339 if eval "test \"\${$as_ac_var+set}\" = set"; then
62340   echo $ECHO_N "(cached) $ECHO_C" >&6
62341 else
62342   if test x$gcc_no_link = xyes; then
62343   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62345    { (exit 1); exit 1; }; }
62346 fi
62347 cat >conftest.$ac_ext <<_ACEOF
62348 /* confdefs.h.  */
62349 _ACEOF
62350 cat confdefs.h >>conftest.$ac_ext
62351 cat >>conftest.$ac_ext <<_ACEOF
62352 /* end confdefs.h.  */
62353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62354    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62355 #define $ac_func innocuous_$ac_func
62356
62357 /* System header to define __stub macros and hopefully few prototypes,
62358     which can conflict with char $ac_func (); below.
62359     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62360     <limits.h> exists even on freestanding compilers.  */
62361
62362 #ifdef __STDC__
62363 # include <limits.h>
62364 #else
62365 # include <assert.h>
62366 #endif
62367
62368 #undef $ac_func
62369
62370 /* Override any gcc2 internal prototype to avoid an error.  */
62371 #ifdef __cplusplus
62372 extern "C"
62373 {
62374 #endif
62375 /* We use char because int might match the return type of a gcc2
62376    builtin and then its argument prototype would still apply.  */
62377 char $ac_func ();
62378 /* The GNU C library defines this for functions which it implements
62379     to always fail with ENOSYS.  Some functions are actually named
62380     something starting with __ and the normal name is an alias.  */
62381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62382 choke me
62383 #else
62384 char (*f) () = $ac_func;
62385 #endif
62386 #ifdef __cplusplus
62387 }
62388 #endif
62389
62390 int
62391 main ()
62392 {
62393 return f != $ac_func;
62394   ;
62395   return 0;
62396 }
62397 _ACEOF
62398 rm -f conftest.$ac_objext conftest$ac_exeext
62399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62400   (eval $ac_link) 2>conftest.er1
62401   ac_status=$?
62402   grep -v '^ *+' conftest.er1 >conftest.err
62403   rm -f conftest.er1
62404   cat conftest.err >&5
62405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62406   (exit $ac_status); } &&
62407          { ac_try='test -z "$ac_c_werror_flag"
62408                          || test ! -s conftest.err'
62409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62410   (eval $ac_try) 2>&5
62411   ac_status=$?
62412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62413   (exit $ac_status); }; } &&
62414          { ac_try='test -s conftest$ac_exeext'
62415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62416   (eval $ac_try) 2>&5
62417   ac_status=$?
62418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62419   (exit $ac_status); }; }; then
62420   eval "$as_ac_var=yes"
62421 else
62422   echo "$as_me: failed program was:" >&5
62423 sed 's/^/| /' conftest.$ac_ext >&5
62424
62425 eval "$as_ac_var=no"
62426 fi
62427 rm -f conftest.err conftest.$ac_objext \
62428       conftest$ac_exeext conftest.$ac_ext
62429 fi
62430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62432 if test `eval echo '${'$as_ac_var'}'` = yes; then
62433   cat >>confdefs.h <<_ACEOF
62434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62435 _ACEOF
62436
62437 fi
62438 done
62439
62440     fi
62441   fi
62442
62443
62444
62445
62446
62447
62448   echo "$as_me:$LINENO: checking for modf declaration" >&5
62449 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
62450   if test x${glibcxx_cv_func_modf_use+set} != xset; then
62451     if test "${glibcxx_cv_func_modf_use+set}" = set; then
62452   echo $ECHO_N "(cached) $ECHO_C" >&6
62453 else
62454
62455
62456
62457       ac_ext=cc
62458 ac_cpp='$CXXCPP $CPPFLAGS'
62459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62462
62463       cat >conftest.$ac_ext <<_ACEOF
62464 /* confdefs.h.  */
62465 _ACEOF
62466 cat confdefs.h >>conftest.$ac_ext
62467 cat >>conftest.$ac_ext <<_ACEOF
62468 /* end confdefs.h.  */
62469 #include <math.h>
62470 int
62471 main ()
62472 {
62473  modf(0, 0);
62474   ;
62475   return 0;
62476 }
62477 _ACEOF
62478 rm -f conftest.$ac_objext
62479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62480   (eval $ac_compile) 2>conftest.er1
62481   ac_status=$?
62482   grep -v '^ *+' conftest.er1 >conftest.err
62483   rm -f conftest.er1
62484   cat conftest.err >&5
62485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62486   (exit $ac_status); } &&
62487          { ac_try='test -z "$ac_cxx_werror_flag"
62488                          || test ! -s conftest.err'
62489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62490   (eval $ac_try) 2>&5
62491   ac_status=$?
62492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62493   (exit $ac_status); }; } &&
62494          { ac_try='test -s conftest.$ac_objext'
62495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62496   (eval $ac_try) 2>&5
62497   ac_status=$?
62498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62499   (exit $ac_status); }; }; then
62500   glibcxx_cv_func_modf_use=yes
62501 else
62502   echo "$as_me: failed program was:" >&5
62503 sed 's/^/| /' conftest.$ac_ext >&5
62504
62505 glibcxx_cv_func_modf_use=no
62506 fi
62507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62508       ac_ext=c
62509 ac_cpp='$CPP $CPPFLAGS'
62510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62513
62514
62515 fi
62516
62517   fi
62518   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
62519 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
62520
62521   if test x$glibcxx_cv_func_modf_use = x"yes"; then
62522
62523 for ac_func in modf
62524 do
62525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62526 echo "$as_me:$LINENO: checking for $ac_func" >&5
62527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62528 if eval "test \"\${$as_ac_var+set}\" = set"; then
62529   echo $ECHO_N "(cached) $ECHO_C" >&6
62530 else
62531   if test x$gcc_no_link = xyes; then
62532   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62534    { (exit 1); exit 1; }; }
62535 fi
62536 cat >conftest.$ac_ext <<_ACEOF
62537 /* confdefs.h.  */
62538 _ACEOF
62539 cat confdefs.h >>conftest.$ac_ext
62540 cat >>conftest.$ac_ext <<_ACEOF
62541 /* end confdefs.h.  */
62542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62543    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62544 #define $ac_func innocuous_$ac_func
62545
62546 /* System header to define __stub macros and hopefully few prototypes,
62547     which can conflict with char $ac_func (); below.
62548     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62549     <limits.h> exists even on freestanding compilers.  */
62550
62551 #ifdef __STDC__
62552 # include <limits.h>
62553 #else
62554 # include <assert.h>
62555 #endif
62556
62557 #undef $ac_func
62558
62559 /* Override any gcc2 internal prototype to avoid an error.  */
62560 #ifdef __cplusplus
62561 extern "C"
62562 {
62563 #endif
62564 /* We use char because int might match the return type of a gcc2
62565    builtin and then its argument prototype would still apply.  */
62566 char $ac_func ();
62567 /* The GNU C library defines this for functions which it implements
62568     to always fail with ENOSYS.  Some functions are actually named
62569     something starting with __ and the normal name is an alias.  */
62570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62571 choke me
62572 #else
62573 char (*f) () = $ac_func;
62574 #endif
62575 #ifdef __cplusplus
62576 }
62577 #endif
62578
62579 int
62580 main ()
62581 {
62582 return f != $ac_func;
62583   ;
62584   return 0;
62585 }
62586 _ACEOF
62587 rm -f conftest.$ac_objext conftest$ac_exeext
62588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62589   (eval $ac_link) 2>conftest.er1
62590   ac_status=$?
62591   grep -v '^ *+' conftest.er1 >conftest.err
62592   rm -f conftest.er1
62593   cat conftest.err >&5
62594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62595   (exit $ac_status); } &&
62596          { ac_try='test -z "$ac_c_werror_flag"
62597                          || test ! -s conftest.err'
62598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62599   (eval $ac_try) 2>&5
62600   ac_status=$?
62601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62602   (exit $ac_status); }; } &&
62603          { ac_try='test -s conftest$ac_exeext'
62604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62605   (eval $ac_try) 2>&5
62606   ac_status=$?
62607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62608   (exit $ac_status); }; }; then
62609   eval "$as_ac_var=yes"
62610 else
62611   echo "$as_me: failed program was:" >&5
62612 sed 's/^/| /' conftest.$ac_ext >&5
62613
62614 eval "$as_ac_var=no"
62615 fi
62616 rm -f conftest.err conftest.$ac_objext \
62617       conftest$ac_exeext conftest.$ac_ext
62618 fi
62619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62621 if test `eval echo '${'$as_ac_var'}'` = yes; then
62622   cat >>confdefs.h <<_ACEOF
62623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62624 _ACEOF
62625
62626 fi
62627 done
62628
62629   else
62630
62631   echo "$as_me:$LINENO: checking for _modf declaration" >&5
62632 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
62633   if test x${glibcxx_cv_func__modf_use+set} != xset; then
62634     if test "${glibcxx_cv_func__modf_use+set}" = set; then
62635   echo $ECHO_N "(cached) $ECHO_C" >&6
62636 else
62637
62638
62639
62640       ac_ext=cc
62641 ac_cpp='$CXXCPP $CPPFLAGS'
62642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62645
62646       cat >conftest.$ac_ext <<_ACEOF
62647 /* confdefs.h.  */
62648 _ACEOF
62649 cat confdefs.h >>conftest.$ac_ext
62650 cat >>conftest.$ac_ext <<_ACEOF
62651 /* end confdefs.h.  */
62652 #include <math.h>
62653 int
62654 main ()
62655 {
62656  _modf(0, 0);
62657   ;
62658   return 0;
62659 }
62660 _ACEOF
62661 rm -f conftest.$ac_objext
62662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62663   (eval $ac_compile) 2>conftest.er1
62664   ac_status=$?
62665   grep -v '^ *+' conftest.er1 >conftest.err
62666   rm -f conftest.er1
62667   cat conftest.err >&5
62668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62669   (exit $ac_status); } &&
62670          { ac_try='test -z "$ac_cxx_werror_flag"
62671                          || test ! -s conftest.err'
62672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62673   (eval $ac_try) 2>&5
62674   ac_status=$?
62675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62676   (exit $ac_status); }; } &&
62677          { ac_try='test -s conftest.$ac_objext'
62678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62679   (eval $ac_try) 2>&5
62680   ac_status=$?
62681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62682   (exit $ac_status); }; }; then
62683   glibcxx_cv_func__modf_use=yes
62684 else
62685   echo "$as_me: failed program was:" >&5
62686 sed 's/^/| /' conftest.$ac_ext >&5
62687
62688 glibcxx_cv_func__modf_use=no
62689 fi
62690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62691       ac_ext=c
62692 ac_cpp='$CPP $CPPFLAGS'
62693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62696
62697
62698 fi
62699
62700   fi
62701   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
62702 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
62703
62704     if test x$glibcxx_cv_func__modf_use = x"yes"; then
62705
62706 for ac_func in _modf
62707 do
62708 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62709 echo "$as_me:$LINENO: checking for $ac_func" >&5
62710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62711 if eval "test \"\${$as_ac_var+set}\" = set"; then
62712   echo $ECHO_N "(cached) $ECHO_C" >&6
62713 else
62714   if test x$gcc_no_link = xyes; then
62715   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62717    { (exit 1); exit 1; }; }
62718 fi
62719 cat >conftest.$ac_ext <<_ACEOF
62720 /* confdefs.h.  */
62721 _ACEOF
62722 cat confdefs.h >>conftest.$ac_ext
62723 cat >>conftest.$ac_ext <<_ACEOF
62724 /* end confdefs.h.  */
62725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62726    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62727 #define $ac_func innocuous_$ac_func
62728
62729 /* System header to define __stub macros and hopefully few prototypes,
62730     which can conflict with char $ac_func (); below.
62731     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62732     <limits.h> exists even on freestanding compilers.  */
62733
62734 #ifdef __STDC__
62735 # include <limits.h>
62736 #else
62737 # include <assert.h>
62738 #endif
62739
62740 #undef $ac_func
62741
62742 /* Override any gcc2 internal prototype to avoid an error.  */
62743 #ifdef __cplusplus
62744 extern "C"
62745 {
62746 #endif
62747 /* We use char because int might match the return type of a gcc2
62748    builtin and then its argument prototype would still apply.  */
62749 char $ac_func ();
62750 /* The GNU C library defines this for functions which it implements
62751     to always fail with ENOSYS.  Some functions are actually named
62752     something starting with __ and the normal name is an alias.  */
62753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62754 choke me
62755 #else
62756 char (*f) () = $ac_func;
62757 #endif
62758 #ifdef __cplusplus
62759 }
62760 #endif
62761
62762 int
62763 main ()
62764 {
62765 return f != $ac_func;
62766   ;
62767   return 0;
62768 }
62769 _ACEOF
62770 rm -f conftest.$ac_objext conftest$ac_exeext
62771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62772   (eval $ac_link) 2>conftest.er1
62773   ac_status=$?
62774   grep -v '^ *+' conftest.er1 >conftest.err
62775   rm -f conftest.er1
62776   cat conftest.err >&5
62777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62778   (exit $ac_status); } &&
62779          { ac_try='test -z "$ac_c_werror_flag"
62780                          || test ! -s conftest.err'
62781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62782   (eval $ac_try) 2>&5
62783   ac_status=$?
62784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62785   (exit $ac_status); }; } &&
62786          { ac_try='test -s conftest$ac_exeext'
62787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62788   (eval $ac_try) 2>&5
62789   ac_status=$?
62790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62791   (exit $ac_status); }; }; then
62792   eval "$as_ac_var=yes"
62793 else
62794   echo "$as_me: failed program was:" >&5
62795 sed 's/^/| /' conftest.$ac_ext >&5
62796
62797 eval "$as_ac_var=no"
62798 fi
62799 rm -f conftest.err conftest.$ac_objext \
62800       conftest$ac_exeext conftest.$ac_ext
62801 fi
62802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62804 if test `eval echo '${'$as_ac_var'}'` = yes; then
62805   cat >>confdefs.h <<_ACEOF
62806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62807 _ACEOF
62808
62809 fi
62810 done
62811
62812     fi
62813   fi
62814
62815
62816
62817
62818
62819
62820   echo "$as_me:$LINENO: checking for powf declaration" >&5
62821 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
62822   if test x${glibcxx_cv_func_powf_use+set} != xset; then
62823     if test "${glibcxx_cv_func_powf_use+set}" = set; then
62824   echo $ECHO_N "(cached) $ECHO_C" >&6
62825 else
62826
62827
62828
62829       ac_ext=cc
62830 ac_cpp='$CXXCPP $CPPFLAGS'
62831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62834
62835       cat >conftest.$ac_ext <<_ACEOF
62836 /* confdefs.h.  */
62837 _ACEOF
62838 cat confdefs.h >>conftest.$ac_ext
62839 cat >>conftest.$ac_ext <<_ACEOF
62840 /* end confdefs.h.  */
62841 #include <math.h>
62842 int
62843 main ()
62844 {
62845  powf(0, 0);
62846   ;
62847   return 0;
62848 }
62849 _ACEOF
62850 rm -f conftest.$ac_objext
62851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62852   (eval $ac_compile) 2>conftest.er1
62853   ac_status=$?
62854   grep -v '^ *+' conftest.er1 >conftest.err
62855   rm -f conftest.er1
62856   cat conftest.err >&5
62857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62858   (exit $ac_status); } &&
62859          { ac_try='test -z "$ac_cxx_werror_flag"
62860                          || test ! -s conftest.err'
62861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62862   (eval $ac_try) 2>&5
62863   ac_status=$?
62864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62865   (exit $ac_status); }; } &&
62866          { ac_try='test -s conftest.$ac_objext'
62867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62868   (eval $ac_try) 2>&5
62869   ac_status=$?
62870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62871   (exit $ac_status); }; }; then
62872   glibcxx_cv_func_powf_use=yes
62873 else
62874   echo "$as_me: failed program was:" >&5
62875 sed 's/^/| /' conftest.$ac_ext >&5
62876
62877 glibcxx_cv_func_powf_use=no
62878 fi
62879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62880       ac_ext=c
62881 ac_cpp='$CPP $CPPFLAGS'
62882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62885
62886
62887 fi
62888
62889   fi
62890   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
62891 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
62892
62893   if test x$glibcxx_cv_func_powf_use = x"yes"; then
62894
62895 for ac_func in powf
62896 do
62897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62898 echo "$as_me:$LINENO: checking for $ac_func" >&5
62899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62900 if eval "test \"\${$as_ac_var+set}\" = set"; then
62901   echo $ECHO_N "(cached) $ECHO_C" >&6
62902 else
62903   if test x$gcc_no_link = xyes; then
62904   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62906    { (exit 1); exit 1; }; }
62907 fi
62908 cat >conftest.$ac_ext <<_ACEOF
62909 /* confdefs.h.  */
62910 _ACEOF
62911 cat confdefs.h >>conftest.$ac_ext
62912 cat >>conftest.$ac_ext <<_ACEOF
62913 /* end confdefs.h.  */
62914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62915    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62916 #define $ac_func innocuous_$ac_func
62917
62918 /* System header to define __stub macros and hopefully few prototypes,
62919     which can conflict with char $ac_func (); below.
62920     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62921     <limits.h> exists even on freestanding compilers.  */
62922
62923 #ifdef __STDC__
62924 # include <limits.h>
62925 #else
62926 # include <assert.h>
62927 #endif
62928
62929 #undef $ac_func
62930
62931 /* Override any gcc2 internal prototype to avoid an error.  */
62932 #ifdef __cplusplus
62933 extern "C"
62934 {
62935 #endif
62936 /* We use char because int might match the return type of a gcc2
62937    builtin and then its argument prototype would still apply.  */
62938 char $ac_func ();
62939 /* The GNU C library defines this for functions which it implements
62940     to always fail with ENOSYS.  Some functions are actually named
62941     something starting with __ and the normal name is an alias.  */
62942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62943 choke me
62944 #else
62945 char (*f) () = $ac_func;
62946 #endif
62947 #ifdef __cplusplus
62948 }
62949 #endif
62950
62951 int
62952 main ()
62953 {
62954 return f != $ac_func;
62955   ;
62956   return 0;
62957 }
62958 _ACEOF
62959 rm -f conftest.$ac_objext conftest$ac_exeext
62960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62961   (eval $ac_link) 2>conftest.er1
62962   ac_status=$?
62963   grep -v '^ *+' conftest.er1 >conftest.err
62964   rm -f conftest.er1
62965   cat conftest.err >&5
62966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62967   (exit $ac_status); } &&
62968          { ac_try='test -z "$ac_c_werror_flag"
62969                          || test ! -s conftest.err'
62970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62971   (eval $ac_try) 2>&5
62972   ac_status=$?
62973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62974   (exit $ac_status); }; } &&
62975          { ac_try='test -s conftest$ac_exeext'
62976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62977   (eval $ac_try) 2>&5
62978   ac_status=$?
62979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62980   (exit $ac_status); }; }; then
62981   eval "$as_ac_var=yes"
62982 else
62983   echo "$as_me: failed program was:" >&5
62984 sed 's/^/| /' conftest.$ac_ext >&5
62985
62986 eval "$as_ac_var=no"
62987 fi
62988 rm -f conftest.err conftest.$ac_objext \
62989       conftest$ac_exeext conftest.$ac_ext
62990 fi
62991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62992 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62993 if test `eval echo '${'$as_ac_var'}'` = yes; then
62994   cat >>confdefs.h <<_ACEOF
62995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62996 _ACEOF
62997
62998 fi
62999 done
63000
63001   else
63002
63003   echo "$as_me:$LINENO: checking for _powf declaration" >&5
63004 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
63005   if test x${glibcxx_cv_func__powf_use+set} != xset; then
63006     if test "${glibcxx_cv_func__powf_use+set}" = set; then
63007   echo $ECHO_N "(cached) $ECHO_C" >&6
63008 else
63009
63010
63011
63012       ac_ext=cc
63013 ac_cpp='$CXXCPP $CPPFLAGS'
63014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63017
63018       cat >conftest.$ac_ext <<_ACEOF
63019 /* confdefs.h.  */
63020 _ACEOF
63021 cat confdefs.h >>conftest.$ac_ext
63022 cat >>conftest.$ac_ext <<_ACEOF
63023 /* end confdefs.h.  */
63024 #include <math.h>
63025 int
63026 main ()
63027 {
63028  _powf(0, 0);
63029   ;
63030   return 0;
63031 }
63032 _ACEOF
63033 rm -f conftest.$ac_objext
63034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63035   (eval $ac_compile) 2>conftest.er1
63036   ac_status=$?
63037   grep -v '^ *+' conftest.er1 >conftest.err
63038   rm -f conftest.er1
63039   cat conftest.err >&5
63040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63041   (exit $ac_status); } &&
63042          { ac_try='test -z "$ac_cxx_werror_flag"
63043                          || test ! -s conftest.err'
63044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63045   (eval $ac_try) 2>&5
63046   ac_status=$?
63047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63048   (exit $ac_status); }; } &&
63049          { ac_try='test -s conftest.$ac_objext'
63050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63051   (eval $ac_try) 2>&5
63052   ac_status=$?
63053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63054   (exit $ac_status); }; }; then
63055   glibcxx_cv_func__powf_use=yes
63056 else
63057   echo "$as_me: failed program was:" >&5
63058 sed 's/^/| /' conftest.$ac_ext >&5
63059
63060 glibcxx_cv_func__powf_use=no
63061 fi
63062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63063       ac_ext=c
63064 ac_cpp='$CPP $CPPFLAGS'
63065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63068
63069
63070 fi
63071
63072   fi
63073   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
63074 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
63075
63076     if test x$glibcxx_cv_func__powf_use = x"yes"; then
63077
63078 for ac_func in _powf
63079 do
63080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63081 echo "$as_me:$LINENO: checking for $ac_func" >&5
63082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63083 if eval "test \"\${$as_ac_var+set}\" = set"; then
63084   echo $ECHO_N "(cached) $ECHO_C" >&6
63085 else
63086   if test x$gcc_no_link = xyes; then
63087   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63089    { (exit 1); exit 1; }; }
63090 fi
63091 cat >conftest.$ac_ext <<_ACEOF
63092 /* confdefs.h.  */
63093 _ACEOF
63094 cat confdefs.h >>conftest.$ac_ext
63095 cat >>conftest.$ac_ext <<_ACEOF
63096 /* end confdefs.h.  */
63097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63098    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63099 #define $ac_func innocuous_$ac_func
63100
63101 /* System header to define __stub macros and hopefully few prototypes,
63102     which can conflict with char $ac_func (); below.
63103     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63104     <limits.h> exists even on freestanding compilers.  */
63105
63106 #ifdef __STDC__
63107 # include <limits.h>
63108 #else
63109 # include <assert.h>
63110 #endif
63111
63112 #undef $ac_func
63113
63114 /* Override any gcc2 internal prototype to avoid an error.  */
63115 #ifdef __cplusplus
63116 extern "C"
63117 {
63118 #endif
63119 /* We use char because int might match the return type of a gcc2
63120    builtin and then its argument prototype would still apply.  */
63121 char $ac_func ();
63122 /* The GNU C library defines this for functions which it implements
63123     to always fail with ENOSYS.  Some functions are actually named
63124     something starting with __ and the normal name is an alias.  */
63125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63126 choke me
63127 #else
63128 char (*f) () = $ac_func;
63129 #endif
63130 #ifdef __cplusplus
63131 }
63132 #endif
63133
63134 int
63135 main ()
63136 {
63137 return f != $ac_func;
63138   ;
63139   return 0;
63140 }
63141 _ACEOF
63142 rm -f conftest.$ac_objext conftest$ac_exeext
63143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63144   (eval $ac_link) 2>conftest.er1
63145   ac_status=$?
63146   grep -v '^ *+' conftest.er1 >conftest.err
63147   rm -f conftest.er1
63148   cat conftest.err >&5
63149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63150   (exit $ac_status); } &&
63151          { ac_try='test -z "$ac_c_werror_flag"
63152                          || test ! -s conftest.err'
63153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63154   (eval $ac_try) 2>&5
63155   ac_status=$?
63156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63157   (exit $ac_status); }; } &&
63158          { ac_try='test -s conftest$ac_exeext'
63159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63160   (eval $ac_try) 2>&5
63161   ac_status=$?
63162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63163   (exit $ac_status); }; }; then
63164   eval "$as_ac_var=yes"
63165 else
63166   echo "$as_me: failed program was:" >&5
63167 sed 's/^/| /' conftest.$ac_ext >&5
63168
63169 eval "$as_ac_var=no"
63170 fi
63171 rm -f conftest.err conftest.$ac_objext \
63172       conftest$ac_exeext conftest.$ac_ext
63173 fi
63174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63176 if test `eval echo '${'$as_ac_var'}'` = yes; then
63177   cat >>confdefs.h <<_ACEOF
63178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63179 _ACEOF
63180
63181 fi
63182 done
63183
63184     fi
63185   fi
63186
63187
63188
63189
63190
63191
63192   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
63193 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
63194   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63195     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
63196   echo $ECHO_N "(cached) $ECHO_C" >&6
63197 else
63198
63199
63200
63201       ac_ext=cc
63202 ac_cpp='$CXXCPP $CPPFLAGS'
63203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63206
63207       cat >conftest.$ac_ext <<_ACEOF
63208 /* confdefs.h.  */
63209 _ACEOF
63210 cat confdefs.h >>conftest.$ac_ext
63211 cat >>conftest.$ac_ext <<_ACEOF
63212 /* end confdefs.h.  */
63213 #include <math.h>
63214                       #ifdef HAVE_IEEEFP_H
63215                       #include <ieeefp.h>
63216                       #endif
63217
63218 int
63219 main ()
63220 {
63221  sqrtf(0);
63222   ;
63223   return 0;
63224 }
63225 _ACEOF
63226 rm -f conftest.$ac_objext
63227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63228   (eval $ac_compile) 2>conftest.er1
63229   ac_status=$?
63230   grep -v '^ *+' conftest.er1 >conftest.err
63231   rm -f conftest.er1
63232   cat conftest.err >&5
63233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63234   (exit $ac_status); } &&
63235          { ac_try='test -z "$ac_cxx_werror_flag"
63236                          || test ! -s conftest.err'
63237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63238   (eval $ac_try) 2>&5
63239   ac_status=$?
63240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63241   (exit $ac_status); }; } &&
63242          { ac_try='test -s conftest.$ac_objext'
63243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63244   (eval $ac_try) 2>&5
63245   ac_status=$?
63246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63247   (exit $ac_status); }; }; then
63248   glibcxx_cv_func_sqrtf_use=yes
63249 else
63250   echo "$as_me: failed program was:" >&5
63251 sed 's/^/| /' conftest.$ac_ext >&5
63252
63253 glibcxx_cv_func_sqrtf_use=no
63254 fi
63255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63256       ac_ext=c
63257 ac_cpp='$CPP $CPPFLAGS'
63258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63261
63262
63263 fi
63264
63265   fi
63266   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
63267 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
63268
63269   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63270
63271 for ac_func in sqrtf
63272 do
63273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63274 echo "$as_me:$LINENO: checking for $ac_func" >&5
63275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63276 if eval "test \"\${$as_ac_var+set}\" = set"; then
63277   echo $ECHO_N "(cached) $ECHO_C" >&6
63278 else
63279   if test x$gcc_no_link = xyes; then
63280   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63282    { (exit 1); exit 1; }; }
63283 fi
63284 cat >conftest.$ac_ext <<_ACEOF
63285 /* confdefs.h.  */
63286 _ACEOF
63287 cat confdefs.h >>conftest.$ac_ext
63288 cat >>conftest.$ac_ext <<_ACEOF
63289 /* end confdefs.h.  */
63290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63291    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63292 #define $ac_func innocuous_$ac_func
63293
63294 /* System header to define __stub macros and hopefully few prototypes,
63295     which can conflict with char $ac_func (); below.
63296     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63297     <limits.h> exists even on freestanding compilers.  */
63298
63299 #ifdef __STDC__
63300 # include <limits.h>
63301 #else
63302 # include <assert.h>
63303 #endif
63304
63305 #undef $ac_func
63306
63307 /* Override any gcc2 internal prototype to avoid an error.  */
63308 #ifdef __cplusplus
63309 extern "C"
63310 {
63311 #endif
63312 /* We use char because int might match the return type of a gcc2
63313    builtin and then its argument prototype would still apply.  */
63314 char $ac_func ();
63315 /* The GNU C library defines this for functions which it implements
63316     to always fail with ENOSYS.  Some functions are actually named
63317     something starting with __ and the normal name is an alias.  */
63318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63319 choke me
63320 #else
63321 char (*f) () = $ac_func;
63322 #endif
63323 #ifdef __cplusplus
63324 }
63325 #endif
63326
63327 int
63328 main ()
63329 {
63330 return f != $ac_func;
63331   ;
63332   return 0;
63333 }
63334 _ACEOF
63335 rm -f conftest.$ac_objext conftest$ac_exeext
63336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63337   (eval $ac_link) 2>conftest.er1
63338   ac_status=$?
63339   grep -v '^ *+' conftest.er1 >conftest.err
63340   rm -f conftest.er1
63341   cat conftest.err >&5
63342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63343   (exit $ac_status); } &&
63344          { ac_try='test -z "$ac_c_werror_flag"
63345                          || test ! -s conftest.err'
63346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63347   (eval $ac_try) 2>&5
63348   ac_status=$?
63349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63350   (exit $ac_status); }; } &&
63351          { ac_try='test -s conftest$ac_exeext'
63352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63353   (eval $ac_try) 2>&5
63354   ac_status=$?
63355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63356   (exit $ac_status); }; }; then
63357   eval "$as_ac_var=yes"
63358 else
63359   echo "$as_me: failed program was:" >&5
63360 sed 's/^/| /' conftest.$ac_ext >&5
63361
63362 eval "$as_ac_var=no"
63363 fi
63364 rm -f conftest.err conftest.$ac_objext \
63365       conftest$ac_exeext conftest.$ac_ext
63366 fi
63367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63369 if test `eval echo '${'$as_ac_var'}'` = yes; then
63370   cat >>confdefs.h <<_ACEOF
63371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63372 _ACEOF
63373
63374 fi
63375 done
63376
63377   else
63378
63379   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
63380 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
63381   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63382     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
63383   echo $ECHO_N "(cached) $ECHO_C" >&6
63384 else
63385
63386
63387
63388       ac_ext=cc
63389 ac_cpp='$CXXCPP $CPPFLAGS'
63390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63393
63394       cat >conftest.$ac_ext <<_ACEOF
63395 /* confdefs.h.  */
63396 _ACEOF
63397 cat confdefs.h >>conftest.$ac_ext
63398 cat >>conftest.$ac_ext <<_ACEOF
63399 /* end confdefs.h.  */
63400 #include <math.h>
63401                       #ifdef HAVE_IEEEFP_H
63402                       #include <ieeefp.h>
63403                       #endif
63404
63405 int
63406 main ()
63407 {
63408  _sqrtf(0);
63409   ;
63410   return 0;
63411 }
63412 _ACEOF
63413 rm -f conftest.$ac_objext
63414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63415   (eval $ac_compile) 2>conftest.er1
63416   ac_status=$?
63417   grep -v '^ *+' conftest.er1 >conftest.err
63418   rm -f conftest.er1
63419   cat conftest.err >&5
63420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63421   (exit $ac_status); } &&
63422          { ac_try='test -z "$ac_cxx_werror_flag"
63423                          || test ! -s conftest.err'
63424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63425   (eval $ac_try) 2>&5
63426   ac_status=$?
63427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63428   (exit $ac_status); }; } &&
63429          { ac_try='test -s conftest.$ac_objext'
63430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63431   (eval $ac_try) 2>&5
63432   ac_status=$?
63433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63434   (exit $ac_status); }; }; then
63435   glibcxx_cv_func__sqrtf_use=yes
63436 else
63437   echo "$as_me: failed program was:" >&5
63438 sed 's/^/| /' conftest.$ac_ext >&5
63439
63440 glibcxx_cv_func__sqrtf_use=no
63441 fi
63442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63443       ac_ext=c
63444 ac_cpp='$CPP $CPPFLAGS'
63445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63448
63449
63450 fi
63451
63452   fi
63453   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
63454 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
63455
63456     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63457
63458 for ac_func in _sqrtf
63459 do
63460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63461 echo "$as_me:$LINENO: checking for $ac_func" >&5
63462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63463 if eval "test \"\${$as_ac_var+set}\" = set"; then
63464   echo $ECHO_N "(cached) $ECHO_C" >&6
63465 else
63466   if test x$gcc_no_link = xyes; then
63467   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63469    { (exit 1); exit 1; }; }
63470 fi
63471 cat >conftest.$ac_ext <<_ACEOF
63472 /* confdefs.h.  */
63473 _ACEOF
63474 cat confdefs.h >>conftest.$ac_ext
63475 cat >>conftest.$ac_ext <<_ACEOF
63476 /* end confdefs.h.  */
63477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63478    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63479 #define $ac_func innocuous_$ac_func
63480
63481 /* System header to define __stub macros and hopefully few prototypes,
63482     which can conflict with char $ac_func (); below.
63483     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63484     <limits.h> exists even on freestanding compilers.  */
63485
63486 #ifdef __STDC__
63487 # include <limits.h>
63488 #else
63489 # include <assert.h>
63490 #endif
63491
63492 #undef $ac_func
63493
63494 /* Override any gcc2 internal prototype to avoid an error.  */
63495 #ifdef __cplusplus
63496 extern "C"
63497 {
63498 #endif
63499 /* We use char because int might match the return type of a gcc2
63500    builtin and then its argument prototype would still apply.  */
63501 char $ac_func ();
63502 /* The GNU C library defines this for functions which it implements
63503     to always fail with ENOSYS.  Some functions are actually named
63504     something starting with __ and the normal name is an alias.  */
63505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63506 choke me
63507 #else
63508 char (*f) () = $ac_func;
63509 #endif
63510 #ifdef __cplusplus
63511 }
63512 #endif
63513
63514 int
63515 main ()
63516 {
63517 return f != $ac_func;
63518   ;
63519   return 0;
63520 }
63521 _ACEOF
63522 rm -f conftest.$ac_objext conftest$ac_exeext
63523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63524   (eval $ac_link) 2>conftest.er1
63525   ac_status=$?
63526   grep -v '^ *+' conftest.er1 >conftest.err
63527   rm -f conftest.er1
63528   cat conftest.err >&5
63529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63530   (exit $ac_status); } &&
63531          { ac_try='test -z "$ac_c_werror_flag"
63532                          || test ! -s conftest.err'
63533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63534   (eval $ac_try) 2>&5
63535   ac_status=$?
63536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63537   (exit $ac_status); }; } &&
63538          { ac_try='test -s conftest$ac_exeext'
63539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63540   (eval $ac_try) 2>&5
63541   ac_status=$?
63542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63543   (exit $ac_status); }; }; then
63544   eval "$as_ac_var=yes"
63545 else
63546   echo "$as_me: failed program was:" >&5
63547 sed 's/^/| /' conftest.$ac_ext >&5
63548
63549 eval "$as_ac_var=no"
63550 fi
63551 rm -f conftest.err conftest.$ac_objext \
63552       conftest$ac_exeext conftest.$ac_ext
63553 fi
63554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63556 if test `eval echo '${'$as_ac_var'}'` = yes; then
63557   cat >>confdefs.h <<_ACEOF
63558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63559 _ACEOF
63560
63561 fi
63562 done
63563
63564     fi
63565   fi
63566
63567
63568
63569
63570
63571
63572   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
63573 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
63574   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63575     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
63576   echo $ECHO_N "(cached) $ECHO_C" >&6
63577 else
63578
63579
63580
63581       ac_ext=cc
63582 ac_cpp='$CXXCPP $CPPFLAGS'
63583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63586
63587       cat >conftest.$ac_ext <<_ACEOF
63588 /* confdefs.h.  */
63589 _ACEOF
63590 cat confdefs.h >>conftest.$ac_ext
63591 cat >>conftest.$ac_ext <<_ACEOF
63592 /* end confdefs.h.  */
63593 #include <math.h>
63594 int
63595 main ()
63596 {
63597  sincosf(0, 0, 0);
63598   ;
63599   return 0;
63600 }
63601 _ACEOF
63602 rm -f conftest.$ac_objext
63603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63604   (eval $ac_compile) 2>conftest.er1
63605   ac_status=$?
63606   grep -v '^ *+' conftest.er1 >conftest.err
63607   rm -f conftest.er1
63608   cat conftest.err >&5
63609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63610   (exit $ac_status); } &&
63611          { ac_try='test -z "$ac_cxx_werror_flag"
63612                          || test ! -s conftest.err'
63613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63614   (eval $ac_try) 2>&5
63615   ac_status=$?
63616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63617   (exit $ac_status); }; } &&
63618          { ac_try='test -s conftest.$ac_objext'
63619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63620   (eval $ac_try) 2>&5
63621   ac_status=$?
63622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63623   (exit $ac_status); }; }; then
63624   glibcxx_cv_func_sincosf_use=yes
63625 else
63626   echo "$as_me: failed program was:" >&5
63627 sed 's/^/| /' conftest.$ac_ext >&5
63628
63629 glibcxx_cv_func_sincosf_use=no
63630 fi
63631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63632       ac_ext=c
63633 ac_cpp='$CPP $CPPFLAGS'
63634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63637
63638
63639 fi
63640
63641   fi
63642   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
63643 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
63644
63645   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63646
63647 for ac_func in sincosf
63648 do
63649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63650 echo "$as_me:$LINENO: checking for $ac_func" >&5
63651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63652 if eval "test \"\${$as_ac_var+set}\" = set"; then
63653   echo $ECHO_N "(cached) $ECHO_C" >&6
63654 else
63655   if test x$gcc_no_link = xyes; then
63656   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63658    { (exit 1); exit 1; }; }
63659 fi
63660 cat >conftest.$ac_ext <<_ACEOF
63661 /* confdefs.h.  */
63662 _ACEOF
63663 cat confdefs.h >>conftest.$ac_ext
63664 cat >>conftest.$ac_ext <<_ACEOF
63665 /* end confdefs.h.  */
63666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63667    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63668 #define $ac_func innocuous_$ac_func
63669
63670 /* System header to define __stub macros and hopefully few prototypes,
63671     which can conflict with char $ac_func (); below.
63672     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63673     <limits.h> exists even on freestanding compilers.  */
63674
63675 #ifdef __STDC__
63676 # include <limits.h>
63677 #else
63678 # include <assert.h>
63679 #endif
63680
63681 #undef $ac_func
63682
63683 /* Override any gcc2 internal prototype to avoid an error.  */
63684 #ifdef __cplusplus
63685 extern "C"
63686 {
63687 #endif
63688 /* We use char because int might match the return type of a gcc2
63689    builtin and then its argument prototype would still apply.  */
63690 char $ac_func ();
63691 /* The GNU C library defines this for functions which it implements
63692     to always fail with ENOSYS.  Some functions are actually named
63693     something starting with __ and the normal name is an alias.  */
63694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63695 choke me
63696 #else
63697 char (*f) () = $ac_func;
63698 #endif
63699 #ifdef __cplusplus
63700 }
63701 #endif
63702
63703 int
63704 main ()
63705 {
63706 return f != $ac_func;
63707   ;
63708   return 0;
63709 }
63710 _ACEOF
63711 rm -f conftest.$ac_objext conftest$ac_exeext
63712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63713   (eval $ac_link) 2>conftest.er1
63714   ac_status=$?
63715   grep -v '^ *+' conftest.er1 >conftest.err
63716   rm -f conftest.er1
63717   cat conftest.err >&5
63718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63719   (exit $ac_status); } &&
63720          { ac_try='test -z "$ac_c_werror_flag"
63721                          || test ! -s conftest.err'
63722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63723   (eval $ac_try) 2>&5
63724   ac_status=$?
63725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63726   (exit $ac_status); }; } &&
63727          { ac_try='test -s conftest$ac_exeext'
63728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63729   (eval $ac_try) 2>&5
63730   ac_status=$?
63731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63732   (exit $ac_status); }; }; then
63733   eval "$as_ac_var=yes"
63734 else
63735   echo "$as_me: failed program was:" >&5
63736 sed 's/^/| /' conftest.$ac_ext >&5
63737
63738 eval "$as_ac_var=no"
63739 fi
63740 rm -f conftest.err conftest.$ac_objext \
63741       conftest$ac_exeext conftest.$ac_ext
63742 fi
63743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63745 if test `eval echo '${'$as_ac_var'}'` = yes; then
63746   cat >>confdefs.h <<_ACEOF
63747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63748 _ACEOF
63749
63750 fi
63751 done
63752
63753   else
63754
63755   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
63756 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
63757   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
63758     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
63759   echo $ECHO_N "(cached) $ECHO_C" >&6
63760 else
63761
63762
63763
63764       ac_ext=cc
63765 ac_cpp='$CXXCPP $CPPFLAGS'
63766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63769
63770       cat >conftest.$ac_ext <<_ACEOF
63771 /* confdefs.h.  */
63772 _ACEOF
63773 cat confdefs.h >>conftest.$ac_ext
63774 cat >>conftest.$ac_ext <<_ACEOF
63775 /* end confdefs.h.  */
63776 #include <math.h>
63777 int
63778 main ()
63779 {
63780  _sincosf(0, 0, 0);
63781   ;
63782   return 0;
63783 }
63784 _ACEOF
63785 rm -f conftest.$ac_objext
63786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63787   (eval $ac_compile) 2>conftest.er1
63788   ac_status=$?
63789   grep -v '^ *+' conftest.er1 >conftest.err
63790   rm -f conftest.er1
63791   cat conftest.err >&5
63792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63793   (exit $ac_status); } &&
63794          { ac_try='test -z "$ac_cxx_werror_flag"
63795                          || test ! -s conftest.err'
63796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63797   (eval $ac_try) 2>&5
63798   ac_status=$?
63799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63800   (exit $ac_status); }; } &&
63801          { ac_try='test -s conftest.$ac_objext'
63802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63803   (eval $ac_try) 2>&5
63804   ac_status=$?
63805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63806   (exit $ac_status); }; }; then
63807   glibcxx_cv_func__sincosf_use=yes
63808 else
63809   echo "$as_me: failed program was:" >&5
63810 sed 's/^/| /' conftest.$ac_ext >&5
63811
63812 glibcxx_cv_func__sincosf_use=no
63813 fi
63814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63815       ac_ext=c
63816 ac_cpp='$CPP $CPPFLAGS'
63817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63820
63821
63822 fi
63823
63824   fi
63825   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
63826 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
63827
63828     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
63829
63830 for ac_func in _sincosf
63831 do
63832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63833 echo "$as_me:$LINENO: checking for $ac_func" >&5
63834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63835 if eval "test \"\${$as_ac_var+set}\" = set"; then
63836   echo $ECHO_N "(cached) $ECHO_C" >&6
63837 else
63838   if test x$gcc_no_link = xyes; then
63839   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63841    { (exit 1); exit 1; }; }
63842 fi
63843 cat >conftest.$ac_ext <<_ACEOF
63844 /* confdefs.h.  */
63845 _ACEOF
63846 cat confdefs.h >>conftest.$ac_ext
63847 cat >>conftest.$ac_ext <<_ACEOF
63848 /* end confdefs.h.  */
63849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63850    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63851 #define $ac_func innocuous_$ac_func
63852
63853 /* System header to define __stub macros and hopefully few prototypes,
63854     which can conflict with char $ac_func (); below.
63855     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63856     <limits.h> exists even on freestanding compilers.  */
63857
63858 #ifdef __STDC__
63859 # include <limits.h>
63860 #else
63861 # include <assert.h>
63862 #endif
63863
63864 #undef $ac_func
63865
63866 /* Override any gcc2 internal prototype to avoid an error.  */
63867 #ifdef __cplusplus
63868 extern "C"
63869 {
63870 #endif
63871 /* We use char because int might match the return type of a gcc2
63872    builtin and then its argument prototype would still apply.  */
63873 char $ac_func ();
63874 /* The GNU C library defines this for functions which it implements
63875     to always fail with ENOSYS.  Some functions are actually named
63876     something starting with __ and the normal name is an alias.  */
63877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63878 choke me
63879 #else
63880 char (*f) () = $ac_func;
63881 #endif
63882 #ifdef __cplusplus
63883 }
63884 #endif
63885
63886 int
63887 main ()
63888 {
63889 return f != $ac_func;
63890   ;
63891   return 0;
63892 }
63893 _ACEOF
63894 rm -f conftest.$ac_objext conftest$ac_exeext
63895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63896   (eval $ac_link) 2>conftest.er1
63897   ac_status=$?
63898   grep -v '^ *+' conftest.er1 >conftest.err
63899   rm -f conftest.er1
63900   cat conftest.err >&5
63901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63902   (exit $ac_status); } &&
63903          { ac_try='test -z "$ac_c_werror_flag"
63904                          || test ! -s conftest.err'
63905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63906   (eval $ac_try) 2>&5
63907   ac_status=$?
63908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63909   (exit $ac_status); }; } &&
63910          { ac_try='test -s conftest$ac_exeext'
63911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63912   (eval $ac_try) 2>&5
63913   ac_status=$?
63914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63915   (exit $ac_status); }; }; then
63916   eval "$as_ac_var=yes"
63917 else
63918   echo "$as_me: failed program was:" >&5
63919 sed 's/^/| /' conftest.$ac_ext >&5
63920
63921 eval "$as_ac_var=no"
63922 fi
63923 rm -f conftest.err conftest.$ac_objext \
63924       conftest$ac_exeext conftest.$ac_ext
63925 fi
63926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63928 if test `eval echo '${'$as_ac_var'}'` = yes; then
63929   cat >>confdefs.h <<_ACEOF
63930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63931 _ACEOF
63932
63933 fi
63934 done
63935
63936     fi
63937   fi
63938
63939
63940
63941
63942
63943
63944   echo "$as_me:$LINENO: checking for finitef declaration" >&5
63945 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
63946   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
63947     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
63948   echo $ECHO_N "(cached) $ECHO_C" >&6
63949 else
63950
63951
63952
63953       ac_ext=cc
63954 ac_cpp='$CXXCPP $CPPFLAGS'
63955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63958
63959       cat >conftest.$ac_ext <<_ACEOF
63960 /* confdefs.h.  */
63961 _ACEOF
63962 cat confdefs.h >>conftest.$ac_ext
63963 cat >>conftest.$ac_ext <<_ACEOF
63964 /* end confdefs.h.  */
63965 #include <math.h>
63966                       #ifdef HAVE_IEEEFP_H
63967                       #include <ieeefp.h>
63968                       #endif
63969
63970 int
63971 main ()
63972 {
63973  finitef(0);
63974   ;
63975   return 0;
63976 }
63977 _ACEOF
63978 rm -f conftest.$ac_objext
63979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63980   (eval $ac_compile) 2>conftest.er1
63981   ac_status=$?
63982   grep -v '^ *+' conftest.er1 >conftest.err
63983   rm -f conftest.er1
63984   cat conftest.err >&5
63985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63986   (exit $ac_status); } &&
63987          { ac_try='test -z "$ac_cxx_werror_flag"
63988                          || test ! -s conftest.err'
63989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63990   (eval $ac_try) 2>&5
63991   ac_status=$?
63992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63993   (exit $ac_status); }; } &&
63994          { ac_try='test -s conftest.$ac_objext'
63995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63996   (eval $ac_try) 2>&5
63997   ac_status=$?
63998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63999   (exit $ac_status); }; }; then
64000   glibcxx_cv_func_finitef_use=yes
64001 else
64002   echo "$as_me: failed program was:" >&5
64003 sed 's/^/| /' conftest.$ac_ext >&5
64004
64005 glibcxx_cv_func_finitef_use=no
64006 fi
64007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64008       ac_ext=c
64009 ac_cpp='$CPP $CPPFLAGS'
64010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64013
64014
64015 fi
64016
64017   fi
64018   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
64019 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
64020
64021   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
64022
64023 for ac_func in finitef
64024 do
64025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64026 echo "$as_me:$LINENO: checking for $ac_func" >&5
64027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64028 if eval "test \"\${$as_ac_var+set}\" = set"; then
64029   echo $ECHO_N "(cached) $ECHO_C" >&6
64030 else
64031   if test x$gcc_no_link = xyes; then
64032   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64034    { (exit 1); exit 1; }; }
64035 fi
64036 cat >conftest.$ac_ext <<_ACEOF
64037 /* confdefs.h.  */
64038 _ACEOF
64039 cat confdefs.h >>conftest.$ac_ext
64040 cat >>conftest.$ac_ext <<_ACEOF
64041 /* end confdefs.h.  */
64042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64043    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64044 #define $ac_func innocuous_$ac_func
64045
64046 /* System header to define __stub macros and hopefully few prototypes,
64047     which can conflict with char $ac_func (); below.
64048     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64049     <limits.h> exists even on freestanding compilers.  */
64050
64051 #ifdef __STDC__
64052 # include <limits.h>
64053 #else
64054 # include <assert.h>
64055 #endif
64056
64057 #undef $ac_func
64058
64059 /* Override any gcc2 internal prototype to avoid an error.  */
64060 #ifdef __cplusplus
64061 extern "C"
64062 {
64063 #endif
64064 /* We use char because int might match the return type of a gcc2
64065    builtin and then its argument prototype would still apply.  */
64066 char $ac_func ();
64067 /* The GNU C library defines this for functions which it implements
64068     to always fail with ENOSYS.  Some functions are actually named
64069     something starting with __ and the normal name is an alias.  */
64070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64071 choke me
64072 #else
64073 char (*f) () = $ac_func;
64074 #endif
64075 #ifdef __cplusplus
64076 }
64077 #endif
64078
64079 int
64080 main ()
64081 {
64082 return f != $ac_func;
64083   ;
64084   return 0;
64085 }
64086 _ACEOF
64087 rm -f conftest.$ac_objext conftest$ac_exeext
64088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64089   (eval $ac_link) 2>conftest.er1
64090   ac_status=$?
64091   grep -v '^ *+' conftest.er1 >conftest.err
64092   rm -f conftest.er1
64093   cat conftest.err >&5
64094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64095   (exit $ac_status); } &&
64096          { ac_try='test -z "$ac_c_werror_flag"
64097                          || test ! -s conftest.err'
64098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64099   (eval $ac_try) 2>&5
64100   ac_status=$?
64101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64102   (exit $ac_status); }; } &&
64103          { ac_try='test -s conftest$ac_exeext'
64104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64105   (eval $ac_try) 2>&5
64106   ac_status=$?
64107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64108   (exit $ac_status); }; }; then
64109   eval "$as_ac_var=yes"
64110 else
64111   echo "$as_me: failed program was:" >&5
64112 sed 's/^/| /' conftest.$ac_ext >&5
64113
64114 eval "$as_ac_var=no"
64115 fi
64116 rm -f conftest.err conftest.$ac_objext \
64117       conftest$ac_exeext conftest.$ac_ext
64118 fi
64119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64121 if test `eval echo '${'$as_ac_var'}'` = yes; then
64122   cat >>confdefs.h <<_ACEOF
64123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64124 _ACEOF
64125
64126 fi
64127 done
64128
64129   else
64130
64131   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
64132 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
64133   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
64134     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
64135   echo $ECHO_N "(cached) $ECHO_C" >&6
64136 else
64137
64138
64139
64140       ac_ext=cc
64141 ac_cpp='$CXXCPP $CPPFLAGS'
64142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64145
64146       cat >conftest.$ac_ext <<_ACEOF
64147 /* confdefs.h.  */
64148 _ACEOF
64149 cat confdefs.h >>conftest.$ac_ext
64150 cat >>conftest.$ac_ext <<_ACEOF
64151 /* end confdefs.h.  */
64152 #include <math.h>
64153                       #ifdef HAVE_IEEEFP_H
64154                       #include <ieeefp.h>
64155                       #endif
64156
64157 int
64158 main ()
64159 {
64160  _finitef(0);
64161   ;
64162   return 0;
64163 }
64164 _ACEOF
64165 rm -f conftest.$ac_objext
64166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64167   (eval $ac_compile) 2>conftest.er1
64168   ac_status=$?
64169   grep -v '^ *+' conftest.er1 >conftest.err
64170   rm -f conftest.er1
64171   cat conftest.err >&5
64172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64173   (exit $ac_status); } &&
64174          { ac_try='test -z "$ac_cxx_werror_flag"
64175                          || test ! -s conftest.err'
64176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64177   (eval $ac_try) 2>&5
64178   ac_status=$?
64179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64180   (exit $ac_status); }; } &&
64181          { ac_try='test -s conftest.$ac_objext'
64182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64183   (eval $ac_try) 2>&5
64184   ac_status=$?
64185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64186   (exit $ac_status); }; }; then
64187   glibcxx_cv_func__finitef_use=yes
64188 else
64189   echo "$as_me: failed program was:" >&5
64190 sed 's/^/| /' conftest.$ac_ext >&5
64191
64192 glibcxx_cv_func__finitef_use=no
64193 fi
64194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64195       ac_ext=c
64196 ac_cpp='$CPP $CPPFLAGS'
64197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64200
64201
64202 fi
64203
64204   fi
64205   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
64206 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
64207
64208     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
64209
64210 for ac_func in _finitef
64211 do
64212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64213 echo "$as_me:$LINENO: checking for $ac_func" >&5
64214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64215 if eval "test \"\${$as_ac_var+set}\" = set"; then
64216   echo $ECHO_N "(cached) $ECHO_C" >&6
64217 else
64218   if test x$gcc_no_link = xyes; then
64219   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64221    { (exit 1); exit 1; }; }
64222 fi
64223 cat >conftest.$ac_ext <<_ACEOF
64224 /* confdefs.h.  */
64225 _ACEOF
64226 cat confdefs.h >>conftest.$ac_ext
64227 cat >>conftest.$ac_ext <<_ACEOF
64228 /* end confdefs.h.  */
64229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64230    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64231 #define $ac_func innocuous_$ac_func
64232
64233 /* System header to define __stub macros and hopefully few prototypes,
64234     which can conflict with char $ac_func (); below.
64235     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64236     <limits.h> exists even on freestanding compilers.  */
64237
64238 #ifdef __STDC__
64239 # include <limits.h>
64240 #else
64241 # include <assert.h>
64242 #endif
64243
64244 #undef $ac_func
64245
64246 /* Override any gcc2 internal prototype to avoid an error.  */
64247 #ifdef __cplusplus
64248 extern "C"
64249 {
64250 #endif
64251 /* We use char because int might match the return type of a gcc2
64252    builtin and then its argument prototype would still apply.  */
64253 char $ac_func ();
64254 /* The GNU C library defines this for functions which it implements
64255     to always fail with ENOSYS.  Some functions are actually named
64256     something starting with __ and the normal name is an alias.  */
64257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64258 choke me
64259 #else
64260 char (*f) () = $ac_func;
64261 #endif
64262 #ifdef __cplusplus
64263 }
64264 #endif
64265
64266 int
64267 main ()
64268 {
64269 return f != $ac_func;
64270   ;
64271   return 0;
64272 }
64273 _ACEOF
64274 rm -f conftest.$ac_objext conftest$ac_exeext
64275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64276   (eval $ac_link) 2>conftest.er1
64277   ac_status=$?
64278   grep -v '^ *+' conftest.er1 >conftest.err
64279   rm -f conftest.er1
64280   cat conftest.err >&5
64281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64282   (exit $ac_status); } &&
64283          { ac_try='test -z "$ac_c_werror_flag"
64284                          || test ! -s conftest.err'
64285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64286   (eval $ac_try) 2>&5
64287   ac_status=$?
64288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64289   (exit $ac_status); }; } &&
64290          { ac_try='test -s conftest$ac_exeext'
64291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64292   (eval $ac_try) 2>&5
64293   ac_status=$?
64294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64295   (exit $ac_status); }; }; then
64296   eval "$as_ac_var=yes"
64297 else
64298   echo "$as_me: failed program was:" >&5
64299 sed 's/^/| /' conftest.$ac_ext >&5
64300
64301 eval "$as_ac_var=no"
64302 fi
64303 rm -f conftest.err conftest.$ac_objext \
64304       conftest$ac_exeext conftest.$ac_ext
64305 fi
64306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64308 if test `eval echo '${'$as_ac_var'}'` = yes; then
64309   cat >>confdefs.h <<_ACEOF
64310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64311 _ACEOF
64312
64313 fi
64314 done
64315
64316     fi
64317   fi
64318
64319
64320
64321
64322
64323
64324     echo "$as_me:$LINENO: checking for long double trig functions" >&5
64325 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
64326   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
64327   echo $ECHO_N "(cached) $ECHO_C" >&6
64328 else
64329
64330
64331
64332     ac_ext=cc
64333 ac_cpp='$CXXCPP $CPPFLAGS'
64334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64337
64338     cat >conftest.$ac_ext <<_ACEOF
64339 /* confdefs.h.  */
64340 _ACEOF
64341 cat confdefs.h >>conftest.$ac_ext
64342 cat >>conftest.$ac_ext <<_ACEOF
64343 /* end confdefs.h.  */
64344 #include <math.h>
64345 int
64346 main ()
64347 {
64348 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
64349   ;
64350   return 0;
64351 }
64352 _ACEOF
64353 rm -f conftest.$ac_objext
64354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64355   (eval $ac_compile) 2>conftest.er1
64356   ac_status=$?
64357   grep -v '^ *+' conftest.er1 >conftest.err
64358   rm -f conftest.er1
64359   cat conftest.err >&5
64360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64361   (exit $ac_status); } &&
64362          { ac_try='test -z "$ac_cxx_werror_flag"
64363                          || test ! -s conftest.err'
64364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64365   (eval $ac_try) 2>&5
64366   ac_status=$?
64367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64368   (exit $ac_status); }; } &&
64369          { ac_try='test -s conftest.$ac_objext'
64370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64371   (eval $ac_try) 2>&5
64372   ac_status=$?
64373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64374   (exit $ac_status); }; }; then
64375   glibcxx_cv_func_long_double_trig_use=yes
64376 else
64377   echo "$as_me: failed program was:" >&5
64378 sed 's/^/| /' conftest.$ac_ext >&5
64379
64380 glibcxx_cv_func_long_double_trig_use=no
64381 fi
64382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64383     ac_ext=c
64384 ac_cpp='$CPP $CPPFLAGS'
64385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64388
64389 fi
64390
64391   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
64392 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
64393   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
64394
64395
64396
64397
64398
64399
64400
64401
64402
64403 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
64404 do
64405 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64406 echo "$as_me:$LINENO: checking for $ac_func" >&5
64407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64408 if eval "test \"\${$as_ac_var+set}\" = set"; then
64409   echo $ECHO_N "(cached) $ECHO_C" >&6
64410 else
64411   if test x$gcc_no_link = xyes; then
64412   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64414    { (exit 1); exit 1; }; }
64415 fi
64416 cat >conftest.$ac_ext <<_ACEOF
64417 /* confdefs.h.  */
64418 _ACEOF
64419 cat confdefs.h >>conftest.$ac_ext
64420 cat >>conftest.$ac_ext <<_ACEOF
64421 /* end confdefs.h.  */
64422 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64423    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64424 #define $ac_func innocuous_$ac_func
64425
64426 /* System header to define __stub macros and hopefully few prototypes,
64427     which can conflict with char $ac_func (); below.
64428     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64429     <limits.h> exists even on freestanding compilers.  */
64430
64431 #ifdef __STDC__
64432 # include <limits.h>
64433 #else
64434 # include <assert.h>
64435 #endif
64436
64437 #undef $ac_func
64438
64439 /* Override any gcc2 internal prototype to avoid an error.  */
64440 #ifdef __cplusplus
64441 extern "C"
64442 {
64443 #endif
64444 /* We use char because int might match the return type of a gcc2
64445    builtin and then its argument prototype would still apply.  */
64446 char $ac_func ();
64447 /* The GNU C library defines this for functions which it implements
64448     to always fail with ENOSYS.  Some functions are actually named
64449     something starting with __ and the normal name is an alias.  */
64450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64451 choke me
64452 #else
64453 char (*f) () = $ac_func;
64454 #endif
64455 #ifdef __cplusplus
64456 }
64457 #endif
64458
64459 int
64460 main ()
64461 {
64462 return f != $ac_func;
64463   ;
64464   return 0;
64465 }
64466 _ACEOF
64467 rm -f conftest.$ac_objext conftest$ac_exeext
64468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64469   (eval $ac_link) 2>conftest.er1
64470   ac_status=$?
64471   grep -v '^ *+' conftest.er1 >conftest.err
64472   rm -f conftest.er1
64473   cat conftest.err >&5
64474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64475   (exit $ac_status); } &&
64476          { ac_try='test -z "$ac_c_werror_flag"
64477                          || test ! -s conftest.err'
64478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64479   (eval $ac_try) 2>&5
64480   ac_status=$?
64481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64482   (exit $ac_status); }; } &&
64483          { ac_try='test -s conftest$ac_exeext'
64484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64485   (eval $ac_try) 2>&5
64486   ac_status=$?
64487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64488   (exit $ac_status); }; }; then
64489   eval "$as_ac_var=yes"
64490 else
64491   echo "$as_me: failed program was:" >&5
64492 sed 's/^/| /' conftest.$ac_ext >&5
64493
64494 eval "$as_ac_var=no"
64495 fi
64496 rm -f conftest.err conftest.$ac_objext \
64497       conftest$ac_exeext conftest.$ac_ext
64498 fi
64499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64500 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64501 if test `eval echo '${'$as_ac_var'}'` = yes; then
64502   cat >>confdefs.h <<_ACEOF
64503 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64504 _ACEOF
64505
64506 fi
64507 done
64508
64509   else
64510     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
64511 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
64512     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
64513   echo $ECHO_N "(cached) $ECHO_C" >&6
64514 else
64515
64516
64517
64518       ac_ext=cc
64519 ac_cpp='$CXXCPP $CPPFLAGS'
64520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64523
64524       cat >conftest.$ac_ext <<_ACEOF
64525 /* confdefs.h.  */
64526 _ACEOF
64527 cat confdefs.h >>conftest.$ac_ext
64528 cat >>conftest.$ac_ext <<_ACEOF
64529 /* end confdefs.h.  */
64530 #include <math.h>
64531 int
64532 main ()
64533 {
64534 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
64535   ;
64536   return 0;
64537 }
64538 _ACEOF
64539 rm -f conftest.$ac_objext
64540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64541   (eval $ac_compile) 2>conftest.er1
64542   ac_status=$?
64543   grep -v '^ *+' conftest.er1 >conftest.err
64544   rm -f conftest.er1
64545   cat conftest.err >&5
64546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64547   (exit $ac_status); } &&
64548          { ac_try='test -z "$ac_cxx_werror_flag"
64549                          || test ! -s conftest.err'
64550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64551   (eval $ac_try) 2>&5
64552   ac_status=$?
64553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64554   (exit $ac_status); }; } &&
64555          { ac_try='test -s conftest.$ac_objext'
64556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64557   (eval $ac_try) 2>&5
64558   ac_status=$?
64559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64560   (exit $ac_status); }; }; then
64561   glibcxx_cv_func__long_double_trig_use=yes
64562 else
64563   echo "$as_me: failed program was:" >&5
64564 sed 's/^/| /' conftest.$ac_ext >&5
64565
64566 glibcxx_cv_func__long_double_trig_use=no
64567 fi
64568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64569       ac_ext=c
64570 ac_cpp='$CPP $CPPFLAGS'
64571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64574
64575 fi
64576
64577     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
64578 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
64579     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
64580
64581
64582
64583
64584
64585
64586
64587
64588
64589 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
64590 do
64591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64592 echo "$as_me:$LINENO: checking for $ac_func" >&5
64593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64594 if eval "test \"\${$as_ac_var+set}\" = set"; then
64595   echo $ECHO_N "(cached) $ECHO_C" >&6
64596 else
64597   if test x$gcc_no_link = xyes; then
64598   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64600    { (exit 1); exit 1; }; }
64601 fi
64602 cat >conftest.$ac_ext <<_ACEOF
64603 /* confdefs.h.  */
64604 _ACEOF
64605 cat confdefs.h >>conftest.$ac_ext
64606 cat >>conftest.$ac_ext <<_ACEOF
64607 /* end confdefs.h.  */
64608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64609    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64610 #define $ac_func innocuous_$ac_func
64611
64612 /* System header to define __stub macros and hopefully few prototypes,
64613     which can conflict with char $ac_func (); below.
64614     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64615     <limits.h> exists even on freestanding compilers.  */
64616
64617 #ifdef __STDC__
64618 # include <limits.h>
64619 #else
64620 # include <assert.h>
64621 #endif
64622
64623 #undef $ac_func
64624
64625 /* Override any gcc2 internal prototype to avoid an error.  */
64626 #ifdef __cplusplus
64627 extern "C"
64628 {
64629 #endif
64630 /* We use char because int might match the return type of a gcc2
64631    builtin and then its argument prototype would still apply.  */
64632 char $ac_func ();
64633 /* The GNU C library defines this for functions which it implements
64634     to always fail with ENOSYS.  Some functions are actually named
64635     something starting with __ and the normal name is an alias.  */
64636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64637 choke me
64638 #else
64639 char (*f) () = $ac_func;
64640 #endif
64641 #ifdef __cplusplus
64642 }
64643 #endif
64644
64645 int
64646 main ()
64647 {
64648 return f != $ac_func;
64649   ;
64650   return 0;
64651 }
64652 _ACEOF
64653 rm -f conftest.$ac_objext conftest$ac_exeext
64654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64655   (eval $ac_link) 2>conftest.er1
64656   ac_status=$?
64657   grep -v '^ *+' conftest.er1 >conftest.err
64658   rm -f conftest.er1
64659   cat conftest.err >&5
64660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64661   (exit $ac_status); } &&
64662          { ac_try='test -z "$ac_c_werror_flag"
64663                          || test ! -s conftest.err'
64664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64665   (eval $ac_try) 2>&5
64666   ac_status=$?
64667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64668   (exit $ac_status); }; } &&
64669          { ac_try='test -s conftest$ac_exeext'
64670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64671   (eval $ac_try) 2>&5
64672   ac_status=$?
64673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64674   (exit $ac_status); }; }; then
64675   eval "$as_ac_var=yes"
64676 else
64677   echo "$as_me: failed program was:" >&5
64678 sed 's/^/| /' conftest.$ac_ext >&5
64679
64680 eval "$as_ac_var=no"
64681 fi
64682 rm -f conftest.err conftest.$ac_objext \
64683       conftest$ac_exeext conftest.$ac_ext
64684 fi
64685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64687 if test `eval echo '${'$as_ac_var'}'` = yes; then
64688   cat >>confdefs.h <<_ACEOF
64689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64690 _ACEOF
64691
64692 fi
64693 done
64694
64695     fi
64696   fi
64697
64698
64699
64700
64701
64702
64703
64704
64705
64706
64707
64708
64709
64710
64711     echo "$as_me:$LINENO: checking for long double round functions" >&5
64712 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
64713   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
64714   echo $ECHO_N "(cached) $ECHO_C" >&6
64715 else
64716
64717
64718
64719     ac_ext=cc
64720 ac_cpp='$CXXCPP $CPPFLAGS'
64721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64724
64725     cat >conftest.$ac_ext <<_ACEOF
64726 /* confdefs.h.  */
64727 _ACEOF
64728 cat confdefs.h >>conftest.$ac_ext
64729 cat >>conftest.$ac_ext <<_ACEOF
64730 /* end confdefs.h.  */
64731 #include <math.h>
64732 int
64733 main ()
64734 {
64735 ceill (0); floorl (0);
64736   ;
64737   return 0;
64738 }
64739 _ACEOF
64740 rm -f conftest.$ac_objext
64741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64742   (eval $ac_compile) 2>conftest.er1
64743   ac_status=$?
64744   grep -v '^ *+' conftest.er1 >conftest.err
64745   rm -f conftest.er1
64746   cat conftest.err >&5
64747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64748   (exit $ac_status); } &&
64749          { ac_try='test -z "$ac_cxx_werror_flag"
64750                          || test ! -s conftest.err'
64751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64752   (eval $ac_try) 2>&5
64753   ac_status=$?
64754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64755   (exit $ac_status); }; } &&
64756          { ac_try='test -s conftest.$ac_objext'
64757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64758   (eval $ac_try) 2>&5
64759   ac_status=$?
64760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64761   (exit $ac_status); }; }; then
64762   glibcxx_cv_func_long_double_round_use=yes
64763 else
64764   echo "$as_me: failed program was:" >&5
64765 sed 's/^/| /' conftest.$ac_ext >&5
64766
64767 glibcxx_cv_func_long_double_round_use=no
64768 fi
64769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64770     ac_ext=c
64771 ac_cpp='$CPP $CPPFLAGS'
64772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64775
64776 fi
64777
64778   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
64779 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
64780   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
64781
64782
64783 for ac_func in ceill floorl
64784 do
64785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64786 echo "$as_me:$LINENO: checking for $ac_func" >&5
64787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64788 if eval "test \"\${$as_ac_var+set}\" = set"; then
64789   echo $ECHO_N "(cached) $ECHO_C" >&6
64790 else
64791   if test x$gcc_no_link = xyes; then
64792   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64794    { (exit 1); exit 1; }; }
64795 fi
64796 cat >conftest.$ac_ext <<_ACEOF
64797 /* confdefs.h.  */
64798 _ACEOF
64799 cat confdefs.h >>conftest.$ac_ext
64800 cat >>conftest.$ac_ext <<_ACEOF
64801 /* end confdefs.h.  */
64802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64803    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64804 #define $ac_func innocuous_$ac_func
64805
64806 /* System header to define __stub macros and hopefully few prototypes,
64807     which can conflict with char $ac_func (); below.
64808     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64809     <limits.h> exists even on freestanding compilers.  */
64810
64811 #ifdef __STDC__
64812 # include <limits.h>
64813 #else
64814 # include <assert.h>
64815 #endif
64816
64817 #undef $ac_func
64818
64819 /* Override any gcc2 internal prototype to avoid an error.  */
64820 #ifdef __cplusplus
64821 extern "C"
64822 {
64823 #endif
64824 /* We use char because int might match the return type of a gcc2
64825    builtin and then its argument prototype would still apply.  */
64826 char $ac_func ();
64827 /* The GNU C library defines this for functions which it implements
64828     to always fail with ENOSYS.  Some functions are actually named
64829     something starting with __ and the normal name is an alias.  */
64830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64831 choke me
64832 #else
64833 char (*f) () = $ac_func;
64834 #endif
64835 #ifdef __cplusplus
64836 }
64837 #endif
64838
64839 int
64840 main ()
64841 {
64842 return f != $ac_func;
64843   ;
64844   return 0;
64845 }
64846 _ACEOF
64847 rm -f conftest.$ac_objext conftest$ac_exeext
64848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64849   (eval $ac_link) 2>conftest.er1
64850   ac_status=$?
64851   grep -v '^ *+' conftest.er1 >conftest.err
64852   rm -f conftest.er1
64853   cat conftest.err >&5
64854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64855   (exit $ac_status); } &&
64856          { ac_try='test -z "$ac_c_werror_flag"
64857                          || test ! -s conftest.err'
64858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64859   (eval $ac_try) 2>&5
64860   ac_status=$?
64861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64862   (exit $ac_status); }; } &&
64863          { ac_try='test -s conftest$ac_exeext'
64864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64865   (eval $ac_try) 2>&5
64866   ac_status=$?
64867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64868   (exit $ac_status); }; }; then
64869   eval "$as_ac_var=yes"
64870 else
64871   echo "$as_me: failed program was:" >&5
64872 sed 's/^/| /' conftest.$ac_ext >&5
64873
64874 eval "$as_ac_var=no"
64875 fi
64876 rm -f conftest.err conftest.$ac_objext \
64877       conftest$ac_exeext conftest.$ac_ext
64878 fi
64879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64881 if test `eval echo '${'$as_ac_var'}'` = yes; then
64882   cat >>confdefs.h <<_ACEOF
64883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64884 _ACEOF
64885
64886 fi
64887 done
64888
64889   else
64890     echo "$as_me:$LINENO: checking for _long double round functions" >&5
64891 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
64892     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
64893   echo $ECHO_N "(cached) $ECHO_C" >&6
64894 else
64895
64896
64897
64898       ac_ext=cc
64899 ac_cpp='$CXXCPP $CPPFLAGS'
64900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64903
64904       cat >conftest.$ac_ext <<_ACEOF
64905 /* confdefs.h.  */
64906 _ACEOF
64907 cat confdefs.h >>conftest.$ac_ext
64908 cat >>conftest.$ac_ext <<_ACEOF
64909 /* end confdefs.h.  */
64910 #include <math.h>
64911 int
64912 main ()
64913 {
64914 _ceill (0); _floorl (0);
64915   ;
64916   return 0;
64917 }
64918 _ACEOF
64919 rm -f conftest.$ac_objext
64920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64921   (eval $ac_compile) 2>conftest.er1
64922   ac_status=$?
64923   grep -v '^ *+' conftest.er1 >conftest.err
64924   rm -f conftest.er1
64925   cat conftest.err >&5
64926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64927   (exit $ac_status); } &&
64928          { ac_try='test -z "$ac_cxx_werror_flag"
64929                          || test ! -s conftest.err'
64930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64931   (eval $ac_try) 2>&5
64932   ac_status=$?
64933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64934   (exit $ac_status); }; } &&
64935          { ac_try='test -s conftest.$ac_objext'
64936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64937   (eval $ac_try) 2>&5
64938   ac_status=$?
64939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64940   (exit $ac_status); }; }; then
64941   glibcxx_cv_func__long_double_round_use=yes
64942 else
64943   echo "$as_me: failed program was:" >&5
64944 sed 's/^/| /' conftest.$ac_ext >&5
64945
64946 glibcxx_cv_func__long_double_round_use=no
64947 fi
64948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64949       ac_ext=c
64950 ac_cpp='$CPP $CPPFLAGS'
64951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64954
64955 fi
64956
64957     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
64958 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
64959     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
64960
64961
64962 for ac_func in _ceill _floorl
64963 do
64964 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64965 echo "$as_me:$LINENO: checking for $ac_func" >&5
64966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64967 if eval "test \"\${$as_ac_var+set}\" = set"; then
64968   echo $ECHO_N "(cached) $ECHO_C" >&6
64969 else
64970   if test x$gcc_no_link = xyes; then
64971   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64973    { (exit 1); exit 1; }; }
64974 fi
64975 cat >conftest.$ac_ext <<_ACEOF
64976 /* confdefs.h.  */
64977 _ACEOF
64978 cat confdefs.h >>conftest.$ac_ext
64979 cat >>conftest.$ac_ext <<_ACEOF
64980 /* end confdefs.h.  */
64981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64982    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64983 #define $ac_func innocuous_$ac_func
64984
64985 /* System header to define __stub macros and hopefully few prototypes,
64986     which can conflict with char $ac_func (); below.
64987     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64988     <limits.h> exists even on freestanding compilers.  */
64989
64990 #ifdef __STDC__
64991 # include <limits.h>
64992 #else
64993 # include <assert.h>
64994 #endif
64995
64996 #undef $ac_func
64997
64998 /* Override any gcc2 internal prototype to avoid an error.  */
64999 #ifdef __cplusplus
65000 extern "C"
65001 {
65002 #endif
65003 /* We use char because int might match the return type of a gcc2
65004    builtin and then its argument prototype would still apply.  */
65005 char $ac_func ();
65006 /* The GNU C library defines this for functions which it implements
65007     to always fail with ENOSYS.  Some functions are actually named
65008     something starting with __ and the normal name is an alias.  */
65009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65010 choke me
65011 #else
65012 char (*f) () = $ac_func;
65013 #endif
65014 #ifdef __cplusplus
65015 }
65016 #endif
65017
65018 int
65019 main ()
65020 {
65021 return f != $ac_func;
65022   ;
65023   return 0;
65024 }
65025 _ACEOF
65026 rm -f conftest.$ac_objext conftest$ac_exeext
65027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65028   (eval $ac_link) 2>conftest.er1
65029   ac_status=$?
65030   grep -v '^ *+' conftest.er1 >conftest.err
65031   rm -f conftest.er1
65032   cat conftest.err >&5
65033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65034   (exit $ac_status); } &&
65035          { ac_try='test -z "$ac_c_werror_flag"
65036                          || test ! -s conftest.err'
65037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65038   (eval $ac_try) 2>&5
65039   ac_status=$?
65040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65041   (exit $ac_status); }; } &&
65042          { ac_try='test -s conftest$ac_exeext'
65043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65044   (eval $ac_try) 2>&5
65045   ac_status=$?
65046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65047   (exit $ac_status); }; }; then
65048   eval "$as_ac_var=yes"
65049 else
65050   echo "$as_me: failed program was:" >&5
65051 sed 's/^/| /' conftest.$ac_ext >&5
65052
65053 eval "$as_ac_var=no"
65054 fi
65055 rm -f conftest.err conftest.$ac_objext \
65056       conftest$ac_exeext conftest.$ac_ext
65057 fi
65058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65059 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65060 if test `eval echo '${'$as_ac_var'}'` = yes; then
65061   cat >>confdefs.h <<_ACEOF
65062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65063 _ACEOF
65064
65065 fi
65066 done
65067
65068     fi
65069   fi
65070
65071
65072
65073
65074
65075
65076
65077
65078   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
65079 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
65080   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
65081     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
65082   echo $ECHO_N "(cached) $ECHO_C" >&6
65083 else
65084
65085
65086
65087       ac_ext=cc
65088 ac_cpp='$CXXCPP $CPPFLAGS'
65089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65092
65093       cat >conftest.$ac_ext <<_ACEOF
65094 /* confdefs.h.  */
65095 _ACEOF
65096 cat confdefs.h >>conftest.$ac_ext
65097 cat >>conftest.$ac_ext <<_ACEOF
65098 /* end confdefs.h.  */
65099 #include <math.h>
65100                       #ifdef HAVE_IEEEFP_H
65101                       #include <ieeefp.h>
65102                       #endif
65103
65104 int
65105 main ()
65106 {
65107  isnanl(0);
65108   ;
65109   return 0;
65110 }
65111 _ACEOF
65112 rm -f conftest.$ac_objext
65113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65114   (eval $ac_compile) 2>conftest.er1
65115   ac_status=$?
65116   grep -v '^ *+' conftest.er1 >conftest.err
65117   rm -f conftest.er1
65118   cat conftest.err >&5
65119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65120   (exit $ac_status); } &&
65121          { ac_try='test -z "$ac_cxx_werror_flag"
65122                          || test ! -s conftest.err'
65123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65124   (eval $ac_try) 2>&5
65125   ac_status=$?
65126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65127   (exit $ac_status); }; } &&
65128          { ac_try='test -s conftest.$ac_objext'
65129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65130   (eval $ac_try) 2>&5
65131   ac_status=$?
65132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65133   (exit $ac_status); }; }; then
65134   glibcxx_cv_func_isnanl_use=yes
65135 else
65136   echo "$as_me: failed program was:" >&5
65137 sed 's/^/| /' conftest.$ac_ext >&5
65138
65139 glibcxx_cv_func_isnanl_use=no
65140 fi
65141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65142       ac_ext=c
65143 ac_cpp='$CPP $CPPFLAGS'
65144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65147
65148
65149 fi
65150
65151   fi
65152   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
65153 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
65154
65155   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
65156
65157 for ac_func in isnanl
65158 do
65159 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65160 echo "$as_me:$LINENO: checking for $ac_func" >&5
65161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65162 if eval "test \"\${$as_ac_var+set}\" = set"; then
65163   echo $ECHO_N "(cached) $ECHO_C" >&6
65164 else
65165   if test x$gcc_no_link = xyes; then
65166   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65168    { (exit 1); exit 1; }; }
65169 fi
65170 cat >conftest.$ac_ext <<_ACEOF
65171 /* confdefs.h.  */
65172 _ACEOF
65173 cat confdefs.h >>conftest.$ac_ext
65174 cat >>conftest.$ac_ext <<_ACEOF
65175 /* end confdefs.h.  */
65176 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65177    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65178 #define $ac_func innocuous_$ac_func
65179
65180 /* System header to define __stub macros and hopefully few prototypes,
65181     which can conflict with char $ac_func (); below.
65182     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65183     <limits.h> exists even on freestanding compilers.  */
65184
65185 #ifdef __STDC__
65186 # include <limits.h>
65187 #else
65188 # include <assert.h>
65189 #endif
65190
65191 #undef $ac_func
65192
65193 /* Override any gcc2 internal prototype to avoid an error.  */
65194 #ifdef __cplusplus
65195 extern "C"
65196 {
65197 #endif
65198 /* We use char because int might match the return type of a gcc2
65199    builtin and then its argument prototype would still apply.  */
65200 char $ac_func ();
65201 /* The GNU C library defines this for functions which it implements
65202     to always fail with ENOSYS.  Some functions are actually named
65203     something starting with __ and the normal name is an alias.  */
65204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65205 choke me
65206 #else
65207 char (*f) () = $ac_func;
65208 #endif
65209 #ifdef __cplusplus
65210 }
65211 #endif
65212
65213 int
65214 main ()
65215 {
65216 return f != $ac_func;
65217   ;
65218   return 0;
65219 }
65220 _ACEOF
65221 rm -f conftest.$ac_objext conftest$ac_exeext
65222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65223   (eval $ac_link) 2>conftest.er1
65224   ac_status=$?
65225   grep -v '^ *+' conftest.er1 >conftest.err
65226   rm -f conftest.er1
65227   cat conftest.err >&5
65228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65229   (exit $ac_status); } &&
65230          { ac_try='test -z "$ac_c_werror_flag"
65231                          || test ! -s conftest.err'
65232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65233   (eval $ac_try) 2>&5
65234   ac_status=$?
65235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65236   (exit $ac_status); }; } &&
65237          { ac_try='test -s conftest$ac_exeext'
65238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65239   (eval $ac_try) 2>&5
65240   ac_status=$?
65241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65242   (exit $ac_status); }; }; then
65243   eval "$as_ac_var=yes"
65244 else
65245   echo "$as_me: failed program was:" >&5
65246 sed 's/^/| /' conftest.$ac_ext >&5
65247
65248 eval "$as_ac_var=no"
65249 fi
65250 rm -f conftest.err conftest.$ac_objext \
65251       conftest$ac_exeext conftest.$ac_ext
65252 fi
65253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65254 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65255 if test `eval echo '${'$as_ac_var'}'` = yes; then
65256   cat >>confdefs.h <<_ACEOF
65257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65258 _ACEOF
65259
65260 fi
65261 done
65262
65263   else
65264
65265   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
65266 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
65267   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
65268     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
65269   echo $ECHO_N "(cached) $ECHO_C" >&6
65270 else
65271
65272
65273
65274       ac_ext=cc
65275 ac_cpp='$CXXCPP $CPPFLAGS'
65276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65279
65280       cat >conftest.$ac_ext <<_ACEOF
65281 /* confdefs.h.  */
65282 _ACEOF
65283 cat confdefs.h >>conftest.$ac_ext
65284 cat >>conftest.$ac_ext <<_ACEOF
65285 /* end confdefs.h.  */
65286 #include <math.h>
65287                       #ifdef HAVE_IEEEFP_H
65288                       #include <ieeefp.h>
65289                       #endif
65290
65291 int
65292 main ()
65293 {
65294  _isnanl(0);
65295   ;
65296   return 0;
65297 }
65298 _ACEOF
65299 rm -f conftest.$ac_objext
65300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65301   (eval $ac_compile) 2>conftest.er1
65302   ac_status=$?
65303   grep -v '^ *+' conftest.er1 >conftest.err
65304   rm -f conftest.er1
65305   cat conftest.err >&5
65306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65307   (exit $ac_status); } &&
65308          { ac_try='test -z "$ac_cxx_werror_flag"
65309                          || test ! -s conftest.err'
65310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65311   (eval $ac_try) 2>&5
65312   ac_status=$?
65313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65314   (exit $ac_status); }; } &&
65315          { ac_try='test -s conftest.$ac_objext'
65316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65317   (eval $ac_try) 2>&5
65318   ac_status=$?
65319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65320   (exit $ac_status); }; }; then
65321   glibcxx_cv_func__isnanl_use=yes
65322 else
65323   echo "$as_me: failed program was:" >&5
65324 sed 's/^/| /' conftest.$ac_ext >&5
65325
65326 glibcxx_cv_func__isnanl_use=no
65327 fi
65328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65329       ac_ext=c
65330 ac_cpp='$CPP $CPPFLAGS'
65331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65334
65335
65336 fi
65337
65338   fi
65339   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
65340 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
65341
65342     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
65343
65344 for ac_func in _isnanl
65345 do
65346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65347 echo "$as_me:$LINENO: checking for $ac_func" >&5
65348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65349 if eval "test \"\${$as_ac_var+set}\" = set"; then
65350   echo $ECHO_N "(cached) $ECHO_C" >&6
65351 else
65352   if test x$gcc_no_link = xyes; then
65353   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65354 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65355    { (exit 1); exit 1; }; }
65356 fi
65357 cat >conftest.$ac_ext <<_ACEOF
65358 /* confdefs.h.  */
65359 _ACEOF
65360 cat confdefs.h >>conftest.$ac_ext
65361 cat >>conftest.$ac_ext <<_ACEOF
65362 /* end confdefs.h.  */
65363 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65364    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65365 #define $ac_func innocuous_$ac_func
65366
65367 /* System header to define __stub macros and hopefully few prototypes,
65368     which can conflict with char $ac_func (); below.
65369     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65370     <limits.h> exists even on freestanding compilers.  */
65371
65372 #ifdef __STDC__
65373 # include <limits.h>
65374 #else
65375 # include <assert.h>
65376 #endif
65377
65378 #undef $ac_func
65379
65380 /* Override any gcc2 internal prototype to avoid an error.  */
65381 #ifdef __cplusplus
65382 extern "C"
65383 {
65384 #endif
65385 /* We use char because int might match the return type of a gcc2
65386    builtin and then its argument prototype would still apply.  */
65387 char $ac_func ();
65388 /* The GNU C library defines this for functions which it implements
65389     to always fail with ENOSYS.  Some functions are actually named
65390     something starting with __ and the normal name is an alias.  */
65391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65392 choke me
65393 #else
65394 char (*f) () = $ac_func;
65395 #endif
65396 #ifdef __cplusplus
65397 }
65398 #endif
65399
65400 int
65401 main ()
65402 {
65403 return f != $ac_func;
65404   ;
65405   return 0;
65406 }
65407 _ACEOF
65408 rm -f conftest.$ac_objext conftest$ac_exeext
65409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65410   (eval $ac_link) 2>conftest.er1
65411   ac_status=$?
65412   grep -v '^ *+' conftest.er1 >conftest.err
65413   rm -f conftest.er1
65414   cat conftest.err >&5
65415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65416   (exit $ac_status); } &&
65417          { ac_try='test -z "$ac_c_werror_flag"
65418                          || test ! -s conftest.err'
65419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65420   (eval $ac_try) 2>&5
65421   ac_status=$?
65422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65423   (exit $ac_status); }; } &&
65424          { ac_try='test -s conftest$ac_exeext'
65425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65426   (eval $ac_try) 2>&5
65427   ac_status=$?
65428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65429   (exit $ac_status); }; }; then
65430   eval "$as_ac_var=yes"
65431 else
65432   echo "$as_me: failed program was:" >&5
65433 sed 's/^/| /' conftest.$ac_ext >&5
65434
65435 eval "$as_ac_var=no"
65436 fi
65437 rm -f conftest.err conftest.$ac_objext \
65438       conftest$ac_exeext conftest.$ac_ext
65439 fi
65440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65442 if test `eval echo '${'$as_ac_var'}'` = yes; then
65443   cat >>confdefs.h <<_ACEOF
65444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65445 _ACEOF
65446
65447 fi
65448 done
65449
65450     fi
65451   fi
65452
65453
65454
65455
65456
65457
65458   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
65459 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
65460   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
65461     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
65462   echo $ECHO_N "(cached) $ECHO_C" >&6
65463 else
65464
65465
65466
65467       ac_ext=cc
65468 ac_cpp='$CXXCPP $CPPFLAGS'
65469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65472
65473       cat >conftest.$ac_ext <<_ACEOF
65474 /* confdefs.h.  */
65475 _ACEOF
65476 cat confdefs.h >>conftest.$ac_ext
65477 cat >>conftest.$ac_ext <<_ACEOF
65478 /* end confdefs.h.  */
65479 #include <math.h>
65480                       #ifdef HAVE_IEEEFP_H
65481                       #include <ieeefp.h>
65482                       #endif
65483
65484 int
65485 main ()
65486 {
65487  isinfl(0);
65488   ;
65489   return 0;
65490 }
65491 _ACEOF
65492 rm -f conftest.$ac_objext
65493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65494   (eval $ac_compile) 2>conftest.er1
65495   ac_status=$?
65496   grep -v '^ *+' conftest.er1 >conftest.err
65497   rm -f conftest.er1
65498   cat conftest.err >&5
65499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65500   (exit $ac_status); } &&
65501          { ac_try='test -z "$ac_cxx_werror_flag"
65502                          || test ! -s conftest.err'
65503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65504   (eval $ac_try) 2>&5
65505   ac_status=$?
65506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65507   (exit $ac_status); }; } &&
65508          { ac_try='test -s conftest.$ac_objext'
65509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65510   (eval $ac_try) 2>&5
65511   ac_status=$?
65512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65513   (exit $ac_status); }; }; then
65514   glibcxx_cv_func_isinfl_use=yes
65515 else
65516   echo "$as_me: failed program was:" >&5
65517 sed 's/^/| /' conftest.$ac_ext >&5
65518
65519 glibcxx_cv_func_isinfl_use=no
65520 fi
65521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65522       ac_ext=c
65523 ac_cpp='$CPP $CPPFLAGS'
65524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65527
65528
65529 fi
65530
65531   fi
65532   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
65533 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
65534
65535   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
65536
65537 for ac_func in isinfl
65538 do
65539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65540 echo "$as_me:$LINENO: checking for $ac_func" >&5
65541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65542 if eval "test \"\${$as_ac_var+set}\" = set"; then
65543   echo $ECHO_N "(cached) $ECHO_C" >&6
65544 else
65545   if test x$gcc_no_link = xyes; then
65546   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65548    { (exit 1); exit 1; }; }
65549 fi
65550 cat >conftest.$ac_ext <<_ACEOF
65551 /* confdefs.h.  */
65552 _ACEOF
65553 cat confdefs.h >>conftest.$ac_ext
65554 cat >>conftest.$ac_ext <<_ACEOF
65555 /* end confdefs.h.  */
65556 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65557    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65558 #define $ac_func innocuous_$ac_func
65559
65560 /* System header to define __stub macros and hopefully few prototypes,
65561     which can conflict with char $ac_func (); below.
65562     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65563     <limits.h> exists even on freestanding compilers.  */
65564
65565 #ifdef __STDC__
65566 # include <limits.h>
65567 #else
65568 # include <assert.h>
65569 #endif
65570
65571 #undef $ac_func
65572
65573 /* Override any gcc2 internal prototype to avoid an error.  */
65574 #ifdef __cplusplus
65575 extern "C"
65576 {
65577 #endif
65578 /* We use char because int might match the return type of a gcc2
65579    builtin and then its argument prototype would still apply.  */
65580 char $ac_func ();
65581 /* The GNU C library defines this for functions which it implements
65582     to always fail with ENOSYS.  Some functions are actually named
65583     something starting with __ and the normal name is an alias.  */
65584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65585 choke me
65586 #else
65587 char (*f) () = $ac_func;
65588 #endif
65589 #ifdef __cplusplus
65590 }
65591 #endif
65592
65593 int
65594 main ()
65595 {
65596 return f != $ac_func;
65597   ;
65598   return 0;
65599 }
65600 _ACEOF
65601 rm -f conftest.$ac_objext conftest$ac_exeext
65602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65603   (eval $ac_link) 2>conftest.er1
65604   ac_status=$?
65605   grep -v '^ *+' conftest.er1 >conftest.err
65606   rm -f conftest.er1
65607   cat conftest.err >&5
65608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65609   (exit $ac_status); } &&
65610          { ac_try='test -z "$ac_c_werror_flag"
65611                          || test ! -s conftest.err'
65612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65613   (eval $ac_try) 2>&5
65614   ac_status=$?
65615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65616   (exit $ac_status); }; } &&
65617          { ac_try='test -s conftest$ac_exeext'
65618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65619   (eval $ac_try) 2>&5
65620   ac_status=$?
65621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65622   (exit $ac_status); }; }; then
65623   eval "$as_ac_var=yes"
65624 else
65625   echo "$as_me: failed program was:" >&5
65626 sed 's/^/| /' conftest.$ac_ext >&5
65627
65628 eval "$as_ac_var=no"
65629 fi
65630 rm -f conftest.err conftest.$ac_objext \
65631       conftest$ac_exeext conftest.$ac_ext
65632 fi
65633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65634 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65635 if test `eval echo '${'$as_ac_var'}'` = yes; then
65636   cat >>confdefs.h <<_ACEOF
65637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65638 _ACEOF
65639
65640 fi
65641 done
65642
65643   else
65644
65645   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
65646 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
65647   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
65648     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
65649   echo $ECHO_N "(cached) $ECHO_C" >&6
65650 else
65651
65652
65653
65654       ac_ext=cc
65655 ac_cpp='$CXXCPP $CPPFLAGS'
65656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65659
65660       cat >conftest.$ac_ext <<_ACEOF
65661 /* confdefs.h.  */
65662 _ACEOF
65663 cat confdefs.h >>conftest.$ac_ext
65664 cat >>conftest.$ac_ext <<_ACEOF
65665 /* end confdefs.h.  */
65666 #include <math.h>
65667                       #ifdef HAVE_IEEEFP_H
65668                       #include <ieeefp.h>
65669                       #endif
65670
65671 int
65672 main ()
65673 {
65674  _isinfl(0);
65675   ;
65676   return 0;
65677 }
65678 _ACEOF
65679 rm -f conftest.$ac_objext
65680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65681   (eval $ac_compile) 2>conftest.er1
65682   ac_status=$?
65683   grep -v '^ *+' conftest.er1 >conftest.err
65684   rm -f conftest.er1
65685   cat conftest.err >&5
65686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65687   (exit $ac_status); } &&
65688          { ac_try='test -z "$ac_cxx_werror_flag"
65689                          || test ! -s conftest.err'
65690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65691   (eval $ac_try) 2>&5
65692   ac_status=$?
65693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65694   (exit $ac_status); }; } &&
65695          { ac_try='test -s conftest.$ac_objext'
65696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65697   (eval $ac_try) 2>&5
65698   ac_status=$?
65699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65700   (exit $ac_status); }; }; then
65701   glibcxx_cv_func__isinfl_use=yes
65702 else
65703   echo "$as_me: failed program was:" >&5
65704 sed 's/^/| /' conftest.$ac_ext >&5
65705
65706 glibcxx_cv_func__isinfl_use=no
65707 fi
65708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65709       ac_ext=c
65710 ac_cpp='$CPP $CPPFLAGS'
65711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65714
65715
65716 fi
65717
65718   fi
65719   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
65720 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
65721
65722     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
65723
65724 for ac_func in _isinfl
65725 do
65726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65727 echo "$as_me:$LINENO: checking for $ac_func" >&5
65728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65729 if eval "test \"\${$as_ac_var+set}\" = set"; then
65730   echo $ECHO_N "(cached) $ECHO_C" >&6
65731 else
65732   if test x$gcc_no_link = xyes; then
65733   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65735    { (exit 1); exit 1; }; }
65736 fi
65737 cat >conftest.$ac_ext <<_ACEOF
65738 /* confdefs.h.  */
65739 _ACEOF
65740 cat confdefs.h >>conftest.$ac_ext
65741 cat >>conftest.$ac_ext <<_ACEOF
65742 /* end confdefs.h.  */
65743 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65744    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65745 #define $ac_func innocuous_$ac_func
65746
65747 /* System header to define __stub macros and hopefully few prototypes,
65748     which can conflict with char $ac_func (); below.
65749     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65750     <limits.h> exists even on freestanding compilers.  */
65751
65752 #ifdef __STDC__
65753 # include <limits.h>
65754 #else
65755 # include <assert.h>
65756 #endif
65757
65758 #undef $ac_func
65759
65760 /* Override any gcc2 internal prototype to avoid an error.  */
65761 #ifdef __cplusplus
65762 extern "C"
65763 {
65764 #endif
65765 /* We use char because int might match the return type of a gcc2
65766    builtin and then its argument prototype would still apply.  */
65767 char $ac_func ();
65768 /* The GNU C library defines this for functions which it implements
65769     to always fail with ENOSYS.  Some functions are actually named
65770     something starting with __ and the normal name is an alias.  */
65771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65772 choke me
65773 #else
65774 char (*f) () = $ac_func;
65775 #endif
65776 #ifdef __cplusplus
65777 }
65778 #endif
65779
65780 int
65781 main ()
65782 {
65783 return f != $ac_func;
65784   ;
65785   return 0;
65786 }
65787 _ACEOF
65788 rm -f conftest.$ac_objext conftest$ac_exeext
65789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65790   (eval $ac_link) 2>conftest.er1
65791   ac_status=$?
65792   grep -v '^ *+' conftest.er1 >conftest.err
65793   rm -f conftest.er1
65794   cat conftest.err >&5
65795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65796   (exit $ac_status); } &&
65797          { ac_try='test -z "$ac_c_werror_flag"
65798                          || test ! -s conftest.err'
65799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65800   (eval $ac_try) 2>&5
65801   ac_status=$?
65802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65803   (exit $ac_status); }; } &&
65804          { ac_try='test -s conftest$ac_exeext'
65805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65806   (eval $ac_try) 2>&5
65807   ac_status=$?
65808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65809   (exit $ac_status); }; }; then
65810   eval "$as_ac_var=yes"
65811 else
65812   echo "$as_me: failed program was:" >&5
65813 sed 's/^/| /' conftest.$ac_ext >&5
65814
65815 eval "$as_ac_var=no"
65816 fi
65817 rm -f conftest.err conftest.$ac_objext \
65818       conftest$ac_exeext conftest.$ac_ext
65819 fi
65820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65821 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65822 if test `eval echo '${'$as_ac_var'}'` = yes; then
65823   cat >>confdefs.h <<_ACEOF
65824 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65825 _ACEOF
65826
65827 fi
65828 done
65829
65830     fi
65831   fi
65832
65833
65834
65835
65836
65837
65838   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
65839 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
65840   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
65841     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
65842   echo $ECHO_N "(cached) $ECHO_C" >&6
65843 else
65844
65845
65846
65847       ac_ext=cc
65848 ac_cpp='$CXXCPP $CPPFLAGS'
65849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65852
65853       cat >conftest.$ac_ext <<_ACEOF
65854 /* confdefs.h.  */
65855 _ACEOF
65856 cat confdefs.h >>conftest.$ac_ext
65857 cat >>conftest.$ac_ext <<_ACEOF
65858 /* end confdefs.h.  */
65859 #include <math.h>
65860 int
65861 main ()
65862 {
65863  copysignl(0, 0);
65864   ;
65865   return 0;
65866 }
65867 _ACEOF
65868 rm -f conftest.$ac_objext
65869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65870   (eval $ac_compile) 2>conftest.er1
65871   ac_status=$?
65872   grep -v '^ *+' conftest.er1 >conftest.err
65873   rm -f conftest.er1
65874   cat conftest.err >&5
65875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65876   (exit $ac_status); } &&
65877          { ac_try='test -z "$ac_cxx_werror_flag"
65878                          || test ! -s conftest.err'
65879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65880   (eval $ac_try) 2>&5
65881   ac_status=$?
65882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65883   (exit $ac_status); }; } &&
65884          { ac_try='test -s conftest.$ac_objext'
65885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65886   (eval $ac_try) 2>&5
65887   ac_status=$?
65888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65889   (exit $ac_status); }; }; then
65890   glibcxx_cv_func_copysignl_use=yes
65891 else
65892   echo "$as_me: failed program was:" >&5
65893 sed 's/^/| /' conftest.$ac_ext >&5
65894
65895 glibcxx_cv_func_copysignl_use=no
65896 fi
65897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65898       ac_ext=c
65899 ac_cpp='$CPP $CPPFLAGS'
65900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65903
65904
65905 fi
65906
65907   fi
65908   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
65909 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
65910
65911   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
65912
65913 for ac_func in copysignl
65914 do
65915 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65916 echo "$as_me:$LINENO: checking for $ac_func" >&5
65917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65918 if eval "test \"\${$as_ac_var+set}\" = set"; then
65919   echo $ECHO_N "(cached) $ECHO_C" >&6
65920 else
65921   if test x$gcc_no_link = xyes; then
65922   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65923 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65924    { (exit 1); exit 1; }; }
65925 fi
65926 cat >conftest.$ac_ext <<_ACEOF
65927 /* confdefs.h.  */
65928 _ACEOF
65929 cat confdefs.h >>conftest.$ac_ext
65930 cat >>conftest.$ac_ext <<_ACEOF
65931 /* end confdefs.h.  */
65932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65933    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65934 #define $ac_func innocuous_$ac_func
65935
65936 /* System header to define __stub macros and hopefully few prototypes,
65937     which can conflict with char $ac_func (); below.
65938     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65939     <limits.h> exists even on freestanding compilers.  */
65940
65941 #ifdef __STDC__
65942 # include <limits.h>
65943 #else
65944 # include <assert.h>
65945 #endif
65946
65947 #undef $ac_func
65948
65949 /* Override any gcc2 internal prototype to avoid an error.  */
65950 #ifdef __cplusplus
65951 extern "C"
65952 {
65953 #endif
65954 /* We use char because int might match the return type of a gcc2
65955    builtin and then its argument prototype would still apply.  */
65956 char $ac_func ();
65957 /* The GNU C library defines this for functions which it implements
65958     to always fail with ENOSYS.  Some functions are actually named
65959     something starting with __ and the normal name is an alias.  */
65960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65961 choke me
65962 #else
65963 char (*f) () = $ac_func;
65964 #endif
65965 #ifdef __cplusplus
65966 }
65967 #endif
65968
65969 int
65970 main ()
65971 {
65972 return f != $ac_func;
65973   ;
65974   return 0;
65975 }
65976 _ACEOF
65977 rm -f conftest.$ac_objext conftest$ac_exeext
65978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65979   (eval $ac_link) 2>conftest.er1
65980   ac_status=$?
65981   grep -v '^ *+' conftest.er1 >conftest.err
65982   rm -f conftest.er1
65983   cat conftest.err >&5
65984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65985   (exit $ac_status); } &&
65986          { ac_try='test -z "$ac_c_werror_flag"
65987                          || test ! -s conftest.err'
65988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65989   (eval $ac_try) 2>&5
65990   ac_status=$?
65991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65992   (exit $ac_status); }; } &&
65993          { ac_try='test -s conftest$ac_exeext'
65994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65995   (eval $ac_try) 2>&5
65996   ac_status=$?
65997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65998   (exit $ac_status); }; }; then
65999   eval "$as_ac_var=yes"
66000 else
66001   echo "$as_me: failed program was:" >&5
66002 sed 's/^/| /' conftest.$ac_ext >&5
66003
66004 eval "$as_ac_var=no"
66005 fi
66006 rm -f conftest.err conftest.$ac_objext \
66007       conftest$ac_exeext conftest.$ac_ext
66008 fi
66009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66010 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66011 if test `eval echo '${'$as_ac_var'}'` = yes; then
66012   cat >>confdefs.h <<_ACEOF
66013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66014 _ACEOF
66015
66016 fi
66017 done
66018
66019   else
66020
66021   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
66022 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
66023   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
66024     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
66025   echo $ECHO_N "(cached) $ECHO_C" >&6
66026 else
66027
66028
66029
66030       ac_ext=cc
66031 ac_cpp='$CXXCPP $CPPFLAGS'
66032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66035
66036       cat >conftest.$ac_ext <<_ACEOF
66037 /* confdefs.h.  */
66038 _ACEOF
66039 cat confdefs.h >>conftest.$ac_ext
66040 cat >>conftest.$ac_ext <<_ACEOF
66041 /* end confdefs.h.  */
66042 #include <math.h>
66043 int
66044 main ()
66045 {
66046  _copysignl(0, 0);
66047   ;
66048   return 0;
66049 }
66050 _ACEOF
66051 rm -f conftest.$ac_objext
66052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66053   (eval $ac_compile) 2>conftest.er1
66054   ac_status=$?
66055   grep -v '^ *+' conftest.er1 >conftest.err
66056   rm -f conftest.er1
66057   cat conftest.err >&5
66058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66059   (exit $ac_status); } &&
66060          { ac_try='test -z "$ac_cxx_werror_flag"
66061                          || test ! -s conftest.err'
66062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66063   (eval $ac_try) 2>&5
66064   ac_status=$?
66065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66066   (exit $ac_status); }; } &&
66067          { ac_try='test -s conftest.$ac_objext'
66068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66069   (eval $ac_try) 2>&5
66070   ac_status=$?
66071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66072   (exit $ac_status); }; }; then
66073   glibcxx_cv_func__copysignl_use=yes
66074 else
66075   echo "$as_me: failed program was:" >&5
66076 sed 's/^/| /' conftest.$ac_ext >&5
66077
66078 glibcxx_cv_func__copysignl_use=no
66079 fi
66080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66081       ac_ext=c
66082 ac_cpp='$CPP $CPPFLAGS'
66083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66086
66087
66088 fi
66089
66090   fi
66091   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
66092 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
66093
66094     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
66095
66096 for ac_func in _copysignl
66097 do
66098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66099 echo "$as_me:$LINENO: checking for $ac_func" >&5
66100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66101 if eval "test \"\${$as_ac_var+set}\" = set"; then
66102   echo $ECHO_N "(cached) $ECHO_C" >&6
66103 else
66104   if test x$gcc_no_link = xyes; then
66105   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66107    { (exit 1); exit 1; }; }
66108 fi
66109 cat >conftest.$ac_ext <<_ACEOF
66110 /* confdefs.h.  */
66111 _ACEOF
66112 cat confdefs.h >>conftest.$ac_ext
66113 cat >>conftest.$ac_ext <<_ACEOF
66114 /* end confdefs.h.  */
66115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66116    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66117 #define $ac_func innocuous_$ac_func
66118
66119 /* System header to define __stub macros and hopefully few prototypes,
66120     which can conflict with char $ac_func (); below.
66121     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66122     <limits.h> exists even on freestanding compilers.  */
66123
66124 #ifdef __STDC__
66125 # include <limits.h>
66126 #else
66127 # include <assert.h>
66128 #endif
66129
66130 #undef $ac_func
66131
66132 /* Override any gcc2 internal prototype to avoid an error.  */
66133 #ifdef __cplusplus
66134 extern "C"
66135 {
66136 #endif
66137 /* We use char because int might match the return type of a gcc2
66138    builtin and then its argument prototype would still apply.  */
66139 char $ac_func ();
66140 /* The GNU C library defines this for functions which it implements
66141     to always fail with ENOSYS.  Some functions are actually named
66142     something starting with __ and the normal name is an alias.  */
66143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66144 choke me
66145 #else
66146 char (*f) () = $ac_func;
66147 #endif
66148 #ifdef __cplusplus
66149 }
66150 #endif
66151
66152 int
66153 main ()
66154 {
66155 return f != $ac_func;
66156   ;
66157   return 0;
66158 }
66159 _ACEOF
66160 rm -f conftest.$ac_objext conftest$ac_exeext
66161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66162   (eval $ac_link) 2>conftest.er1
66163   ac_status=$?
66164   grep -v '^ *+' conftest.er1 >conftest.err
66165   rm -f conftest.er1
66166   cat conftest.err >&5
66167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66168   (exit $ac_status); } &&
66169          { ac_try='test -z "$ac_c_werror_flag"
66170                          || test ! -s conftest.err'
66171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66172   (eval $ac_try) 2>&5
66173   ac_status=$?
66174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66175   (exit $ac_status); }; } &&
66176          { ac_try='test -s conftest$ac_exeext'
66177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66178   (eval $ac_try) 2>&5
66179   ac_status=$?
66180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66181   (exit $ac_status); }; }; then
66182   eval "$as_ac_var=yes"
66183 else
66184   echo "$as_me: failed program was:" >&5
66185 sed 's/^/| /' conftest.$ac_ext >&5
66186
66187 eval "$as_ac_var=no"
66188 fi
66189 rm -f conftest.err conftest.$ac_objext \
66190       conftest$ac_exeext conftest.$ac_ext
66191 fi
66192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66194 if test `eval echo '${'$as_ac_var'}'` = yes; then
66195   cat >>confdefs.h <<_ACEOF
66196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66197 _ACEOF
66198
66199 fi
66200 done
66201
66202     fi
66203   fi
66204
66205
66206
66207
66208
66209
66210   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
66211 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
66212   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
66213     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
66214   echo $ECHO_N "(cached) $ECHO_C" >&6
66215 else
66216
66217
66218
66219       ac_ext=cc
66220 ac_cpp='$CXXCPP $CPPFLAGS'
66221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66224
66225       cat >conftest.$ac_ext <<_ACEOF
66226 /* confdefs.h.  */
66227 _ACEOF
66228 cat confdefs.h >>conftest.$ac_ext
66229 cat >>conftest.$ac_ext <<_ACEOF
66230 /* end confdefs.h.  */
66231 #include <math.h>
66232 int
66233 main ()
66234 {
66235  atan2l(0, 0);
66236   ;
66237   return 0;
66238 }
66239 _ACEOF
66240 rm -f conftest.$ac_objext
66241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66242   (eval $ac_compile) 2>conftest.er1
66243   ac_status=$?
66244   grep -v '^ *+' conftest.er1 >conftest.err
66245   rm -f conftest.er1
66246   cat conftest.err >&5
66247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66248   (exit $ac_status); } &&
66249          { ac_try='test -z "$ac_cxx_werror_flag"
66250                          || test ! -s conftest.err'
66251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66252   (eval $ac_try) 2>&5
66253   ac_status=$?
66254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66255   (exit $ac_status); }; } &&
66256          { ac_try='test -s conftest.$ac_objext'
66257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66258   (eval $ac_try) 2>&5
66259   ac_status=$?
66260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66261   (exit $ac_status); }; }; then
66262   glibcxx_cv_func_atan2l_use=yes
66263 else
66264   echo "$as_me: failed program was:" >&5
66265 sed 's/^/| /' conftest.$ac_ext >&5
66266
66267 glibcxx_cv_func_atan2l_use=no
66268 fi
66269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66270       ac_ext=c
66271 ac_cpp='$CPP $CPPFLAGS'
66272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66275
66276
66277 fi
66278
66279   fi
66280   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
66281 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
66282
66283   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
66284
66285 for ac_func in atan2l
66286 do
66287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66288 echo "$as_me:$LINENO: checking for $ac_func" >&5
66289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66290 if eval "test \"\${$as_ac_var+set}\" = set"; then
66291   echo $ECHO_N "(cached) $ECHO_C" >&6
66292 else
66293   if test x$gcc_no_link = xyes; then
66294   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66296    { (exit 1); exit 1; }; }
66297 fi
66298 cat >conftest.$ac_ext <<_ACEOF
66299 /* confdefs.h.  */
66300 _ACEOF
66301 cat confdefs.h >>conftest.$ac_ext
66302 cat >>conftest.$ac_ext <<_ACEOF
66303 /* end confdefs.h.  */
66304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66305    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66306 #define $ac_func innocuous_$ac_func
66307
66308 /* System header to define __stub macros and hopefully few prototypes,
66309     which can conflict with char $ac_func (); below.
66310     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66311     <limits.h> exists even on freestanding compilers.  */
66312
66313 #ifdef __STDC__
66314 # include <limits.h>
66315 #else
66316 # include <assert.h>
66317 #endif
66318
66319 #undef $ac_func
66320
66321 /* Override any gcc2 internal prototype to avoid an error.  */
66322 #ifdef __cplusplus
66323 extern "C"
66324 {
66325 #endif
66326 /* We use char because int might match the return type of a gcc2
66327    builtin and then its argument prototype would still apply.  */
66328 char $ac_func ();
66329 /* The GNU C library defines this for functions which it implements
66330     to always fail with ENOSYS.  Some functions are actually named
66331     something starting with __ and the normal name is an alias.  */
66332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66333 choke me
66334 #else
66335 char (*f) () = $ac_func;
66336 #endif
66337 #ifdef __cplusplus
66338 }
66339 #endif
66340
66341 int
66342 main ()
66343 {
66344 return f != $ac_func;
66345   ;
66346   return 0;
66347 }
66348 _ACEOF
66349 rm -f conftest.$ac_objext conftest$ac_exeext
66350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66351   (eval $ac_link) 2>conftest.er1
66352   ac_status=$?
66353   grep -v '^ *+' conftest.er1 >conftest.err
66354   rm -f conftest.er1
66355   cat conftest.err >&5
66356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66357   (exit $ac_status); } &&
66358          { ac_try='test -z "$ac_c_werror_flag"
66359                          || test ! -s conftest.err'
66360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66361   (eval $ac_try) 2>&5
66362   ac_status=$?
66363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66364   (exit $ac_status); }; } &&
66365          { ac_try='test -s conftest$ac_exeext'
66366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66367   (eval $ac_try) 2>&5
66368   ac_status=$?
66369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66370   (exit $ac_status); }; }; then
66371   eval "$as_ac_var=yes"
66372 else
66373   echo "$as_me: failed program was:" >&5
66374 sed 's/^/| /' conftest.$ac_ext >&5
66375
66376 eval "$as_ac_var=no"
66377 fi
66378 rm -f conftest.err conftest.$ac_objext \
66379       conftest$ac_exeext conftest.$ac_ext
66380 fi
66381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66382 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66383 if test `eval echo '${'$as_ac_var'}'` = yes; then
66384   cat >>confdefs.h <<_ACEOF
66385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66386 _ACEOF
66387
66388 fi
66389 done
66390
66391   else
66392
66393   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
66394 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
66395   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
66396     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
66397   echo $ECHO_N "(cached) $ECHO_C" >&6
66398 else
66399
66400
66401
66402       ac_ext=cc
66403 ac_cpp='$CXXCPP $CPPFLAGS'
66404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66407
66408       cat >conftest.$ac_ext <<_ACEOF
66409 /* confdefs.h.  */
66410 _ACEOF
66411 cat confdefs.h >>conftest.$ac_ext
66412 cat >>conftest.$ac_ext <<_ACEOF
66413 /* end confdefs.h.  */
66414 #include <math.h>
66415 int
66416 main ()
66417 {
66418  _atan2l(0, 0);
66419   ;
66420   return 0;
66421 }
66422 _ACEOF
66423 rm -f conftest.$ac_objext
66424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66425   (eval $ac_compile) 2>conftest.er1
66426   ac_status=$?
66427   grep -v '^ *+' conftest.er1 >conftest.err
66428   rm -f conftest.er1
66429   cat conftest.err >&5
66430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66431   (exit $ac_status); } &&
66432          { ac_try='test -z "$ac_cxx_werror_flag"
66433                          || test ! -s conftest.err'
66434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66435   (eval $ac_try) 2>&5
66436   ac_status=$?
66437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66438   (exit $ac_status); }; } &&
66439          { ac_try='test -s conftest.$ac_objext'
66440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66441   (eval $ac_try) 2>&5
66442   ac_status=$?
66443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66444   (exit $ac_status); }; }; then
66445   glibcxx_cv_func__atan2l_use=yes
66446 else
66447   echo "$as_me: failed program was:" >&5
66448 sed 's/^/| /' conftest.$ac_ext >&5
66449
66450 glibcxx_cv_func__atan2l_use=no
66451 fi
66452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66453       ac_ext=c
66454 ac_cpp='$CPP $CPPFLAGS'
66455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66458
66459
66460 fi
66461
66462   fi
66463   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
66464 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
66465
66466     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
66467
66468 for ac_func in _atan2l
66469 do
66470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66471 echo "$as_me:$LINENO: checking for $ac_func" >&5
66472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66473 if eval "test \"\${$as_ac_var+set}\" = set"; then
66474   echo $ECHO_N "(cached) $ECHO_C" >&6
66475 else
66476   if test x$gcc_no_link = xyes; then
66477   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66479    { (exit 1); exit 1; }; }
66480 fi
66481 cat >conftest.$ac_ext <<_ACEOF
66482 /* confdefs.h.  */
66483 _ACEOF
66484 cat confdefs.h >>conftest.$ac_ext
66485 cat >>conftest.$ac_ext <<_ACEOF
66486 /* end confdefs.h.  */
66487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66488    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66489 #define $ac_func innocuous_$ac_func
66490
66491 /* System header to define __stub macros and hopefully few prototypes,
66492     which can conflict with char $ac_func (); below.
66493     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66494     <limits.h> exists even on freestanding compilers.  */
66495
66496 #ifdef __STDC__
66497 # include <limits.h>
66498 #else
66499 # include <assert.h>
66500 #endif
66501
66502 #undef $ac_func
66503
66504 /* Override any gcc2 internal prototype to avoid an error.  */
66505 #ifdef __cplusplus
66506 extern "C"
66507 {
66508 #endif
66509 /* We use char because int might match the return type of a gcc2
66510    builtin and then its argument prototype would still apply.  */
66511 char $ac_func ();
66512 /* The GNU C library defines this for functions which it implements
66513     to always fail with ENOSYS.  Some functions are actually named
66514     something starting with __ and the normal name is an alias.  */
66515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66516 choke me
66517 #else
66518 char (*f) () = $ac_func;
66519 #endif
66520 #ifdef __cplusplus
66521 }
66522 #endif
66523
66524 int
66525 main ()
66526 {
66527 return f != $ac_func;
66528   ;
66529   return 0;
66530 }
66531 _ACEOF
66532 rm -f conftest.$ac_objext conftest$ac_exeext
66533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66534   (eval $ac_link) 2>conftest.er1
66535   ac_status=$?
66536   grep -v '^ *+' conftest.er1 >conftest.err
66537   rm -f conftest.er1
66538   cat conftest.err >&5
66539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66540   (exit $ac_status); } &&
66541          { ac_try='test -z "$ac_c_werror_flag"
66542                          || test ! -s conftest.err'
66543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66544   (eval $ac_try) 2>&5
66545   ac_status=$?
66546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66547   (exit $ac_status); }; } &&
66548          { ac_try='test -s conftest$ac_exeext'
66549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66550   (eval $ac_try) 2>&5
66551   ac_status=$?
66552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66553   (exit $ac_status); }; }; then
66554   eval "$as_ac_var=yes"
66555 else
66556   echo "$as_me: failed program was:" >&5
66557 sed 's/^/| /' conftest.$ac_ext >&5
66558
66559 eval "$as_ac_var=no"
66560 fi
66561 rm -f conftest.err conftest.$ac_objext \
66562       conftest$ac_exeext conftest.$ac_ext
66563 fi
66564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66566 if test `eval echo '${'$as_ac_var'}'` = yes; then
66567   cat >>confdefs.h <<_ACEOF
66568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66569 _ACEOF
66570
66571 fi
66572 done
66573
66574     fi
66575   fi
66576
66577
66578
66579
66580
66581
66582   echo "$as_me:$LINENO: checking for expl declaration" >&5
66583 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
66584   if test x${glibcxx_cv_func_expl_use+set} != xset; then
66585     if test "${glibcxx_cv_func_expl_use+set}" = set; then
66586   echo $ECHO_N "(cached) $ECHO_C" >&6
66587 else
66588
66589
66590
66591       ac_ext=cc
66592 ac_cpp='$CXXCPP $CPPFLAGS'
66593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66596
66597       cat >conftest.$ac_ext <<_ACEOF
66598 /* confdefs.h.  */
66599 _ACEOF
66600 cat confdefs.h >>conftest.$ac_ext
66601 cat >>conftest.$ac_ext <<_ACEOF
66602 /* end confdefs.h.  */
66603 #include <math.h>
66604                       #ifdef HAVE_IEEEFP_H
66605                       #include <ieeefp.h>
66606                       #endif
66607
66608 int
66609 main ()
66610 {
66611  expl(0);
66612   ;
66613   return 0;
66614 }
66615 _ACEOF
66616 rm -f conftest.$ac_objext
66617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66618   (eval $ac_compile) 2>conftest.er1
66619   ac_status=$?
66620   grep -v '^ *+' conftest.er1 >conftest.err
66621   rm -f conftest.er1
66622   cat conftest.err >&5
66623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66624   (exit $ac_status); } &&
66625          { ac_try='test -z "$ac_cxx_werror_flag"
66626                          || test ! -s conftest.err'
66627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66628   (eval $ac_try) 2>&5
66629   ac_status=$?
66630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66631   (exit $ac_status); }; } &&
66632          { ac_try='test -s conftest.$ac_objext'
66633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66634   (eval $ac_try) 2>&5
66635   ac_status=$?
66636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66637   (exit $ac_status); }; }; then
66638   glibcxx_cv_func_expl_use=yes
66639 else
66640   echo "$as_me: failed program was:" >&5
66641 sed 's/^/| /' conftest.$ac_ext >&5
66642
66643 glibcxx_cv_func_expl_use=no
66644 fi
66645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66646       ac_ext=c
66647 ac_cpp='$CPP $CPPFLAGS'
66648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66651
66652
66653 fi
66654
66655   fi
66656   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
66657 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
66658
66659   if test x$glibcxx_cv_func_expl_use = x"yes"; then
66660
66661 for ac_func in expl
66662 do
66663 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66664 echo "$as_me:$LINENO: checking for $ac_func" >&5
66665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66666 if eval "test \"\${$as_ac_var+set}\" = set"; then
66667   echo $ECHO_N "(cached) $ECHO_C" >&6
66668 else
66669   if test x$gcc_no_link = xyes; then
66670   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66672    { (exit 1); exit 1; }; }
66673 fi
66674 cat >conftest.$ac_ext <<_ACEOF
66675 /* confdefs.h.  */
66676 _ACEOF
66677 cat confdefs.h >>conftest.$ac_ext
66678 cat >>conftest.$ac_ext <<_ACEOF
66679 /* end confdefs.h.  */
66680 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66681    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66682 #define $ac_func innocuous_$ac_func
66683
66684 /* System header to define __stub macros and hopefully few prototypes,
66685     which can conflict with char $ac_func (); below.
66686     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66687     <limits.h> exists even on freestanding compilers.  */
66688
66689 #ifdef __STDC__
66690 # include <limits.h>
66691 #else
66692 # include <assert.h>
66693 #endif
66694
66695 #undef $ac_func
66696
66697 /* Override any gcc2 internal prototype to avoid an error.  */
66698 #ifdef __cplusplus
66699 extern "C"
66700 {
66701 #endif
66702 /* We use char because int might match the return type of a gcc2
66703    builtin and then its argument prototype would still apply.  */
66704 char $ac_func ();
66705 /* The GNU C library defines this for functions which it implements
66706     to always fail with ENOSYS.  Some functions are actually named
66707     something starting with __ and the normal name is an alias.  */
66708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66709 choke me
66710 #else
66711 char (*f) () = $ac_func;
66712 #endif
66713 #ifdef __cplusplus
66714 }
66715 #endif
66716
66717 int
66718 main ()
66719 {
66720 return f != $ac_func;
66721   ;
66722   return 0;
66723 }
66724 _ACEOF
66725 rm -f conftest.$ac_objext conftest$ac_exeext
66726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66727   (eval $ac_link) 2>conftest.er1
66728   ac_status=$?
66729   grep -v '^ *+' conftest.er1 >conftest.err
66730   rm -f conftest.er1
66731   cat conftest.err >&5
66732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66733   (exit $ac_status); } &&
66734          { ac_try='test -z "$ac_c_werror_flag"
66735                          || test ! -s conftest.err'
66736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66737   (eval $ac_try) 2>&5
66738   ac_status=$?
66739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66740   (exit $ac_status); }; } &&
66741          { ac_try='test -s conftest$ac_exeext'
66742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66743   (eval $ac_try) 2>&5
66744   ac_status=$?
66745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66746   (exit $ac_status); }; }; then
66747   eval "$as_ac_var=yes"
66748 else
66749   echo "$as_me: failed program was:" >&5
66750 sed 's/^/| /' conftest.$ac_ext >&5
66751
66752 eval "$as_ac_var=no"
66753 fi
66754 rm -f conftest.err conftest.$ac_objext \
66755       conftest$ac_exeext conftest.$ac_ext
66756 fi
66757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66759 if test `eval echo '${'$as_ac_var'}'` = yes; then
66760   cat >>confdefs.h <<_ACEOF
66761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66762 _ACEOF
66763
66764 fi
66765 done
66766
66767   else
66768
66769   echo "$as_me:$LINENO: checking for _expl declaration" >&5
66770 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
66771   if test x${glibcxx_cv_func__expl_use+set} != xset; then
66772     if test "${glibcxx_cv_func__expl_use+set}" = set; then
66773   echo $ECHO_N "(cached) $ECHO_C" >&6
66774 else
66775
66776
66777
66778       ac_ext=cc
66779 ac_cpp='$CXXCPP $CPPFLAGS'
66780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66783
66784       cat >conftest.$ac_ext <<_ACEOF
66785 /* confdefs.h.  */
66786 _ACEOF
66787 cat confdefs.h >>conftest.$ac_ext
66788 cat >>conftest.$ac_ext <<_ACEOF
66789 /* end confdefs.h.  */
66790 #include <math.h>
66791                       #ifdef HAVE_IEEEFP_H
66792                       #include <ieeefp.h>
66793                       #endif
66794
66795 int
66796 main ()
66797 {
66798  _expl(0);
66799   ;
66800   return 0;
66801 }
66802 _ACEOF
66803 rm -f conftest.$ac_objext
66804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66805   (eval $ac_compile) 2>conftest.er1
66806   ac_status=$?
66807   grep -v '^ *+' conftest.er1 >conftest.err
66808   rm -f conftest.er1
66809   cat conftest.err >&5
66810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66811   (exit $ac_status); } &&
66812          { ac_try='test -z "$ac_cxx_werror_flag"
66813                          || test ! -s conftest.err'
66814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66815   (eval $ac_try) 2>&5
66816   ac_status=$?
66817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66818   (exit $ac_status); }; } &&
66819          { ac_try='test -s conftest.$ac_objext'
66820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66821   (eval $ac_try) 2>&5
66822   ac_status=$?
66823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66824   (exit $ac_status); }; }; then
66825   glibcxx_cv_func__expl_use=yes
66826 else
66827   echo "$as_me: failed program was:" >&5
66828 sed 's/^/| /' conftest.$ac_ext >&5
66829
66830 glibcxx_cv_func__expl_use=no
66831 fi
66832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66833       ac_ext=c
66834 ac_cpp='$CPP $CPPFLAGS'
66835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66838
66839
66840 fi
66841
66842   fi
66843   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
66844 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
66845
66846     if test x$glibcxx_cv_func__expl_use = x"yes"; then
66847
66848 for ac_func in _expl
66849 do
66850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66851 echo "$as_me:$LINENO: checking for $ac_func" >&5
66852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66853 if eval "test \"\${$as_ac_var+set}\" = set"; then
66854   echo $ECHO_N "(cached) $ECHO_C" >&6
66855 else
66856   if test x$gcc_no_link = xyes; then
66857   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66859    { (exit 1); exit 1; }; }
66860 fi
66861 cat >conftest.$ac_ext <<_ACEOF
66862 /* confdefs.h.  */
66863 _ACEOF
66864 cat confdefs.h >>conftest.$ac_ext
66865 cat >>conftest.$ac_ext <<_ACEOF
66866 /* end confdefs.h.  */
66867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66868    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66869 #define $ac_func innocuous_$ac_func
66870
66871 /* System header to define __stub macros and hopefully few prototypes,
66872     which can conflict with char $ac_func (); below.
66873     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66874     <limits.h> exists even on freestanding compilers.  */
66875
66876 #ifdef __STDC__
66877 # include <limits.h>
66878 #else
66879 # include <assert.h>
66880 #endif
66881
66882 #undef $ac_func
66883
66884 /* Override any gcc2 internal prototype to avoid an error.  */
66885 #ifdef __cplusplus
66886 extern "C"
66887 {
66888 #endif
66889 /* We use char because int might match the return type of a gcc2
66890    builtin and then its argument prototype would still apply.  */
66891 char $ac_func ();
66892 /* The GNU C library defines this for functions which it implements
66893     to always fail with ENOSYS.  Some functions are actually named
66894     something starting with __ and the normal name is an alias.  */
66895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66896 choke me
66897 #else
66898 char (*f) () = $ac_func;
66899 #endif
66900 #ifdef __cplusplus
66901 }
66902 #endif
66903
66904 int
66905 main ()
66906 {
66907 return f != $ac_func;
66908   ;
66909   return 0;
66910 }
66911 _ACEOF
66912 rm -f conftest.$ac_objext conftest$ac_exeext
66913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66914   (eval $ac_link) 2>conftest.er1
66915   ac_status=$?
66916   grep -v '^ *+' conftest.er1 >conftest.err
66917   rm -f conftest.er1
66918   cat conftest.err >&5
66919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66920   (exit $ac_status); } &&
66921          { ac_try='test -z "$ac_c_werror_flag"
66922                          || test ! -s conftest.err'
66923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66924   (eval $ac_try) 2>&5
66925   ac_status=$?
66926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66927   (exit $ac_status); }; } &&
66928          { ac_try='test -s conftest$ac_exeext'
66929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66930   (eval $ac_try) 2>&5
66931   ac_status=$?
66932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66933   (exit $ac_status); }; }; then
66934   eval "$as_ac_var=yes"
66935 else
66936   echo "$as_me: failed program was:" >&5
66937 sed 's/^/| /' conftest.$ac_ext >&5
66938
66939 eval "$as_ac_var=no"
66940 fi
66941 rm -f conftest.err conftest.$ac_objext \
66942       conftest$ac_exeext conftest.$ac_ext
66943 fi
66944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66945 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66946 if test `eval echo '${'$as_ac_var'}'` = yes; then
66947   cat >>confdefs.h <<_ACEOF
66948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66949 _ACEOF
66950
66951 fi
66952 done
66953
66954     fi
66955   fi
66956
66957
66958
66959
66960
66961
66962   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
66963 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
66964   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
66965     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
66966   echo $ECHO_N "(cached) $ECHO_C" >&6
66967 else
66968
66969
66970
66971       ac_ext=cc
66972 ac_cpp='$CXXCPP $CPPFLAGS'
66973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66976
66977       cat >conftest.$ac_ext <<_ACEOF
66978 /* confdefs.h.  */
66979 _ACEOF
66980 cat confdefs.h >>conftest.$ac_ext
66981 cat >>conftest.$ac_ext <<_ACEOF
66982 /* end confdefs.h.  */
66983 #include <math.h>
66984                       #ifdef HAVE_IEEEFP_H
66985                       #include <ieeefp.h>
66986                       #endif
66987
66988 int
66989 main ()
66990 {
66991  fabsl(0);
66992   ;
66993   return 0;
66994 }
66995 _ACEOF
66996 rm -f conftest.$ac_objext
66997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66998   (eval $ac_compile) 2>conftest.er1
66999   ac_status=$?
67000   grep -v '^ *+' conftest.er1 >conftest.err
67001   rm -f conftest.er1
67002   cat conftest.err >&5
67003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67004   (exit $ac_status); } &&
67005          { ac_try='test -z "$ac_cxx_werror_flag"
67006                          || test ! -s conftest.err'
67007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67008   (eval $ac_try) 2>&5
67009   ac_status=$?
67010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67011   (exit $ac_status); }; } &&
67012          { ac_try='test -s conftest.$ac_objext'
67013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67014   (eval $ac_try) 2>&5
67015   ac_status=$?
67016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67017   (exit $ac_status); }; }; then
67018   glibcxx_cv_func_fabsl_use=yes
67019 else
67020   echo "$as_me: failed program was:" >&5
67021 sed 's/^/| /' conftest.$ac_ext >&5
67022
67023 glibcxx_cv_func_fabsl_use=no
67024 fi
67025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67026       ac_ext=c
67027 ac_cpp='$CPP $CPPFLAGS'
67028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67031
67032
67033 fi
67034
67035   fi
67036   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
67037 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
67038
67039   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
67040
67041 for ac_func in fabsl
67042 do
67043 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67044 echo "$as_me:$LINENO: checking for $ac_func" >&5
67045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67046 if eval "test \"\${$as_ac_var+set}\" = set"; then
67047   echo $ECHO_N "(cached) $ECHO_C" >&6
67048 else
67049   if test x$gcc_no_link = xyes; then
67050   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67052    { (exit 1); exit 1; }; }
67053 fi
67054 cat >conftest.$ac_ext <<_ACEOF
67055 /* confdefs.h.  */
67056 _ACEOF
67057 cat confdefs.h >>conftest.$ac_ext
67058 cat >>conftest.$ac_ext <<_ACEOF
67059 /* end confdefs.h.  */
67060 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67061    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67062 #define $ac_func innocuous_$ac_func
67063
67064 /* System header to define __stub macros and hopefully few prototypes,
67065     which can conflict with char $ac_func (); below.
67066     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67067     <limits.h> exists even on freestanding compilers.  */
67068
67069 #ifdef __STDC__
67070 # include <limits.h>
67071 #else
67072 # include <assert.h>
67073 #endif
67074
67075 #undef $ac_func
67076
67077 /* Override any gcc2 internal prototype to avoid an error.  */
67078 #ifdef __cplusplus
67079 extern "C"
67080 {
67081 #endif
67082 /* We use char because int might match the return type of a gcc2
67083    builtin and then its argument prototype would still apply.  */
67084 char $ac_func ();
67085 /* The GNU C library defines this for functions which it implements
67086     to always fail with ENOSYS.  Some functions are actually named
67087     something starting with __ and the normal name is an alias.  */
67088 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67089 choke me
67090 #else
67091 char (*f) () = $ac_func;
67092 #endif
67093 #ifdef __cplusplus
67094 }
67095 #endif
67096
67097 int
67098 main ()
67099 {
67100 return f != $ac_func;
67101   ;
67102   return 0;
67103 }
67104 _ACEOF
67105 rm -f conftest.$ac_objext conftest$ac_exeext
67106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67107   (eval $ac_link) 2>conftest.er1
67108   ac_status=$?
67109   grep -v '^ *+' conftest.er1 >conftest.err
67110   rm -f conftest.er1
67111   cat conftest.err >&5
67112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67113   (exit $ac_status); } &&
67114          { ac_try='test -z "$ac_c_werror_flag"
67115                          || test ! -s conftest.err'
67116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67117   (eval $ac_try) 2>&5
67118   ac_status=$?
67119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67120   (exit $ac_status); }; } &&
67121          { ac_try='test -s conftest$ac_exeext'
67122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67123   (eval $ac_try) 2>&5
67124   ac_status=$?
67125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67126   (exit $ac_status); }; }; then
67127   eval "$as_ac_var=yes"
67128 else
67129   echo "$as_me: failed program was:" >&5
67130 sed 's/^/| /' conftest.$ac_ext >&5
67131
67132 eval "$as_ac_var=no"
67133 fi
67134 rm -f conftest.err conftest.$ac_objext \
67135       conftest$ac_exeext conftest.$ac_ext
67136 fi
67137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67138 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67139 if test `eval echo '${'$as_ac_var'}'` = yes; then
67140   cat >>confdefs.h <<_ACEOF
67141 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67142 _ACEOF
67143
67144 fi
67145 done
67146
67147   else
67148
67149   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
67150 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
67151   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
67152     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
67153   echo $ECHO_N "(cached) $ECHO_C" >&6
67154 else
67155
67156
67157
67158       ac_ext=cc
67159 ac_cpp='$CXXCPP $CPPFLAGS'
67160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67163
67164       cat >conftest.$ac_ext <<_ACEOF
67165 /* confdefs.h.  */
67166 _ACEOF
67167 cat confdefs.h >>conftest.$ac_ext
67168 cat >>conftest.$ac_ext <<_ACEOF
67169 /* end confdefs.h.  */
67170 #include <math.h>
67171                       #ifdef HAVE_IEEEFP_H
67172                       #include <ieeefp.h>
67173                       #endif
67174
67175 int
67176 main ()
67177 {
67178  _fabsl(0);
67179   ;
67180   return 0;
67181 }
67182 _ACEOF
67183 rm -f conftest.$ac_objext
67184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67185   (eval $ac_compile) 2>conftest.er1
67186   ac_status=$?
67187   grep -v '^ *+' conftest.er1 >conftest.err
67188   rm -f conftest.er1
67189   cat conftest.err >&5
67190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67191   (exit $ac_status); } &&
67192          { ac_try='test -z "$ac_cxx_werror_flag"
67193                          || test ! -s conftest.err'
67194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67195   (eval $ac_try) 2>&5
67196   ac_status=$?
67197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67198   (exit $ac_status); }; } &&
67199          { ac_try='test -s conftest.$ac_objext'
67200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67201   (eval $ac_try) 2>&5
67202   ac_status=$?
67203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67204   (exit $ac_status); }; }; then
67205   glibcxx_cv_func__fabsl_use=yes
67206 else
67207   echo "$as_me: failed program was:" >&5
67208 sed 's/^/| /' conftest.$ac_ext >&5
67209
67210 glibcxx_cv_func__fabsl_use=no
67211 fi
67212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67213       ac_ext=c
67214 ac_cpp='$CPP $CPPFLAGS'
67215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67218
67219
67220 fi
67221
67222   fi
67223   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
67224 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
67225
67226     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
67227
67228 for ac_func in _fabsl
67229 do
67230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67231 echo "$as_me:$LINENO: checking for $ac_func" >&5
67232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67233 if eval "test \"\${$as_ac_var+set}\" = set"; then
67234   echo $ECHO_N "(cached) $ECHO_C" >&6
67235 else
67236   if test x$gcc_no_link = xyes; then
67237   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67239    { (exit 1); exit 1; }; }
67240 fi
67241 cat >conftest.$ac_ext <<_ACEOF
67242 /* confdefs.h.  */
67243 _ACEOF
67244 cat confdefs.h >>conftest.$ac_ext
67245 cat >>conftest.$ac_ext <<_ACEOF
67246 /* end confdefs.h.  */
67247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67248    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67249 #define $ac_func innocuous_$ac_func
67250
67251 /* System header to define __stub macros and hopefully few prototypes,
67252     which can conflict with char $ac_func (); below.
67253     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67254     <limits.h> exists even on freestanding compilers.  */
67255
67256 #ifdef __STDC__
67257 # include <limits.h>
67258 #else
67259 # include <assert.h>
67260 #endif
67261
67262 #undef $ac_func
67263
67264 /* Override any gcc2 internal prototype to avoid an error.  */
67265 #ifdef __cplusplus
67266 extern "C"
67267 {
67268 #endif
67269 /* We use char because int might match the return type of a gcc2
67270    builtin and then its argument prototype would still apply.  */
67271 char $ac_func ();
67272 /* The GNU C library defines this for functions which it implements
67273     to always fail with ENOSYS.  Some functions are actually named
67274     something starting with __ and the normal name is an alias.  */
67275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67276 choke me
67277 #else
67278 char (*f) () = $ac_func;
67279 #endif
67280 #ifdef __cplusplus
67281 }
67282 #endif
67283
67284 int
67285 main ()
67286 {
67287 return f != $ac_func;
67288   ;
67289   return 0;
67290 }
67291 _ACEOF
67292 rm -f conftest.$ac_objext conftest$ac_exeext
67293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67294   (eval $ac_link) 2>conftest.er1
67295   ac_status=$?
67296   grep -v '^ *+' conftest.er1 >conftest.err
67297   rm -f conftest.er1
67298   cat conftest.err >&5
67299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67300   (exit $ac_status); } &&
67301          { ac_try='test -z "$ac_c_werror_flag"
67302                          || test ! -s conftest.err'
67303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67304   (eval $ac_try) 2>&5
67305   ac_status=$?
67306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67307   (exit $ac_status); }; } &&
67308          { ac_try='test -s conftest$ac_exeext'
67309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67310   (eval $ac_try) 2>&5
67311   ac_status=$?
67312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67313   (exit $ac_status); }; }; then
67314   eval "$as_ac_var=yes"
67315 else
67316   echo "$as_me: failed program was:" >&5
67317 sed 's/^/| /' conftest.$ac_ext >&5
67318
67319 eval "$as_ac_var=no"
67320 fi
67321 rm -f conftest.err conftest.$ac_objext \
67322       conftest$ac_exeext conftest.$ac_ext
67323 fi
67324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67326 if test `eval echo '${'$as_ac_var'}'` = yes; then
67327   cat >>confdefs.h <<_ACEOF
67328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67329 _ACEOF
67330
67331 fi
67332 done
67333
67334     fi
67335   fi
67336
67337
67338
67339
67340
67341
67342   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
67343 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
67344   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
67345     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
67346   echo $ECHO_N "(cached) $ECHO_C" >&6
67347 else
67348
67349
67350
67351       ac_ext=cc
67352 ac_cpp='$CXXCPP $CPPFLAGS'
67353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67356
67357       cat >conftest.$ac_ext <<_ACEOF
67358 /* confdefs.h.  */
67359 _ACEOF
67360 cat confdefs.h >>conftest.$ac_ext
67361 cat >>conftest.$ac_ext <<_ACEOF
67362 /* end confdefs.h.  */
67363 #include <math.h>
67364 int
67365 main ()
67366 {
67367  fmodl(0, 0);
67368   ;
67369   return 0;
67370 }
67371 _ACEOF
67372 rm -f conftest.$ac_objext
67373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67374   (eval $ac_compile) 2>conftest.er1
67375   ac_status=$?
67376   grep -v '^ *+' conftest.er1 >conftest.err
67377   rm -f conftest.er1
67378   cat conftest.err >&5
67379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67380   (exit $ac_status); } &&
67381          { ac_try='test -z "$ac_cxx_werror_flag"
67382                          || test ! -s conftest.err'
67383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67384   (eval $ac_try) 2>&5
67385   ac_status=$?
67386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67387   (exit $ac_status); }; } &&
67388          { ac_try='test -s conftest.$ac_objext'
67389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67390   (eval $ac_try) 2>&5
67391   ac_status=$?
67392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67393   (exit $ac_status); }; }; then
67394   glibcxx_cv_func_fmodl_use=yes
67395 else
67396   echo "$as_me: failed program was:" >&5
67397 sed 's/^/| /' conftest.$ac_ext >&5
67398
67399 glibcxx_cv_func_fmodl_use=no
67400 fi
67401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67402       ac_ext=c
67403 ac_cpp='$CPP $CPPFLAGS'
67404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67407
67408
67409 fi
67410
67411   fi
67412   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
67413 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
67414
67415   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
67416
67417 for ac_func in fmodl
67418 do
67419 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67420 echo "$as_me:$LINENO: checking for $ac_func" >&5
67421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67422 if eval "test \"\${$as_ac_var+set}\" = set"; then
67423   echo $ECHO_N "(cached) $ECHO_C" >&6
67424 else
67425   if test x$gcc_no_link = xyes; then
67426   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67428    { (exit 1); exit 1; }; }
67429 fi
67430 cat >conftest.$ac_ext <<_ACEOF
67431 /* confdefs.h.  */
67432 _ACEOF
67433 cat confdefs.h >>conftest.$ac_ext
67434 cat >>conftest.$ac_ext <<_ACEOF
67435 /* end confdefs.h.  */
67436 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67437    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67438 #define $ac_func innocuous_$ac_func
67439
67440 /* System header to define __stub macros and hopefully few prototypes,
67441     which can conflict with char $ac_func (); below.
67442     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67443     <limits.h> exists even on freestanding compilers.  */
67444
67445 #ifdef __STDC__
67446 # include <limits.h>
67447 #else
67448 # include <assert.h>
67449 #endif
67450
67451 #undef $ac_func
67452
67453 /* Override any gcc2 internal prototype to avoid an error.  */
67454 #ifdef __cplusplus
67455 extern "C"
67456 {
67457 #endif
67458 /* We use char because int might match the return type of a gcc2
67459    builtin and then its argument prototype would still apply.  */
67460 char $ac_func ();
67461 /* The GNU C library defines this for functions which it implements
67462     to always fail with ENOSYS.  Some functions are actually named
67463     something starting with __ and the normal name is an alias.  */
67464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67465 choke me
67466 #else
67467 char (*f) () = $ac_func;
67468 #endif
67469 #ifdef __cplusplus
67470 }
67471 #endif
67472
67473 int
67474 main ()
67475 {
67476 return f != $ac_func;
67477   ;
67478   return 0;
67479 }
67480 _ACEOF
67481 rm -f conftest.$ac_objext conftest$ac_exeext
67482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67483   (eval $ac_link) 2>conftest.er1
67484   ac_status=$?
67485   grep -v '^ *+' conftest.er1 >conftest.err
67486   rm -f conftest.er1
67487   cat conftest.err >&5
67488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67489   (exit $ac_status); } &&
67490          { ac_try='test -z "$ac_c_werror_flag"
67491                          || test ! -s conftest.err'
67492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67493   (eval $ac_try) 2>&5
67494   ac_status=$?
67495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67496   (exit $ac_status); }; } &&
67497          { ac_try='test -s conftest$ac_exeext'
67498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67499   (eval $ac_try) 2>&5
67500   ac_status=$?
67501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67502   (exit $ac_status); }; }; then
67503   eval "$as_ac_var=yes"
67504 else
67505   echo "$as_me: failed program was:" >&5
67506 sed 's/^/| /' conftest.$ac_ext >&5
67507
67508 eval "$as_ac_var=no"
67509 fi
67510 rm -f conftest.err conftest.$ac_objext \
67511       conftest$ac_exeext conftest.$ac_ext
67512 fi
67513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67514 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67515 if test `eval echo '${'$as_ac_var'}'` = yes; then
67516   cat >>confdefs.h <<_ACEOF
67517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67518 _ACEOF
67519
67520 fi
67521 done
67522
67523   else
67524
67525   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
67526 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
67527   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
67528     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
67529   echo $ECHO_N "(cached) $ECHO_C" >&6
67530 else
67531
67532
67533
67534       ac_ext=cc
67535 ac_cpp='$CXXCPP $CPPFLAGS'
67536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67539
67540       cat >conftest.$ac_ext <<_ACEOF
67541 /* confdefs.h.  */
67542 _ACEOF
67543 cat confdefs.h >>conftest.$ac_ext
67544 cat >>conftest.$ac_ext <<_ACEOF
67545 /* end confdefs.h.  */
67546 #include <math.h>
67547 int
67548 main ()
67549 {
67550  _fmodl(0, 0);
67551   ;
67552   return 0;
67553 }
67554 _ACEOF
67555 rm -f conftest.$ac_objext
67556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67557   (eval $ac_compile) 2>conftest.er1
67558   ac_status=$?
67559   grep -v '^ *+' conftest.er1 >conftest.err
67560   rm -f conftest.er1
67561   cat conftest.err >&5
67562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67563   (exit $ac_status); } &&
67564          { ac_try='test -z "$ac_cxx_werror_flag"
67565                          || test ! -s conftest.err'
67566   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67567   (eval $ac_try) 2>&5
67568   ac_status=$?
67569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67570   (exit $ac_status); }; } &&
67571          { ac_try='test -s conftest.$ac_objext'
67572   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67573   (eval $ac_try) 2>&5
67574   ac_status=$?
67575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67576   (exit $ac_status); }; }; then
67577   glibcxx_cv_func__fmodl_use=yes
67578 else
67579   echo "$as_me: failed program was:" >&5
67580 sed 's/^/| /' conftest.$ac_ext >&5
67581
67582 glibcxx_cv_func__fmodl_use=no
67583 fi
67584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67585       ac_ext=c
67586 ac_cpp='$CPP $CPPFLAGS'
67587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67590
67591
67592 fi
67593
67594   fi
67595   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
67596 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
67597
67598     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
67599
67600 for ac_func in _fmodl
67601 do
67602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67603 echo "$as_me:$LINENO: checking for $ac_func" >&5
67604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67605 if eval "test \"\${$as_ac_var+set}\" = set"; then
67606   echo $ECHO_N "(cached) $ECHO_C" >&6
67607 else
67608   if test x$gcc_no_link = xyes; then
67609   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67611    { (exit 1); exit 1; }; }
67612 fi
67613 cat >conftest.$ac_ext <<_ACEOF
67614 /* confdefs.h.  */
67615 _ACEOF
67616 cat confdefs.h >>conftest.$ac_ext
67617 cat >>conftest.$ac_ext <<_ACEOF
67618 /* end confdefs.h.  */
67619 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67620    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67621 #define $ac_func innocuous_$ac_func
67622
67623 /* System header to define __stub macros and hopefully few prototypes,
67624     which can conflict with char $ac_func (); below.
67625     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67626     <limits.h> exists even on freestanding compilers.  */
67627
67628 #ifdef __STDC__
67629 # include <limits.h>
67630 #else
67631 # include <assert.h>
67632 #endif
67633
67634 #undef $ac_func
67635
67636 /* Override any gcc2 internal prototype to avoid an error.  */
67637 #ifdef __cplusplus
67638 extern "C"
67639 {
67640 #endif
67641 /* We use char because int might match the return type of a gcc2
67642    builtin and then its argument prototype would still apply.  */
67643 char $ac_func ();
67644 /* The GNU C library defines this for functions which it implements
67645     to always fail with ENOSYS.  Some functions are actually named
67646     something starting with __ and the normal name is an alias.  */
67647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67648 choke me
67649 #else
67650 char (*f) () = $ac_func;
67651 #endif
67652 #ifdef __cplusplus
67653 }
67654 #endif
67655
67656 int
67657 main ()
67658 {
67659 return f != $ac_func;
67660   ;
67661   return 0;
67662 }
67663 _ACEOF
67664 rm -f conftest.$ac_objext conftest$ac_exeext
67665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67666   (eval $ac_link) 2>conftest.er1
67667   ac_status=$?
67668   grep -v '^ *+' conftest.er1 >conftest.err
67669   rm -f conftest.er1
67670   cat conftest.err >&5
67671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67672   (exit $ac_status); } &&
67673          { ac_try='test -z "$ac_c_werror_flag"
67674                          || test ! -s conftest.err'
67675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67676   (eval $ac_try) 2>&5
67677   ac_status=$?
67678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67679   (exit $ac_status); }; } &&
67680          { ac_try='test -s conftest$ac_exeext'
67681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67682   (eval $ac_try) 2>&5
67683   ac_status=$?
67684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67685   (exit $ac_status); }; }; then
67686   eval "$as_ac_var=yes"
67687 else
67688   echo "$as_me: failed program was:" >&5
67689 sed 's/^/| /' conftest.$ac_ext >&5
67690
67691 eval "$as_ac_var=no"
67692 fi
67693 rm -f conftest.err conftest.$ac_objext \
67694       conftest$ac_exeext conftest.$ac_ext
67695 fi
67696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67698 if test `eval echo '${'$as_ac_var'}'` = yes; then
67699   cat >>confdefs.h <<_ACEOF
67700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67701 _ACEOF
67702
67703 fi
67704 done
67705
67706     fi
67707   fi
67708
67709
67710
67711
67712
67713
67714   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
67715 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
67716   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
67717     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
67718   echo $ECHO_N "(cached) $ECHO_C" >&6
67719 else
67720
67721
67722
67723       ac_ext=cc
67724 ac_cpp='$CXXCPP $CPPFLAGS'
67725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67728
67729       cat >conftest.$ac_ext <<_ACEOF
67730 /* confdefs.h.  */
67731 _ACEOF
67732 cat confdefs.h >>conftest.$ac_ext
67733 cat >>conftest.$ac_ext <<_ACEOF
67734 /* end confdefs.h.  */
67735 #include <math.h>
67736 int
67737 main ()
67738 {
67739  frexpl(0, 0);
67740   ;
67741   return 0;
67742 }
67743 _ACEOF
67744 rm -f conftest.$ac_objext
67745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67746   (eval $ac_compile) 2>conftest.er1
67747   ac_status=$?
67748   grep -v '^ *+' conftest.er1 >conftest.err
67749   rm -f conftest.er1
67750   cat conftest.err >&5
67751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67752   (exit $ac_status); } &&
67753          { ac_try='test -z "$ac_cxx_werror_flag"
67754                          || test ! -s conftest.err'
67755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67756   (eval $ac_try) 2>&5
67757   ac_status=$?
67758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67759   (exit $ac_status); }; } &&
67760          { ac_try='test -s conftest.$ac_objext'
67761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67762   (eval $ac_try) 2>&5
67763   ac_status=$?
67764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67765   (exit $ac_status); }; }; then
67766   glibcxx_cv_func_frexpl_use=yes
67767 else
67768   echo "$as_me: failed program was:" >&5
67769 sed 's/^/| /' conftest.$ac_ext >&5
67770
67771 glibcxx_cv_func_frexpl_use=no
67772 fi
67773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67774       ac_ext=c
67775 ac_cpp='$CPP $CPPFLAGS'
67776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67779
67780
67781 fi
67782
67783   fi
67784   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
67785 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
67786
67787   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
67788
67789 for ac_func in frexpl
67790 do
67791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67792 echo "$as_me:$LINENO: checking for $ac_func" >&5
67793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67794 if eval "test \"\${$as_ac_var+set}\" = set"; then
67795   echo $ECHO_N "(cached) $ECHO_C" >&6
67796 else
67797   if test x$gcc_no_link = xyes; then
67798   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67800    { (exit 1); exit 1; }; }
67801 fi
67802 cat >conftest.$ac_ext <<_ACEOF
67803 /* confdefs.h.  */
67804 _ACEOF
67805 cat confdefs.h >>conftest.$ac_ext
67806 cat >>conftest.$ac_ext <<_ACEOF
67807 /* end confdefs.h.  */
67808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67809    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67810 #define $ac_func innocuous_$ac_func
67811
67812 /* System header to define __stub macros and hopefully few prototypes,
67813     which can conflict with char $ac_func (); below.
67814     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67815     <limits.h> exists even on freestanding compilers.  */
67816
67817 #ifdef __STDC__
67818 # include <limits.h>
67819 #else
67820 # include <assert.h>
67821 #endif
67822
67823 #undef $ac_func
67824
67825 /* Override any gcc2 internal prototype to avoid an error.  */
67826 #ifdef __cplusplus
67827 extern "C"
67828 {
67829 #endif
67830 /* We use char because int might match the return type of a gcc2
67831    builtin and then its argument prototype would still apply.  */
67832 char $ac_func ();
67833 /* The GNU C library defines this for functions which it implements
67834     to always fail with ENOSYS.  Some functions are actually named
67835     something starting with __ and the normal name is an alias.  */
67836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67837 choke me
67838 #else
67839 char (*f) () = $ac_func;
67840 #endif
67841 #ifdef __cplusplus
67842 }
67843 #endif
67844
67845 int
67846 main ()
67847 {
67848 return f != $ac_func;
67849   ;
67850   return 0;
67851 }
67852 _ACEOF
67853 rm -f conftest.$ac_objext conftest$ac_exeext
67854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67855   (eval $ac_link) 2>conftest.er1
67856   ac_status=$?
67857   grep -v '^ *+' conftest.er1 >conftest.err
67858   rm -f conftest.er1
67859   cat conftest.err >&5
67860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67861   (exit $ac_status); } &&
67862          { ac_try='test -z "$ac_c_werror_flag"
67863                          || test ! -s conftest.err'
67864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67865   (eval $ac_try) 2>&5
67866   ac_status=$?
67867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67868   (exit $ac_status); }; } &&
67869          { ac_try='test -s conftest$ac_exeext'
67870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67871   (eval $ac_try) 2>&5
67872   ac_status=$?
67873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67874   (exit $ac_status); }; }; then
67875   eval "$as_ac_var=yes"
67876 else
67877   echo "$as_me: failed program was:" >&5
67878 sed 's/^/| /' conftest.$ac_ext >&5
67879
67880 eval "$as_ac_var=no"
67881 fi
67882 rm -f conftest.err conftest.$ac_objext \
67883       conftest$ac_exeext conftest.$ac_ext
67884 fi
67885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67887 if test `eval echo '${'$as_ac_var'}'` = yes; then
67888   cat >>confdefs.h <<_ACEOF
67889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67890 _ACEOF
67891
67892 fi
67893 done
67894
67895   else
67896
67897   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
67898 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
67899   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
67900     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
67901   echo $ECHO_N "(cached) $ECHO_C" >&6
67902 else
67903
67904
67905
67906       ac_ext=cc
67907 ac_cpp='$CXXCPP $CPPFLAGS'
67908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67911
67912       cat >conftest.$ac_ext <<_ACEOF
67913 /* confdefs.h.  */
67914 _ACEOF
67915 cat confdefs.h >>conftest.$ac_ext
67916 cat >>conftest.$ac_ext <<_ACEOF
67917 /* end confdefs.h.  */
67918 #include <math.h>
67919 int
67920 main ()
67921 {
67922  _frexpl(0, 0);
67923   ;
67924   return 0;
67925 }
67926 _ACEOF
67927 rm -f conftest.$ac_objext
67928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67929   (eval $ac_compile) 2>conftest.er1
67930   ac_status=$?
67931   grep -v '^ *+' conftest.er1 >conftest.err
67932   rm -f conftest.er1
67933   cat conftest.err >&5
67934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67935   (exit $ac_status); } &&
67936          { ac_try='test -z "$ac_cxx_werror_flag"
67937                          || test ! -s conftest.err'
67938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67939   (eval $ac_try) 2>&5
67940   ac_status=$?
67941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67942   (exit $ac_status); }; } &&
67943          { ac_try='test -s conftest.$ac_objext'
67944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67945   (eval $ac_try) 2>&5
67946   ac_status=$?
67947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67948   (exit $ac_status); }; }; then
67949   glibcxx_cv_func__frexpl_use=yes
67950 else
67951   echo "$as_me: failed program was:" >&5
67952 sed 's/^/| /' conftest.$ac_ext >&5
67953
67954 glibcxx_cv_func__frexpl_use=no
67955 fi
67956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67957       ac_ext=c
67958 ac_cpp='$CPP $CPPFLAGS'
67959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67962
67963
67964 fi
67965
67966   fi
67967   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
67968 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
67969
67970     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
67971
67972 for ac_func in _frexpl
67973 do
67974 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67975 echo "$as_me:$LINENO: checking for $ac_func" >&5
67976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67977 if eval "test \"\${$as_ac_var+set}\" = set"; then
67978   echo $ECHO_N "(cached) $ECHO_C" >&6
67979 else
67980   if test x$gcc_no_link = xyes; then
67981   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67983    { (exit 1); exit 1; }; }
67984 fi
67985 cat >conftest.$ac_ext <<_ACEOF
67986 /* confdefs.h.  */
67987 _ACEOF
67988 cat confdefs.h >>conftest.$ac_ext
67989 cat >>conftest.$ac_ext <<_ACEOF
67990 /* end confdefs.h.  */
67991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67992    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67993 #define $ac_func innocuous_$ac_func
67994
67995 /* System header to define __stub macros and hopefully few prototypes,
67996     which can conflict with char $ac_func (); below.
67997     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67998     <limits.h> exists even on freestanding compilers.  */
67999
68000 #ifdef __STDC__
68001 # include <limits.h>
68002 #else
68003 # include <assert.h>
68004 #endif
68005
68006 #undef $ac_func
68007
68008 /* Override any gcc2 internal prototype to avoid an error.  */
68009 #ifdef __cplusplus
68010 extern "C"
68011 {
68012 #endif
68013 /* We use char because int might match the return type of a gcc2
68014    builtin and then its argument prototype would still apply.  */
68015 char $ac_func ();
68016 /* The GNU C library defines this for functions which it implements
68017     to always fail with ENOSYS.  Some functions are actually named
68018     something starting with __ and the normal name is an alias.  */
68019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68020 choke me
68021 #else
68022 char (*f) () = $ac_func;
68023 #endif
68024 #ifdef __cplusplus
68025 }
68026 #endif
68027
68028 int
68029 main ()
68030 {
68031 return f != $ac_func;
68032   ;
68033   return 0;
68034 }
68035 _ACEOF
68036 rm -f conftest.$ac_objext conftest$ac_exeext
68037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68038   (eval $ac_link) 2>conftest.er1
68039   ac_status=$?
68040   grep -v '^ *+' conftest.er1 >conftest.err
68041   rm -f conftest.er1
68042   cat conftest.err >&5
68043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68044   (exit $ac_status); } &&
68045          { ac_try='test -z "$ac_c_werror_flag"
68046                          || test ! -s conftest.err'
68047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68048   (eval $ac_try) 2>&5
68049   ac_status=$?
68050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68051   (exit $ac_status); }; } &&
68052          { ac_try='test -s conftest$ac_exeext'
68053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68054   (eval $ac_try) 2>&5
68055   ac_status=$?
68056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68057   (exit $ac_status); }; }; then
68058   eval "$as_ac_var=yes"
68059 else
68060   echo "$as_me: failed program was:" >&5
68061 sed 's/^/| /' conftest.$ac_ext >&5
68062
68063 eval "$as_ac_var=no"
68064 fi
68065 rm -f conftest.err conftest.$ac_objext \
68066       conftest$ac_exeext conftest.$ac_ext
68067 fi
68068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68070 if test `eval echo '${'$as_ac_var'}'` = yes; then
68071   cat >>confdefs.h <<_ACEOF
68072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68073 _ACEOF
68074
68075 fi
68076 done
68077
68078     fi
68079   fi
68080
68081
68082
68083
68084
68085
68086   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
68087 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
68088   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
68089     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
68090   echo $ECHO_N "(cached) $ECHO_C" >&6
68091 else
68092
68093
68094
68095       ac_ext=cc
68096 ac_cpp='$CXXCPP $CPPFLAGS'
68097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68100
68101       cat >conftest.$ac_ext <<_ACEOF
68102 /* confdefs.h.  */
68103 _ACEOF
68104 cat confdefs.h >>conftest.$ac_ext
68105 cat >>conftest.$ac_ext <<_ACEOF
68106 /* end confdefs.h.  */
68107 #include <math.h>
68108 int
68109 main ()
68110 {
68111  hypotl(0, 0);
68112   ;
68113   return 0;
68114 }
68115 _ACEOF
68116 rm -f conftest.$ac_objext
68117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68118   (eval $ac_compile) 2>conftest.er1
68119   ac_status=$?
68120   grep -v '^ *+' conftest.er1 >conftest.err
68121   rm -f conftest.er1
68122   cat conftest.err >&5
68123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68124   (exit $ac_status); } &&
68125          { ac_try='test -z "$ac_cxx_werror_flag"
68126                          || test ! -s conftest.err'
68127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68128   (eval $ac_try) 2>&5
68129   ac_status=$?
68130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68131   (exit $ac_status); }; } &&
68132          { ac_try='test -s conftest.$ac_objext'
68133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68134   (eval $ac_try) 2>&5
68135   ac_status=$?
68136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68137   (exit $ac_status); }; }; then
68138   glibcxx_cv_func_hypotl_use=yes
68139 else
68140   echo "$as_me: failed program was:" >&5
68141 sed 's/^/| /' conftest.$ac_ext >&5
68142
68143 glibcxx_cv_func_hypotl_use=no
68144 fi
68145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68146       ac_ext=c
68147 ac_cpp='$CPP $CPPFLAGS'
68148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68151
68152
68153 fi
68154
68155   fi
68156   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
68157 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
68158
68159   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
68160
68161 for ac_func in hypotl
68162 do
68163 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68164 echo "$as_me:$LINENO: checking for $ac_func" >&5
68165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68166 if eval "test \"\${$as_ac_var+set}\" = set"; then
68167   echo $ECHO_N "(cached) $ECHO_C" >&6
68168 else
68169   if test x$gcc_no_link = xyes; then
68170   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68172    { (exit 1); exit 1; }; }
68173 fi
68174 cat >conftest.$ac_ext <<_ACEOF
68175 /* confdefs.h.  */
68176 _ACEOF
68177 cat confdefs.h >>conftest.$ac_ext
68178 cat >>conftest.$ac_ext <<_ACEOF
68179 /* end confdefs.h.  */
68180 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68181    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68182 #define $ac_func innocuous_$ac_func
68183
68184 /* System header to define __stub macros and hopefully few prototypes,
68185     which can conflict with char $ac_func (); below.
68186     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68187     <limits.h> exists even on freestanding compilers.  */
68188
68189 #ifdef __STDC__
68190 # include <limits.h>
68191 #else
68192 # include <assert.h>
68193 #endif
68194
68195 #undef $ac_func
68196
68197 /* Override any gcc2 internal prototype to avoid an error.  */
68198 #ifdef __cplusplus
68199 extern "C"
68200 {
68201 #endif
68202 /* We use char because int might match the return type of a gcc2
68203    builtin and then its argument prototype would still apply.  */
68204 char $ac_func ();
68205 /* The GNU C library defines this for functions which it implements
68206     to always fail with ENOSYS.  Some functions are actually named
68207     something starting with __ and the normal name is an alias.  */
68208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68209 choke me
68210 #else
68211 char (*f) () = $ac_func;
68212 #endif
68213 #ifdef __cplusplus
68214 }
68215 #endif
68216
68217 int
68218 main ()
68219 {
68220 return f != $ac_func;
68221   ;
68222   return 0;
68223 }
68224 _ACEOF
68225 rm -f conftest.$ac_objext conftest$ac_exeext
68226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68227   (eval $ac_link) 2>conftest.er1
68228   ac_status=$?
68229   grep -v '^ *+' conftest.er1 >conftest.err
68230   rm -f conftest.er1
68231   cat conftest.err >&5
68232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68233   (exit $ac_status); } &&
68234          { ac_try='test -z "$ac_c_werror_flag"
68235                          || test ! -s conftest.err'
68236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68237   (eval $ac_try) 2>&5
68238   ac_status=$?
68239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68240   (exit $ac_status); }; } &&
68241          { ac_try='test -s conftest$ac_exeext'
68242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68243   (eval $ac_try) 2>&5
68244   ac_status=$?
68245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68246   (exit $ac_status); }; }; then
68247   eval "$as_ac_var=yes"
68248 else
68249   echo "$as_me: failed program was:" >&5
68250 sed 's/^/| /' conftest.$ac_ext >&5
68251
68252 eval "$as_ac_var=no"
68253 fi
68254 rm -f conftest.err conftest.$ac_objext \
68255       conftest$ac_exeext conftest.$ac_ext
68256 fi
68257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68259 if test `eval echo '${'$as_ac_var'}'` = yes; then
68260   cat >>confdefs.h <<_ACEOF
68261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68262 _ACEOF
68263
68264 fi
68265 done
68266
68267   else
68268
68269   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
68270 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
68271   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
68272     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
68273   echo $ECHO_N "(cached) $ECHO_C" >&6
68274 else
68275
68276
68277
68278       ac_ext=cc
68279 ac_cpp='$CXXCPP $CPPFLAGS'
68280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68283
68284       cat >conftest.$ac_ext <<_ACEOF
68285 /* confdefs.h.  */
68286 _ACEOF
68287 cat confdefs.h >>conftest.$ac_ext
68288 cat >>conftest.$ac_ext <<_ACEOF
68289 /* end confdefs.h.  */
68290 #include <math.h>
68291 int
68292 main ()
68293 {
68294  _hypotl(0, 0);
68295   ;
68296   return 0;
68297 }
68298 _ACEOF
68299 rm -f conftest.$ac_objext
68300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68301   (eval $ac_compile) 2>conftest.er1
68302   ac_status=$?
68303   grep -v '^ *+' conftest.er1 >conftest.err
68304   rm -f conftest.er1
68305   cat conftest.err >&5
68306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68307   (exit $ac_status); } &&
68308          { ac_try='test -z "$ac_cxx_werror_flag"
68309                          || test ! -s conftest.err'
68310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68311   (eval $ac_try) 2>&5
68312   ac_status=$?
68313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68314   (exit $ac_status); }; } &&
68315          { ac_try='test -s conftest.$ac_objext'
68316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68317   (eval $ac_try) 2>&5
68318   ac_status=$?
68319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68320   (exit $ac_status); }; }; then
68321   glibcxx_cv_func__hypotl_use=yes
68322 else
68323   echo "$as_me: failed program was:" >&5
68324 sed 's/^/| /' conftest.$ac_ext >&5
68325
68326 glibcxx_cv_func__hypotl_use=no
68327 fi
68328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68329       ac_ext=c
68330 ac_cpp='$CPP $CPPFLAGS'
68331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68334
68335
68336 fi
68337
68338   fi
68339   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
68340 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
68341
68342     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
68343
68344 for ac_func in _hypotl
68345 do
68346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68347 echo "$as_me:$LINENO: checking for $ac_func" >&5
68348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68349 if eval "test \"\${$as_ac_var+set}\" = set"; then
68350   echo $ECHO_N "(cached) $ECHO_C" >&6
68351 else
68352   if test x$gcc_no_link = xyes; then
68353   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68354 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68355    { (exit 1); exit 1; }; }
68356 fi
68357 cat >conftest.$ac_ext <<_ACEOF
68358 /* confdefs.h.  */
68359 _ACEOF
68360 cat confdefs.h >>conftest.$ac_ext
68361 cat >>conftest.$ac_ext <<_ACEOF
68362 /* end confdefs.h.  */
68363 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68364    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68365 #define $ac_func innocuous_$ac_func
68366
68367 /* System header to define __stub macros and hopefully few prototypes,
68368     which can conflict with char $ac_func (); below.
68369     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68370     <limits.h> exists even on freestanding compilers.  */
68371
68372 #ifdef __STDC__
68373 # include <limits.h>
68374 #else
68375 # include <assert.h>
68376 #endif
68377
68378 #undef $ac_func
68379
68380 /* Override any gcc2 internal prototype to avoid an error.  */
68381 #ifdef __cplusplus
68382 extern "C"
68383 {
68384 #endif
68385 /* We use char because int might match the return type of a gcc2
68386    builtin and then its argument prototype would still apply.  */
68387 char $ac_func ();
68388 /* The GNU C library defines this for functions which it implements
68389     to always fail with ENOSYS.  Some functions are actually named
68390     something starting with __ and the normal name is an alias.  */
68391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68392 choke me
68393 #else
68394 char (*f) () = $ac_func;
68395 #endif
68396 #ifdef __cplusplus
68397 }
68398 #endif
68399
68400 int
68401 main ()
68402 {
68403 return f != $ac_func;
68404   ;
68405   return 0;
68406 }
68407 _ACEOF
68408 rm -f conftest.$ac_objext conftest$ac_exeext
68409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68410   (eval $ac_link) 2>conftest.er1
68411   ac_status=$?
68412   grep -v '^ *+' conftest.er1 >conftest.err
68413   rm -f conftest.er1
68414   cat conftest.err >&5
68415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68416   (exit $ac_status); } &&
68417          { ac_try='test -z "$ac_c_werror_flag"
68418                          || test ! -s conftest.err'
68419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68420   (eval $ac_try) 2>&5
68421   ac_status=$?
68422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68423   (exit $ac_status); }; } &&
68424          { ac_try='test -s conftest$ac_exeext'
68425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68426   (eval $ac_try) 2>&5
68427   ac_status=$?
68428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68429   (exit $ac_status); }; }; then
68430   eval "$as_ac_var=yes"
68431 else
68432   echo "$as_me: failed program was:" >&5
68433 sed 's/^/| /' conftest.$ac_ext >&5
68434
68435 eval "$as_ac_var=no"
68436 fi
68437 rm -f conftest.err conftest.$ac_objext \
68438       conftest$ac_exeext conftest.$ac_ext
68439 fi
68440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68442 if test `eval echo '${'$as_ac_var'}'` = yes; then
68443   cat >>confdefs.h <<_ACEOF
68444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68445 _ACEOF
68446
68447 fi
68448 done
68449
68450     fi
68451   fi
68452
68453
68454
68455
68456
68457
68458   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
68459 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
68460   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
68461     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
68462   echo $ECHO_N "(cached) $ECHO_C" >&6
68463 else
68464
68465
68466
68467       ac_ext=cc
68468 ac_cpp='$CXXCPP $CPPFLAGS'
68469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68472
68473       cat >conftest.$ac_ext <<_ACEOF
68474 /* confdefs.h.  */
68475 _ACEOF
68476 cat confdefs.h >>conftest.$ac_ext
68477 cat >>conftest.$ac_ext <<_ACEOF
68478 /* end confdefs.h.  */
68479 #include <math.h>
68480 int
68481 main ()
68482 {
68483  ldexpl(0, 0);
68484   ;
68485   return 0;
68486 }
68487 _ACEOF
68488 rm -f conftest.$ac_objext
68489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68490   (eval $ac_compile) 2>conftest.er1
68491   ac_status=$?
68492   grep -v '^ *+' conftest.er1 >conftest.err
68493   rm -f conftest.er1
68494   cat conftest.err >&5
68495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68496   (exit $ac_status); } &&
68497          { ac_try='test -z "$ac_cxx_werror_flag"
68498                          || test ! -s conftest.err'
68499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68500   (eval $ac_try) 2>&5
68501   ac_status=$?
68502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68503   (exit $ac_status); }; } &&
68504          { ac_try='test -s conftest.$ac_objext'
68505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68506   (eval $ac_try) 2>&5
68507   ac_status=$?
68508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68509   (exit $ac_status); }; }; then
68510   glibcxx_cv_func_ldexpl_use=yes
68511 else
68512   echo "$as_me: failed program was:" >&5
68513 sed 's/^/| /' conftest.$ac_ext >&5
68514
68515 glibcxx_cv_func_ldexpl_use=no
68516 fi
68517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68518       ac_ext=c
68519 ac_cpp='$CPP $CPPFLAGS'
68520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68523
68524
68525 fi
68526
68527   fi
68528   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
68529 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
68530
68531   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
68532
68533 for ac_func in ldexpl
68534 do
68535 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68536 echo "$as_me:$LINENO: checking for $ac_func" >&5
68537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68538 if eval "test \"\${$as_ac_var+set}\" = set"; then
68539   echo $ECHO_N "(cached) $ECHO_C" >&6
68540 else
68541   if test x$gcc_no_link = xyes; then
68542   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68544    { (exit 1); exit 1; }; }
68545 fi
68546 cat >conftest.$ac_ext <<_ACEOF
68547 /* confdefs.h.  */
68548 _ACEOF
68549 cat confdefs.h >>conftest.$ac_ext
68550 cat >>conftest.$ac_ext <<_ACEOF
68551 /* end confdefs.h.  */
68552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68553    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68554 #define $ac_func innocuous_$ac_func
68555
68556 /* System header to define __stub macros and hopefully few prototypes,
68557     which can conflict with char $ac_func (); below.
68558     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68559     <limits.h> exists even on freestanding compilers.  */
68560
68561 #ifdef __STDC__
68562 # include <limits.h>
68563 #else
68564 # include <assert.h>
68565 #endif
68566
68567 #undef $ac_func
68568
68569 /* Override any gcc2 internal prototype to avoid an error.  */
68570 #ifdef __cplusplus
68571 extern "C"
68572 {
68573 #endif
68574 /* We use char because int might match the return type of a gcc2
68575    builtin and then its argument prototype would still apply.  */
68576 char $ac_func ();
68577 /* The GNU C library defines this for functions which it implements
68578     to always fail with ENOSYS.  Some functions are actually named
68579     something starting with __ and the normal name is an alias.  */
68580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68581 choke me
68582 #else
68583 char (*f) () = $ac_func;
68584 #endif
68585 #ifdef __cplusplus
68586 }
68587 #endif
68588
68589 int
68590 main ()
68591 {
68592 return f != $ac_func;
68593   ;
68594   return 0;
68595 }
68596 _ACEOF
68597 rm -f conftest.$ac_objext conftest$ac_exeext
68598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68599   (eval $ac_link) 2>conftest.er1
68600   ac_status=$?
68601   grep -v '^ *+' conftest.er1 >conftest.err
68602   rm -f conftest.er1
68603   cat conftest.err >&5
68604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68605   (exit $ac_status); } &&
68606          { ac_try='test -z "$ac_c_werror_flag"
68607                          || test ! -s conftest.err'
68608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68609   (eval $ac_try) 2>&5
68610   ac_status=$?
68611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68612   (exit $ac_status); }; } &&
68613          { ac_try='test -s conftest$ac_exeext'
68614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68615   (eval $ac_try) 2>&5
68616   ac_status=$?
68617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68618   (exit $ac_status); }; }; then
68619   eval "$as_ac_var=yes"
68620 else
68621   echo "$as_me: failed program was:" >&5
68622 sed 's/^/| /' conftest.$ac_ext >&5
68623
68624 eval "$as_ac_var=no"
68625 fi
68626 rm -f conftest.err conftest.$ac_objext \
68627       conftest$ac_exeext conftest.$ac_ext
68628 fi
68629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68630 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68631 if test `eval echo '${'$as_ac_var'}'` = yes; then
68632   cat >>confdefs.h <<_ACEOF
68633 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68634 _ACEOF
68635
68636 fi
68637 done
68638
68639   else
68640
68641   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
68642 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
68643   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
68644     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
68645   echo $ECHO_N "(cached) $ECHO_C" >&6
68646 else
68647
68648
68649
68650       ac_ext=cc
68651 ac_cpp='$CXXCPP $CPPFLAGS'
68652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68655
68656       cat >conftest.$ac_ext <<_ACEOF
68657 /* confdefs.h.  */
68658 _ACEOF
68659 cat confdefs.h >>conftest.$ac_ext
68660 cat >>conftest.$ac_ext <<_ACEOF
68661 /* end confdefs.h.  */
68662 #include <math.h>
68663 int
68664 main ()
68665 {
68666  _ldexpl(0, 0);
68667   ;
68668   return 0;
68669 }
68670 _ACEOF
68671 rm -f conftest.$ac_objext
68672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68673   (eval $ac_compile) 2>conftest.er1
68674   ac_status=$?
68675   grep -v '^ *+' conftest.er1 >conftest.err
68676   rm -f conftest.er1
68677   cat conftest.err >&5
68678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68679   (exit $ac_status); } &&
68680          { ac_try='test -z "$ac_cxx_werror_flag"
68681                          || test ! -s conftest.err'
68682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68683   (eval $ac_try) 2>&5
68684   ac_status=$?
68685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68686   (exit $ac_status); }; } &&
68687          { ac_try='test -s conftest.$ac_objext'
68688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68689   (eval $ac_try) 2>&5
68690   ac_status=$?
68691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68692   (exit $ac_status); }; }; then
68693   glibcxx_cv_func__ldexpl_use=yes
68694 else
68695   echo "$as_me: failed program was:" >&5
68696 sed 's/^/| /' conftest.$ac_ext >&5
68697
68698 glibcxx_cv_func__ldexpl_use=no
68699 fi
68700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68701       ac_ext=c
68702 ac_cpp='$CPP $CPPFLAGS'
68703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68706
68707
68708 fi
68709
68710   fi
68711   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
68712 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
68713
68714     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
68715
68716 for ac_func in _ldexpl
68717 do
68718 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68719 echo "$as_me:$LINENO: checking for $ac_func" >&5
68720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68721 if eval "test \"\${$as_ac_var+set}\" = set"; then
68722   echo $ECHO_N "(cached) $ECHO_C" >&6
68723 else
68724   if test x$gcc_no_link = xyes; then
68725   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68727    { (exit 1); exit 1; }; }
68728 fi
68729 cat >conftest.$ac_ext <<_ACEOF
68730 /* confdefs.h.  */
68731 _ACEOF
68732 cat confdefs.h >>conftest.$ac_ext
68733 cat >>conftest.$ac_ext <<_ACEOF
68734 /* end confdefs.h.  */
68735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68736    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68737 #define $ac_func innocuous_$ac_func
68738
68739 /* System header to define __stub macros and hopefully few prototypes,
68740     which can conflict with char $ac_func (); below.
68741     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68742     <limits.h> exists even on freestanding compilers.  */
68743
68744 #ifdef __STDC__
68745 # include <limits.h>
68746 #else
68747 # include <assert.h>
68748 #endif
68749
68750 #undef $ac_func
68751
68752 /* Override any gcc2 internal prototype to avoid an error.  */
68753 #ifdef __cplusplus
68754 extern "C"
68755 {
68756 #endif
68757 /* We use char because int might match the return type of a gcc2
68758    builtin and then its argument prototype would still apply.  */
68759 char $ac_func ();
68760 /* The GNU C library defines this for functions which it implements
68761     to always fail with ENOSYS.  Some functions are actually named
68762     something starting with __ and the normal name is an alias.  */
68763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68764 choke me
68765 #else
68766 char (*f) () = $ac_func;
68767 #endif
68768 #ifdef __cplusplus
68769 }
68770 #endif
68771
68772 int
68773 main ()
68774 {
68775 return f != $ac_func;
68776   ;
68777   return 0;
68778 }
68779 _ACEOF
68780 rm -f conftest.$ac_objext conftest$ac_exeext
68781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68782   (eval $ac_link) 2>conftest.er1
68783   ac_status=$?
68784   grep -v '^ *+' conftest.er1 >conftest.err
68785   rm -f conftest.er1
68786   cat conftest.err >&5
68787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68788   (exit $ac_status); } &&
68789          { ac_try='test -z "$ac_c_werror_flag"
68790                          || test ! -s conftest.err'
68791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68792   (eval $ac_try) 2>&5
68793   ac_status=$?
68794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68795   (exit $ac_status); }; } &&
68796          { ac_try='test -s conftest$ac_exeext'
68797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68798   (eval $ac_try) 2>&5
68799   ac_status=$?
68800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68801   (exit $ac_status); }; }; then
68802   eval "$as_ac_var=yes"
68803 else
68804   echo "$as_me: failed program was:" >&5
68805 sed 's/^/| /' conftest.$ac_ext >&5
68806
68807 eval "$as_ac_var=no"
68808 fi
68809 rm -f conftest.err conftest.$ac_objext \
68810       conftest$ac_exeext conftest.$ac_ext
68811 fi
68812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68813 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68814 if test `eval echo '${'$as_ac_var'}'` = yes; then
68815   cat >>confdefs.h <<_ACEOF
68816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68817 _ACEOF
68818
68819 fi
68820 done
68821
68822     fi
68823   fi
68824
68825
68826
68827
68828
68829
68830   echo "$as_me:$LINENO: checking for logl declaration" >&5
68831 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
68832   if test x${glibcxx_cv_func_logl_use+set} != xset; then
68833     if test "${glibcxx_cv_func_logl_use+set}" = set; then
68834   echo $ECHO_N "(cached) $ECHO_C" >&6
68835 else
68836
68837
68838
68839       ac_ext=cc
68840 ac_cpp='$CXXCPP $CPPFLAGS'
68841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68844
68845       cat >conftest.$ac_ext <<_ACEOF
68846 /* confdefs.h.  */
68847 _ACEOF
68848 cat confdefs.h >>conftest.$ac_ext
68849 cat >>conftest.$ac_ext <<_ACEOF
68850 /* end confdefs.h.  */
68851 #include <math.h>
68852                       #ifdef HAVE_IEEEFP_H
68853                       #include <ieeefp.h>
68854                       #endif
68855
68856 int
68857 main ()
68858 {
68859  logl(0);
68860   ;
68861   return 0;
68862 }
68863 _ACEOF
68864 rm -f conftest.$ac_objext
68865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68866   (eval $ac_compile) 2>conftest.er1
68867   ac_status=$?
68868   grep -v '^ *+' conftest.er1 >conftest.err
68869   rm -f conftest.er1
68870   cat conftest.err >&5
68871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68872   (exit $ac_status); } &&
68873          { ac_try='test -z "$ac_cxx_werror_flag"
68874                          || test ! -s conftest.err'
68875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68876   (eval $ac_try) 2>&5
68877   ac_status=$?
68878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68879   (exit $ac_status); }; } &&
68880          { ac_try='test -s conftest.$ac_objext'
68881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68882   (eval $ac_try) 2>&5
68883   ac_status=$?
68884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68885   (exit $ac_status); }; }; then
68886   glibcxx_cv_func_logl_use=yes
68887 else
68888   echo "$as_me: failed program was:" >&5
68889 sed 's/^/| /' conftest.$ac_ext >&5
68890
68891 glibcxx_cv_func_logl_use=no
68892 fi
68893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68894       ac_ext=c
68895 ac_cpp='$CPP $CPPFLAGS'
68896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68899
68900
68901 fi
68902
68903   fi
68904   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
68905 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
68906
68907   if test x$glibcxx_cv_func_logl_use = x"yes"; then
68908
68909 for ac_func in logl
68910 do
68911 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68912 echo "$as_me:$LINENO: checking for $ac_func" >&5
68913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68914 if eval "test \"\${$as_ac_var+set}\" = set"; then
68915   echo $ECHO_N "(cached) $ECHO_C" >&6
68916 else
68917   if test x$gcc_no_link = xyes; then
68918   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68920    { (exit 1); exit 1; }; }
68921 fi
68922 cat >conftest.$ac_ext <<_ACEOF
68923 /* confdefs.h.  */
68924 _ACEOF
68925 cat confdefs.h >>conftest.$ac_ext
68926 cat >>conftest.$ac_ext <<_ACEOF
68927 /* end confdefs.h.  */
68928 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68929    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68930 #define $ac_func innocuous_$ac_func
68931
68932 /* System header to define __stub macros and hopefully few prototypes,
68933     which can conflict with char $ac_func (); below.
68934     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68935     <limits.h> exists even on freestanding compilers.  */
68936
68937 #ifdef __STDC__
68938 # include <limits.h>
68939 #else
68940 # include <assert.h>
68941 #endif
68942
68943 #undef $ac_func
68944
68945 /* Override any gcc2 internal prototype to avoid an error.  */
68946 #ifdef __cplusplus
68947 extern "C"
68948 {
68949 #endif
68950 /* We use char because int might match the return type of a gcc2
68951    builtin and then its argument prototype would still apply.  */
68952 char $ac_func ();
68953 /* The GNU C library defines this for functions which it implements
68954     to always fail with ENOSYS.  Some functions are actually named
68955     something starting with __ and the normal name is an alias.  */
68956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68957 choke me
68958 #else
68959 char (*f) () = $ac_func;
68960 #endif
68961 #ifdef __cplusplus
68962 }
68963 #endif
68964
68965 int
68966 main ()
68967 {
68968 return f != $ac_func;
68969   ;
68970   return 0;
68971 }
68972 _ACEOF
68973 rm -f conftest.$ac_objext conftest$ac_exeext
68974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68975   (eval $ac_link) 2>conftest.er1
68976   ac_status=$?
68977   grep -v '^ *+' conftest.er1 >conftest.err
68978   rm -f conftest.er1
68979   cat conftest.err >&5
68980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68981   (exit $ac_status); } &&
68982          { ac_try='test -z "$ac_c_werror_flag"
68983                          || test ! -s conftest.err'
68984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68985   (eval $ac_try) 2>&5
68986   ac_status=$?
68987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68988   (exit $ac_status); }; } &&
68989          { ac_try='test -s conftest$ac_exeext'
68990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68991   (eval $ac_try) 2>&5
68992   ac_status=$?
68993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68994   (exit $ac_status); }; }; then
68995   eval "$as_ac_var=yes"
68996 else
68997   echo "$as_me: failed program was:" >&5
68998 sed 's/^/| /' conftest.$ac_ext >&5
68999
69000 eval "$as_ac_var=no"
69001 fi
69002 rm -f conftest.err conftest.$ac_objext \
69003       conftest$ac_exeext conftest.$ac_ext
69004 fi
69005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69007 if test `eval echo '${'$as_ac_var'}'` = yes; then
69008   cat >>confdefs.h <<_ACEOF
69009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69010 _ACEOF
69011
69012 fi
69013 done
69014
69015   else
69016
69017   echo "$as_me:$LINENO: checking for _logl declaration" >&5
69018 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
69019   if test x${glibcxx_cv_func__logl_use+set} != xset; then
69020     if test "${glibcxx_cv_func__logl_use+set}" = set; then
69021   echo $ECHO_N "(cached) $ECHO_C" >&6
69022 else
69023
69024
69025
69026       ac_ext=cc
69027 ac_cpp='$CXXCPP $CPPFLAGS'
69028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69031
69032       cat >conftest.$ac_ext <<_ACEOF
69033 /* confdefs.h.  */
69034 _ACEOF
69035 cat confdefs.h >>conftest.$ac_ext
69036 cat >>conftest.$ac_ext <<_ACEOF
69037 /* end confdefs.h.  */
69038 #include <math.h>
69039                       #ifdef HAVE_IEEEFP_H
69040                       #include <ieeefp.h>
69041                       #endif
69042
69043 int
69044 main ()
69045 {
69046  _logl(0);
69047   ;
69048   return 0;
69049 }
69050 _ACEOF
69051 rm -f conftest.$ac_objext
69052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69053   (eval $ac_compile) 2>conftest.er1
69054   ac_status=$?
69055   grep -v '^ *+' conftest.er1 >conftest.err
69056   rm -f conftest.er1
69057   cat conftest.err >&5
69058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69059   (exit $ac_status); } &&
69060          { ac_try='test -z "$ac_cxx_werror_flag"
69061                          || test ! -s conftest.err'
69062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69063   (eval $ac_try) 2>&5
69064   ac_status=$?
69065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69066   (exit $ac_status); }; } &&
69067          { ac_try='test -s conftest.$ac_objext'
69068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69069   (eval $ac_try) 2>&5
69070   ac_status=$?
69071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69072   (exit $ac_status); }; }; then
69073   glibcxx_cv_func__logl_use=yes
69074 else
69075   echo "$as_me: failed program was:" >&5
69076 sed 's/^/| /' conftest.$ac_ext >&5
69077
69078 glibcxx_cv_func__logl_use=no
69079 fi
69080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69081       ac_ext=c
69082 ac_cpp='$CPP $CPPFLAGS'
69083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69086
69087
69088 fi
69089
69090   fi
69091   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
69092 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
69093
69094     if test x$glibcxx_cv_func__logl_use = x"yes"; then
69095
69096 for ac_func in _logl
69097 do
69098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69099 echo "$as_me:$LINENO: checking for $ac_func" >&5
69100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69101 if eval "test \"\${$as_ac_var+set}\" = set"; then
69102   echo $ECHO_N "(cached) $ECHO_C" >&6
69103 else
69104   if test x$gcc_no_link = xyes; then
69105   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69107    { (exit 1); exit 1; }; }
69108 fi
69109 cat >conftest.$ac_ext <<_ACEOF
69110 /* confdefs.h.  */
69111 _ACEOF
69112 cat confdefs.h >>conftest.$ac_ext
69113 cat >>conftest.$ac_ext <<_ACEOF
69114 /* end confdefs.h.  */
69115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69116    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69117 #define $ac_func innocuous_$ac_func
69118
69119 /* System header to define __stub macros and hopefully few prototypes,
69120     which can conflict with char $ac_func (); below.
69121     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69122     <limits.h> exists even on freestanding compilers.  */
69123
69124 #ifdef __STDC__
69125 # include <limits.h>
69126 #else
69127 # include <assert.h>
69128 #endif
69129
69130 #undef $ac_func
69131
69132 /* Override any gcc2 internal prototype to avoid an error.  */
69133 #ifdef __cplusplus
69134 extern "C"
69135 {
69136 #endif
69137 /* We use char because int might match the return type of a gcc2
69138    builtin and then its argument prototype would still apply.  */
69139 char $ac_func ();
69140 /* The GNU C library defines this for functions which it implements
69141     to always fail with ENOSYS.  Some functions are actually named
69142     something starting with __ and the normal name is an alias.  */
69143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69144 choke me
69145 #else
69146 char (*f) () = $ac_func;
69147 #endif
69148 #ifdef __cplusplus
69149 }
69150 #endif
69151
69152 int
69153 main ()
69154 {
69155 return f != $ac_func;
69156   ;
69157   return 0;
69158 }
69159 _ACEOF
69160 rm -f conftest.$ac_objext conftest$ac_exeext
69161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69162   (eval $ac_link) 2>conftest.er1
69163   ac_status=$?
69164   grep -v '^ *+' conftest.er1 >conftest.err
69165   rm -f conftest.er1
69166   cat conftest.err >&5
69167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69168   (exit $ac_status); } &&
69169          { ac_try='test -z "$ac_c_werror_flag"
69170                          || test ! -s conftest.err'
69171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69172   (eval $ac_try) 2>&5
69173   ac_status=$?
69174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69175   (exit $ac_status); }; } &&
69176          { ac_try='test -s conftest$ac_exeext'
69177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69178   (eval $ac_try) 2>&5
69179   ac_status=$?
69180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69181   (exit $ac_status); }; }; then
69182   eval "$as_ac_var=yes"
69183 else
69184   echo "$as_me: failed program was:" >&5
69185 sed 's/^/| /' conftest.$ac_ext >&5
69186
69187 eval "$as_ac_var=no"
69188 fi
69189 rm -f conftest.err conftest.$ac_objext \
69190       conftest$ac_exeext conftest.$ac_ext
69191 fi
69192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69194 if test `eval echo '${'$as_ac_var'}'` = yes; then
69195   cat >>confdefs.h <<_ACEOF
69196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69197 _ACEOF
69198
69199 fi
69200 done
69201
69202     fi
69203   fi
69204
69205
69206
69207
69208
69209
69210   echo "$as_me:$LINENO: checking for log10l declaration" >&5
69211 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
69212   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
69213     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
69214   echo $ECHO_N "(cached) $ECHO_C" >&6
69215 else
69216
69217
69218
69219       ac_ext=cc
69220 ac_cpp='$CXXCPP $CPPFLAGS'
69221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69224
69225       cat >conftest.$ac_ext <<_ACEOF
69226 /* confdefs.h.  */
69227 _ACEOF
69228 cat confdefs.h >>conftest.$ac_ext
69229 cat >>conftest.$ac_ext <<_ACEOF
69230 /* end confdefs.h.  */
69231 #include <math.h>
69232                       #ifdef HAVE_IEEEFP_H
69233                       #include <ieeefp.h>
69234                       #endif
69235
69236 int
69237 main ()
69238 {
69239  log10l(0);
69240   ;
69241   return 0;
69242 }
69243 _ACEOF
69244 rm -f conftest.$ac_objext
69245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69246   (eval $ac_compile) 2>conftest.er1
69247   ac_status=$?
69248   grep -v '^ *+' conftest.er1 >conftest.err
69249   rm -f conftest.er1
69250   cat conftest.err >&5
69251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69252   (exit $ac_status); } &&
69253          { ac_try='test -z "$ac_cxx_werror_flag"
69254                          || test ! -s conftest.err'
69255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69256   (eval $ac_try) 2>&5
69257   ac_status=$?
69258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69259   (exit $ac_status); }; } &&
69260          { ac_try='test -s conftest.$ac_objext'
69261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69262   (eval $ac_try) 2>&5
69263   ac_status=$?
69264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69265   (exit $ac_status); }; }; then
69266   glibcxx_cv_func_log10l_use=yes
69267 else
69268   echo "$as_me: failed program was:" >&5
69269 sed 's/^/| /' conftest.$ac_ext >&5
69270
69271 glibcxx_cv_func_log10l_use=no
69272 fi
69273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69274       ac_ext=c
69275 ac_cpp='$CPP $CPPFLAGS'
69276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69279
69280
69281 fi
69282
69283   fi
69284   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
69285 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
69286
69287   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
69288
69289 for ac_func in log10l
69290 do
69291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69292 echo "$as_me:$LINENO: checking for $ac_func" >&5
69293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69294 if eval "test \"\${$as_ac_var+set}\" = set"; then
69295   echo $ECHO_N "(cached) $ECHO_C" >&6
69296 else
69297   if test x$gcc_no_link = xyes; then
69298   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69300    { (exit 1); exit 1; }; }
69301 fi
69302 cat >conftest.$ac_ext <<_ACEOF
69303 /* confdefs.h.  */
69304 _ACEOF
69305 cat confdefs.h >>conftest.$ac_ext
69306 cat >>conftest.$ac_ext <<_ACEOF
69307 /* end confdefs.h.  */
69308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69309    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69310 #define $ac_func innocuous_$ac_func
69311
69312 /* System header to define __stub macros and hopefully few prototypes,
69313     which can conflict with char $ac_func (); below.
69314     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69315     <limits.h> exists even on freestanding compilers.  */
69316
69317 #ifdef __STDC__
69318 # include <limits.h>
69319 #else
69320 # include <assert.h>
69321 #endif
69322
69323 #undef $ac_func
69324
69325 /* Override any gcc2 internal prototype to avoid an error.  */
69326 #ifdef __cplusplus
69327 extern "C"
69328 {
69329 #endif
69330 /* We use char because int might match the return type of a gcc2
69331    builtin and then its argument prototype would still apply.  */
69332 char $ac_func ();
69333 /* The GNU C library defines this for functions which it implements
69334     to always fail with ENOSYS.  Some functions are actually named
69335     something starting with __ and the normal name is an alias.  */
69336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69337 choke me
69338 #else
69339 char (*f) () = $ac_func;
69340 #endif
69341 #ifdef __cplusplus
69342 }
69343 #endif
69344
69345 int
69346 main ()
69347 {
69348 return f != $ac_func;
69349   ;
69350   return 0;
69351 }
69352 _ACEOF
69353 rm -f conftest.$ac_objext conftest$ac_exeext
69354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69355   (eval $ac_link) 2>conftest.er1
69356   ac_status=$?
69357   grep -v '^ *+' conftest.er1 >conftest.err
69358   rm -f conftest.er1
69359   cat conftest.err >&5
69360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69361   (exit $ac_status); } &&
69362          { ac_try='test -z "$ac_c_werror_flag"
69363                          || test ! -s conftest.err'
69364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69365   (eval $ac_try) 2>&5
69366   ac_status=$?
69367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69368   (exit $ac_status); }; } &&
69369          { ac_try='test -s conftest$ac_exeext'
69370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69371   (eval $ac_try) 2>&5
69372   ac_status=$?
69373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69374   (exit $ac_status); }; }; then
69375   eval "$as_ac_var=yes"
69376 else
69377   echo "$as_me: failed program was:" >&5
69378 sed 's/^/| /' conftest.$ac_ext >&5
69379
69380 eval "$as_ac_var=no"
69381 fi
69382 rm -f conftest.err conftest.$ac_objext \
69383       conftest$ac_exeext conftest.$ac_ext
69384 fi
69385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69387 if test `eval echo '${'$as_ac_var'}'` = yes; then
69388   cat >>confdefs.h <<_ACEOF
69389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69390 _ACEOF
69391
69392 fi
69393 done
69394
69395   else
69396
69397   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
69398 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
69399   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
69400     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
69401   echo $ECHO_N "(cached) $ECHO_C" >&6
69402 else
69403
69404
69405
69406       ac_ext=cc
69407 ac_cpp='$CXXCPP $CPPFLAGS'
69408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69411
69412       cat >conftest.$ac_ext <<_ACEOF
69413 /* confdefs.h.  */
69414 _ACEOF
69415 cat confdefs.h >>conftest.$ac_ext
69416 cat >>conftest.$ac_ext <<_ACEOF
69417 /* end confdefs.h.  */
69418 #include <math.h>
69419                       #ifdef HAVE_IEEEFP_H
69420                       #include <ieeefp.h>
69421                       #endif
69422
69423 int
69424 main ()
69425 {
69426  _log10l(0);
69427   ;
69428   return 0;
69429 }
69430 _ACEOF
69431 rm -f conftest.$ac_objext
69432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69433   (eval $ac_compile) 2>conftest.er1
69434   ac_status=$?
69435   grep -v '^ *+' conftest.er1 >conftest.err
69436   rm -f conftest.er1
69437   cat conftest.err >&5
69438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69439   (exit $ac_status); } &&
69440          { ac_try='test -z "$ac_cxx_werror_flag"
69441                          || test ! -s conftest.err'
69442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69443   (eval $ac_try) 2>&5
69444   ac_status=$?
69445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69446   (exit $ac_status); }; } &&
69447          { ac_try='test -s conftest.$ac_objext'
69448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69449   (eval $ac_try) 2>&5
69450   ac_status=$?
69451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69452   (exit $ac_status); }; }; then
69453   glibcxx_cv_func__log10l_use=yes
69454 else
69455   echo "$as_me: failed program was:" >&5
69456 sed 's/^/| /' conftest.$ac_ext >&5
69457
69458 glibcxx_cv_func__log10l_use=no
69459 fi
69460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69461       ac_ext=c
69462 ac_cpp='$CPP $CPPFLAGS'
69463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69466
69467
69468 fi
69469
69470   fi
69471   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
69472 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
69473
69474     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
69475
69476 for ac_func in _log10l
69477 do
69478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69479 echo "$as_me:$LINENO: checking for $ac_func" >&5
69480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69481 if eval "test \"\${$as_ac_var+set}\" = set"; then
69482   echo $ECHO_N "(cached) $ECHO_C" >&6
69483 else
69484   if test x$gcc_no_link = xyes; then
69485   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69487    { (exit 1); exit 1; }; }
69488 fi
69489 cat >conftest.$ac_ext <<_ACEOF
69490 /* confdefs.h.  */
69491 _ACEOF
69492 cat confdefs.h >>conftest.$ac_ext
69493 cat >>conftest.$ac_ext <<_ACEOF
69494 /* end confdefs.h.  */
69495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69496    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69497 #define $ac_func innocuous_$ac_func
69498
69499 /* System header to define __stub macros and hopefully few prototypes,
69500     which can conflict with char $ac_func (); below.
69501     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69502     <limits.h> exists even on freestanding compilers.  */
69503
69504 #ifdef __STDC__
69505 # include <limits.h>
69506 #else
69507 # include <assert.h>
69508 #endif
69509
69510 #undef $ac_func
69511
69512 /* Override any gcc2 internal prototype to avoid an error.  */
69513 #ifdef __cplusplus
69514 extern "C"
69515 {
69516 #endif
69517 /* We use char because int might match the return type of a gcc2
69518    builtin and then its argument prototype would still apply.  */
69519 char $ac_func ();
69520 /* The GNU C library defines this for functions which it implements
69521     to always fail with ENOSYS.  Some functions are actually named
69522     something starting with __ and the normal name is an alias.  */
69523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69524 choke me
69525 #else
69526 char (*f) () = $ac_func;
69527 #endif
69528 #ifdef __cplusplus
69529 }
69530 #endif
69531
69532 int
69533 main ()
69534 {
69535 return f != $ac_func;
69536   ;
69537   return 0;
69538 }
69539 _ACEOF
69540 rm -f conftest.$ac_objext conftest$ac_exeext
69541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69542   (eval $ac_link) 2>conftest.er1
69543   ac_status=$?
69544   grep -v '^ *+' conftest.er1 >conftest.err
69545   rm -f conftest.er1
69546   cat conftest.err >&5
69547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69548   (exit $ac_status); } &&
69549          { ac_try='test -z "$ac_c_werror_flag"
69550                          || test ! -s conftest.err'
69551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69552   (eval $ac_try) 2>&5
69553   ac_status=$?
69554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69555   (exit $ac_status); }; } &&
69556          { ac_try='test -s conftest$ac_exeext'
69557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69558   (eval $ac_try) 2>&5
69559   ac_status=$?
69560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69561   (exit $ac_status); }; }; then
69562   eval "$as_ac_var=yes"
69563 else
69564   echo "$as_me: failed program was:" >&5
69565 sed 's/^/| /' conftest.$ac_ext >&5
69566
69567 eval "$as_ac_var=no"
69568 fi
69569 rm -f conftest.err conftest.$ac_objext \
69570       conftest$ac_exeext conftest.$ac_ext
69571 fi
69572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69574 if test `eval echo '${'$as_ac_var'}'` = yes; then
69575   cat >>confdefs.h <<_ACEOF
69576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69577 _ACEOF
69578
69579 fi
69580 done
69581
69582     fi
69583   fi
69584
69585
69586
69587
69588
69589
69590   echo "$as_me:$LINENO: checking for modfl declaration" >&5
69591 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
69592   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
69593     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
69594   echo $ECHO_N "(cached) $ECHO_C" >&6
69595 else
69596
69597
69598
69599       ac_ext=cc
69600 ac_cpp='$CXXCPP $CPPFLAGS'
69601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69604
69605       cat >conftest.$ac_ext <<_ACEOF
69606 /* confdefs.h.  */
69607 _ACEOF
69608 cat confdefs.h >>conftest.$ac_ext
69609 cat >>conftest.$ac_ext <<_ACEOF
69610 /* end confdefs.h.  */
69611 #include <math.h>
69612 int
69613 main ()
69614 {
69615  modfl(0, 0);
69616   ;
69617   return 0;
69618 }
69619 _ACEOF
69620 rm -f conftest.$ac_objext
69621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69622   (eval $ac_compile) 2>conftest.er1
69623   ac_status=$?
69624   grep -v '^ *+' conftest.er1 >conftest.err
69625   rm -f conftest.er1
69626   cat conftest.err >&5
69627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69628   (exit $ac_status); } &&
69629          { ac_try='test -z "$ac_cxx_werror_flag"
69630                          || test ! -s conftest.err'
69631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69632   (eval $ac_try) 2>&5
69633   ac_status=$?
69634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69635   (exit $ac_status); }; } &&
69636          { ac_try='test -s conftest.$ac_objext'
69637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69638   (eval $ac_try) 2>&5
69639   ac_status=$?
69640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69641   (exit $ac_status); }; }; then
69642   glibcxx_cv_func_modfl_use=yes
69643 else
69644   echo "$as_me: failed program was:" >&5
69645 sed 's/^/| /' conftest.$ac_ext >&5
69646
69647 glibcxx_cv_func_modfl_use=no
69648 fi
69649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69650       ac_ext=c
69651 ac_cpp='$CPP $CPPFLAGS'
69652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69655
69656
69657 fi
69658
69659   fi
69660   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
69661 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
69662
69663   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
69664
69665 for ac_func in modfl
69666 do
69667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69668 echo "$as_me:$LINENO: checking for $ac_func" >&5
69669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69670 if eval "test \"\${$as_ac_var+set}\" = set"; then
69671   echo $ECHO_N "(cached) $ECHO_C" >&6
69672 else
69673   if test x$gcc_no_link = xyes; then
69674   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69676    { (exit 1); exit 1; }; }
69677 fi
69678 cat >conftest.$ac_ext <<_ACEOF
69679 /* confdefs.h.  */
69680 _ACEOF
69681 cat confdefs.h >>conftest.$ac_ext
69682 cat >>conftest.$ac_ext <<_ACEOF
69683 /* end confdefs.h.  */
69684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69685    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69686 #define $ac_func innocuous_$ac_func
69687
69688 /* System header to define __stub macros and hopefully few prototypes,
69689     which can conflict with char $ac_func (); below.
69690     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69691     <limits.h> exists even on freestanding compilers.  */
69692
69693 #ifdef __STDC__
69694 # include <limits.h>
69695 #else
69696 # include <assert.h>
69697 #endif
69698
69699 #undef $ac_func
69700
69701 /* Override any gcc2 internal prototype to avoid an error.  */
69702 #ifdef __cplusplus
69703 extern "C"
69704 {
69705 #endif
69706 /* We use char because int might match the return type of a gcc2
69707    builtin and then its argument prototype would still apply.  */
69708 char $ac_func ();
69709 /* The GNU C library defines this for functions which it implements
69710     to always fail with ENOSYS.  Some functions are actually named
69711     something starting with __ and the normal name is an alias.  */
69712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69713 choke me
69714 #else
69715 char (*f) () = $ac_func;
69716 #endif
69717 #ifdef __cplusplus
69718 }
69719 #endif
69720
69721 int
69722 main ()
69723 {
69724 return f != $ac_func;
69725   ;
69726   return 0;
69727 }
69728 _ACEOF
69729 rm -f conftest.$ac_objext conftest$ac_exeext
69730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69731   (eval $ac_link) 2>conftest.er1
69732   ac_status=$?
69733   grep -v '^ *+' conftest.er1 >conftest.err
69734   rm -f conftest.er1
69735   cat conftest.err >&5
69736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69737   (exit $ac_status); } &&
69738          { ac_try='test -z "$ac_c_werror_flag"
69739                          || test ! -s conftest.err'
69740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69741   (eval $ac_try) 2>&5
69742   ac_status=$?
69743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69744   (exit $ac_status); }; } &&
69745          { ac_try='test -s conftest$ac_exeext'
69746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69747   (eval $ac_try) 2>&5
69748   ac_status=$?
69749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69750   (exit $ac_status); }; }; then
69751   eval "$as_ac_var=yes"
69752 else
69753   echo "$as_me: failed program was:" >&5
69754 sed 's/^/| /' conftest.$ac_ext >&5
69755
69756 eval "$as_ac_var=no"
69757 fi
69758 rm -f conftest.err conftest.$ac_objext \
69759       conftest$ac_exeext conftest.$ac_ext
69760 fi
69761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69763 if test `eval echo '${'$as_ac_var'}'` = yes; then
69764   cat >>confdefs.h <<_ACEOF
69765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69766 _ACEOF
69767
69768 fi
69769 done
69770
69771   else
69772
69773   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
69774 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
69775   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
69776     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
69777   echo $ECHO_N "(cached) $ECHO_C" >&6
69778 else
69779
69780
69781
69782       ac_ext=cc
69783 ac_cpp='$CXXCPP $CPPFLAGS'
69784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69787
69788       cat >conftest.$ac_ext <<_ACEOF
69789 /* confdefs.h.  */
69790 _ACEOF
69791 cat confdefs.h >>conftest.$ac_ext
69792 cat >>conftest.$ac_ext <<_ACEOF
69793 /* end confdefs.h.  */
69794 #include <math.h>
69795 int
69796 main ()
69797 {
69798  _modfl(0, 0);
69799   ;
69800   return 0;
69801 }
69802 _ACEOF
69803 rm -f conftest.$ac_objext
69804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69805   (eval $ac_compile) 2>conftest.er1
69806   ac_status=$?
69807   grep -v '^ *+' conftest.er1 >conftest.err
69808   rm -f conftest.er1
69809   cat conftest.err >&5
69810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69811   (exit $ac_status); } &&
69812          { ac_try='test -z "$ac_cxx_werror_flag"
69813                          || test ! -s conftest.err'
69814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69815   (eval $ac_try) 2>&5
69816   ac_status=$?
69817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69818   (exit $ac_status); }; } &&
69819          { ac_try='test -s conftest.$ac_objext'
69820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69821   (eval $ac_try) 2>&5
69822   ac_status=$?
69823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69824   (exit $ac_status); }; }; then
69825   glibcxx_cv_func__modfl_use=yes
69826 else
69827   echo "$as_me: failed program was:" >&5
69828 sed 's/^/| /' conftest.$ac_ext >&5
69829
69830 glibcxx_cv_func__modfl_use=no
69831 fi
69832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69833       ac_ext=c
69834 ac_cpp='$CPP $CPPFLAGS'
69835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69838
69839
69840 fi
69841
69842   fi
69843   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
69844 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
69845
69846     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
69847
69848 for ac_func in _modfl
69849 do
69850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69851 echo "$as_me:$LINENO: checking for $ac_func" >&5
69852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69853 if eval "test \"\${$as_ac_var+set}\" = set"; then
69854   echo $ECHO_N "(cached) $ECHO_C" >&6
69855 else
69856   if test x$gcc_no_link = xyes; then
69857   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69859    { (exit 1); exit 1; }; }
69860 fi
69861 cat >conftest.$ac_ext <<_ACEOF
69862 /* confdefs.h.  */
69863 _ACEOF
69864 cat confdefs.h >>conftest.$ac_ext
69865 cat >>conftest.$ac_ext <<_ACEOF
69866 /* end confdefs.h.  */
69867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69868    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69869 #define $ac_func innocuous_$ac_func
69870
69871 /* System header to define __stub macros and hopefully few prototypes,
69872     which can conflict with char $ac_func (); below.
69873     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69874     <limits.h> exists even on freestanding compilers.  */
69875
69876 #ifdef __STDC__
69877 # include <limits.h>
69878 #else
69879 # include <assert.h>
69880 #endif
69881
69882 #undef $ac_func
69883
69884 /* Override any gcc2 internal prototype to avoid an error.  */
69885 #ifdef __cplusplus
69886 extern "C"
69887 {
69888 #endif
69889 /* We use char because int might match the return type of a gcc2
69890    builtin and then its argument prototype would still apply.  */
69891 char $ac_func ();
69892 /* The GNU C library defines this for functions which it implements
69893     to always fail with ENOSYS.  Some functions are actually named
69894     something starting with __ and the normal name is an alias.  */
69895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69896 choke me
69897 #else
69898 char (*f) () = $ac_func;
69899 #endif
69900 #ifdef __cplusplus
69901 }
69902 #endif
69903
69904 int
69905 main ()
69906 {
69907 return f != $ac_func;
69908   ;
69909   return 0;
69910 }
69911 _ACEOF
69912 rm -f conftest.$ac_objext conftest$ac_exeext
69913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69914   (eval $ac_link) 2>conftest.er1
69915   ac_status=$?
69916   grep -v '^ *+' conftest.er1 >conftest.err
69917   rm -f conftest.er1
69918   cat conftest.err >&5
69919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69920   (exit $ac_status); } &&
69921          { ac_try='test -z "$ac_c_werror_flag"
69922                          || test ! -s conftest.err'
69923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69924   (eval $ac_try) 2>&5
69925   ac_status=$?
69926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69927   (exit $ac_status); }; } &&
69928          { ac_try='test -s conftest$ac_exeext'
69929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69930   (eval $ac_try) 2>&5
69931   ac_status=$?
69932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69933   (exit $ac_status); }; }; then
69934   eval "$as_ac_var=yes"
69935 else
69936   echo "$as_me: failed program was:" >&5
69937 sed 's/^/| /' conftest.$ac_ext >&5
69938
69939 eval "$as_ac_var=no"
69940 fi
69941 rm -f conftest.err conftest.$ac_objext \
69942       conftest$ac_exeext conftest.$ac_ext
69943 fi
69944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69945 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69946 if test `eval echo '${'$as_ac_var'}'` = yes; then
69947   cat >>confdefs.h <<_ACEOF
69948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69949 _ACEOF
69950
69951 fi
69952 done
69953
69954     fi
69955   fi
69956
69957
69958
69959
69960
69961
69962   echo "$as_me:$LINENO: checking for powl declaration" >&5
69963 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
69964   if test x${glibcxx_cv_func_powl_use+set} != xset; then
69965     if test "${glibcxx_cv_func_powl_use+set}" = set; then
69966   echo $ECHO_N "(cached) $ECHO_C" >&6
69967 else
69968
69969
69970
69971       ac_ext=cc
69972 ac_cpp='$CXXCPP $CPPFLAGS'
69973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69976
69977       cat >conftest.$ac_ext <<_ACEOF
69978 /* confdefs.h.  */
69979 _ACEOF
69980 cat confdefs.h >>conftest.$ac_ext
69981 cat >>conftest.$ac_ext <<_ACEOF
69982 /* end confdefs.h.  */
69983 #include <math.h>
69984 int
69985 main ()
69986 {
69987  powl(0, 0);
69988   ;
69989   return 0;
69990 }
69991 _ACEOF
69992 rm -f conftest.$ac_objext
69993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69994   (eval $ac_compile) 2>conftest.er1
69995   ac_status=$?
69996   grep -v '^ *+' conftest.er1 >conftest.err
69997   rm -f conftest.er1
69998   cat conftest.err >&5
69999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70000   (exit $ac_status); } &&
70001          { ac_try='test -z "$ac_cxx_werror_flag"
70002                          || test ! -s conftest.err'
70003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70004   (eval $ac_try) 2>&5
70005   ac_status=$?
70006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70007   (exit $ac_status); }; } &&
70008          { ac_try='test -s conftest.$ac_objext'
70009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70010   (eval $ac_try) 2>&5
70011   ac_status=$?
70012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70013   (exit $ac_status); }; }; then
70014   glibcxx_cv_func_powl_use=yes
70015 else
70016   echo "$as_me: failed program was:" >&5
70017 sed 's/^/| /' conftest.$ac_ext >&5
70018
70019 glibcxx_cv_func_powl_use=no
70020 fi
70021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70022       ac_ext=c
70023 ac_cpp='$CPP $CPPFLAGS'
70024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70027
70028
70029 fi
70030
70031   fi
70032   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
70033 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
70034
70035   if test x$glibcxx_cv_func_powl_use = x"yes"; then
70036
70037 for ac_func in powl
70038 do
70039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70040 echo "$as_me:$LINENO: checking for $ac_func" >&5
70041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70042 if eval "test \"\${$as_ac_var+set}\" = set"; then
70043   echo $ECHO_N "(cached) $ECHO_C" >&6
70044 else
70045   if test x$gcc_no_link = xyes; then
70046   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70048    { (exit 1); exit 1; }; }
70049 fi
70050 cat >conftest.$ac_ext <<_ACEOF
70051 /* confdefs.h.  */
70052 _ACEOF
70053 cat confdefs.h >>conftest.$ac_ext
70054 cat >>conftest.$ac_ext <<_ACEOF
70055 /* end confdefs.h.  */
70056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70057    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70058 #define $ac_func innocuous_$ac_func
70059
70060 /* System header to define __stub macros and hopefully few prototypes,
70061     which can conflict with char $ac_func (); below.
70062     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70063     <limits.h> exists even on freestanding compilers.  */
70064
70065 #ifdef __STDC__
70066 # include <limits.h>
70067 #else
70068 # include <assert.h>
70069 #endif
70070
70071 #undef $ac_func
70072
70073 /* Override any gcc2 internal prototype to avoid an error.  */
70074 #ifdef __cplusplus
70075 extern "C"
70076 {
70077 #endif
70078 /* We use char because int might match the return type of a gcc2
70079    builtin and then its argument prototype would still apply.  */
70080 char $ac_func ();
70081 /* The GNU C library defines this for functions which it implements
70082     to always fail with ENOSYS.  Some functions are actually named
70083     something starting with __ and the normal name is an alias.  */
70084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70085 choke me
70086 #else
70087 char (*f) () = $ac_func;
70088 #endif
70089 #ifdef __cplusplus
70090 }
70091 #endif
70092
70093 int
70094 main ()
70095 {
70096 return f != $ac_func;
70097   ;
70098   return 0;
70099 }
70100 _ACEOF
70101 rm -f conftest.$ac_objext conftest$ac_exeext
70102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70103   (eval $ac_link) 2>conftest.er1
70104   ac_status=$?
70105   grep -v '^ *+' conftest.er1 >conftest.err
70106   rm -f conftest.er1
70107   cat conftest.err >&5
70108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70109   (exit $ac_status); } &&
70110          { ac_try='test -z "$ac_c_werror_flag"
70111                          || test ! -s conftest.err'
70112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70113   (eval $ac_try) 2>&5
70114   ac_status=$?
70115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70116   (exit $ac_status); }; } &&
70117          { ac_try='test -s conftest$ac_exeext'
70118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70119   (eval $ac_try) 2>&5
70120   ac_status=$?
70121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70122   (exit $ac_status); }; }; then
70123   eval "$as_ac_var=yes"
70124 else
70125   echo "$as_me: failed program was:" >&5
70126 sed 's/^/| /' conftest.$ac_ext >&5
70127
70128 eval "$as_ac_var=no"
70129 fi
70130 rm -f conftest.err conftest.$ac_objext \
70131       conftest$ac_exeext conftest.$ac_ext
70132 fi
70133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70135 if test `eval echo '${'$as_ac_var'}'` = yes; then
70136   cat >>confdefs.h <<_ACEOF
70137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70138 _ACEOF
70139
70140 fi
70141 done
70142
70143   else
70144
70145   echo "$as_me:$LINENO: checking for _powl declaration" >&5
70146 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
70147   if test x${glibcxx_cv_func__powl_use+set} != xset; then
70148     if test "${glibcxx_cv_func__powl_use+set}" = set; then
70149   echo $ECHO_N "(cached) $ECHO_C" >&6
70150 else
70151
70152
70153
70154       ac_ext=cc
70155 ac_cpp='$CXXCPP $CPPFLAGS'
70156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70159
70160       cat >conftest.$ac_ext <<_ACEOF
70161 /* confdefs.h.  */
70162 _ACEOF
70163 cat confdefs.h >>conftest.$ac_ext
70164 cat >>conftest.$ac_ext <<_ACEOF
70165 /* end confdefs.h.  */
70166 #include <math.h>
70167 int
70168 main ()
70169 {
70170  _powl(0, 0);
70171   ;
70172   return 0;
70173 }
70174 _ACEOF
70175 rm -f conftest.$ac_objext
70176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70177   (eval $ac_compile) 2>conftest.er1
70178   ac_status=$?
70179   grep -v '^ *+' conftest.er1 >conftest.err
70180   rm -f conftest.er1
70181   cat conftest.err >&5
70182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70183   (exit $ac_status); } &&
70184          { ac_try='test -z "$ac_cxx_werror_flag"
70185                          || test ! -s conftest.err'
70186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70187   (eval $ac_try) 2>&5
70188   ac_status=$?
70189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70190   (exit $ac_status); }; } &&
70191          { ac_try='test -s conftest.$ac_objext'
70192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70193   (eval $ac_try) 2>&5
70194   ac_status=$?
70195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70196   (exit $ac_status); }; }; then
70197   glibcxx_cv_func__powl_use=yes
70198 else
70199   echo "$as_me: failed program was:" >&5
70200 sed 's/^/| /' conftest.$ac_ext >&5
70201
70202 glibcxx_cv_func__powl_use=no
70203 fi
70204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70205       ac_ext=c
70206 ac_cpp='$CPP $CPPFLAGS'
70207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70210
70211
70212 fi
70213
70214   fi
70215   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
70216 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
70217
70218     if test x$glibcxx_cv_func__powl_use = x"yes"; then
70219
70220 for ac_func in _powl
70221 do
70222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70223 echo "$as_me:$LINENO: checking for $ac_func" >&5
70224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70225 if eval "test \"\${$as_ac_var+set}\" = set"; then
70226   echo $ECHO_N "(cached) $ECHO_C" >&6
70227 else
70228   if test x$gcc_no_link = xyes; then
70229   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70231    { (exit 1); exit 1; }; }
70232 fi
70233 cat >conftest.$ac_ext <<_ACEOF
70234 /* confdefs.h.  */
70235 _ACEOF
70236 cat confdefs.h >>conftest.$ac_ext
70237 cat >>conftest.$ac_ext <<_ACEOF
70238 /* end confdefs.h.  */
70239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70240    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70241 #define $ac_func innocuous_$ac_func
70242
70243 /* System header to define __stub macros and hopefully few prototypes,
70244     which can conflict with char $ac_func (); below.
70245     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70246     <limits.h> exists even on freestanding compilers.  */
70247
70248 #ifdef __STDC__
70249 # include <limits.h>
70250 #else
70251 # include <assert.h>
70252 #endif
70253
70254 #undef $ac_func
70255
70256 /* Override any gcc2 internal prototype to avoid an error.  */
70257 #ifdef __cplusplus
70258 extern "C"
70259 {
70260 #endif
70261 /* We use char because int might match the return type of a gcc2
70262    builtin and then its argument prototype would still apply.  */
70263 char $ac_func ();
70264 /* The GNU C library defines this for functions which it implements
70265     to always fail with ENOSYS.  Some functions are actually named
70266     something starting with __ and the normal name is an alias.  */
70267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70268 choke me
70269 #else
70270 char (*f) () = $ac_func;
70271 #endif
70272 #ifdef __cplusplus
70273 }
70274 #endif
70275
70276 int
70277 main ()
70278 {
70279 return f != $ac_func;
70280   ;
70281   return 0;
70282 }
70283 _ACEOF
70284 rm -f conftest.$ac_objext conftest$ac_exeext
70285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70286   (eval $ac_link) 2>conftest.er1
70287   ac_status=$?
70288   grep -v '^ *+' conftest.er1 >conftest.err
70289   rm -f conftest.er1
70290   cat conftest.err >&5
70291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70292   (exit $ac_status); } &&
70293          { ac_try='test -z "$ac_c_werror_flag"
70294                          || test ! -s conftest.err'
70295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70296   (eval $ac_try) 2>&5
70297   ac_status=$?
70298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70299   (exit $ac_status); }; } &&
70300          { ac_try='test -s conftest$ac_exeext'
70301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70302   (eval $ac_try) 2>&5
70303   ac_status=$?
70304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70305   (exit $ac_status); }; }; then
70306   eval "$as_ac_var=yes"
70307 else
70308   echo "$as_me: failed program was:" >&5
70309 sed 's/^/| /' conftest.$ac_ext >&5
70310
70311 eval "$as_ac_var=no"
70312 fi
70313 rm -f conftest.err conftest.$ac_objext \
70314       conftest$ac_exeext conftest.$ac_ext
70315 fi
70316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70318 if test `eval echo '${'$as_ac_var'}'` = yes; then
70319   cat >>confdefs.h <<_ACEOF
70320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70321 _ACEOF
70322
70323 fi
70324 done
70325
70326     fi
70327   fi
70328
70329
70330
70331
70332
70333
70334   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
70335 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
70336   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70337     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
70338   echo $ECHO_N "(cached) $ECHO_C" >&6
70339 else
70340
70341
70342
70343       ac_ext=cc
70344 ac_cpp='$CXXCPP $CPPFLAGS'
70345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70348
70349       cat >conftest.$ac_ext <<_ACEOF
70350 /* confdefs.h.  */
70351 _ACEOF
70352 cat confdefs.h >>conftest.$ac_ext
70353 cat >>conftest.$ac_ext <<_ACEOF
70354 /* end confdefs.h.  */
70355 #include <math.h>
70356                       #ifdef HAVE_IEEEFP_H
70357                       #include <ieeefp.h>
70358                       #endif
70359
70360 int
70361 main ()
70362 {
70363  sqrtl(0);
70364   ;
70365   return 0;
70366 }
70367 _ACEOF
70368 rm -f conftest.$ac_objext
70369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70370   (eval $ac_compile) 2>conftest.er1
70371   ac_status=$?
70372   grep -v '^ *+' conftest.er1 >conftest.err
70373   rm -f conftest.er1
70374   cat conftest.err >&5
70375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70376   (exit $ac_status); } &&
70377          { ac_try='test -z "$ac_cxx_werror_flag"
70378                          || test ! -s conftest.err'
70379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70380   (eval $ac_try) 2>&5
70381   ac_status=$?
70382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70383   (exit $ac_status); }; } &&
70384          { ac_try='test -s conftest.$ac_objext'
70385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70386   (eval $ac_try) 2>&5
70387   ac_status=$?
70388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70389   (exit $ac_status); }; }; then
70390   glibcxx_cv_func_sqrtl_use=yes
70391 else
70392   echo "$as_me: failed program was:" >&5
70393 sed 's/^/| /' conftest.$ac_ext >&5
70394
70395 glibcxx_cv_func_sqrtl_use=no
70396 fi
70397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70398       ac_ext=c
70399 ac_cpp='$CPP $CPPFLAGS'
70400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70403
70404
70405 fi
70406
70407   fi
70408   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
70409 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
70410
70411   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70412
70413 for ac_func in sqrtl
70414 do
70415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70416 echo "$as_me:$LINENO: checking for $ac_func" >&5
70417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70418 if eval "test \"\${$as_ac_var+set}\" = set"; then
70419   echo $ECHO_N "(cached) $ECHO_C" >&6
70420 else
70421   if test x$gcc_no_link = xyes; then
70422   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70424    { (exit 1); exit 1; }; }
70425 fi
70426 cat >conftest.$ac_ext <<_ACEOF
70427 /* confdefs.h.  */
70428 _ACEOF
70429 cat confdefs.h >>conftest.$ac_ext
70430 cat >>conftest.$ac_ext <<_ACEOF
70431 /* end confdefs.h.  */
70432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70433    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70434 #define $ac_func innocuous_$ac_func
70435
70436 /* System header to define __stub macros and hopefully few prototypes,
70437     which can conflict with char $ac_func (); below.
70438     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70439     <limits.h> exists even on freestanding compilers.  */
70440
70441 #ifdef __STDC__
70442 # include <limits.h>
70443 #else
70444 # include <assert.h>
70445 #endif
70446
70447 #undef $ac_func
70448
70449 /* Override any gcc2 internal prototype to avoid an error.  */
70450 #ifdef __cplusplus
70451 extern "C"
70452 {
70453 #endif
70454 /* We use char because int might match the return type of a gcc2
70455    builtin and then its argument prototype would still apply.  */
70456 char $ac_func ();
70457 /* The GNU C library defines this for functions which it implements
70458     to always fail with ENOSYS.  Some functions are actually named
70459     something starting with __ and the normal name is an alias.  */
70460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70461 choke me
70462 #else
70463 char (*f) () = $ac_func;
70464 #endif
70465 #ifdef __cplusplus
70466 }
70467 #endif
70468
70469 int
70470 main ()
70471 {
70472 return f != $ac_func;
70473   ;
70474   return 0;
70475 }
70476 _ACEOF
70477 rm -f conftest.$ac_objext conftest$ac_exeext
70478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70479   (eval $ac_link) 2>conftest.er1
70480   ac_status=$?
70481   grep -v '^ *+' conftest.er1 >conftest.err
70482   rm -f conftest.er1
70483   cat conftest.err >&5
70484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70485   (exit $ac_status); } &&
70486          { ac_try='test -z "$ac_c_werror_flag"
70487                          || test ! -s conftest.err'
70488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70489   (eval $ac_try) 2>&5
70490   ac_status=$?
70491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70492   (exit $ac_status); }; } &&
70493          { ac_try='test -s conftest$ac_exeext'
70494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70495   (eval $ac_try) 2>&5
70496   ac_status=$?
70497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70498   (exit $ac_status); }; }; then
70499   eval "$as_ac_var=yes"
70500 else
70501   echo "$as_me: failed program was:" >&5
70502 sed 's/^/| /' conftest.$ac_ext >&5
70503
70504 eval "$as_ac_var=no"
70505 fi
70506 rm -f conftest.err conftest.$ac_objext \
70507       conftest$ac_exeext conftest.$ac_ext
70508 fi
70509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70511 if test `eval echo '${'$as_ac_var'}'` = yes; then
70512   cat >>confdefs.h <<_ACEOF
70513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70514 _ACEOF
70515
70516 fi
70517 done
70518
70519   else
70520
70521   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
70522 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
70523   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70524     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
70525   echo $ECHO_N "(cached) $ECHO_C" >&6
70526 else
70527
70528
70529
70530       ac_ext=cc
70531 ac_cpp='$CXXCPP $CPPFLAGS'
70532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70535
70536       cat >conftest.$ac_ext <<_ACEOF
70537 /* confdefs.h.  */
70538 _ACEOF
70539 cat confdefs.h >>conftest.$ac_ext
70540 cat >>conftest.$ac_ext <<_ACEOF
70541 /* end confdefs.h.  */
70542 #include <math.h>
70543                       #ifdef HAVE_IEEEFP_H
70544                       #include <ieeefp.h>
70545                       #endif
70546
70547 int
70548 main ()
70549 {
70550  _sqrtl(0);
70551   ;
70552   return 0;
70553 }
70554 _ACEOF
70555 rm -f conftest.$ac_objext
70556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70557   (eval $ac_compile) 2>conftest.er1
70558   ac_status=$?
70559   grep -v '^ *+' conftest.er1 >conftest.err
70560   rm -f conftest.er1
70561   cat conftest.err >&5
70562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70563   (exit $ac_status); } &&
70564          { ac_try='test -z "$ac_cxx_werror_flag"
70565                          || test ! -s conftest.err'
70566   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70567   (eval $ac_try) 2>&5
70568   ac_status=$?
70569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70570   (exit $ac_status); }; } &&
70571          { ac_try='test -s conftest.$ac_objext'
70572   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70573   (eval $ac_try) 2>&5
70574   ac_status=$?
70575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70576   (exit $ac_status); }; }; then
70577   glibcxx_cv_func__sqrtl_use=yes
70578 else
70579   echo "$as_me: failed program was:" >&5
70580 sed 's/^/| /' conftest.$ac_ext >&5
70581
70582 glibcxx_cv_func__sqrtl_use=no
70583 fi
70584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70585       ac_ext=c
70586 ac_cpp='$CPP $CPPFLAGS'
70587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70590
70591
70592 fi
70593
70594   fi
70595   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
70596 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
70597
70598     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70599
70600 for ac_func in _sqrtl
70601 do
70602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70603 echo "$as_me:$LINENO: checking for $ac_func" >&5
70604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70605 if eval "test \"\${$as_ac_var+set}\" = set"; then
70606   echo $ECHO_N "(cached) $ECHO_C" >&6
70607 else
70608   if test x$gcc_no_link = xyes; then
70609   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70611    { (exit 1); exit 1; }; }
70612 fi
70613 cat >conftest.$ac_ext <<_ACEOF
70614 /* confdefs.h.  */
70615 _ACEOF
70616 cat confdefs.h >>conftest.$ac_ext
70617 cat >>conftest.$ac_ext <<_ACEOF
70618 /* end confdefs.h.  */
70619 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70620    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70621 #define $ac_func innocuous_$ac_func
70622
70623 /* System header to define __stub macros and hopefully few prototypes,
70624     which can conflict with char $ac_func (); below.
70625     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70626     <limits.h> exists even on freestanding compilers.  */
70627
70628 #ifdef __STDC__
70629 # include <limits.h>
70630 #else
70631 # include <assert.h>
70632 #endif
70633
70634 #undef $ac_func
70635
70636 /* Override any gcc2 internal prototype to avoid an error.  */
70637 #ifdef __cplusplus
70638 extern "C"
70639 {
70640 #endif
70641 /* We use char because int might match the return type of a gcc2
70642    builtin and then its argument prototype would still apply.  */
70643 char $ac_func ();
70644 /* The GNU C library defines this for functions which it implements
70645     to always fail with ENOSYS.  Some functions are actually named
70646     something starting with __ and the normal name is an alias.  */
70647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70648 choke me
70649 #else
70650 char (*f) () = $ac_func;
70651 #endif
70652 #ifdef __cplusplus
70653 }
70654 #endif
70655
70656 int
70657 main ()
70658 {
70659 return f != $ac_func;
70660   ;
70661   return 0;
70662 }
70663 _ACEOF
70664 rm -f conftest.$ac_objext conftest$ac_exeext
70665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70666   (eval $ac_link) 2>conftest.er1
70667   ac_status=$?
70668   grep -v '^ *+' conftest.er1 >conftest.err
70669   rm -f conftest.er1
70670   cat conftest.err >&5
70671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70672   (exit $ac_status); } &&
70673          { ac_try='test -z "$ac_c_werror_flag"
70674                          || test ! -s conftest.err'
70675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70676   (eval $ac_try) 2>&5
70677   ac_status=$?
70678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70679   (exit $ac_status); }; } &&
70680          { ac_try='test -s conftest$ac_exeext'
70681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70682   (eval $ac_try) 2>&5
70683   ac_status=$?
70684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70685   (exit $ac_status); }; }; then
70686   eval "$as_ac_var=yes"
70687 else
70688   echo "$as_me: failed program was:" >&5
70689 sed 's/^/| /' conftest.$ac_ext >&5
70690
70691 eval "$as_ac_var=no"
70692 fi
70693 rm -f conftest.err conftest.$ac_objext \
70694       conftest$ac_exeext conftest.$ac_ext
70695 fi
70696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70698 if test `eval echo '${'$as_ac_var'}'` = yes; then
70699   cat >>confdefs.h <<_ACEOF
70700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70701 _ACEOF
70702
70703 fi
70704 done
70705
70706     fi
70707   fi
70708
70709
70710
70711
70712
70713
70714   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
70715 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
70716   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70717     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
70718   echo $ECHO_N "(cached) $ECHO_C" >&6
70719 else
70720
70721
70722
70723       ac_ext=cc
70724 ac_cpp='$CXXCPP $CPPFLAGS'
70725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70728
70729       cat >conftest.$ac_ext <<_ACEOF
70730 /* confdefs.h.  */
70731 _ACEOF
70732 cat confdefs.h >>conftest.$ac_ext
70733 cat >>conftest.$ac_ext <<_ACEOF
70734 /* end confdefs.h.  */
70735 #include <math.h>
70736 int
70737 main ()
70738 {
70739  sincosl(0, 0, 0);
70740   ;
70741   return 0;
70742 }
70743 _ACEOF
70744 rm -f conftest.$ac_objext
70745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70746   (eval $ac_compile) 2>conftest.er1
70747   ac_status=$?
70748   grep -v '^ *+' conftest.er1 >conftest.err
70749   rm -f conftest.er1
70750   cat conftest.err >&5
70751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70752   (exit $ac_status); } &&
70753          { ac_try='test -z "$ac_cxx_werror_flag"
70754                          || test ! -s conftest.err'
70755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70756   (eval $ac_try) 2>&5
70757   ac_status=$?
70758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70759   (exit $ac_status); }; } &&
70760          { ac_try='test -s conftest.$ac_objext'
70761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70762   (eval $ac_try) 2>&5
70763   ac_status=$?
70764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70765   (exit $ac_status); }; }; then
70766   glibcxx_cv_func_sincosl_use=yes
70767 else
70768   echo "$as_me: failed program was:" >&5
70769 sed 's/^/| /' conftest.$ac_ext >&5
70770
70771 glibcxx_cv_func_sincosl_use=no
70772 fi
70773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70774       ac_ext=c
70775 ac_cpp='$CPP $CPPFLAGS'
70776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70779
70780
70781 fi
70782
70783   fi
70784   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
70785 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
70786
70787   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
70788
70789 for ac_func in sincosl
70790 do
70791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70792 echo "$as_me:$LINENO: checking for $ac_func" >&5
70793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70794 if eval "test \"\${$as_ac_var+set}\" = set"; then
70795   echo $ECHO_N "(cached) $ECHO_C" >&6
70796 else
70797   if test x$gcc_no_link = xyes; then
70798   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70800    { (exit 1); exit 1; }; }
70801 fi
70802 cat >conftest.$ac_ext <<_ACEOF
70803 /* confdefs.h.  */
70804 _ACEOF
70805 cat confdefs.h >>conftest.$ac_ext
70806 cat >>conftest.$ac_ext <<_ACEOF
70807 /* end confdefs.h.  */
70808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70809    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70810 #define $ac_func innocuous_$ac_func
70811
70812 /* System header to define __stub macros and hopefully few prototypes,
70813     which can conflict with char $ac_func (); below.
70814     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70815     <limits.h> exists even on freestanding compilers.  */
70816
70817 #ifdef __STDC__
70818 # include <limits.h>
70819 #else
70820 # include <assert.h>
70821 #endif
70822
70823 #undef $ac_func
70824
70825 /* Override any gcc2 internal prototype to avoid an error.  */
70826 #ifdef __cplusplus
70827 extern "C"
70828 {
70829 #endif
70830 /* We use char because int might match the return type of a gcc2
70831    builtin and then its argument prototype would still apply.  */
70832 char $ac_func ();
70833 /* The GNU C library defines this for functions which it implements
70834     to always fail with ENOSYS.  Some functions are actually named
70835     something starting with __ and the normal name is an alias.  */
70836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70837 choke me
70838 #else
70839 char (*f) () = $ac_func;
70840 #endif
70841 #ifdef __cplusplus
70842 }
70843 #endif
70844
70845 int
70846 main ()
70847 {
70848 return f != $ac_func;
70849   ;
70850   return 0;
70851 }
70852 _ACEOF
70853 rm -f conftest.$ac_objext conftest$ac_exeext
70854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70855   (eval $ac_link) 2>conftest.er1
70856   ac_status=$?
70857   grep -v '^ *+' conftest.er1 >conftest.err
70858   rm -f conftest.er1
70859   cat conftest.err >&5
70860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70861   (exit $ac_status); } &&
70862          { ac_try='test -z "$ac_c_werror_flag"
70863                          || test ! -s conftest.err'
70864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70865   (eval $ac_try) 2>&5
70866   ac_status=$?
70867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70868   (exit $ac_status); }; } &&
70869          { ac_try='test -s conftest$ac_exeext'
70870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70871   (eval $ac_try) 2>&5
70872   ac_status=$?
70873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70874   (exit $ac_status); }; }; then
70875   eval "$as_ac_var=yes"
70876 else
70877   echo "$as_me: failed program was:" >&5
70878 sed 's/^/| /' conftest.$ac_ext >&5
70879
70880 eval "$as_ac_var=no"
70881 fi
70882 rm -f conftest.err conftest.$ac_objext \
70883       conftest$ac_exeext conftest.$ac_ext
70884 fi
70885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70887 if test `eval echo '${'$as_ac_var'}'` = yes; then
70888   cat >>confdefs.h <<_ACEOF
70889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70890 _ACEOF
70891
70892 fi
70893 done
70894
70895   else
70896
70897   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
70898 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
70899   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
70900     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
70901   echo $ECHO_N "(cached) $ECHO_C" >&6
70902 else
70903
70904
70905
70906       ac_ext=cc
70907 ac_cpp='$CXXCPP $CPPFLAGS'
70908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70911
70912       cat >conftest.$ac_ext <<_ACEOF
70913 /* confdefs.h.  */
70914 _ACEOF
70915 cat confdefs.h >>conftest.$ac_ext
70916 cat >>conftest.$ac_ext <<_ACEOF
70917 /* end confdefs.h.  */
70918 #include <math.h>
70919 int
70920 main ()
70921 {
70922  _sincosl(0, 0, 0);
70923   ;
70924   return 0;
70925 }
70926 _ACEOF
70927 rm -f conftest.$ac_objext
70928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70929   (eval $ac_compile) 2>conftest.er1
70930   ac_status=$?
70931   grep -v '^ *+' conftest.er1 >conftest.err
70932   rm -f conftest.er1
70933   cat conftest.err >&5
70934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70935   (exit $ac_status); } &&
70936          { ac_try='test -z "$ac_cxx_werror_flag"
70937                          || test ! -s conftest.err'
70938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70939   (eval $ac_try) 2>&5
70940   ac_status=$?
70941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70942   (exit $ac_status); }; } &&
70943          { ac_try='test -s conftest.$ac_objext'
70944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70945   (eval $ac_try) 2>&5
70946   ac_status=$?
70947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70948   (exit $ac_status); }; }; then
70949   glibcxx_cv_func__sincosl_use=yes
70950 else
70951   echo "$as_me: failed program was:" >&5
70952 sed 's/^/| /' conftest.$ac_ext >&5
70953
70954 glibcxx_cv_func__sincosl_use=no
70955 fi
70956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70957       ac_ext=c
70958 ac_cpp='$CPP $CPPFLAGS'
70959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70962
70963
70964 fi
70965
70966   fi
70967   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
70968 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
70969
70970     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70971
70972 for ac_func in _sincosl
70973 do
70974 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70975 echo "$as_me:$LINENO: checking for $ac_func" >&5
70976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70977 if eval "test \"\${$as_ac_var+set}\" = set"; then
70978   echo $ECHO_N "(cached) $ECHO_C" >&6
70979 else
70980   if test x$gcc_no_link = xyes; then
70981   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70983    { (exit 1); exit 1; }; }
70984 fi
70985 cat >conftest.$ac_ext <<_ACEOF
70986 /* confdefs.h.  */
70987 _ACEOF
70988 cat confdefs.h >>conftest.$ac_ext
70989 cat >>conftest.$ac_ext <<_ACEOF
70990 /* end confdefs.h.  */
70991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70992    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70993 #define $ac_func innocuous_$ac_func
70994
70995 /* System header to define __stub macros and hopefully few prototypes,
70996     which can conflict with char $ac_func (); below.
70997     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70998     <limits.h> exists even on freestanding compilers.  */
70999
71000 #ifdef __STDC__
71001 # include <limits.h>
71002 #else
71003 # include <assert.h>
71004 #endif
71005
71006 #undef $ac_func
71007
71008 /* Override any gcc2 internal prototype to avoid an error.  */
71009 #ifdef __cplusplus
71010 extern "C"
71011 {
71012 #endif
71013 /* We use char because int might match the return type of a gcc2
71014    builtin and then its argument prototype would still apply.  */
71015 char $ac_func ();
71016 /* The GNU C library defines this for functions which it implements
71017     to always fail with ENOSYS.  Some functions are actually named
71018     something starting with __ and the normal name is an alias.  */
71019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71020 choke me
71021 #else
71022 char (*f) () = $ac_func;
71023 #endif
71024 #ifdef __cplusplus
71025 }
71026 #endif
71027
71028 int
71029 main ()
71030 {
71031 return f != $ac_func;
71032   ;
71033   return 0;
71034 }
71035 _ACEOF
71036 rm -f conftest.$ac_objext conftest$ac_exeext
71037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71038   (eval $ac_link) 2>conftest.er1
71039   ac_status=$?
71040   grep -v '^ *+' conftest.er1 >conftest.err
71041   rm -f conftest.er1
71042   cat conftest.err >&5
71043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71044   (exit $ac_status); } &&
71045          { ac_try='test -z "$ac_c_werror_flag"
71046                          || test ! -s conftest.err'
71047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71048   (eval $ac_try) 2>&5
71049   ac_status=$?
71050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71051   (exit $ac_status); }; } &&
71052          { ac_try='test -s conftest$ac_exeext'
71053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71054   (eval $ac_try) 2>&5
71055   ac_status=$?
71056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71057   (exit $ac_status); }; }; then
71058   eval "$as_ac_var=yes"
71059 else
71060   echo "$as_me: failed program was:" >&5
71061 sed 's/^/| /' conftest.$ac_ext >&5
71062
71063 eval "$as_ac_var=no"
71064 fi
71065 rm -f conftest.err conftest.$ac_objext \
71066       conftest$ac_exeext conftest.$ac_ext
71067 fi
71068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71070 if test `eval echo '${'$as_ac_var'}'` = yes; then
71071   cat >>confdefs.h <<_ACEOF
71072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71073 _ACEOF
71074
71075 fi
71076 done
71077
71078     fi
71079   fi
71080
71081
71082
71083
71084
71085
71086   echo "$as_me:$LINENO: checking for finitel declaration" >&5
71087 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
71088   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
71089     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
71090   echo $ECHO_N "(cached) $ECHO_C" >&6
71091 else
71092
71093
71094
71095       ac_ext=cc
71096 ac_cpp='$CXXCPP $CPPFLAGS'
71097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71100
71101       cat >conftest.$ac_ext <<_ACEOF
71102 /* confdefs.h.  */
71103 _ACEOF
71104 cat confdefs.h >>conftest.$ac_ext
71105 cat >>conftest.$ac_ext <<_ACEOF
71106 /* end confdefs.h.  */
71107 #include <math.h>
71108                       #ifdef HAVE_IEEEFP_H
71109                       #include <ieeefp.h>
71110                       #endif
71111
71112 int
71113 main ()
71114 {
71115  finitel(0);
71116   ;
71117   return 0;
71118 }
71119 _ACEOF
71120 rm -f conftest.$ac_objext
71121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71122   (eval $ac_compile) 2>conftest.er1
71123   ac_status=$?
71124   grep -v '^ *+' conftest.er1 >conftest.err
71125   rm -f conftest.er1
71126   cat conftest.err >&5
71127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71128   (exit $ac_status); } &&
71129          { ac_try='test -z "$ac_cxx_werror_flag"
71130                          || test ! -s conftest.err'
71131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71132   (eval $ac_try) 2>&5
71133   ac_status=$?
71134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71135   (exit $ac_status); }; } &&
71136          { ac_try='test -s conftest.$ac_objext'
71137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71138   (eval $ac_try) 2>&5
71139   ac_status=$?
71140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71141   (exit $ac_status); }; }; then
71142   glibcxx_cv_func_finitel_use=yes
71143 else
71144   echo "$as_me: failed program was:" >&5
71145 sed 's/^/| /' conftest.$ac_ext >&5
71146
71147 glibcxx_cv_func_finitel_use=no
71148 fi
71149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71150       ac_ext=c
71151 ac_cpp='$CPP $CPPFLAGS'
71152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71155
71156
71157 fi
71158
71159   fi
71160   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
71161 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
71162
71163   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
71164
71165 for ac_func in finitel
71166 do
71167 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71168 echo "$as_me:$LINENO: checking for $ac_func" >&5
71169 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71170 if eval "test \"\${$as_ac_var+set}\" = set"; then
71171   echo $ECHO_N "(cached) $ECHO_C" >&6
71172 else
71173   if test x$gcc_no_link = xyes; then
71174   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71176    { (exit 1); exit 1; }; }
71177 fi
71178 cat >conftest.$ac_ext <<_ACEOF
71179 /* confdefs.h.  */
71180 _ACEOF
71181 cat confdefs.h >>conftest.$ac_ext
71182 cat >>conftest.$ac_ext <<_ACEOF
71183 /* end confdefs.h.  */
71184 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71185    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71186 #define $ac_func innocuous_$ac_func
71187
71188 /* System header to define __stub macros and hopefully few prototypes,
71189     which can conflict with char $ac_func (); below.
71190     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71191     <limits.h> exists even on freestanding compilers.  */
71192
71193 #ifdef __STDC__
71194 # include <limits.h>
71195 #else
71196 # include <assert.h>
71197 #endif
71198
71199 #undef $ac_func
71200
71201 /* Override any gcc2 internal prototype to avoid an error.  */
71202 #ifdef __cplusplus
71203 extern "C"
71204 {
71205 #endif
71206 /* We use char because int might match the return type of a gcc2
71207    builtin and then its argument prototype would still apply.  */
71208 char $ac_func ();
71209 /* The GNU C library defines this for functions which it implements
71210     to always fail with ENOSYS.  Some functions are actually named
71211     something starting with __ and the normal name is an alias.  */
71212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71213 choke me
71214 #else
71215 char (*f) () = $ac_func;
71216 #endif
71217 #ifdef __cplusplus
71218 }
71219 #endif
71220
71221 int
71222 main ()
71223 {
71224 return f != $ac_func;
71225   ;
71226   return 0;
71227 }
71228 _ACEOF
71229 rm -f conftest.$ac_objext conftest$ac_exeext
71230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71231   (eval $ac_link) 2>conftest.er1
71232   ac_status=$?
71233   grep -v '^ *+' conftest.er1 >conftest.err
71234   rm -f conftest.er1
71235   cat conftest.err >&5
71236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71237   (exit $ac_status); } &&
71238          { ac_try='test -z "$ac_c_werror_flag"
71239                          || test ! -s conftest.err'
71240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71241   (eval $ac_try) 2>&5
71242   ac_status=$?
71243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71244   (exit $ac_status); }; } &&
71245          { ac_try='test -s conftest$ac_exeext'
71246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71247   (eval $ac_try) 2>&5
71248   ac_status=$?
71249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71250   (exit $ac_status); }; }; then
71251   eval "$as_ac_var=yes"
71252 else
71253   echo "$as_me: failed program was:" >&5
71254 sed 's/^/| /' conftest.$ac_ext >&5
71255
71256 eval "$as_ac_var=no"
71257 fi
71258 rm -f conftest.err conftest.$ac_objext \
71259       conftest$ac_exeext conftest.$ac_ext
71260 fi
71261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71262 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71263 if test `eval echo '${'$as_ac_var'}'` = yes; then
71264   cat >>confdefs.h <<_ACEOF
71265 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71266 _ACEOF
71267
71268 fi
71269 done
71270
71271   else
71272
71273   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
71274 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
71275   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
71276     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
71277   echo $ECHO_N "(cached) $ECHO_C" >&6
71278 else
71279
71280
71281
71282       ac_ext=cc
71283 ac_cpp='$CXXCPP $CPPFLAGS'
71284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71287
71288       cat >conftest.$ac_ext <<_ACEOF
71289 /* confdefs.h.  */
71290 _ACEOF
71291 cat confdefs.h >>conftest.$ac_ext
71292 cat >>conftest.$ac_ext <<_ACEOF
71293 /* end confdefs.h.  */
71294 #include <math.h>
71295                       #ifdef HAVE_IEEEFP_H
71296                       #include <ieeefp.h>
71297                       #endif
71298
71299 int
71300 main ()
71301 {
71302  _finitel(0);
71303   ;
71304   return 0;
71305 }
71306 _ACEOF
71307 rm -f conftest.$ac_objext
71308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71309   (eval $ac_compile) 2>conftest.er1
71310   ac_status=$?
71311   grep -v '^ *+' conftest.er1 >conftest.err
71312   rm -f conftest.er1
71313   cat conftest.err >&5
71314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71315   (exit $ac_status); } &&
71316          { ac_try='test -z "$ac_cxx_werror_flag"
71317                          || test ! -s conftest.err'
71318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71319   (eval $ac_try) 2>&5
71320   ac_status=$?
71321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71322   (exit $ac_status); }; } &&
71323          { ac_try='test -s conftest.$ac_objext'
71324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71325   (eval $ac_try) 2>&5
71326   ac_status=$?
71327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71328   (exit $ac_status); }; }; then
71329   glibcxx_cv_func__finitel_use=yes
71330 else
71331   echo "$as_me: failed program was:" >&5
71332 sed 's/^/| /' conftest.$ac_ext >&5
71333
71334 glibcxx_cv_func__finitel_use=no
71335 fi
71336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71337       ac_ext=c
71338 ac_cpp='$CPP $CPPFLAGS'
71339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71342
71343
71344 fi
71345
71346   fi
71347   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
71348 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
71349
71350     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
71351
71352 for ac_func in _finitel
71353 do
71354 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71355 echo "$as_me:$LINENO: checking for $ac_func" >&5
71356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71357 if eval "test \"\${$as_ac_var+set}\" = set"; then
71358   echo $ECHO_N "(cached) $ECHO_C" >&6
71359 else
71360   if test x$gcc_no_link = xyes; then
71361   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71363    { (exit 1); exit 1; }; }
71364 fi
71365 cat >conftest.$ac_ext <<_ACEOF
71366 /* confdefs.h.  */
71367 _ACEOF
71368 cat confdefs.h >>conftest.$ac_ext
71369 cat >>conftest.$ac_ext <<_ACEOF
71370 /* end confdefs.h.  */
71371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71372    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71373 #define $ac_func innocuous_$ac_func
71374
71375 /* System header to define __stub macros and hopefully few prototypes,
71376     which can conflict with char $ac_func (); below.
71377     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71378     <limits.h> exists even on freestanding compilers.  */
71379
71380 #ifdef __STDC__
71381 # include <limits.h>
71382 #else
71383 # include <assert.h>
71384 #endif
71385
71386 #undef $ac_func
71387
71388 /* Override any gcc2 internal prototype to avoid an error.  */
71389 #ifdef __cplusplus
71390 extern "C"
71391 {
71392 #endif
71393 /* We use char because int might match the return type of a gcc2
71394    builtin and then its argument prototype would still apply.  */
71395 char $ac_func ();
71396 /* The GNU C library defines this for functions which it implements
71397     to always fail with ENOSYS.  Some functions are actually named
71398     something starting with __ and the normal name is an alias.  */
71399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71400 choke me
71401 #else
71402 char (*f) () = $ac_func;
71403 #endif
71404 #ifdef __cplusplus
71405 }
71406 #endif
71407
71408 int
71409 main ()
71410 {
71411 return f != $ac_func;
71412   ;
71413   return 0;
71414 }
71415 _ACEOF
71416 rm -f conftest.$ac_objext conftest$ac_exeext
71417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71418   (eval $ac_link) 2>conftest.er1
71419   ac_status=$?
71420   grep -v '^ *+' conftest.er1 >conftest.err
71421   rm -f conftest.er1
71422   cat conftest.err >&5
71423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71424   (exit $ac_status); } &&
71425          { ac_try='test -z "$ac_c_werror_flag"
71426                          || test ! -s conftest.err'
71427   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71428   (eval $ac_try) 2>&5
71429   ac_status=$?
71430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71431   (exit $ac_status); }; } &&
71432          { ac_try='test -s conftest$ac_exeext'
71433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71434   (eval $ac_try) 2>&5
71435   ac_status=$?
71436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71437   (exit $ac_status); }; }; then
71438   eval "$as_ac_var=yes"
71439 else
71440   echo "$as_me: failed program was:" >&5
71441 sed 's/^/| /' conftest.$ac_ext >&5
71442
71443 eval "$as_ac_var=no"
71444 fi
71445 rm -f conftest.err conftest.$ac_objext \
71446       conftest$ac_exeext conftest.$ac_ext
71447 fi
71448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71450 if test `eval echo '${'$as_ac_var'}'` = yes; then
71451   cat >>confdefs.h <<_ACEOF
71452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71453 _ACEOF
71454
71455 fi
71456 done
71457
71458     fi
71459   fi
71460
71461
71462
71463
71464
71465   LIBS="$ac_save_LIBS"
71466   CXXFLAGS="$ac_save_CXXFLAGS"
71467
71468
71469
71470   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
71471 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
71472   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
71473     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
71474   echo $ECHO_N "(cached) $ECHO_C" >&6
71475 else
71476
71477
71478
71479       ac_ext=cc
71480 ac_cpp='$CXXCPP $CPPFLAGS'
71481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71484
71485       cat >conftest.$ac_ext <<_ACEOF
71486 /* confdefs.h.  */
71487 _ACEOF
71488 cat confdefs.h >>conftest.$ac_ext
71489 cat >>conftest.$ac_ext <<_ACEOF
71490 /* end confdefs.h.  */
71491 #include <math.h>
71492 int
71493 main ()
71494 {
71495  __builtin_abs(0);
71496   ;
71497   return 0;
71498 }
71499 _ACEOF
71500 rm -f conftest.$ac_objext
71501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71502   (eval $ac_compile) 2>conftest.er1
71503   ac_status=$?
71504   grep -v '^ *+' conftest.er1 >conftest.err
71505   rm -f conftest.er1
71506   cat conftest.err >&5
71507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71508   (exit $ac_status); } &&
71509          { ac_try='test -z "$ac_cxx_werror_flag"
71510                          || test ! -s conftest.err'
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); }; } &&
71516          { ac_try='test -s conftest.$ac_objext'
71517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71518   (eval $ac_try) 2>&5
71519   ac_status=$?
71520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71521   (exit $ac_status); }; }; then
71522   glibcxx_cv_func___builtin_abs_use=yes
71523 else
71524   echo "$as_me: failed program was:" >&5
71525 sed 's/^/| /' conftest.$ac_ext >&5
71526
71527 glibcxx_cv_func___builtin_abs_use=no
71528 fi
71529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71530       ac_ext=c
71531 ac_cpp='$CPP $CPPFLAGS'
71532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71535
71536
71537 fi
71538
71539   fi
71540   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
71541 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
71542   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
71543     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
71544 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
71545     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
71546       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
71547   echo $ECHO_N "(cached) $ECHO_C" >&6
71548 else
71549
71550         if test x$gcc_no_link = xyes; then
71551   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71553    { (exit 1); exit 1; }; }
71554 fi
71555 cat >conftest.$ac_ext <<_ACEOF
71556 /* confdefs.h.  */
71557 _ACEOF
71558 cat confdefs.h >>conftest.$ac_ext
71559 cat >>conftest.$ac_ext <<_ACEOF
71560 /* end confdefs.h.  */
71561 #include <math.h>
71562 int
71563 main ()
71564 {
71565  __builtin_abs(0);
71566   ;
71567   return 0;
71568 }
71569 _ACEOF
71570 rm -f conftest.$ac_objext conftest$ac_exeext
71571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71572   (eval $ac_link) 2>conftest.er1
71573   ac_status=$?
71574   grep -v '^ *+' conftest.er1 >conftest.err
71575   rm -f conftest.er1
71576   cat conftest.err >&5
71577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71578   (exit $ac_status); } &&
71579          { ac_try='test -z "$ac_c_werror_flag"
71580                          || test ! -s conftest.err'
71581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71582   (eval $ac_try) 2>&5
71583   ac_status=$?
71584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71585   (exit $ac_status); }; } &&
71586          { ac_try='test -s conftest$ac_exeext'
71587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71588   (eval $ac_try) 2>&5
71589   ac_status=$?
71590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71591   (exit $ac_status); }; }; then
71592   glibcxx_cv_func___builtin_abs_link=yes
71593 else
71594   echo "$as_me: failed program was:" >&5
71595 sed 's/^/| /' conftest.$ac_ext >&5
71596
71597 glibcxx_cv_func___builtin_abs_link=no
71598 fi
71599 rm -f conftest.err conftest.$ac_objext \
71600       conftest$ac_exeext conftest.$ac_ext
71601
71602 fi
71603
71604     fi
71605     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
71606 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
71607
71608     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
71609
71610 cat >>confdefs.h <<\_ACEOF
71611 #define HAVE___BUILTIN_ABS 1
71612 _ACEOF
71613
71614     fi
71615
71616   fi
71617
71618
71619   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
71620 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
71621   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
71622     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
71623   echo $ECHO_N "(cached) $ECHO_C" >&6
71624 else
71625
71626
71627
71628       ac_ext=cc
71629 ac_cpp='$CXXCPP $CPPFLAGS'
71630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71633
71634       cat >conftest.$ac_ext <<_ACEOF
71635 /* confdefs.h.  */
71636 _ACEOF
71637 cat confdefs.h >>conftest.$ac_ext
71638 cat >>conftest.$ac_ext <<_ACEOF
71639 /* end confdefs.h.  */
71640 #include <math.h>
71641 int
71642 main ()
71643 {
71644  __builtin_fabsf(0);
71645   ;
71646   return 0;
71647 }
71648 _ACEOF
71649 rm -f conftest.$ac_objext
71650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71651   (eval $ac_compile) 2>conftest.er1
71652   ac_status=$?
71653   grep -v '^ *+' conftest.er1 >conftest.err
71654   rm -f conftest.er1
71655   cat conftest.err >&5
71656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71657   (exit $ac_status); } &&
71658          { ac_try='test -z "$ac_cxx_werror_flag"
71659                          || test ! -s conftest.err'
71660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71661   (eval $ac_try) 2>&5
71662   ac_status=$?
71663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71664   (exit $ac_status); }; } &&
71665          { ac_try='test -s conftest.$ac_objext'
71666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71667   (eval $ac_try) 2>&5
71668   ac_status=$?
71669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71670   (exit $ac_status); }; }; then
71671   glibcxx_cv_func___builtin_fabsf_use=yes
71672 else
71673   echo "$as_me: failed program was:" >&5
71674 sed 's/^/| /' conftest.$ac_ext >&5
71675
71676 glibcxx_cv_func___builtin_fabsf_use=no
71677 fi
71678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71679       ac_ext=c
71680 ac_cpp='$CPP $CPPFLAGS'
71681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71684
71685
71686 fi
71687
71688   fi
71689   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
71690 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
71691   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
71692     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
71693 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
71694     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
71695       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
71696   echo $ECHO_N "(cached) $ECHO_C" >&6
71697 else
71698
71699         if test x$gcc_no_link = xyes; then
71700   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71702    { (exit 1); exit 1; }; }
71703 fi
71704 cat >conftest.$ac_ext <<_ACEOF
71705 /* confdefs.h.  */
71706 _ACEOF
71707 cat confdefs.h >>conftest.$ac_ext
71708 cat >>conftest.$ac_ext <<_ACEOF
71709 /* end confdefs.h.  */
71710 #include <math.h>
71711 int
71712 main ()
71713 {
71714  __builtin_fabsf(0);
71715   ;
71716   return 0;
71717 }
71718 _ACEOF
71719 rm -f conftest.$ac_objext conftest$ac_exeext
71720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71721   (eval $ac_link) 2>conftest.er1
71722   ac_status=$?
71723   grep -v '^ *+' conftest.er1 >conftest.err
71724   rm -f conftest.er1
71725   cat conftest.err >&5
71726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71727   (exit $ac_status); } &&
71728          { ac_try='test -z "$ac_c_werror_flag"
71729                          || test ! -s conftest.err'
71730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71731   (eval $ac_try) 2>&5
71732   ac_status=$?
71733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71734   (exit $ac_status); }; } &&
71735          { ac_try='test -s conftest$ac_exeext'
71736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71737   (eval $ac_try) 2>&5
71738   ac_status=$?
71739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71740   (exit $ac_status); }; }; then
71741   glibcxx_cv_func___builtin_fabsf_link=yes
71742 else
71743   echo "$as_me: failed program was:" >&5
71744 sed 's/^/| /' conftest.$ac_ext >&5
71745
71746 glibcxx_cv_func___builtin_fabsf_link=no
71747 fi
71748 rm -f conftest.err conftest.$ac_objext \
71749       conftest$ac_exeext conftest.$ac_ext
71750
71751 fi
71752
71753     fi
71754     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
71755 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
71756
71757     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
71758
71759 cat >>confdefs.h <<\_ACEOF
71760 #define HAVE___BUILTIN_FABSF 1
71761 _ACEOF
71762
71763     fi
71764
71765   fi
71766
71767
71768   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
71769 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
71770   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
71771     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
71772   echo $ECHO_N "(cached) $ECHO_C" >&6
71773 else
71774
71775
71776
71777       ac_ext=cc
71778 ac_cpp='$CXXCPP $CPPFLAGS'
71779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71782
71783       cat >conftest.$ac_ext <<_ACEOF
71784 /* confdefs.h.  */
71785 _ACEOF
71786 cat confdefs.h >>conftest.$ac_ext
71787 cat >>conftest.$ac_ext <<_ACEOF
71788 /* end confdefs.h.  */
71789 #include <math.h>
71790 int
71791 main ()
71792 {
71793  __builtin_fabs(0);
71794   ;
71795   return 0;
71796 }
71797 _ACEOF
71798 rm -f conftest.$ac_objext
71799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71800   (eval $ac_compile) 2>conftest.er1
71801   ac_status=$?
71802   grep -v '^ *+' conftest.er1 >conftest.err
71803   rm -f conftest.er1
71804   cat conftest.err >&5
71805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71806   (exit $ac_status); } &&
71807          { ac_try='test -z "$ac_cxx_werror_flag"
71808                          || test ! -s conftest.err'
71809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71810   (eval $ac_try) 2>&5
71811   ac_status=$?
71812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71813   (exit $ac_status); }; } &&
71814          { ac_try='test -s conftest.$ac_objext'
71815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71816   (eval $ac_try) 2>&5
71817   ac_status=$?
71818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71819   (exit $ac_status); }; }; then
71820   glibcxx_cv_func___builtin_fabs_use=yes
71821 else
71822   echo "$as_me: failed program was:" >&5
71823 sed 's/^/| /' conftest.$ac_ext >&5
71824
71825 glibcxx_cv_func___builtin_fabs_use=no
71826 fi
71827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71828       ac_ext=c
71829 ac_cpp='$CPP $CPPFLAGS'
71830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71833
71834
71835 fi
71836
71837   fi
71838   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
71839 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
71840   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
71841     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
71842 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
71843     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
71844       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
71845   echo $ECHO_N "(cached) $ECHO_C" >&6
71846 else
71847
71848         if test x$gcc_no_link = xyes; then
71849   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71850 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71851    { (exit 1); exit 1; }; }
71852 fi
71853 cat >conftest.$ac_ext <<_ACEOF
71854 /* confdefs.h.  */
71855 _ACEOF
71856 cat confdefs.h >>conftest.$ac_ext
71857 cat >>conftest.$ac_ext <<_ACEOF
71858 /* end confdefs.h.  */
71859 #include <math.h>
71860 int
71861 main ()
71862 {
71863  __builtin_fabs(0);
71864   ;
71865   return 0;
71866 }
71867 _ACEOF
71868 rm -f conftest.$ac_objext conftest$ac_exeext
71869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71870   (eval $ac_link) 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_c_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_exeext'
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___builtin_fabs_link=yes
71891 else
71892   echo "$as_me: failed program was:" >&5
71893 sed 's/^/| /' conftest.$ac_ext >&5
71894
71895 glibcxx_cv_func___builtin_fabs_link=no
71896 fi
71897 rm -f conftest.err conftest.$ac_objext \
71898       conftest$ac_exeext conftest.$ac_ext
71899
71900 fi
71901
71902     fi
71903     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
71904 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
71905
71906     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
71907
71908 cat >>confdefs.h <<\_ACEOF
71909 #define HAVE___BUILTIN_FABS 1
71910 _ACEOF
71911
71912     fi
71913
71914   fi
71915
71916
71917   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
71918 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
71919   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
71920     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
71921   echo $ECHO_N "(cached) $ECHO_C" >&6
71922 else
71923
71924
71925
71926       ac_ext=cc
71927 ac_cpp='$CXXCPP $CPPFLAGS'
71928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71931
71932       cat >conftest.$ac_ext <<_ACEOF
71933 /* confdefs.h.  */
71934 _ACEOF
71935 cat confdefs.h >>conftest.$ac_ext
71936 cat >>conftest.$ac_ext <<_ACEOF
71937 /* end confdefs.h.  */
71938 #include <math.h>
71939 int
71940 main ()
71941 {
71942  __builtin_fabsl(0);
71943   ;
71944   return 0;
71945 }
71946 _ACEOF
71947 rm -f conftest.$ac_objext
71948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71949   (eval $ac_compile) 2>conftest.er1
71950   ac_status=$?
71951   grep -v '^ *+' conftest.er1 >conftest.err
71952   rm -f conftest.er1
71953   cat conftest.err >&5
71954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71955   (exit $ac_status); } &&
71956          { ac_try='test -z "$ac_cxx_werror_flag"
71957                          || test ! -s conftest.err'
71958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71959   (eval $ac_try) 2>&5
71960   ac_status=$?
71961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71962   (exit $ac_status); }; } &&
71963          { ac_try='test -s conftest.$ac_objext'
71964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71965   (eval $ac_try) 2>&5
71966   ac_status=$?
71967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71968   (exit $ac_status); }; }; then
71969   glibcxx_cv_func___builtin_fabsl_use=yes
71970 else
71971   echo "$as_me: failed program was:" >&5
71972 sed 's/^/| /' conftest.$ac_ext >&5
71973
71974 glibcxx_cv_func___builtin_fabsl_use=no
71975 fi
71976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71977       ac_ext=c
71978 ac_cpp='$CPP $CPPFLAGS'
71979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71982
71983
71984 fi
71985
71986   fi
71987   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
71988 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
71989   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
71990     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
71991 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
71992     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
71993       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
71994   echo $ECHO_N "(cached) $ECHO_C" >&6
71995 else
71996
71997         if test x$gcc_no_link = xyes; then
71998   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72000    { (exit 1); exit 1; }; }
72001 fi
72002 cat >conftest.$ac_ext <<_ACEOF
72003 /* confdefs.h.  */
72004 _ACEOF
72005 cat confdefs.h >>conftest.$ac_ext
72006 cat >>conftest.$ac_ext <<_ACEOF
72007 /* end confdefs.h.  */
72008 #include <math.h>
72009 int
72010 main ()
72011 {
72012  __builtin_fabsl(0);
72013   ;
72014   return 0;
72015 }
72016 _ACEOF
72017 rm -f conftest.$ac_objext conftest$ac_exeext
72018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72019   (eval $ac_link) 2>conftest.er1
72020   ac_status=$?
72021   grep -v '^ *+' conftest.er1 >conftest.err
72022   rm -f conftest.er1
72023   cat conftest.err >&5
72024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72025   (exit $ac_status); } &&
72026          { ac_try='test -z "$ac_c_werror_flag"
72027                          || test ! -s conftest.err'
72028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72029   (eval $ac_try) 2>&5
72030   ac_status=$?
72031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72032   (exit $ac_status); }; } &&
72033          { ac_try='test -s conftest$ac_exeext'
72034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72035   (eval $ac_try) 2>&5
72036   ac_status=$?
72037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72038   (exit $ac_status); }; }; then
72039   glibcxx_cv_func___builtin_fabsl_link=yes
72040 else
72041   echo "$as_me: failed program was:" >&5
72042 sed 's/^/| /' conftest.$ac_ext >&5
72043
72044 glibcxx_cv_func___builtin_fabsl_link=no
72045 fi
72046 rm -f conftest.err conftest.$ac_objext \
72047       conftest$ac_exeext conftest.$ac_ext
72048
72049 fi
72050
72051     fi
72052     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
72053 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
72054
72055     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
72056
72057 cat >>confdefs.h <<\_ACEOF
72058 #define HAVE___BUILTIN_FABSL 1
72059 _ACEOF
72060
72061     fi
72062
72063   fi
72064
72065
72066   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
72067 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
72068   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
72069     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
72070   echo $ECHO_N "(cached) $ECHO_C" >&6
72071 else
72072
72073
72074
72075       ac_ext=cc
72076 ac_cpp='$CXXCPP $CPPFLAGS'
72077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72080
72081       cat >conftest.$ac_ext <<_ACEOF
72082 /* confdefs.h.  */
72083 _ACEOF
72084 cat confdefs.h >>conftest.$ac_ext
72085 cat >>conftest.$ac_ext <<_ACEOF
72086 /* end confdefs.h.  */
72087 #include <math.h>
72088 int
72089 main ()
72090 {
72091  __builtin_labs(0);
72092   ;
72093   return 0;
72094 }
72095 _ACEOF
72096 rm -f conftest.$ac_objext
72097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72098   (eval $ac_compile) 2>conftest.er1
72099   ac_status=$?
72100   grep -v '^ *+' conftest.er1 >conftest.err
72101   rm -f conftest.er1
72102   cat conftest.err >&5
72103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72104   (exit $ac_status); } &&
72105          { ac_try='test -z "$ac_cxx_werror_flag"
72106                          || test ! -s conftest.err'
72107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72108   (eval $ac_try) 2>&5
72109   ac_status=$?
72110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72111   (exit $ac_status); }; } &&
72112          { ac_try='test -s conftest.$ac_objext'
72113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72114   (eval $ac_try) 2>&5
72115   ac_status=$?
72116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72117   (exit $ac_status); }; }; then
72118   glibcxx_cv_func___builtin_labs_use=yes
72119 else
72120   echo "$as_me: failed program was:" >&5
72121 sed 's/^/| /' conftest.$ac_ext >&5
72122
72123 glibcxx_cv_func___builtin_labs_use=no
72124 fi
72125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72126       ac_ext=c
72127 ac_cpp='$CPP $CPPFLAGS'
72128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72131
72132
72133 fi
72134
72135   fi
72136   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
72137 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
72138   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
72139     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
72140 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
72141     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
72142       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
72143   echo $ECHO_N "(cached) $ECHO_C" >&6
72144 else
72145
72146         if test x$gcc_no_link = xyes; then
72147   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72148 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72149    { (exit 1); exit 1; }; }
72150 fi
72151 cat >conftest.$ac_ext <<_ACEOF
72152 /* confdefs.h.  */
72153 _ACEOF
72154 cat confdefs.h >>conftest.$ac_ext
72155 cat >>conftest.$ac_ext <<_ACEOF
72156 /* end confdefs.h.  */
72157 #include <math.h>
72158 int
72159 main ()
72160 {
72161  __builtin_labs(0);
72162   ;
72163   return 0;
72164 }
72165 _ACEOF
72166 rm -f conftest.$ac_objext conftest$ac_exeext
72167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72168   (eval $ac_link) 2>conftest.er1
72169   ac_status=$?
72170   grep -v '^ *+' conftest.er1 >conftest.err
72171   rm -f conftest.er1
72172   cat conftest.err >&5
72173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72174   (exit $ac_status); } &&
72175          { ac_try='test -z "$ac_c_werror_flag"
72176                          || test ! -s conftest.err'
72177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72178   (eval $ac_try) 2>&5
72179   ac_status=$?
72180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72181   (exit $ac_status); }; } &&
72182          { ac_try='test -s conftest$ac_exeext'
72183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72184   (eval $ac_try) 2>&5
72185   ac_status=$?
72186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72187   (exit $ac_status); }; }; then
72188   glibcxx_cv_func___builtin_labs_link=yes
72189 else
72190   echo "$as_me: failed program was:" >&5
72191 sed 's/^/| /' conftest.$ac_ext >&5
72192
72193 glibcxx_cv_func___builtin_labs_link=no
72194 fi
72195 rm -f conftest.err conftest.$ac_objext \
72196       conftest$ac_exeext conftest.$ac_ext
72197
72198 fi
72199
72200     fi
72201     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
72202 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
72203
72204     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
72205
72206 cat >>confdefs.h <<\_ACEOF
72207 #define HAVE___BUILTIN_LABS 1
72208 _ACEOF
72209
72210     fi
72211
72212   fi
72213
72214
72215
72216   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
72217 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
72218   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
72219     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
72220   echo $ECHO_N "(cached) $ECHO_C" >&6
72221 else
72222
72223
72224
72225       ac_ext=cc
72226 ac_cpp='$CXXCPP $CPPFLAGS'
72227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72230
72231       cat >conftest.$ac_ext <<_ACEOF
72232 /* confdefs.h.  */
72233 _ACEOF
72234 cat confdefs.h >>conftest.$ac_ext
72235 cat >>conftest.$ac_ext <<_ACEOF
72236 /* end confdefs.h.  */
72237 #include <math.h>
72238 int
72239 main ()
72240 {
72241  __builtin_sqrtf(0);
72242   ;
72243   return 0;
72244 }
72245 _ACEOF
72246 rm -f conftest.$ac_objext
72247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72248   (eval $ac_compile) 2>conftest.er1
72249   ac_status=$?
72250   grep -v '^ *+' conftest.er1 >conftest.err
72251   rm -f conftest.er1
72252   cat conftest.err >&5
72253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72254   (exit $ac_status); } &&
72255          { ac_try='test -z "$ac_cxx_werror_flag"
72256                          || test ! -s conftest.err'
72257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72258   (eval $ac_try) 2>&5
72259   ac_status=$?
72260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72261   (exit $ac_status); }; } &&
72262          { ac_try='test -s conftest.$ac_objext'
72263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72264   (eval $ac_try) 2>&5
72265   ac_status=$?
72266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72267   (exit $ac_status); }; }; then
72268   glibcxx_cv_func___builtin_sqrtf_use=yes
72269 else
72270   echo "$as_me: failed program was:" >&5
72271 sed 's/^/| /' conftest.$ac_ext >&5
72272
72273 glibcxx_cv_func___builtin_sqrtf_use=no
72274 fi
72275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72276       ac_ext=c
72277 ac_cpp='$CPP $CPPFLAGS'
72278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72281
72282
72283 fi
72284
72285   fi
72286   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
72287 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
72288   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
72289     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
72290 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
72291     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
72292       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
72293   echo $ECHO_N "(cached) $ECHO_C" >&6
72294 else
72295
72296         if test x$gcc_no_link = xyes; then
72297   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72298 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72299    { (exit 1); exit 1; }; }
72300 fi
72301 cat >conftest.$ac_ext <<_ACEOF
72302 /* confdefs.h.  */
72303 _ACEOF
72304 cat confdefs.h >>conftest.$ac_ext
72305 cat >>conftest.$ac_ext <<_ACEOF
72306 /* end confdefs.h.  */
72307 #include <math.h>
72308 int
72309 main ()
72310 {
72311  __builtin_sqrtf(0);
72312   ;
72313   return 0;
72314 }
72315 _ACEOF
72316 rm -f conftest.$ac_objext conftest$ac_exeext
72317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72318   (eval $ac_link) 2>conftest.er1
72319   ac_status=$?
72320   grep -v '^ *+' conftest.er1 >conftest.err
72321   rm -f conftest.er1
72322   cat conftest.err >&5
72323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72324   (exit $ac_status); } &&
72325          { ac_try='test -z "$ac_c_werror_flag"
72326                          || test ! -s conftest.err'
72327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72328   (eval $ac_try) 2>&5
72329   ac_status=$?
72330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72331   (exit $ac_status); }; } &&
72332          { ac_try='test -s conftest$ac_exeext'
72333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72334   (eval $ac_try) 2>&5
72335   ac_status=$?
72336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72337   (exit $ac_status); }; }; then
72338   glibcxx_cv_func___builtin_sqrtf_link=yes
72339 else
72340   echo "$as_me: failed program was:" >&5
72341 sed 's/^/| /' conftest.$ac_ext >&5
72342
72343 glibcxx_cv_func___builtin_sqrtf_link=no
72344 fi
72345 rm -f conftest.err conftest.$ac_objext \
72346       conftest$ac_exeext conftest.$ac_ext
72347
72348 fi
72349
72350     fi
72351     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
72352 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
72353
72354     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
72355
72356 cat >>confdefs.h <<\_ACEOF
72357 #define HAVE___BUILTIN_SQRTF 1
72358 _ACEOF
72359
72360     fi
72361
72362   fi
72363
72364
72365   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
72366 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
72367   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
72368     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
72369   echo $ECHO_N "(cached) $ECHO_C" >&6
72370 else
72371
72372
72373
72374       ac_ext=cc
72375 ac_cpp='$CXXCPP $CPPFLAGS'
72376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72379
72380       cat >conftest.$ac_ext <<_ACEOF
72381 /* confdefs.h.  */
72382 _ACEOF
72383 cat confdefs.h >>conftest.$ac_ext
72384 cat >>conftest.$ac_ext <<_ACEOF
72385 /* end confdefs.h.  */
72386 #include <math.h>
72387 int
72388 main ()
72389 {
72390  __builtin_sqrt(0);
72391   ;
72392   return 0;
72393 }
72394 _ACEOF
72395 rm -f conftest.$ac_objext
72396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72397   (eval $ac_compile) 2>conftest.er1
72398   ac_status=$?
72399   grep -v '^ *+' conftest.er1 >conftest.err
72400   rm -f conftest.er1
72401   cat conftest.err >&5
72402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72403   (exit $ac_status); } &&
72404          { ac_try='test -z "$ac_cxx_werror_flag"
72405                          || test ! -s conftest.err'
72406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72407   (eval $ac_try) 2>&5
72408   ac_status=$?
72409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72410   (exit $ac_status); }; } &&
72411          { ac_try='test -s conftest.$ac_objext'
72412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72413   (eval $ac_try) 2>&5
72414   ac_status=$?
72415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72416   (exit $ac_status); }; }; then
72417   glibcxx_cv_func___builtin_sqrt_use=yes
72418 else
72419   echo "$as_me: failed program was:" >&5
72420 sed 's/^/| /' conftest.$ac_ext >&5
72421
72422 glibcxx_cv_func___builtin_sqrt_use=no
72423 fi
72424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72425       ac_ext=c
72426 ac_cpp='$CPP $CPPFLAGS'
72427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72430
72431
72432 fi
72433
72434   fi
72435   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
72436 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
72437   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
72438     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
72439 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
72440     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
72441       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
72442   echo $ECHO_N "(cached) $ECHO_C" >&6
72443 else
72444
72445         if test x$gcc_no_link = xyes; then
72446   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72447 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72448    { (exit 1); exit 1; }; }
72449 fi
72450 cat >conftest.$ac_ext <<_ACEOF
72451 /* confdefs.h.  */
72452 _ACEOF
72453 cat confdefs.h >>conftest.$ac_ext
72454 cat >>conftest.$ac_ext <<_ACEOF
72455 /* end confdefs.h.  */
72456 #include <math.h>
72457 int
72458 main ()
72459 {
72460  __builtin_sqrt(0);
72461   ;
72462   return 0;
72463 }
72464 _ACEOF
72465 rm -f conftest.$ac_objext conftest$ac_exeext
72466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72467   (eval $ac_link) 2>conftest.er1
72468   ac_status=$?
72469   grep -v '^ *+' conftest.er1 >conftest.err
72470   rm -f conftest.er1
72471   cat conftest.err >&5
72472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72473   (exit $ac_status); } &&
72474          { ac_try='test -z "$ac_c_werror_flag"
72475                          || test ! -s conftest.err'
72476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72477   (eval $ac_try) 2>&5
72478   ac_status=$?
72479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72480   (exit $ac_status); }; } &&
72481          { ac_try='test -s conftest$ac_exeext'
72482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72483   (eval $ac_try) 2>&5
72484   ac_status=$?
72485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72486   (exit $ac_status); }; }; then
72487   glibcxx_cv_func___builtin_sqrt_link=yes
72488 else
72489   echo "$as_me: failed program was:" >&5
72490 sed 's/^/| /' conftest.$ac_ext >&5
72491
72492 glibcxx_cv_func___builtin_sqrt_link=no
72493 fi
72494 rm -f conftest.err conftest.$ac_objext \
72495       conftest$ac_exeext conftest.$ac_ext
72496
72497 fi
72498
72499     fi
72500     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
72501 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
72502
72503     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
72504
72505 cat >>confdefs.h <<\_ACEOF
72506 #define HAVE___BUILTIN_SQRT 1
72507 _ACEOF
72508
72509     fi
72510
72511   fi
72512
72513
72514   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
72515 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
72516   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
72517     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
72518   echo $ECHO_N "(cached) $ECHO_C" >&6
72519 else
72520
72521
72522
72523       ac_ext=cc
72524 ac_cpp='$CXXCPP $CPPFLAGS'
72525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72528
72529       cat >conftest.$ac_ext <<_ACEOF
72530 /* confdefs.h.  */
72531 _ACEOF
72532 cat confdefs.h >>conftest.$ac_ext
72533 cat >>conftest.$ac_ext <<_ACEOF
72534 /* end confdefs.h.  */
72535 #include <math.h>
72536 int
72537 main ()
72538 {
72539  __builtin_sqrtl(0);
72540   ;
72541   return 0;
72542 }
72543 _ACEOF
72544 rm -f conftest.$ac_objext
72545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72546   (eval $ac_compile) 2>conftest.er1
72547   ac_status=$?
72548   grep -v '^ *+' conftest.er1 >conftest.err
72549   rm -f conftest.er1
72550   cat conftest.err >&5
72551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72552   (exit $ac_status); } &&
72553          { ac_try='test -z "$ac_cxx_werror_flag"
72554                          || test ! -s conftest.err'
72555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72556   (eval $ac_try) 2>&5
72557   ac_status=$?
72558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72559   (exit $ac_status); }; } &&
72560          { ac_try='test -s conftest.$ac_objext'
72561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72562   (eval $ac_try) 2>&5
72563   ac_status=$?
72564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72565   (exit $ac_status); }; }; then
72566   glibcxx_cv_func___builtin_sqrtl_use=yes
72567 else
72568   echo "$as_me: failed program was:" >&5
72569 sed 's/^/| /' conftest.$ac_ext >&5
72570
72571 glibcxx_cv_func___builtin_sqrtl_use=no
72572 fi
72573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72574       ac_ext=c
72575 ac_cpp='$CPP $CPPFLAGS'
72576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72579
72580
72581 fi
72582
72583   fi
72584   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
72585 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
72586   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
72587     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
72588 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
72589     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
72590       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
72591   echo $ECHO_N "(cached) $ECHO_C" >&6
72592 else
72593
72594         if test x$gcc_no_link = xyes; then
72595   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72597    { (exit 1); exit 1; }; }
72598 fi
72599 cat >conftest.$ac_ext <<_ACEOF
72600 /* confdefs.h.  */
72601 _ACEOF
72602 cat confdefs.h >>conftest.$ac_ext
72603 cat >>conftest.$ac_ext <<_ACEOF
72604 /* end confdefs.h.  */
72605 #include <math.h>
72606 int
72607 main ()
72608 {
72609  __builtin_sqrtl(0);
72610   ;
72611   return 0;
72612 }
72613 _ACEOF
72614 rm -f conftest.$ac_objext conftest$ac_exeext
72615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72616   (eval $ac_link) 2>conftest.er1
72617   ac_status=$?
72618   grep -v '^ *+' conftest.er1 >conftest.err
72619   rm -f conftest.er1
72620   cat conftest.err >&5
72621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72622   (exit $ac_status); } &&
72623          { ac_try='test -z "$ac_c_werror_flag"
72624                          || test ! -s conftest.err'
72625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72626   (eval $ac_try) 2>&5
72627   ac_status=$?
72628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72629   (exit $ac_status); }; } &&
72630          { ac_try='test -s conftest$ac_exeext'
72631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72632   (eval $ac_try) 2>&5
72633   ac_status=$?
72634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72635   (exit $ac_status); }; }; then
72636   glibcxx_cv_func___builtin_sqrtl_link=yes
72637 else
72638   echo "$as_me: failed program was:" >&5
72639 sed 's/^/| /' conftest.$ac_ext >&5
72640
72641 glibcxx_cv_func___builtin_sqrtl_link=no
72642 fi
72643 rm -f conftest.err conftest.$ac_objext \
72644       conftest$ac_exeext conftest.$ac_ext
72645
72646 fi
72647
72648     fi
72649     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
72650 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
72651
72652     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
72653
72654 cat >>confdefs.h <<\_ACEOF
72655 #define HAVE___BUILTIN_SQRTL 1
72656 _ACEOF
72657
72658     fi
72659
72660   fi
72661
72662
72663
72664   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
72665 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
72666   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
72667     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
72668   echo $ECHO_N "(cached) $ECHO_C" >&6
72669 else
72670
72671
72672
72673       ac_ext=cc
72674 ac_cpp='$CXXCPP $CPPFLAGS'
72675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72678
72679       cat >conftest.$ac_ext <<_ACEOF
72680 /* confdefs.h.  */
72681 _ACEOF
72682 cat confdefs.h >>conftest.$ac_ext
72683 cat >>conftest.$ac_ext <<_ACEOF
72684 /* end confdefs.h.  */
72685 #include <math.h>
72686 int
72687 main ()
72688 {
72689  __builtin_sinf(0);
72690   ;
72691   return 0;
72692 }
72693 _ACEOF
72694 rm -f conftest.$ac_objext
72695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72696   (eval $ac_compile) 2>conftest.er1
72697   ac_status=$?
72698   grep -v '^ *+' conftest.er1 >conftest.err
72699   rm -f conftest.er1
72700   cat conftest.err >&5
72701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72702   (exit $ac_status); } &&
72703          { ac_try='test -z "$ac_cxx_werror_flag"
72704                          || test ! -s conftest.err'
72705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72706   (eval $ac_try) 2>&5
72707   ac_status=$?
72708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72709   (exit $ac_status); }; } &&
72710          { ac_try='test -s conftest.$ac_objext'
72711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72712   (eval $ac_try) 2>&5
72713   ac_status=$?
72714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72715   (exit $ac_status); }; }; then
72716   glibcxx_cv_func___builtin_sinf_use=yes
72717 else
72718   echo "$as_me: failed program was:" >&5
72719 sed 's/^/| /' conftest.$ac_ext >&5
72720
72721 glibcxx_cv_func___builtin_sinf_use=no
72722 fi
72723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72724       ac_ext=c
72725 ac_cpp='$CPP $CPPFLAGS'
72726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72729
72730
72731 fi
72732
72733   fi
72734   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
72735 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
72736   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
72737     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
72738 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
72739     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
72740       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
72741   echo $ECHO_N "(cached) $ECHO_C" >&6
72742 else
72743
72744         if test x$gcc_no_link = xyes; then
72745   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72747    { (exit 1); exit 1; }; }
72748 fi
72749 cat >conftest.$ac_ext <<_ACEOF
72750 /* confdefs.h.  */
72751 _ACEOF
72752 cat confdefs.h >>conftest.$ac_ext
72753 cat >>conftest.$ac_ext <<_ACEOF
72754 /* end confdefs.h.  */
72755 #include <math.h>
72756 int
72757 main ()
72758 {
72759  __builtin_sinf(0);
72760   ;
72761   return 0;
72762 }
72763 _ACEOF
72764 rm -f conftest.$ac_objext conftest$ac_exeext
72765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72766   (eval $ac_link) 2>conftest.er1
72767   ac_status=$?
72768   grep -v '^ *+' conftest.er1 >conftest.err
72769   rm -f conftest.er1
72770   cat conftest.err >&5
72771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72772   (exit $ac_status); } &&
72773          { ac_try='test -z "$ac_c_werror_flag"
72774                          || test ! -s conftest.err'
72775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72776   (eval $ac_try) 2>&5
72777   ac_status=$?
72778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72779   (exit $ac_status); }; } &&
72780          { ac_try='test -s conftest$ac_exeext'
72781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72782   (eval $ac_try) 2>&5
72783   ac_status=$?
72784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72785   (exit $ac_status); }; }; then
72786   glibcxx_cv_func___builtin_sinf_link=yes
72787 else
72788   echo "$as_me: failed program was:" >&5
72789 sed 's/^/| /' conftest.$ac_ext >&5
72790
72791 glibcxx_cv_func___builtin_sinf_link=no
72792 fi
72793 rm -f conftest.err conftest.$ac_objext \
72794       conftest$ac_exeext conftest.$ac_ext
72795
72796 fi
72797
72798     fi
72799     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
72800 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
72801
72802     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
72803
72804 cat >>confdefs.h <<\_ACEOF
72805 #define HAVE___BUILTIN_SINF 1
72806 _ACEOF
72807
72808     fi
72809
72810   fi
72811
72812
72813   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
72814 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
72815   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
72816     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
72817   echo $ECHO_N "(cached) $ECHO_C" >&6
72818 else
72819
72820
72821
72822       ac_ext=cc
72823 ac_cpp='$CXXCPP $CPPFLAGS'
72824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72827
72828       cat >conftest.$ac_ext <<_ACEOF
72829 /* confdefs.h.  */
72830 _ACEOF
72831 cat confdefs.h >>conftest.$ac_ext
72832 cat >>conftest.$ac_ext <<_ACEOF
72833 /* end confdefs.h.  */
72834 #include <math.h>
72835 int
72836 main ()
72837 {
72838  __builtin_sin(0);
72839   ;
72840   return 0;
72841 }
72842 _ACEOF
72843 rm -f conftest.$ac_objext
72844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72845   (eval $ac_compile) 2>conftest.er1
72846   ac_status=$?
72847   grep -v '^ *+' conftest.er1 >conftest.err
72848   rm -f conftest.er1
72849   cat conftest.err >&5
72850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72851   (exit $ac_status); } &&
72852          { ac_try='test -z "$ac_cxx_werror_flag"
72853                          || test ! -s conftest.err'
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); }; } &&
72859          { ac_try='test -s conftest.$ac_objext'
72860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72861   (eval $ac_try) 2>&5
72862   ac_status=$?
72863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72864   (exit $ac_status); }; }; then
72865   glibcxx_cv_func___builtin_sin_use=yes
72866 else
72867   echo "$as_me: failed program was:" >&5
72868 sed 's/^/| /' conftest.$ac_ext >&5
72869
72870 glibcxx_cv_func___builtin_sin_use=no
72871 fi
72872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72873       ac_ext=c
72874 ac_cpp='$CPP $CPPFLAGS'
72875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72878
72879
72880 fi
72881
72882   fi
72883   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
72884 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
72885   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
72886     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
72887 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
72888     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
72889       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
72890   echo $ECHO_N "(cached) $ECHO_C" >&6
72891 else
72892
72893         if test x$gcc_no_link = xyes; then
72894   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72896    { (exit 1); exit 1; }; }
72897 fi
72898 cat >conftest.$ac_ext <<_ACEOF
72899 /* confdefs.h.  */
72900 _ACEOF
72901 cat confdefs.h >>conftest.$ac_ext
72902 cat >>conftest.$ac_ext <<_ACEOF
72903 /* end confdefs.h.  */
72904 #include <math.h>
72905 int
72906 main ()
72907 {
72908  __builtin_sin(0);
72909   ;
72910   return 0;
72911 }
72912 _ACEOF
72913 rm -f conftest.$ac_objext conftest$ac_exeext
72914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72915   (eval $ac_link) 2>conftest.er1
72916   ac_status=$?
72917   grep -v '^ *+' conftest.er1 >conftest.err
72918   rm -f conftest.er1
72919   cat conftest.err >&5
72920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72921   (exit $ac_status); } &&
72922          { ac_try='test -z "$ac_c_werror_flag"
72923                          || test ! -s conftest.err'
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); }; } &&
72929          { ac_try='test -s conftest$ac_exeext'
72930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72931   (eval $ac_try) 2>&5
72932   ac_status=$?
72933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72934   (exit $ac_status); }; }; then
72935   glibcxx_cv_func___builtin_sin_link=yes
72936 else
72937   echo "$as_me: failed program was:" >&5
72938 sed 's/^/| /' conftest.$ac_ext >&5
72939
72940 glibcxx_cv_func___builtin_sin_link=no
72941 fi
72942 rm -f conftest.err conftest.$ac_objext \
72943       conftest$ac_exeext conftest.$ac_ext
72944
72945 fi
72946
72947     fi
72948     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
72949 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
72950
72951     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
72952
72953 cat >>confdefs.h <<\_ACEOF
72954 #define HAVE___BUILTIN_SIN 1
72955 _ACEOF
72956
72957     fi
72958
72959   fi
72960
72961
72962   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
72963 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
72964   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
72965     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
72966   echo $ECHO_N "(cached) $ECHO_C" >&6
72967 else
72968
72969
72970
72971       ac_ext=cc
72972 ac_cpp='$CXXCPP $CPPFLAGS'
72973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72976
72977       cat >conftest.$ac_ext <<_ACEOF
72978 /* confdefs.h.  */
72979 _ACEOF
72980 cat confdefs.h >>conftest.$ac_ext
72981 cat >>conftest.$ac_ext <<_ACEOF
72982 /* end confdefs.h.  */
72983 #include <math.h>
72984 int
72985 main ()
72986 {
72987  __builtin_sinl(0);
72988   ;
72989   return 0;
72990 }
72991 _ACEOF
72992 rm -f conftest.$ac_objext
72993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72994   (eval $ac_compile) 2>conftest.er1
72995   ac_status=$?
72996   grep -v '^ *+' conftest.er1 >conftest.err
72997   rm -f conftest.er1
72998   cat conftest.err >&5
72999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73000   (exit $ac_status); } &&
73001          { ac_try='test -z "$ac_cxx_werror_flag"
73002                          || test ! -s conftest.err'
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); }; } &&
73008          { ac_try='test -s conftest.$ac_objext'
73009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73010   (eval $ac_try) 2>&5
73011   ac_status=$?
73012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73013   (exit $ac_status); }; }; then
73014   glibcxx_cv_func___builtin_sinl_use=yes
73015 else
73016   echo "$as_me: failed program was:" >&5
73017 sed 's/^/| /' conftest.$ac_ext >&5
73018
73019 glibcxx_cv_func___builtin_sinl_use=no
73020 fi
73021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73022       ac_ext=c
73023 ac_cpp='$CPP $CPPFLAGS'
73024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73027
73028
73029 fi
73030
73031   fi
73032   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
73033 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
73034   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
73035     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
73036 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
73037     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
73038       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
73039   echo $ECHO_N "(cached) $ECHO_C" >&6
73040 else
73041
73042         if test x$gcc_no_link = xyes; then
73043   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73045    { (exit 1); exit 1; }; }
73046 fi
73047 cat >conftest.$ac_ext <<_ACEOF
73048 /* confdefs.h.  */
73049 _ACEOF
73050 cat confdefs.h >>conftest.$ac_ext
73051 cat >>conftest.$ac_ext <<_ACEOF
73052 /* end confdefs.h.  */
73053 #include <math.h>
73054 int
73055 main ()
73056 {
73057  __builtin_sinl(0);
73058   ;
73059   return 0;
73060 }
73061 _ACEOF
73062 rm -f conftest.$ac_objext conftest$ac_exeext
73063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73064   (eval $ac_link) 2>conftest.er1
73065   ac_status=$?
73066   grep -v '^ *+' conftest.er1 >conftest.err
73067   rm -f conftest.er1
73068   cat conftest.err >&5
73069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73070   (exit $ac_status); } &&
73071          { ac_try='test -z "$ac_c_werror_flag"
73072                          || test ! -s conftest.err'
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); }; } &&
73078          { ac_try='test -s conftest$ac_exeext'
73079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73080   (eval $ac_try) 2>&5
73081   ac_status=$?
73082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73083   (exit $ac_status); }; }; then
73084   glibcxx_cv_func___builtin_sinl_link=yes
73085 else
73086   echo "$as_me: failed program was:" >&5
73087 sed 's/^/| /' conftest.$ac_ext >&5
73088
73089 glibcxx_cv_func___builtin_sinl_link=no
73090 fi
73091 rm -f conftest.err conftest.$ac_objext \
73092       conftest$ac_exeext conftest.$ac_ext
73093
73094 fi
73095
73096     fi
73097     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
73098 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
73099
73100     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
73101
73102 cat >>confdefs.h <<\_ACEOF
73103 #define HAVE___BUILTIN_SINL 1
73104 _ACEOF
73105
73106     fi
73107
73108   fi
73109
73110
73111
73112   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
73113 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
73114   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
73115     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
73116   echo $ECHO_N "(cached) $ECHO_C" >&6
73117 else
73118
73119
73120
73121       ac_ext=cc
73122 ac_cpp='$CXXCPP $CPPFLAGS'
73123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73126
73127       cat >conftest.$ac_ext <<_ACEOF
73128 /* confdefs.h.  */
73129 _ACEOF
73130 cat confdefs.h >>conftest.$ac_ext
73131 cat >>conftest.$ac_ext <<_ACEOF
73132 /* end confdefs.h.  */
73133 #include <math.h>
73134 int
73135 main ()
73136 {
73137  __builtin_cosf(0);
73138   ;
73139   return 0;
73140 }
73141 _ACEOF
73142 rm -f conftest.$ac_objext
73143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73144   (eval $ac_compile) 2>conftest.er1
73145   ac_status=$?
73146   grep -v '^ *+' conftest.er1 >conftest.err
73147   rm -f conftest.er1
73148   cat conftest.err >&5
73149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73150   (exit $ac_status); } &&
73151          { ac_try='test -z "$ac_cxx_werror_flag"
73152                          || test ! -s conftest.err'
73153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73154   (eval $ac_try) 2>&5
73155   ac_status=$?
73156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73157   (exit $ac_status); }; } &&
73158          { ac_try='test -s conftest.$ac_objext'
73159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73160   (eval $ac_try) 2>&5
73161   ac_status=$?
73162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73163   (exit $ac_status); }; }; then
73164   glibcxx_cv_func___builtin_cosf_use=yes
73165 else
73166   echo "$as_me: failed program was:" >&5
73167 sed 's/^/| /' conftest.$ac_ext >&5
73168
73169 glibcxx_cv_func___builtin_cosf_use=no
73170 fi
73171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73172       ac_ext=c
73173 ac_cpp='$CPP $CPPFLAGS'
73174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73177
73178
73179 fi
73180
73181   fi
73182   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
73183 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
73184   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
73185     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
73186 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
73187     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
73188       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
73189   echo $ECHO_N "(cached) $ECHO_C" >&6
73190 else
73191
73192         if test x$gcc_no_link = xyes; then
73193   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73195    { (exit 1); exit 1; }; }
73196 fi
73197 cat >conftest.$ac_ext <<_ACEOF
73198 /* confdefs.h.  */
73199 _ACEOF
73200 cat confdefs.h >>conftest.$ac_ext
73201 cat >>conftest.$ac_ext <<_ACEOF
73202 /* end confdefs.h.  */
73203 #include <math.h>
73204 int
73205 main ()
73206 {
73207  __builtin_cosf(0);
73208   ;
73209   return 0;
73210 }
73211 _ACEOF
73212 rm -f conftest.$ac_objext conftest$ac_exeext
73213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73214   (eval $ac_link) 2>conftest.er1
73215   ac_status=$?
73216   grep -v '^ *+' conftest.er1 >conftest.err
73217   rm -f conftest.er1
73218   cat conftest.err >&5
73219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73220   (exit $ac_status); } &&
73221          { ac_try='test -z "$ac_c_werror_flag"
73222                          || test ! -s conftest.err'
73223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73224   (eval $ac_try) 2>&5
73225   ac_status=$?
73226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73227   (exit $ac_status); }; } &&
73228          { ac_try='test -s conftest$ac_exeext'
73229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73230   (eval $ac_try) 2>&5
73231   ac_status=$?
73232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73233   (exit $ac_status); }; }; then
73234   glibcxx_cv_func___builtin_cosf_link=yes
73235 else
73236   echo "$as_me: failed program was:" >&5
73237 sed 's/^/| /' conftest.$ac_ext >&5
73238
73239 glibcxx_cv_func___builtin_cosf_link=no
73240 fi
73241 rm -f conftest.err conftest.$ac_objext \
73242       conftest$ac_exeext conftest.$ac_ext
73243
73244 fi
73245
73246     fi
73247     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
73248 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
73249
73250     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
73251
73252 cat >>confdefs.h <<\_ACEOF
73253 #define HAVE___BUILTIN_COSF 1
73254 _ACEOF
73255
73256     fi
73257
73258   fi
73259
73260
73261   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
73262 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
73263   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
73264     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
73265   echo $ECHO_N "(cached) $ECHO_C" >&6
73266 else
73267
73268
73269
73270       ac_ext=cc
73271 ac_cpp='$CXXCPP $CPPFLAGS'
73272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73275
73276       cat >conftest.$ac_ext <<_ACEOF
73277 /* confdefs.h.  */
73278 _ACEOF
73279 cat confdefs.h >>conftest.$ac_ext
73280 cat >>conftest.$ac_ext <<_ACEOF
73281 /* end confdefs.h.  */
73282 #include <math.h>
73283 int
73284 main ()
73285 {
73286  __builtin_cos(0);
73287   ;
73288   return 0;
73289 }
73290 _ACEOF
73291 rm -f conftest.$ac_objext
73292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73293   (eval $ac_compile) 2>conftest.er1
73294   ac_status=$?
73295   grep -v '^ *+' conftest.er1 >conftest.err
73296   rm -f conftest.er1
73297   cat conftest.err >&5
73298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73299   (exit $ac_status); } &&
73300          { ac_try='test -z "$ac_cxx_werror_flag"
73301                          || test ! -s conftest.err'
73302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73303   (eval $ac_try) 2>&5
73304   ac_status=$?
73305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73306   (exit $ac_status); }; } &&
73307          { ac_try='test -s conftest.$ac_objext'
73308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73309   (eval $ac_try) 2>&5
73310   ac_status=$?
73311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73312   (exit $ac_status); }; }; then
73313   glibcxx_cv_func___builtin_cos_use=yes
73314 else
73315   echo "$as_me: failed program was:" >&5
73316 sed 's/^/| /' conftest.$ac_ext >&5
73317
73318 glibcxx_cv_func___builtin_cos_use=no
73319 fi
73320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73321       ac_ext=c
73322 ac_cpp='$CPP $CPPFLAGS'
73323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73326
73327
73328 fi
73329
73330   fi
73331   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
73332 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
73333   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
73334     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
73335 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
73336     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
73337       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
73338   echo $ECHO_N "(cached) $ECHO_C" >&6
73339 else
73340
73341         if test x$gcc_no_link = xyes; then
73342   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73344    { (exit 1); exit 1; }; }
73345 fi
73346 cat >conftest.$ac_ext <<_ACEOF
73347 /* confdefs.h.  */
73348 _ACEOF
73349 cat confdefs.h >>conftest.$ac_ext
73350 cat >>conftest.$ac_ext <<_ACEOF
73351 /* end confdefs.h.  */
73352 #include <math.h>
73353 int
73354 main ()
73355 {
73356  __builtin_cos(0);
73357   ;
73358   return 0;
73359 }
73360 _ACEOF
73361 rm -f conftest.$ac_objext conftest$ac_exeext
73362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73363   (eval $ac_link) 2>conftest.er1
73364   ac_status=$?
73365   grep -v '^ *+' conftest.er1 >conftest.err
73366   rm -f conftest.er1
73367   cat conftest.err >&5
73368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73369   (exit $ac_status); } &&
73370          { ac_try='test -z "$ac_c_werror_flag"
73371                          || test ! -s conftest.err'
73372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73373   (eval $ac_try) 2>&5
73374   ac_status=$?
73375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73376   (exit $ac_status); }; } &&
73377          { ac_try='test -s conftest$ac_exeext'
73378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73379   (eval $ac_try) 2>&5
73380   ac_status=$?
73381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73382   (exit $ac_status); }; }; then
73383   glibcxx_cv_func___builtin_cos_link=yes
73384 else
73385   echo "$as_me: failed program was:" >&5
73386 sed 's/^/| /' conftest.$ac_ext >&5
73387
73388 glibcxx_cv_func___builtin_cos_link=no
73389 fi
73390 rm -f conftest.err conftest.$ac_objext \
73391       conftest$ac_exeext conftest.$ac_ext
73392
73393 fi
73394
73395     fi
73396     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
73397 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
73398
73399     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
73400
73401 cat >>confdefs.h <<\_ACEOF
73402 #define HAVE___BUILTIN_COS 1
73403 _ACEOF
73404
73405     fi
73406
73407   fi
73408
73409
73410   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
73411 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
73412   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
73413     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
73414   echo $ECHO_N "(cached) $ECHO_C" >&6
73415 else
73416
73417
73418
73419       ac_ext=cc
73420 ac_cpp='$CXXCPP $CPPFLAGS'
73421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73424
73425       cat >conftest.$ac_ext <<_ACEOF
73426 /* confdefs.h.  */
73427 _ACEOF
73428 cat confdefs.h >>conftest.$ac_ext
73429 cat >>conftest.$ac_ext <<_ACEOF
73430 /* end confdefs.h.  */
73431 #include <math.h>
73432 int
73433 main ()
73434 {
73435  __builtin_cosl(0);
73436   ;
73437   return 0;
73438 }
73439 _ACEOF
73440 rm -f conftest.$ac_objext
73441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73442   (eval $ac_compile) 2>conftest.er1
73443   ac_status=$?
73444   grep -v '^ *+' conftest.er1 >conftest.err
73445   rm -f conftest.er1
73446   cat conftest.err >&5
73447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73448   (exit $ac_status); } &&
73449          { ac_try='test -z "$ac_cxx_werror_flag"
73450                          || test ! -s conftest.err'
73451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73452   (eval $ac_try) 2>&5
73453   ac_status=$?
73454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73455   (exit $ac_status); }; } &&
73456          { ac_try='test -s conftest.$ac_objext'
73457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73458   (eval $ac_try) 2>&5
73459   ac_status=$?
73460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73461   (exit $ac_status); }; }; then
73462   glibcxx_cv_func___builtin_cosl_use=yes
73463 else
73464   echo "$as_me: failed program was:" >&5
73465 sed 's/^/| /' conftest.$ac_ext >&5
73466
73467 glibcxx_cv_func___builtin_cosl_use=no
73468 fi
73469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73470       ac_ext=c
73471 ac_cpp='$CPP $CPPFLAGS'
73472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73475
73476
73477 fi
73478
73479   fi
73480   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
73481 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
73482   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
73483     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
73484 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
73485     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
73486       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
73487   echo $ECHO_N "(cached) $ECHO_C" >&6
73488 else
73489
73490         if test x$gcc_no_link = xyes; then
73491   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73493    { (exit 1); exit 1; }; }
73494 fi
73495 cat >conftest.$ac_ext <<_ACEOF
73496 /* confdefs.h.  */
73497 _ACEOF
73498 cat confdefs.h >>conftest.$ac_ext
73499 cat >>conftest.$ac_ext <<_ACEOF
73500 /* end confdefs.h.  */
73501 #include <math.h>
73502 int
73503 main ()
73504 {
73505  __builtin_cosl(0);
73506   ;
73507   return 0;
73508 }
73509 _ACEOF
73510 rm -f conftest.$ac_objext conftest$ac_exeext
73511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73512   (eval $ac_link) 2>conftest.er1
73513   ac_status=$?
73514   grep -v '^ *+' conftest.er1 >conftest.err
73515   rm -f conftest.er1
73516   cat conftest.err >&5
73517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73518   (exit $ac_status); } &&
73519          { ac_try='test -z "$ac_c_werror_flag"
73520                          || test ! -s conftest.err'
73521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73522   (eval $ac_try) 2>&5
73523   ac_status=$?
73524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73525   (exit $ac_status); }; } &&
73526          { ac_try='test -s conftest$ac_exeext'
73527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73528   (eval $ac_try) 2>&5
73529   ac_status=$?
73530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73531   (exit $ac_status); }; }; then
73532   glibcxx_cv_func___builtin_cosl_link=yes
73533 else
73534   echo "$as_me: failed program was:" >&5
73535 sed 's/^/| /' conftest.$ac_ext >&5
73536
73537 glibcxx_cv_func___builtin_cosl_link=no
73538 fi
73539 rm -f conftest.err conftest.$ac_objext \
73540       conftest$ac_exeext conftest.$ac_ext
73541
73542 fi
73543
73544     fi
73545     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
73546 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
73547
73548     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
73549
73550 cat >>confdefs.h <<\_ACEOF
73551 #define HAVE___BUILTIN_COSL 1
73552 _ACEOF
73553
73554     fi
73555
73556   fi
73557
73558
73559
73560
73561 echo "$as_me:$LINENO: checking for main in -lm" >&5
73562 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
73563 if test "${ac_cv_lib_m_main+set}" = set; then
73564   echo $ECHO_N "(cached) $ECHO_C" >&6
73565 else
73566   ac_check_lib_save_LIBS=$LIBS
73567 LIBS="-lm  $LIBS"
73568 if test x$gcc_no_link = xyes; then
73569   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73571    { (exit 1); exit 1; }; }
73572 fi
73573 cat >conftest.$ac_ext <<_ACEOF
73574 /* confdefs.h.  */
73575 _ACEOF
73576 cat confdefs.h >>conftest.$ac_ext
73577 cat >>conftest.$ac_ext <<_ACEOF
73578 /* end confdefs.h.  */
73579
73580
73581 int
73582 main ()
73583 {
73584 main ();
73585   ;
73586   return 0;
73587 }
73588 _ACEOF
73589 rm -f conftest.$ac_objext conftest$ac_exeext
73590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73591   (eval $ac_link) 2>conftest.er1
73592   ac_status=$?
73593   grep -v '^ *+' conftest.er1 >conftest.err
73594   rm -f conftest.er1
73595   cat conftest.err >&5
73596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73597   (exit $ac_status); } &&
73598          { ac_try='test -z "$ac_c_werror_flag"
73599                          || test ! -s conftest.err'
73600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73601   (eval $ac_try) 2>&5
73602   ac_status=$?
73603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73604   (exit $ac_status); }; } &&
73605          { ac_try='test -s conftest$ac_exeext'
73606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73607   (eval $ac_try) 2>&5
73608   ac_status=$?
73609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73610   (exit $ac_status); }; }; then
73611   ac_cv_lib_m_main=yes
73612 else
73613   echo "$as_me: failed program was:" >&5
73614 sed 's/^/| /' conftest.$ac_ext >&5
73615
73616 ac_cv_lib_m_main=no
73617 fi
73618 rm -f conftest.err conftest.$ac_objext \
73619       conftest$ac_exeext conftest.$ac_ext
73620 LIBS=$ac_check_lib_save_LIBS
73621 fi
73622 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
73623 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
73624 if test $ac_cv_lib_m_main = yes; then
73625   cat >>confdefs.h <<_ACEOF
73626 #define HAVE_LIBM 1
73627 _ACEOF
73628
73629   LIBS="-lm $LIBS"
73630
73631 fi
73632
73633
73634 for ac_func in copysignf
73635 do
73636 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73637 echo "$as_me:$LINENO: checking for $ac_func" >&5
73638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73639 if eval "test \"\${$as_ac_var+set}\" = set"; then
73640   echo $ECHO_N "(cached) $ECHO_C" >&6
73641 else
73642   if test x$gcc_no_link = xyes; then
73643   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73645    { (exit 1); exit 1; }; }
73646 fi
73647 cat >conftest.$ac_ext <<_ACEOF
73648 /* confdefs.h.  */
73649 _ACEOF
73650 cat confdefs.h >>conftest.$ac_ext
73651 cat >>conftest.$ac_ext <<_ACEOF
73652 /* end confdefs.h.  */
73653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73654    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73655 #define $ac_func innocuous_$ac_func
73656
73657 /* System header to define __stub macros and hopefully few prototypes,
73658     which can conflict with char $ac_func (); below.
73659     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73660     <limits.h> exists even on freestanding compilers.  */
73661
73662 #ifdef __STDC__
73663 # include <limits.h>
73664 #else
73665 # include <assert.h>
73666 #endif
73667
73668 #undef $ac_func
73669
73670 /* Override any gcc2 internal prototype to avoid an error.  */
73671 #ifdef __cplusplus
73672 extern "C"
73673 {
73674 #endif
73675 /* We use char because int might match the return type of a gcc2
73676    builtin and then its argument prototype would still apply.  */
73677 char $ac_func ();
73678 /* The GNU C library defines this for functions which it implements
73679     to always fail with ENOSYS.  Some functions are actually named
73680     something starting with __ and the normal name is an alias.  */
73681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73682 choke me
73683 #else
73684 char (*f) () = $ac_func;
73685 #endif
73686 #ifdef __cplusplus
73687 }
73688 #endif
73689
73690 int
73691 main ()
73692 {
73693 return f != $ac_func;
73694   ;
73695   return 0;
73696 }
73697 _ACEOF
73698 rm -f conftest.$ac_objext conftest$ac_exeext
73699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73700   (eval $ac_link) 2>conftest.er1
73701   ac_status=$?
73702   grep -v '^ *+' conftest.er1 >conftest.err
73703   rm -f conftest.er1
73704   cat conftest.err >&5
73705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73706   (exit $ac_status); } &&
73707          { ac_try='test -z "$ac_c_werror_flag"
73708                          || test ! -s conftest.err'
73709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73710   (eval $ac_try) 2>&5
73711   ac_status=$?
73712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73713   (exit $ac_status); }; } &&
73714          { ac_try='test -s conftest$ac_exeext'
73715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73716   (eval $ac_try) 2>&5
73717   ac_status=$?
73718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73719   (exit $ac_status); }; }; then
73720   eval "$as_ac_var=yes"
73721 else
73722   echo "$as_me: failed program was:" >&5
73723 sed 's/^/| /' conftest.$ac_ext >&5
73724
73725 eval "$as_ac_var=no"
73726 fi
73727 rm -f conftest.err conftest.$ac_objext \
73728       conftest$ac_exeext conftest.$ac_ext
73729 fi
73730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73732 if test `eval echo '${'$as_ac_var'}'` = yes; then
73733   cat >>confdefs.h <<_ACEOF
73734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73735 _ACEOF
73736
73737 else
73738   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
73739 fi
73740 done
73741
73742
73743
73744 for ac_func in __signbit
73745 do
73746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73747 echo "$as_me:$LINENO: checking for $ac_func" >&5
73748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73749 if eval "test \"\${$as_ac_var+set}\" = set"; then
73750   echo $ECHO_N "(cached) $ECHO_C" >&6
73751 else
73752   if test x$gcc_no_link = xyes; then
73753   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73755    { (exit 1); exit 1; }; }
73756 fi
73757 cat >conftest.$ac_ext <<_ACEOF
73758 /* confdefs.h.  */
73759 _ACEOF
73760 cat confdefs.h >>conftest.$ac_ext
73761 cat >>conftest.$ac_ext <<_ACEOF
73762 /* end confdefs.h.  */
73763 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73764    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73765 #define $ac_func innocuous_$ac_func
73766
73767 /* System header to define __stub macros and hopefully few prototypes,
73768     which can conflict with char $ac_func (); below.
73769     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73770     <limits.h> exists even on freestanding compilers.  */
73771
73772 #ifdef __STDC__
73773 # include <limits.h>
73774 #else
73775 # include <assert.h>
73776 #endif
73777
73778 #undef $ac_func
73779
73780 /* Override any gcc2 internal prototype to avoid an error.  */
73781 #ifdef __cplusplus
73782 extern "C"
73783 {
73784 #endif
73785 /* We use char because int might match the return type of a gcc2
73786    builtin and then its argument prototype would still apply.  */
73787 char $ac_func ();
73788 /* The GNU C library defines this for functions which it implements
73789     to always fail with ENOSYS.  Some functions are actually named
73790     something starting with __ and the normal name is an alias.  */
73791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73792 choke me
73793 #else
73794 char (*f) () = $ac_func;
73795 #endif
73796 #ifdef __cplusplus
73797 }
73798 #endif
73799
73800 int
73801 main ()
73802 {
73803 return f != $ac_func;
73804   ;
73805   return 0;
73806 }
73807 _ACEOF
73808 rm -f conftest.$ac_objext conftest$ac_exeext
73809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73810   (eval $ac_link) 2>conftest.er1
73811   ac_status=$?
73812   grep -v '^ *+' conftest.er1 >conftest.err
73813   rm -f conftest.er1
73814   cat conftest.err >&5
73815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73816   (exit $ac_status); } &&
73817          { ac_try='test -z "$ac_c_werror_flag"
73818                          || test ! -s conftest.err'
73819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73820   (eval $ac_try) 2>&5
73821   ac_status=$?
73822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73823   (exit $ac_status); }; } &&
73824          { ac_try='test -s conftest$ac_exeext'
73825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73826   (eval $ac_try) 2>&5
73827   ac_status=$?
73828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73829   (exit $ac_status); }; }; then
73830   eval "$as_ac_var=yes"
73831 else
73832   echo "$as_me: failed program was:" >&5
73833 sed 's/^/| /' conftest.$ac_ext >&5
73834
73835 eval "$as_ac_var=no"
73836 fi
73837 rm -f conftest.err conftest.$ac_objext \
73838       conftest$ac_exeext conftest.$ac_ext
73839 fi
73840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73841 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73842 if test `eval echo '${'$as_ac_var'}'` = yes; then
73843   cat >>confdefs.h <<_ACEOF
73844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73845 _ACEOF
73846
73847 else
73848   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
73849 fi
73850 done
73851
73852
73853
73854 for ac_func in __signbitf
73855 do
73856 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73857 echo "$as_me:$LINENO: checking for $ac_func" >&5
73858 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73859 if eval "test \"\${$as_ac_var+set}\" = set"; then
73860   echo $ECHO_N "(cached) $ECHO_C" >&6
73861 else
73862   if test x$gcc_no_link = xyes; then
73863   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73865    { (exit 1); exit 1; }; }
73866 fi
73867 cat >conftest.$ac_ext <<_ACEOF
73868 /* confdefs.h.  */
73869 _ACEOF
73870 cat confdefs.h >>conftest.$ac_ext
73871 cat >>conftest.$ac_ext <<_ACEOF
73872 /* end confdefs.h.  */
73873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73874    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73875 #define $ac_func innocuous_$ac_func
73876
73877 /* System header to define __stub macros and hopefully few prototypes,
73878     which can conflict with char $ac_func (); below.
73879     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73880     <limits.h> exists even on freestanding compilers.  */
73881
73882 #ifdef __STDC__
73883 # include <limits.h>
73884 #else
73885 # include <assert.h>
73886 #endif
73887
73888 #undef $ac_func
73889
73890 /* Override any gcc2 internal prototype to avoid an error.  */
73891 #ifdef __cplusplus
73892 extern "C"
73893 {
73894 #endif
73895 /* We use char because int might match the return type of a gcc2
73896    builtin and then its argument prototype would still apply.  */
73897 char $ac_func ();
73898 /* The GNU C library defines this for functions which it implements
73899     to always fail with ENOSYS.  Some functions are actually named
73900     something starting with __ and the normal name is an alias.  */
73901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73902 choke me
73903 #else
73904 char (*f) () = $ac_func;
73905 #endif
73906 #ifdef __cplusplus
73907 }
73908 #endif
73909
73910 int
73911 main ()
73912 {
73913 return f != $ac_func;
73914   ;
73915   return 0;
73916 }
73917 _ACEOF
73918 rm -f conftest.$ac_objext conftest$ac_exeext
73919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73920   (eval $ac_link) 2>conftest.er1
73921   ac_status=$?
73922   grep -v '^ *+' conftest.er1 >conftest.err
73923   rm -f conftest.er1
73924   cat conftest.err >&5
73925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73926   (exit $ac_status); } &&
73927          { ac_try='test -z "$ac_c_werror_flag"
73928                          || test ! -s conftest.err'
73929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73930   (eval $ac_try) 2>&5
73931   ac_status=$?
73932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73933   (exit $ac_status); }; } &&
73934          { ac_try='test -s conftest$ac_exeext'
73935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73936   (eval $ac_try) 2>&5
73937   ac_status=$?
73938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73939   (exit $ac_status); }; }; then
73940   eval "$as_ac_var=yes"
73941 else
73942   echo "$as_me: failed program was:" >&5
73943 sed 's/^/| /' conftest.$ac_ext >&5
73944
73945 eval "$as_ac_var=no"
73946 fi
73947 rm -f conftest.err conftest.$ac_objext \
73948       conftest$ac_exeext conftest.$ac_ext
73949 fi
73950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73952 if test `eval echo '${'$as_ac_var'}'` = yes; then
73953   cat >>confdefs.h <<_ACEOF
73954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73955 _ACEOF
73956
73957 else
73958   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
73959 fi
73960 done
73961
73962
73963           if test x$ac_cv_func_copysignl = x"yes"; then
73964
73965 for ac_func in __signbitl
73966 do
73967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73968 echo "$as_me:$LINENO: checking for $ac_func" >&5
73969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73970 if eval "test \"\${$as_ac_var+set}\" = set"; then
73971   echo $ECHO_N "(cached) $ECHO_C" >&6
73972 else
73973   if test x$gcc_no_link = xyes; then
73974   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73976    { (exit 1); exit 1; }; }
73977 fi
73978 cat >conftest.$ac_ext <<_ACEOF
73979 /* confdefs.h.  */
73980 _ACEOF
73981 cat confdefs.h >>conftest.$ac_ext
73982 cat >>conftest.$ac_ext <<_ACEOF
73983 /* end confdefs.h.  */
73984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73985    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73986 #define $ac_func innocuous_$ac_func
73987
73988 /* System header to define __stub macros and hopefully few prototypes,
73989     which can conflict with char $ac_func (); below.
73990     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73991     <limits.h> exists even on freestanding compilers.  */
73992
73993 #ifdef __STDC__
73994 # include <limits.h>
73995 #else
73996 # include <assert.h>
73997 #endif
73998
73999 #undef $ac_func
74000
74001 /* Override any gcc2 internal prototype to avoid an error.  */
74002 #ifdef __cplusplus
74003 extern "C"
74004 {
74005 #endif
74006 /* We use char because int might match the return type of a gcc2
74007    builtin and then its argument prototype would still apply.  */
74008 char $ac_func ();
74009 /* The GNU C library defines this for functions which it implements
74010     to always fail with ENOSYS.  Some functions are actually named
74011     something starting with __ and the normal name is an alias.  */
74012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74013 choke me
74014 #else
74015 char (*f) () = $ac_func;
74016 #endif
74017 #ifdef __cplusplus
74018 }
74019 #endif
74020
74021 int
74022 main ()
74023 {
74024 return f != $ac_func;
74025   ;
74026   return 0;
74027 }
74028 _ACEOF
74029 rm -f conftest.$ac_objext conftest$ac_exeext
74030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74031   (eval $ac_link) 2>conftest.er1
74032   ac_status=$?
74033   grep -v '^ *+' conftest.er1 >conftest.err
74034   rm -f conftest.er1
74035   cat conftest.err >&5
74036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74037   (exit $ac_status); } &&
74038          { ac_try='test -z "$ac_c_werror_flag"
74039                          || test ! -s conftest.err'
74040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74041   (eval $ac_try) 2>&5
74042   ac_status=$?
74043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74044   (exit $ac_status); }; } &&
74045          { ac_try='test -s conftest$ac_exeext'
74046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74047   (eval $ac_try) 2>&5
74048   ac_status=$?
74049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74050   (exit $ac_status); }; }; then
74051   eval "$as_ac_var=yes"
74052 else
74053   echo "$as_me: failed program was:" >&5
74054 sed 's/^/| /' conftest.$ac_ext >&5
74055
74056 eval "$as_ac_var=no"
74057 fi
74058 rm -f conftest.err conftest.$ac_objext \
74059       conftest$ac_exeext conftest.$ac_ext
74060 fi
74061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74063 if test `eval echo '${'$as_ac_var'}'` = yes; then
74064   cat >>confdefs.h <<_ACEOF
74065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74066 _ACEOF
74067
74068 else
74069   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
74070 fi
74071 done
74072
74073   fi
74074
74075   # Used in libmath/Makefile.am.
74076   if test -n "$LIBMATHOBJS"; then
74077     need_libmath=yes
74078   fi
74079
74080
74081
74082
74083   enable_iconv=no
74084   # Only continue checking if the ISO C99 headers exist and support is on.
74085   if test x"$enable_wchar_t" = xyes; then
74086
74087     # Use iconv for wchar_t to char conversions. As such, check for
74088     # X/Open Portability Guide, version 2 features (XPG2).
74089     if test "${ac_cv_header_iconv_h+set}" = set; then
74090   echo "$as_me:$LINENO: checking for iconv.h" >&5
74091 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74092 if test "${ac_cv_header_iconv_h+set}" = set; then
74093   echo $ECHO_N "(cached) $ECHO_C" >&6
74094 fi
74095 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74096 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74097 else
74098   # Is the header compilable?
74099 echo "$as_me:$LINENO: checking iconv.h usability" >&5
74100 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
74101 cat >conftest.$ac_ext <<_ACEOF
74102 /* confdefs.h.  */
74103 _ACEOF
74104 cat confdefs.h >>conftest.$ac_ext
74105 cat >>conftest.$ac_ext <<_ACEOF
74106 /* end confdefs.h.  */
74107 $ac_includes_default
74108 #include <iconv.h>
74109 _ACEOF
74110 rm -f conftest.$ac_objext
74111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74112   (eval $ac_compile) 2>conftest.er1
74113   ac_status=$?
74114   grep -v '^ *+' conftest.er1 >conftest.err
74115   rm -f conftest.er1
74116   cat conftest.err >&5
74117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74118   (exit $ac_status); } &&
74119          { ac_try='test -z "$ac_c_werror_flag"
74120                          || test ! -s conftest.err'
74121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74122   (eval $ac_try) 2>&5
74123   ac_status=$?
74124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74125   (exit $ac_status); }; } &&
74126          { ac_try='test -s conftest.$ac_objext'
74127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74128   (eval $ac_try) 2>&5
74129   ac_status=$?
74130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74131   (exit $ac_status); }; }; then
74132   ac_header_compiler=yes
74133 else
74134   echo "$as_me: failed program was:" >&5
74135 sed 's/^/| /' conftest.$ac_ext >&5
74136
74137 ac_header_compiler=no
74138 fi
74139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74140 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74141 echo "${ECHO_T}$ac_header_compiler" >&6
74142
74143 # Is the header present?
74144 echo "$as_me:$LINENO: checking iconv.h presence" >&5
74145 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
74146 cat >conftest.$ac_ext <<_ACEOF
74147 /* confdefs.h.  */
74148 _ACEOF
74149 cat confdefs.h >>conftest.$ac_ext
74150 cat >>conftest.$ac_ext <<_ACEOF
74151 /* end confdefs.h.  */
74152 #include <iconv.h>
74153 _ACEOF
74154 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74155   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74156   ac_status=$?
74157   grep -v '^ *+' conftest.er1 >conftest.err
74158   rm -f conftest.er1
74159   cat conftest.err >&5
74160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74161   (exit $ac_status); } >/dev/null; then
74162   if test -s conftest.err; then
74163     ac_cpp_err=$ac_c_preproc_warn_flag
74164     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74165   else
74166     ac_cpp_err=
74167   fi
74168 else
74169   ac_cpp_err=yes
74170 fi
74171 if test -z "$ac_cpp_err"; then
74172   ac_header_preproc=yes
74173 else
74174   echo "$as_me: failed program was:" >&5
74175 sed 's/^/| /' conftest.$ac_ext >&5
74176
74177   ac_header_preproc=no
74178 fi
74179 rm -f conftest.err conftest.$ac_ext
74180 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74181 echo "${ECHO_T}$ac_header_preproc" >&6
74182
74183 # So?  What about this header?
74184 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74185   yes:no: )
74186     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
74187 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74188     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
74189 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
74190     ac_header_preproc=yes
74191     ;;
74192   no:yes:* )
74193     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
74194 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
74195     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
74196 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
74197     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
74198 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
74199     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
74200 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
74201     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
74202 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
74203     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
74204 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
74205     (
74206       cat <<\_ASBOX
74207 ## ----------------------------------------- ##
74208 ## Report this to the package-unused lists.  ##
74209 ## ----------------------------------------- ##
74210 _ASBOX
74211     ) |
74212       sed "s/^/$as_me: WARNING:     /" >&2
74213     ;;
74214 esac
74215 echo "$as_me:$LINENO: checking for iconv.h" >&5
74216 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74217 if test "${ac_cv_header_iconv_h+set}" = set; then
74218   echo $ECHO_N "(cached) $ECHO_C" >&6
74219 else
74220   ac_cv_header_iconv_h=$ac_header_preproc
74221 fi
74222 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74223 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74224
74225 fi
74226 if test $ac_cv_header_iconv_h = yes; then
74227   ac_has_iconv_h=yes
74228 else
74229   ac_has_iconv_h=no
74230 fi
74231
74232
74233     if test "${ac_cv_header_langinfo_h+set}" = set; then
74234   echo "$as_me:$LINENO: checking for langinfo.h" >&5
74235 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74236 if test "${ac_cv_header_langinfo_h+set}" = set; then
74237   echo $ECHO_N "(cached) $ECHO_C" >&6
74238 fi
74239 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74240 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74241 else
74242   # Is the header compilable?
74243 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
74244 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
74245 cat >conftest.$ac_ext <<_ACEOF
74246 /* confdefs.h.  */
74247 _ACEOF
74248 cat confdefs.h >>conftest.$ac_ext
74249 cat >>conftest.$ac_ext <<_ACEOF
74250 /* end confdefs.h.  */
74251 $ac_includes_default
74252 #include <langinfo.h>
74253 _ACEOF
74254 rm -f conftest.$ac_objext
74255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74256   (eval $ac_compile) 2>conftest.er1
74257   ac_status=$?
74258   grep -v '^ *+' conftest.er1 >conftest.err
74259   rm -f conftest.er1
74260   cat conftest.err >&5
74261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74262   (exit $ac_status); } &&
74263          { ac_try='test -z "$ac_c_werror_flag"
74264                          || test ! -s conftest.err'
74265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74266   (eval $ac_try) 2>&5
74267   ac_status=$?
74268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74269   (exit $ac_status); }; } &&
74270          { ac_try='test -s conftest.$ac_objext'
74271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74272   (eval $ac_try) 2>&5
74273   ac_status=$?
74274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74275   (exit $ac_status); }; }; then
74276   ac_header_compiler=yes
74277 else
74278   echo "$as_me: failed program was:" >&5
74279 sed 's/^/| /' conftest.$ac_ext >&5
74280
74281 ac_header_compiler=no
74282 fi
74283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74284 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74285 echo "${ECHO_T}$ac_header_compiler" >&6
74286
74287 # Is the header present?
74288 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
74289 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
74290 cat >conftest.$ac_ext <<_ACEOF
74291 /* confdefs.h.  */
74292 _ACEOF
74293 cat confdefs.h >>conftest.$ac_ext
74294 cat >>conftest.$ac_ext <<_ACEOF
74295 /* end confdefs.h.  */
74296 #include <langinfo.h>
74297 _ACEOF
74298 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74299   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74300   ac_status=$?
74301   grep -v '^ *+' conftest.er1 >conftest.err
74302   rm -f conftest.er1
74303   cat conftest.err >&5
74304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74305   (exit $ac_status); } >/dev/null; then
74306   if test -s conftest.err; then
74307     ac_cpp_err=$ac_c_preproc_warn_flag
74308     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74309   else
74310     ac_cpp_err=
74311   fi
74312 else
74313   ac_cpp_err=yes
74314 fi
74315 if test -z "$ac_cpp_err"; then
74316   ac_header_preproc=yes
74317 else
74318   echo "$as_me: failed program was:" >&5
74319 sed 's/^/| /' conftest.$ac_ext >&5
74320
74321   ac_header_preproc=no
74322 fi
74323 rm -f conftest.err conftest.$ac_ext
74324 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74325 echo "${ECHO_T}$ac_header_preproc" >&6
74326
74327 # So?  What about this header?
74328 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74329   yes:no: )
74330     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
74331 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74332     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
74333 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
74334     ac_header_preproc=yes
74335     ;;
74336   no:yes:* )
74337     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
74338 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
74339     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
74340 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
74341     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
74342 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
74343     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
74344 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
74345     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
74346 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
74347     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
74348 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
74349     (
74350       cat <<\_ASBOX
74351 ## ----------------------------------------- ##
74352 ## Report this to the package-unused lists.  ##
74353 ## ----------------------------------------- ##
74354 _ASBOX
74355     ) |
74356       sed "s/^/$as_me: WARNING:     /" >&2
74357     ;;
74358 esac
74359 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74360 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74361 if test "${ac_cv_header_langinfo_h+set}" = set; then
74362   echo $ECHO_N "(cached) $ECHO_C" >&6
74363 else
74364   ac_cv_header_langinfo_h=$ac_header_preproc
74365 fi
74366 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74367 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74368
74369 fi
74370 if test $ac_cv_header_langinfo_h = yes; then
74371   ac_has_langinfo_h=yes
74372 else
74373   ac_has_langinfo_h=no
74374 fi
74375
74376
74377
74378     # Check for existence of libiconv.a providing XPG2 wchar_t support.
74379     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
74380 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
74381 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
74382   echo $ECHO_N "(cached) $ECHO_C" >&6
74383 else
74384   ac_check_lib_save_LIBS=$LIBS
74385 LIBS="-liconv  $LIBS"
74386 if test x$gcc_no_link = xyes; then
74387   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74389    { (exit 1); exit 1; }; }
74390 fi
74391 cat >conftest.$ac_ext <<_ACEOF
74392 /* confdefs.h.  */
74393 _ACEOF
74394 cat confdefs.h >>conftest.$ac_ext
74395 cat >>conftest.$ac_ext <<_ACEOF
74396 /* end confdefs.h.  */
74397
74398 /* Override any gcc2 internal prototype to avoid an error.  */
74399 #ifdef __cplusplus
74400 extern "C"
74401 #endif
74402 /* We use char because int might match the return type of a gcc2
74403    builtin and then its argument prototype would still apply.  */
74404 char iconv ();
74405 int
74406 main ()
74407 {
74408 iconv ();
74409   ;
74410   return 0;
74411 }
74412 _ACEOF
74413 rm -f conftest.$ac_objext conftest$ac_exeext
74414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74415   (eval $ac_link) 2>conftest.er1
74416   ac_status=$?
74417   grep -v '^ *+' conftest.er1 >conftest.err
74418   rm -f conftest.er1
74419   cat conftest.err >&5
74420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74421   (exit $ac_status); } &&
74422          { ac_try='test -z "$ac_c_werror_flag"
74423                          || test ! -s conftest.err'
74424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74425   (eval $ac_try) 2>&5
74426   ac_status=$?
74427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74428   (exit $ac_status); }; } &&
74429          { ac_try='test -s conftest$ac_exeext'
74430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74431   (eval $ac_try) 2>&5
74432   ac_status=$?
74433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74434   (exit $ac_status); }; }; then
74435   ac_cv_lib_iconv_iconv=yes
74436 else
74437   echo "$as_me: failed program was:" >&5
74438 sed 's/^/| /' conftest.$ac_ext >&5
74439
74440 ac_cv_lib_iconv_iconv=no
74441 fi
74442 rm -f conftest.err conftest.$ac_objext \
74443       conftest$ac_exeext conftest.$ac_ext
74444 LIBS=$ac_check_lib_save_LIBS
74445 fi
74446 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
74447 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
74448 if test $ac_cv_lib_iconv_iconv = yes; then
74449   LIBICONV="-liconv"
74450 fi
74451
74452     ac_save_LIBS="$LIBS"
74453     LIBS="$LIBS $LIBICONV"
74454
74455
74456
74457
74458
74459
74460 for ac_func in iconv_open iconv_close iconv nl_langinfo
74461 do
74462 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74463 echo "$as_me:$LINENO: checking for $ac_func" >&5
74464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74465 if eval "test \"\${$as_ac_var+set}\" = set"; then
74466   echo $ECHO_N "(cached) $ECHO_C" >&6
74467 else
74468   if test x$gcc_no_link = xyes; then
74469   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74471    { (exit 1); exit 1; }; }
74472 fi
74473 cat >conftest.$ac_ext <<_ACEOF
74474 /* confdefs.h.  */
74475 _ACEOF
74476 cat confdefs.h >>conftest.$ac_ext
74477 cat >>conftest.$ac_ext <<_ACEOF
74478 /* end confdefs.h.  */
74479 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74480    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74481 #define $ac_func innocuous_$ac_func
74482
74483 /* System header to define __stub macros and hopefully few prototypes,
74484     which can conflict with char $ac_func (); below.
74485     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74486     <limits.h> exists even on freestanding compilers.  */
74487
74488 #ifdef __STDC__
74489 # include <limits.h>
74490 #else
74491 # include <assert.h>
74492 #endif
74493
74494 #undef $ac_func
74495
74496 /* Override any gcc2 internal prototype to avoid an error.  */
74497 #ifdef __cplusplus
74498 extern "C"
74499 {
74500 #endif
74501 /* We use char because int might match the return type of a gcc2
74502    builtin and then its argument prototype would still apply.  */
74503 char $ac_func ();
74504 /* The GNU C library defines this for functions which it implements
74505     to always fail with ENOSYS.  Some functions are actually named
74506     something starting with __ and the normal name is an alias.  */
74507 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74508 choke me
74509 #else
74510 char (*f) () = $ac_func;
74511 #endif
74512 #ifdef __cplusplus
74513 }
74514 #endif
74515
74516 int
74517 main ()
74518 {
74519 return f != $ac_func;
74520   ;
74521   return 0;
74522 }
74523 _ACEOF
74524 rm -f conftest.$ac_objext conftest$ac_exeext
74525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74526   (eval $ac_link) 2>conftest.er1
74527   ac_status=$?
74528   grep -v '^ *+' conftest.er1 >conftest.err
74529   rm -f conftest.er1
74530   cat conftest.err >&5
74531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74532   (exit $ac_status); } &&
74533          { ac_try='test -z "$ac_c_werror_flag"
74534                          || test ! -s conftest.err'
74535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74536   (eval $ac_try) 2>&5
74537   ac_status=$?
74538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74539   (exit $ac_status); }; } &&
74540          { ac_try='test -s conftest$ac_exeext'
74541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74542   (eval $ac_try) 2>&5
74543   ac_status=$?
74544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74545   (exit $ac_status); }; }; then
74546   eval "$as_ac_var=yes"
74547 else
74548   echo "$as_me: failed program was:" >&5
74549 sed 's/^/| /' conftest.$ac_ext >&5
74550
74551 eval "$as_ac_var=no"
74552 fi
74553 rm -f conftest.err conftest.$ac_objext \
74554       conftest$ac_exeext conftest.$ac_ext
74555 fi
74556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74557 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74558 if test `eval echo '${'$as_ac_var'}'` = yes; then
74559   cat >>confdefs.h <<_ACEOF
74560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74561 _ACEOF
74562  ac_XPG2funcs=yes
74563 else
74564   ac_XPG2funcs=no
74565 fi
74566 done
74567
74568
74569     LIBS="$ac_save_LIBS"
74570
74571     if test x"$ac_has_iconv_h" = xyes &&
74572        test x"$ac_has_langinfo_h" = xyes &&
74573        test x"$ac_XPG2funcs" = xyes;
74574     then
74575
74576 cat >>confdefs.h <<\_ACEOF
74577 #define _GLIBCXX_USE_ICONV 1
74578 _ACEOF
74579
74580       enable_iconv=yes
74581     fi
74582   fi
74583   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
74584 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
74585   echo "$as_me:$LINENO: result: $enable_iconv" >&5
74586 echo "${ECHO_T}$enable_iconv" >&6
74587
74588
74589   ac_test_CXXFLAGS="${CXXFLAGS+set}"
74590   ac_save_CXXFLAGS="$CXXFLAGS"
74591   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
74592
74593
74594   echo "$as_me:$LINENO: checking for strtold declaration" >&5
74595 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
74596   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
74597     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
74598   echo $ECHO_N "(cached) $ECHO_C" >&6
74599 else
74600
74601
74602
74603       ac_ext=cc
74604 ac_cpp='$CXXCPP $CPPFLAGS'
74605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74608
74609       cat >conftest.$ac_ext <<_ACEOF
74610 /* confdefs.h.  */
74611 _ACEOF
74612 cat confdefs.h >>conftest.$ac_ext
74613 cat >>conftest.$ac_ext <<_ACEOF
74614 /* end confdefs.h.  */
74615 #include <stdlib.h>
74616 int
74617 main ()
74618 {
74619  strtold(0, 0);
74620   ;
74621   return 0;
74622 }
74623 _ACEOF
74624 rm -f conftest.$ac_objext
74625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74626   (eval $ac_compile) 2>conftest.er1
74627   ac_status=$?
74628   grep -v '^ *+' conftest.er1 >conftest.err
74629   rm -f conftest.er1
74630   cat conftest.err >&5
74631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74632   (exit $ac_status); } &&
74633          { ac_try='test -z "$ac_cxx_werror_flag"
74634                          || test ! -s conftest.err'
74635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74636   (eval $ac_try) 2>&5
74637   ac_status=$?
74638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74639   (exit $ac_status); }; } &&
74640          { ac_try='test -s conftest.$ac_objext'
74641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74642   (eval $ac_try) 2>&5
74643   ac_status=$?
74644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74645   (exit $ac_status); }; }; then
74646   glibcxx_cv_func_strtold_use=yes
74647 else
74648   echo "$as_me: failed program was:" >&5
74649 sed 's/^/| /' conftest.$ac_ext >&5
74650
74651 glibcxx_cv_func_strtold_use=no
74652 fi
74653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74654       ac_ext=c
74655 ac_cpp='$CPP $CPPFLAGS'
74656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74659
74660
74661 fi
74662
74663   fi
74664   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
74665 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
74666   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
74667
74668 for ac_func in strtold
74669 do
74670 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74671 echo "$as_me:$LINENO: checking for $ac_func" >&5
74672 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74673 if eval "test \"\${$as_ac_var+set}\" = set"; then
74674   echo $ECHO_N "(cached) $ECHO_C" >&6
74675 else
74676   if test x$gcc_no_link = xyes; then
74677   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74679    { (exit 1); exit 1; }; }
74680 fi
74681 cat >conftest.$ac_ext <<_ACEOF
74682 /* confdefs.h.  */
74683 _ACEOF
74684 cat confdefs.h >>conftest.$ac_ext
74685 cat >>conftest.$ac_ext <<_ACEOF
74686 /* end confdefs.h.  */
74687 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74688    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74689 #define $ac_func innocuous_$ac_func
74690
74691 /* System header to define __stub macros and hopefully few prototypes,
74692     which can conflict with char $ac_func (); below.
74693     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74694     <limits.h> exists even on freestanding compilers.  */
74695
74696 #ifdef __STDC__
74697 # include <limits.h>
74698 #else
74699 # include <assert.h>
74700 #endif
74701
74702 #undef $ac_func
74703
74704 /* Override any gcc2 internal prototype to avoid an error.  */
74705 #ifdef __cplusplus
74706 extern "C"
74707 {
74708 #endif
74709 /* We use char because int might match the return type of a gcc2
74710    builtin and then its argument prototype would still apply.  */
74711 char $ac_func ();
74712 /* The GNU C library defines this for functions which it implements
74713     to always fail with ENOSYS.  Some functions are actually named
74714     something starting with __ and the normal name is an alias.  */
74715 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74716 choke me
74717 #else
74718 char (*f) () = $ac_func;
74719 #endif
74720 #ifdef __cplusplus
74721 }
74722 #endif
74723
74724 int
74725 main ()
74726 {
74727 return f != $ac_func;
74728   ;
74729   return 0;
74730 }
74731 _ACEOF
74732 rm -f conftest.$ac_objext conftest$ac_exeext
74733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74734   (eval $ac_link) 2>conftest.er1
74735   ac_status=$?
74736   grep -v '^ *+' conftest.er1 >conftest.err
74737   rm -f conftest.er1
74738   cat conftest.err >&5
74739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74740   (exit $ac_status); } &&
74741          { ac_try='test -z "$ac_c_werror_flag"
74742                          || test ! -s conftest.err'
74743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74744   (eval $ac_try) 2>&5
74745   ac_status=$?
74746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74747   (exit $ac_status); }; } &&
74748          { ac_try='test -s conftest$ac_exeext'
74749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74750   (eval $ac_try) 2>&5
74751   ac_status=$?
74752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74753   (exit $ac_status); }; }; then
74754   eval "$as_ac_var=yes"
74755 else
74756   echo "$as_me: failed program was:" >&5
74757 sed 's/^/| /' conftest.$ac_ext >&5
74758
74759 eval "$as_ac_var=no"
74760 fi
74761 rm -f conftest.err conftest.$ac_objext \
74762       conftest$ac_exeext conftest.$ac_ext
74763 fi
74764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74765 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74766 if test `eval echo '${'$as_ac_var'}'` = yes; then
74767   cat >>confdefs.h <<_ACEOF
74768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74769 _ACEOF
74770
74771 fi
74772 done
74773
74774   fi
74775
74776
74777
74778
74779
74780   echo "$as_me:$LINENO: checking for strtof declaration" >&5
74781 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
74782   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
74783     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
74784   echo $ECHO_N "(cached) $ECHO_C" >&6
74785 else
74786
74787
74788
74789       ac_ext=cc
74790 ac_cpp='$CXXCPP $CPPFLAGS'
74791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74794
74795       cat >conftest.$ac_ext <<_ACEOF
74796 /* confdefs.h.  */
74797 _ACEOF
74798 cat confdefs.h >>conftest.$ac_ext
74799 cat >>conftest.$ac_ext <<_ACEOF
74800 /* end confdefs.h.  */
74801 #include <stdlib.h>
74802 int
74803 main ()
74804 {
74805  strtof(0, 0);
74806   ;
74807   return 0;
74808 }
74809 _ACEOF
74810 rm -f conftest.$ac_objext
74811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74812   (eval $ac_compile) 2>conftest.er1
74813   ac_status=$?
74814   grep -v '^ *+' conftest.er1 >conftest.err
74815   rm -f conftest.er1
74816   cat conftest.err >&5
74817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74818   (exit $ac_status); } &&
74819          { ac_try='test -z "$ac_cxx_werror_flag"
74820                          || test ! -s conftest.err'
74821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74822   (eval $ac_try) 2>&5
74823   ac_status=$?
74824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74825   (exit $ac_status); }; } &&
74826          { ac_try='test -s conftest.$ac_objext'
74827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74828   (eval $ac_try) 2>&5
74829   ac_status=$?
74830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74831   (exit $ac_status); }; }; then
74832   glibcxx_cv_func_strtof_use=yes
74833 else
74834   echo "$as_me: failed program was:" >&5
74835 sed 's/^/| /' conftest.$ac_ext >&5
74836
74837 glibcxx_cv_func_strtof_use=no
74838 fi
74839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74840       ac_ext=c
74841 ac_cpp='$CPP $CPPFLAGS'
74842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74845
74846
74847 fi
74848
74849   fi
74850   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
74851 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
74852   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
74853
74854 for ac_func in strtof
74855 do
74856 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74857 echo "$as_me:$LINENO: checking for $ac_func" >&5
74858 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74859 if eval "test \"\${$as_ac_var+set}\" = set"; then
74860   echo $ECHO_N "(cached) $ECHO_C" >&6
74861 else
74862   if test x$gcc_no_link = xyes; then
74863   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74865    { (exit 1); exit 1; }; }
74866 fi
74867 cat >conftest.$ac_ext <<_ACEOF
74868 /* confdefs.h.  */
74869 _ACEOF
74870 cat confdefs.h >>conftest.$ac_ext
74871 cat >>conftest.$ac_ext <<_ACEOF
74872 /* end confdefs.h.  */
74873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74874    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74875 #define $ac_func innocuous_$ac_func
74876
74877 /* System header to define __stub macros and hopefully few prototypes,
74878     which can conflict with char $ac_func (); below.
74879     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74880     <limits.h> exists even on freestanding compilers.  */
74881
74882 #ifdef __STDC__
74883 # include <limits.h>
74884 #else
74885 # include <assert.h>
74886 #endif
74887
74888 #undef $ac_func
74889
74890 /* Override any gcc2 internal prototype to avoid an error.  */
74891 #ifdef __cplusplus
74892 extern "C"
74893 {
74894 #endif
74895 /* We use char because int might match the return type of a gcc2
74896    builtin and then its argument prototype would still apply.  */
74897 char $ac_func ();
74898 /* The GNU C library defines this for functions which it implements
74899     to always fail with ENOSYS.  Some functions are actually named
74900     something starting with __ and the normal name is an alias.  */
74901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74902 choke me
74903 #else
74904 char (*f) () = $ac_func;
74905 #endif
74906 #ifdef __cplusplus
74907 }
74908 #endif
74909
74910 int
74911 main ()
74912 {
74913 return f != $ac_func;
74914   ;
74915   return 0;
74916 }
74917 _ACEOF
74918 rm -f conftest.$ac_objext conftest$ac_exeext
74919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74920   (eval $ac_link) 2>conftest.er1
74921   ac_status=$?
74922   grep -v '^ *+' conftest.er1 >conftest.err
74923   rm -f conftest.er1
74924   cat conftest.err >&5
74925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74926   (exit $ac_status); } &&
74927          { ac_try='test -z "$ac_c_werror_flag"
74928                          || test ! -s conftest.err'
74929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74930   (eval $ac_try) 2>&5
74931   ac_status=$?
74932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74933   (exit $ac_status); }; } &&
74934          { ac_try='test -s conftest$ac_exeext'
74935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74936   (eval $ac_try) 2>&5
74937   ac_status=$?
74938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74939   (exit $ac_status); }; }; then
74940   eval "$as_ac_var=yes"
74941 else
74942   echo "$as_me: failed program was:" >&5
74943 sed 's/^/| /' conftest.$ac_ext >&5
74944
74945 eval "$as_ac_var=no"
74946 fi
74947 rm -f conftest.err conftest.$ac_objext \
74948       conftest$ac_exeext conftest.$ac_ext
74949 fi
74950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74952 if test `eval echo '${'$as_ac_var'}'` = yes; then
74953   cat >>confdefs.h <<_ACEOF
74954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74955 _ACEOF
74956
74957 fi
74958 done
74959
74960   fi
74961
74962
74963
74964
74965
74966   CXXFLAGS="$ac_save_CXXFLAGS"
74967
74968
74969   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
74970 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
74971   if test "${glibcxx_cv_S_ISREG+set}" = set; then
74972   echo $ECHO_N "(cached) $ECHO_C" >&6
74973 else
74974
74975     if test x$gcc_no_link = xyes; then
74976   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74977 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74978    { (exit 1); exit 1; }; }
74979 fi
74980 cat >conftest.$ac_ext <<_ACEOF
74981 /* confdefs.h.  */
74982 _ACEOF
74983 cat confdefs.h >>conftest.$ac_ext
74984 cat >>conftest.$ac_ext <<_ACEOF
74985 /* end confdefs.h.  */
74986 #include <sys/stat.h>
74987 int
74988 main ()
74989 {
74990 struct stat buffer;
74991        fstat(0, &buffer);
74992        S_ISREG(buffer.st_mode);
74993   ;
74994   return 0;
74995 }
74996 _ACEOF
74997 rm -f conftest.$ac_objext conftest$ac_exeext
74998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74999   (eval $ac_link) 2>conftest.er1
75000   ac_status=$?
75001   grep -v '^ *+' conftest.er1 >conftest.err
75002   rm -f conftest.er1
75003   cat conftest.err >&5
75004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75005   (exit $ac_status); } &&
75006          { ac_try='test -z "$ac_c_werror_flag"
75007                          || test ! -s conftest.err'
75008   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75009   (eval $ac_try) 2>&5
75010   ac_status=$?
75011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75012   (exit $ac_status); }; } &&
75013          { ac_try='test -s conftest$ac_exeext'
75014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75015   (eval $ac_try) 2>&5
75016   ac_status=$?
75017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75018   (exit $ac_status); }; }; then
75019   glibcxx_cv_S_ISREG=yes
75020 else
75021   echo "$as_me: failed program was:" >&5
75022 sed 's/^/| /' conftest.$ac_ext >&5
75023
75024 glibcxx_cv_S_ISREG=no
75025 fi
75026 rm -f conftest.err conftest.$ac_objext \
75027       conftest$ac_exeext conftest.$ac_ext
75028
75029 fi
75030
75031   if test "${glibcxx_cv_S_IFREG+set}" = set; then
75032   echo $ECHO_N "(cached) $ECHO_C" >&6
75033 else
75034
75035     if test x$gcc_no_link = xyes; then
75036   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75038    { (exit 1); exit 1; }; }
75039 fi
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 #include <sys/stat.h>
75047 int
75048 main ()
75049 {
75050 struct stat buffer;
75051        fstat(0, &buffer);
75052        S_IFREG & buffer.st_mode;
75053   ;
75054   return 0;
75055 }
75056 _ACEOF
75057 rm -f conftest.$ac_objext conftest$ac_exeext
75058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75059   (eval $ac_link) 2>conftest.er1
75060   ac_status=$?
75061   grep -v '^ *+' conftest.er1 >conftest.err
75062   rm -f conftest.er1
75063   cat conftest.err >&5
75064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75065   (exit $ac_status); } &&
75066          { ac_try='test -z "$ac_c_werror_flag"
75067                          || test ! -s conftest.err'
75068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75069   (eval $ac_try) 2>&5
75070   ac_status=$?
75071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75072   (exit $ac_status); }; } &&
75073          { ac_try='test -s conftest$ac_exeext'
75074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75075   (eval $ac_try) 2>&5
75076   ac_status=$?
75077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75078   (exit $ac_status); }; }; then
75079   glibcxx_cv_S_IFREG=yes
75080 else
75081   echo "$as_me: failed program was:" >&5
75082 sed 's/^/| /' conftest.$ac_ext >&5
75083
75084 glibcxx_cv_S_IFREG=no
75085 fi
75086 rm -f conftest.err conftest.$ac_objext \
75087       conftest$ac_exeext conftest.$ac_ext
75088
75089 fi
75090
75091   res=no
75092   if test $glibcxx_cv_S_ISREG = yes; then
75093
75094 cat >>confdefs.h <<\_ACEOF
75095 #define HAVE_S_ISREG 1
75096 _ACEOF
75097
75098     res=S_ISREG
75099   elif test $glibcxx_cv_S_IFREG = yes; then
75100
75101 cat >>confdefs.h <<\_ACEOF
75102 #define HAVE_S_IFREG 1
75103 _ACEOF
75104
75105     res=S_IFREG
75106   fi
75107   echo "$as_me:$LINENO: result: $res" >&5
75108 echo "${ECHO_T}$res" >&6
75109
75110     cat >>confdefs.h <<\_ACEOF
75111 #define HAVE_WRITEV 1
75112 _ACEOF
75113
75114     ;;
75115
75116   *-freebsd*)
75117
75118
75119
75120
75121
75122
75123
75124
75125
75126
75127
75128
75129
75130
75131
75132
75133 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
75134       machine/endian.h machine/param.h sys/machine.h sys/types.h \
75135       fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
75136       sys/time.h unistd.h
75137 do
75138 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75140   echo "$as_me:$LINENO: checking for $ac_header" >&5
75141 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75142 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75143   echo $ECHO_N "(cached) $ECHO_C" >&6
75144 fi
75145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75146 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75147 else
75148   # Is the header compilable?
75149 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75150 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75151 cat >conftest.$ac_ext <<_ACEOF
75152 /* confdefs.h.  */
75153 _ACEOF
75154 cat confdefs.h >>conftest.$ac_ext
75155 cat >>conftest.$ac_ext <<_ACEOF
75156 /* end confdefs.h.  */
75157 $ac_includes_default
75158 #include <$ac_header>
75159 _ACEOF
75160 rm -f conftest.$ac_objext
75161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75162   (eval $ac_compile) 2>conftest.er1
75163   ac_status=$?
75164   grep -v '^ *+' conftest.er1 >conftest.err
75165   rm -f conftest.er1
75166   cat conftest.err >&5
75167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75168   (exit $ac_status); } &&
75169          { ac_try='test -z "$ac_c_werror_flag"
75170                          || test ! -s conftest.err'
75171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75172   (eval $ac_try) 2>&5
75173   ac_status=$?
75174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75175   (exit $ac_status); }; } &&
75176          { ac_try='test -s conftest.$ac_objext'
75177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75178   (eval $ac_try) 2>&5
75179   ac_status=$?
75180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75181   (exit $ac_status); }; }; then
75182   ac_header_compiler=yes
75183 else
75184   echo "$as_me: failed program was:" >&5
75185 sed 's/^/| /' conftest.$ac_ext >&5
75186
75187 ac_header_compiler=no
75188 fi
75189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75190 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75191 echo "${ECHO_T}$ac_header_compiler" >&6
75192
75193 # Is the header present?
75194 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75195 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75196 cat >conftest.$ac_ext <<_ACEOF
75197 /* confdefs.h.  */
75198 _ACEOF
75199 cat confdefs.h >>conftest.$ac_ext
75200 cat >>conftest.$ac_ext <<_ACEOF
75201 /* end confdefs.h.  */
75202 #include <$ac_header>
75203 _ACEOF
75204 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75205   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75206   ac_status=$?
75207   grep -v '^ *+' conftest.er1 >conftest.err
75208   rm -f conftest.er1
75209   cat conftest.err >&5
75210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75211   (exit $ac_status); } >/dev/null; then
75212   if test -s conftest.err; then
75213     ac_cpp_err=$ac_c_preproc_warn_flag
75214     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75215   else
75216     ac_cpp_err=
75217   fi
75218 else
75219   ac_cpp_err=yes
75220 fi
75221 if test -z "$ac_cpp_err"; then
75222   ac_header_preproc=yes
75223 else
75224   echo "$as_me: failed program was:" >&5
75225 sed 's/^/| /' conftest.$ac_ext >&5
75226
75227   ac_header_preproc=no
75228 fi
75229 rm -f conftest.err conftest.$ac_ext
75230 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75231 echo "${ECHO_T}$ac_header_preproc" >&6
75232
75233 # So?  What about this header?
75234 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75235   yes:no: )
75236     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75237 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75238     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75239 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75240     ac_header_preproc=yes
75241     ;;
75242   no:yes:* )
75243     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75244 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75245     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
75246 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
75247     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75248 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75249     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
75250 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
75251     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75252 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75253     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75254 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75255     (
75256       cat <<\_ASBOX
75257 ## ----------------------------------------- ##
75258 ## Report this to the package-unused lists.  ##
75259 ## ----------------------------------------- ##
75260 _ASBOX
75261     ) |
75262       sed "s/^/$as_me: WARNING:     /" >&2
75263     ;;
75264 esac
75265 echo "$as_me:$LINENO: checking for $ac_header" >&5
75266 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75267 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75268   echo $ECHO_N "(cached) $ECHO_C" >&6
75269 else
75270   eval "$as_ac_Header=\$ac_header_preproc"
75271 fi
75272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75273 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75274
75275 fi
75276 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75277   cat >>confdefs.h <<_ACEOF
75278 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75279 _ACEOF
75280
75281 fi
75282
75283 done
75284
75285     SECTION_FLAGS='-ffunction-sections -fdata-sections'
75286
75287
75288   # If we're not using GNU ld, then there's no point in even trying these
75289   # tests.  Check for that first.  We should have already tested for gld
75290   # by now (in libtool), but require it now just to be safe...
75291   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
75292   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
75293
75294
75295
75296   # The name set by libtool depends on the version of libtool.  Shame on us
75297   # for depending on an impl detail, but c'est la vie.  Older versions used
75298   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
75299   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
75300   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
75301   # set (hence we're using an older libtool), then set it.
75302   if test x${with_gnu_ld+set} != xset; then
75303     if test x${ac_cv_prog_gnu_ld+set} != xset; then
75304       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
75305       with_gnu_ld=no
75306     else
75307       with_gnu_ld=$ac_cv_prog_gnu_ld
75308     fi
75309   fi
75310
75311   # Start by getting the version number.  I think the libtool test already
75312   # does some of this, but throws away the result.
75313   echo "$as_me:$LINENO: checking for ld version" >&5
75314 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
75315
75316   ldver=`$LD --version 2>/dev/null | head -1 | \
75317          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
75318
75319   glibcxx_gnu_ld_version=`echo $ldver | \
75320          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
75321   echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
75322 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
75323
75324   # Set --gc-sections.
75325   glibcxx_gcsections_min_ld=21602
75326   if test x"$with_gnu_ld" = x"yes" &&
75327         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
75328
75329     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
75330     # NB: This flag only works reliably after 2.16.1. Configure tests
75331     # for this are difficult, so hard wire a value that should work.
75332
75333     # All these tests are for C++, but run with the "C" compiler driver.
75334     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
75335     ac_test_CFLAGS="${CFLAGS+set}"
75336     ac_save_CFLAGS="$CFLAGS"
75337     CFLAGS='-x c++ -Wl,--gc-sections'
75338
75339     # Check for -Wl,--gc-sections
75340     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
75341 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
75342     if test x$gcc_no_link = xyes; then
75343   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75345    { (exit 1); exit 1; }; }
75346 fi
75347 cat >conftest.$ac_ext <<_ACEOF
75348 /* confdefs.h.  */
75349 _ACEOF
75350 cat confdefs.h >>conftest.$ac_ext
75351 cat >>conftest.$ac_ext <<_ACEOF
75352 /* end confdefs.h.  */
75353  int one(void) { return 1; }
75354      int two(void) { return 2; }
75355
75356 int
75357 main ()
75358 {
75359  two();
75360   ;
75361   return 0;
75362 }
75363 _ACEOF
75364 rm -f conftest.$ac_objext conftest$ac_exeext
75365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75366   (eval $ac_link) 2>conftest.er1
75367   ac_status=$?
75368   grep -v '^ *+' conftest.er1 >conftest.err
75369   rm -f conftest.er1
75370   cat conftest.err >&5
75371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75372   (exit $ac_status); } &&
75373          { ac_try='test -z "$ac_c_werror_flag"
75374                          || test ! -s conftest.err'
75375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75376   (eval $ac_try) 2>&5
75377   ac_status=$?
75378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75379   (exit $ac_status); }; } &&
75380          { ac_try='test -s conftest$ac_exeext'
75381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75382   (eval $ac_try) 2>&5
75383   ac_status=$?
75384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75385   (exit $ac_status); }; }; then
75386   ac_gcsections=yes
75387 else
75388   echo "$as_me: failed program was:" >&5
75389 sed 's/^/| /' conftest.$ac_ext >&5
75390
75391 ac_gcsections=no
75392 fi
75393 rm -f conftest.err conftest.$ac_objext \
75394       conftest$ac_exeext conftest.$ac_ext
75395     if test "$ac_gcsections" = "yes"; then
75396       rm -f conftest.c
75397       touch conftest.c
75398       if $CC -c conftest.c; then
75399         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
75400            grep "Warning: gc-sections option ignored" > /dev/null; then
75401           ac_gcsections=no
75402         fi
75403       fi
75404       rm -f conftest.c conftest.o conftest
75405     fi
75406     if test "$ac_gcsections" = "yes"; then
75407       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
75408     fi
75409     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
75410 echo "${ECHO_T}$ac_gcsections" >&6
75411
75412     if test "$ac_test_CFLAGS" = set; then
75413       CFLAGS="$ac_save_CFLAGS"
75414     else
75415       # this is the suspicious part
75416       CFLAGS=''
75417     fi
75418   fi
75419
75420   # Set -z,relro.
75421   # Note this is only for shared objects.
75422   ac_ld_relro=no
75423   if test x"$with_gnu_ld" = x"yes"; then
75424     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
75425 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
75426     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
75427     if test -n "$cxx_z_relo"; then
75428       OPT_LDFLAGS="-Wl,-z,relro"
75429       ac_ld_relro=yes
75430     fi
75431     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
75432 echo "${ECHO_T}$ac_ld_relro" >&6
75433   fi
75434
75435   # Set linker optimization flags.
75436   if test x"$with_gnu_ld" = x"yes"; then
75437     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
75438   fi
75439
75440
75441
75442
75443
75444
75445 echo "$as_me:$LINENO: checking for main in -lm" >&5
75446 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
75447 if test "${ac_cv_lib_m_main+set}" = set; then
75448   echo $ECHO_N "(cached) $ECHO_C" >&6
75449 else
75450   ac_check_lib_save_LIBS=$LIBS
75451 LIBS="-lm  $LIBS"
75452 if test x$gcc_no_link = xyes; then
75453   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75455    { (exit 1); exit 1; }; }
75456 fi
75457 cat >conftest.$ac_ext <<_ACEOF
75458 /* confdefs.h.  */
75459 _ACEOF
75460 cat confdefs.h >>conftest.$ac_ext
75461 cat >>conftest.$ac_ext <<_ACEOF
75462 /* end confdefs.h.  */
75463
75464
75465 int
75466 main ()
75467 {
75468 main ();
75469   ;
75470   return 0;
75471 }
75472 _ACEOF
75473 rm -f conftest.$ac_objext conftest$ac_exeext
75474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75475   (eval $ac_link) 2>conftest.er1
75476   ac_status=$?
75477   grep -v '^ *+' conftest.er1 >conftest.err
75478   rm -f conftest.er1
75479   cat conftest.err >&5
75480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75481   (exit $ac_status); } &&
75482          { ac_try='test -z "$ac_c_werror_flag"
75483                          || test ! -s conftest.err'
75484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75485   (eval $ac_try) 2>&5
75486   ac_status=$?
75487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75488   (exit $ac_status); }; } &&
75489          { ac_try='test -s conftest$ac_exeext'
75490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75491   (eval $ac_try) 2>&5
75492   ac_status=$?
75493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75494   (exit $ac_status); }; }; then
75495   ac_cv_lib_m_main=yes
75496 else
75497   echo "$as_me: failed program was:" >&5
75498 sed 's/^/| /' conftest.$ac_ext >&5
75499
75500 ac_cv_lib_m_main=no
75501 fi
75502 rm -f conftest.err conftest.$ac_objext \
75503       conftest$ac_exeext conftest.$ac_ext
75504 LIBS=$ac_check_lib_save_LIBS
75505 fi
75506 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
75507 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
75508 if test $ac_cv_lib_m_main = yes; then
75509   cat >>confdefs.h <<_ACEOF
75510 #define HAVE_LIBM 1
75511 _ACEOF
75512
75513   LIBS="-lm $LIBS"
75514
75515 fi
75516
75517
75518 for ac_func in copysignf
75519 do
75520 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75521 echo "$as_me:$LINENO: checking for $ac_func" >&5
75522 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75523 if eval "test \"\${$as_ac_var+set}\" = set"; then
75524   echo $ECHO_N "(cached) $ECHO_C" >&6
75525 else
75526   if test x$gcc_no_link = xyes; then
75527   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75529    { (exit 1); exit 1; }; }
75530 fi
75531 cat >conftest.$ac_ext <<_ACEOF
75532 /* confdefs.h.  */
75533 _ACEOF
75534 cat confdefs.h >>conftest.$ac_ext
75535 cat >>conftest.$ac_ext <<_ACEOF
75536 /* end confdefs.h.  */
75537 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75538    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75539 #define $ac_func innocuous_$ac_func
75540
75541 /* System header to define __stub macros and hopefully few prototypes,
75542     which can conflict with char $ac_func (); below.
75543     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75544     <limits.h> exists even on freestanding compilers.  */
75545
75546 #ifdef __STDC__
75547 # include <limits.h>
75548 #else
75549 # include <assert.h>
75550 #endif
75551
75552 #undef $ac_func
75553
75554 /* Override any gcc2 internal prototype to avoid an error.  */
75555 #ifdef __cplusplus
75556 extern "C"
75557 {
75558 #endif
75559 /* We use char because int might match the return type of a gcc2
75560    builtin and then its argument prototype would still apply.  */
75561 char $ac_func ();
75562 /* The GNU C library defines this for functions which it implements
75563     to always fail with ENOSYS.  Some functions are actually named
75564     something starting with __ and the normal name is an alias.  */
75565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75566 choke me
75567 #else
75568 char (*f) () = $ac_func;
75569 #endif
75570 #ifdef __cplusplus
75571 }
75572 #endif
75573
75574 int
75575 main ()
75576 {
75577 return f != $ac_func;
75578   ;
75579   return 0;
75580 }
75581 _ACEOF
75582 rm -f conftest.$ac_objext conftest$ac_exeext
75583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75584   (eval $ac_link) 2>conftest.er1
75585   ac_status=$?
75586   grep -v '^ *+' conftest.er1 >conftest.err
75587   rm -f conftest.er1
75588   cat conftest.err >&5
75589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75590   (exit $ac_status); } &&
75591          { ac_try='test -z "$ac_c_werror_flag"
75592                          || test ! -s conftest.err'
75593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75594   (eval $ac_try) 2>&5
75595   ac_status=$?
75596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75597   (exit $ac_status); }; } &&
75598          { ac_try='test -s conftest$ac_exeext'
75599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75600   (eval $ac_try) 2>&5
75601   ac_status=$?
75602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75603   (exit $ac_status); }; }; then
75604   eval "$as_ac_var=yes"
75605 else
75606   echo "$as_me: failed program was:" >&5
75607 sed 's/^/| /' conftest.$ac_ext >&5
75608
75609 eval "$as_ac_var=no"
75610 fi
75611 rm -f conftest.err conftest.$ac_objext \
75612       conftest$ac_exeext conftest.$ac_ext
75613 fi
75614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75615 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75616 if test `eval echo '${'$as_ac_var'}'` = yes; then
75617   cat >>confdefs.h <<_ACEOF
75618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75619 _ACEOF
75620
75621 else
75622   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
75623 fi
75624 done
75625
75626
75627
75628 for ac_func in __signbit
75629 do
75630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75631 echo "$as_me:$LINENO: checking for $ac_func" >&5
75632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75633 if eval "test \"\${$as_ac_var+set}\" = set"; then
75634   echo $ECHO_N "(cached) $ECHO_C" >&6
75635 else
75636   if test x$gcc_no_link = xyes; then
75637   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75639    { (exit 1); exit 1; }; }
75640 fi
75641 cat >conftest.$ac_ext <<_ACEOF
75642 /* confdefs.h.  */
75643 _ACEOF
75644 cat confdefs.h >>conftest.$ac_ext
75645 cat >>conftest.$ac_ext <<_ACEOF
75646 /* end confdefs.h.  */
75647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75648    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75649 #define $ac_func innocuous_$ac_func
75650
75651 /* System header to define __stub macros and hopefully few prototypes,
75652     which can conflict with char $ac_func (); below.
75653     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75654     <limits.h> exists even on freestanding compilers.  */
75655
75656 #ifdef __STDC__
75657 # include <limits.h>
75658 #else
75659 # include <assert.h>
75660 #endif
75661
75662 #undef $ac_func
75663
75664 /* Override any gcc2 internal prototype to avoid an error.  */
75665 #ifdef __cplusplus
75666 extern "C"
75667 {
75668 #endif
75669 /* We use char because int might match the return type of a gcc2
75670    builtin and then its argument prototype would still apply.  */
75671 char $ac_func ();
75672 /* The GNU C library defines this for functions which it implements
75673     to always fail with ENOSYS.  Some functions are actually named
75674     something starting with __ and the normal name is an alias.  */
75675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75676 choke me
75677 #else
75678 char (*f) () = $ac_func;
75679 #endif
75680 #ifdef __cplusplus
75681 }
75682 #endif
75683
75684 int
75685 main ()
75686 {
75687 return f != $ac_func;
75688   ;
75689   return 0;
75690 }
75691 _ACEOF
75692 rm -f conftest.$ac_objext conftest$ac_exeext
75693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75694   (eval $ac_link) 2>conftest.er1
75695   ac_status=$?
75696   grep -v '^ *+' conftest.er1 >conftest.err
75697   rm -f conftest.er1
75698   cat conftest.err >&5
75699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75700   (exit $ac_status); } &&
75701          { ac_try='test -z "$ac_c_werror_flag"
75702                          || test ! -s conftest.err'
75703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75704   (eval $ac_try) 2>&5
75705   ac_status=$?
75706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75707   (exit $ac_status); }; } &&
75708          { ac_try='test -s conftest$ac_exeext'
75709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75710   (eval $ac_try) 2>&5
75711   ac_status=$?
75712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75713   (exit $ac_status); }; }; then
75714   eval "$as_ac_var=yes"
75715 else
75716   echo "$as_me: failed program was:" >&5
75717 sed 's/^/| /' conftest.$ac_ext >&5
75718
75719 eval "$as_ac_var=no"
75720 fi
75721 rm -f conftest.err conftest.$ac_objext \
75722       conftest$ac_exeext conftest.$ac_ext
75723 fi
75724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75726 if test `eval echo '${'$as_ac_var'}'` = yes; then
75727   cat >>confdefs.h <<_ACEOF
75728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75729 _ACEOF
75730
75731 else
75732   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
75733 fi
75734 done
75735
75736
75737
75738 for ac_func in __signbitf
75739 do
75740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75741 echo "$as_me:$LINENO: checking for $ac_func" >&5
75742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75743 if eval "test \"\${$as_ac_var+set}\" = set"; then
75744   echo $ECHO_N "(cached) $ECHO_C" >&6
75745 else
75746   if test x$gcc_no_link = xyes; then
75747   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75749    { (exit 1); exit 1; }; }
75750 fi
75751 cat >conftest.$ac_ext <<_ACEOF
75752 /* confdefs.h.  */
75753 _ACEOF
75754 cat confdefs.h >>conftest.$ac_ext
75755 cat >>conftest.$ac_ext <<_ACEOF
75756 /* end confdefs.h.  */
75757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75758    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75759 #define $ac_func innocuous_$ac_func
75760
75761 /* System header to define __stub macros and hopefully few prototypes,
75762     which can conflict with char $ac_func (); below.
75763     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75764     <limits.h> exists even on freestanding compilers.  */
75765
75766 #ifdef __STDC__
75767 # include <limits.h>
75768 #else
75769 # include <assert.h>
75770 #endif
75771
75772 #undef $ac_func
75773
75774 /* Override any gcc2 internal prototype to avoid an error.  */
75775 #ifdef __cplusplus
75776 extern "C"
75777 {
75778 #endif
75779 /* We use char because int might match the return type of a gcc2
75780    builtin and then its argument prototype would still apply.  */
75781 char $ac_func ();
75782 /* The GNU C library defines this for functions which it implements
75783     to always fail with ENOSYS.  Some functions are actually named
75784     something starting with __ and the normal name is an alias.  */
75785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75786 choke me
75787 #else
75788 char (*f) () = $ac_func;
75789 #endif
75790 #ifdef __cplusplus
75791 }
75792 #endif
75793
75794 int
75795 main ()
75796 {
75797 return f != $ac_func;
75798   ;
75799   return 0;
75800 }
75801 _ACEOF
75802 rm -f conftest.$ac_objext conftest$ac_exeext
75803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75804   (eval $ac_link) 2>conftest.er1
75805   ac_status=$?
75806   grep -v '^ *+' conftest.er1 >conftest.err
75807   rm -f conftest.er1
75808   cat conftest.err >&5
75809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75810   (exit $ac_status); } &&
75811          { ac_try='test -z "$ac_c_werror_flag"
75812                          || test ! -s conftest.err'
75813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75814   (eval $ac_try) 2>&5
75815   ac_status=$?
75816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75817   (exit $ac_status); }; } &&
75818          { ac_try='test -s conftest$ac_exeext'
75819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75820   (eval $ac_try) 2>&5
75821   ac_status=$?
75822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75823   (exit $ac_status); }; }; then
75824   eval "$as_ac_var=yes"
75825 else
75826   echo "$as_me: failed program was:" >&5
75827 sed 's/^/| /' conftest.$ac_ext >&5
75828
75829 eval "$as_ac_var=no"
75830 fi
75831 rm -f conftest.err conftest.$ac_objext \
75832       conftest$ac_exeext conftest.$ac_ext
75833 fi
75834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75836 if test `eval echo '${'$as_ac_var'}'` = yes; then
75837   cat >>confdefs.h <<_ACEOF
75838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75839 _ACEOF
75840
75841 else
75842   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
75843 fi
75844 done
75845
75846
75847           if test x$ac_cv_func_copysignl = x"yes"; then
75848
75849 for ac_func in __signbitl
75850 do
75851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75852 echo "$as_me:$LINENO: checking for $ac_func" >&5
75853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75854 if eval "test \"\${$as_ac_var+set}\" = set"; then
75855   echo $ECHO_N "(cached) $ECHO_C" >&6
75856 else
75857   if test x$gcc_no_link = xyes; then
75858   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75860    { (exit 1); exit 1; }; }
75861 fi
75862 cat >conftest.$ac_ext <<_ACEOF
75863 /* confdefs.h.  */
75864 _ACEOF
75865 cat confdefs.h >>conftest.$ac_ext
75866 cat >>conftest.$ac_ext <<_ACEOF
75867 /* end confdefs.h.  */
75868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75869    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75870 #define $ac_func innocuous_$ac_func
75871
75872 /* System header to define __stub macros and hopefully few prototypes,
75873     which can conflict with char $ac_func (); below.
75874     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75875     <limits.h> exists even on freestanding compilers.  */
75876
75877 #ifdef __STDC__
75878 # include <limits.h>
75879 #else
75880 # include <assert.h>
75881 #endif
75882
75883 #undef $ac_func
75884
75885 /* Override any gcc2 internal prototype to avoid an error.  */
75886 #ifdef __cplusplus
75887 extern "C"
75888 {
75889 #endif
75890 /* We use char because int might match the return type of a gcc2
75891    builtin and then its argument prototype would still apply.  */
75892 char $ac_func ();
75893 /* The GNU C library defines this for functions which it implements
75894     to always fail with ENOSYS.  Some functions are actually named
75895     something starting with __ and the normal name is an alias.  */
75896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75897 choke me
75898 #else
75899 char (*f) () = $ac_func;
75900 #endif
75901 #ifdef __cplusplus
75902 }
75903 #endif
75904
75905 int
75906 main ()
75907 {
75908 return f != $ac_func;
75909   ;
75910   return 0;
75911 }
75912 _ACEOF
75913 rm -f conftest.$ac_objext conftest$ac_exeext
75914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75915   (eval $ac_link) 2>conftest.er1
75916   ac_status=$?
75917   grep -v '^ *+' conftest.er1 >conftest.err
75918   rm -f conftest.er1
75919   cat conftest.err >&5
75920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75921   (exit $ac_status); } &&
75922          { ac_try='test -z "$ac_c_werror_flag"
75923                          || test ! -s conftest.err'
75924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75925   (eval $ac_try) 2>&5
75926   ac_status=$?
75927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75928   (exit $ac_status); }; } &&
75929          { ac_try='test -s conftest$ac_exeext'
75930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75931   (eval $ac_try) 2>&5
75932   ac_status=$?
75933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75934   (exit $ac_status); }; }; then
75935   eval "$as_ac_var=yes"
75936 else
75937   echo "$as_me: failed program was:" >&5
75938 sed 's/^/| /' conftest.$ac_ext >&5
75939
75940 eval "$as_ac_var=no"
75941 fi
75942 rm -f conftest.err conftest.$ac_objext \
75943       conftest$ac_exeext conftest.$ac_ext
75944 fi
75945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75947 if test `eval echo '${'$as_ac_var'}'` = yes; then
75948   cat >>confdefs.h <<_ACEOF
75949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75950 _ACEOF
75951
75952 else
75953   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
75954 fi
75955 done
75956
75957   fi
75958
75959   # Used in libmath/Makefile.am.
75960   if test -n "$LIBMATHOBJS"; then
75961     need_libmath=yes
75962   fi
75963
75964
75965
75966
75967   enable_iconv=no
75968   # Only continue checking if the ISO C99 headers exist and support is on.
75969   if test x"$enable_wchar_t" = xyes; then
75970
75971     # Use iconv for wchar_t to char conversions. As such, check for
75972     # X/Open Portability Guide, version 2 features (XPG2).
75973     if test "${ac_cv_header_iconv_h+set}" = set; then
75974   echo "$as_me:$LINENO: checking for iconv.h" >&5
75975 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
75976 if test "${ac_cv_header_iconv_h+set}" = set; then
75977   echo $ECHO_N "(cached) $ECHO_C" >&6
75978 fi
75979 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
75980 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
75981 else
75982   # Is the header compilable?
75983 echo "$as_me:$LINENO: checking iconv.h usability" >&5
75984 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
75985 cat >conftest.$ac_ext <<_ACEOF
75986 /* confdefs.h.  */
75987 _ACEOF
75988 cat confdefs.h >>conftest.$ac_ext
75989 cat >>conftest.$ac_ext <<_ACEOF
75990 /* end confdefs.h.  */
75991 $ac_includes_default
75992 #include <iconv.h>
75993 _ACEOF
75994 rm -f conftest.$ac_objext
75995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75996   (eval $ac_compile) 2>conftest.er1
75997   ac_status=$?
75998   grep -v '^ *+' conftest.er1 >conftest.err
75999   rm -f conftest.er1
76000   cat conftest.err >&5
76001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76002   (exit $ac_status); } &&
76003          { ac_try='test -z "$ac_c_werror_flag"
76004                          || test ! -s conftest.err'
76005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76006   (eval $ac_try) 2>&5
76007   ac_status=$?
76008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76009   (exit $ac_status); }; } &&
76010          { ac_try='test -s conftest.$ac_objext'
76011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76012   (eval $ac_try) 2>&5
76013   ac_status=$?
76014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76015   (exit $ac_status); }; }; then
76016   ac_header_compiler=yes
76017 else
76018   echo "$as_me: failed program was:" >&5
76019 sed 's/^/| /' conftest.$ac_ext >&5
76020
76021 ac_header_compiler=no
76022 fi
76023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76024 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76025 echo "${ECHO_T}$ac_header_compiler" >&6
76026
76027 # Is the header present?
76028 echo "$as_me:$LINENO: checking iconv.h presence" >&5
76029 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
76030 cat >conftest.$ac_ext <<_ACEOF
76031 /* confdefs.h.  */
76032 _ACEOF
76033 cat confdefs.h >>conftest.$ac_ext
76034 cat >>conftest.$ac_ext <<_ACEOF
76035 /* end confdefs.h.  */
76036 #include <iconv.h>
76037 _ACEOF
76038 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76039   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76040   ac_status=$?
76041   grep -v '^ *+' conftest.er1 >conftest.err
76042   rm -f conftest.er1
76043   cat conftest.err >&5
76044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76045   (exit $ac_status); } >/dev/null; then
76046   if test -s conftest.err; then
76047     ac_cpp_err=$ac_c_preproc_warn_flag
76048     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76049   else
76050     ac_cpp_err=
76051   fi
76052 else
76053   ac_cpp_err=yes
76054 fi
76055 if test -z "$ac_cpp_err"; then
76056   ac_header_preproc=yes
76057 else
76058   echo "$as_me: failed program was:" >&5
76059 sed 's/^/| /' conftest.$ac_ext >&5
76060
76061   ac_header_preproc=no
76062 fi
76063 rm -f conftest.err conftest.$ac_ext
76064 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76065 echo "${ECHO_T}$ac_header_preproc" >&6
76066
76067 # So?  What about this header?
76068 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76069   yes:no: )
76070     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
76071 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76072     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
76073 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
76074     ac_header_preproc=yes
76075     ;;
76076   no:yes:* )
76077     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
76078 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
76079     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
76080 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
76081     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
76082 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
76083     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
76084 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
76085     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
76086 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
76087     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
76088 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
76089     (
76090       cat <<\_ASBOX
76091 ## ----------------------------------------- ##
76092 ## Report this to the package-unused lists.  ##
76093 ## ----------------------------------------- ##
76094 _ASBOX
76095     ) |
76096       sed "s/^/$as_me: WARNING:     /" >&2
76097     ;;
76098 esac
76099 echo "$as_me:$LINENO: checking for iconv.h" >&5
76100 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76101 if test "${ac_cv_header_iconv_h+set}" = set; then
76102   echo $ECHO_N "(cached) $ECHO_C" >&6
76103 else
76104   ac_cv_header_iconv_h=$ac_header_preproc
76105 fi
76106 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76107 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76108
76109 fi
76110 if test $ac_cv_header_iconv_h = yes; then
76111   ac_has_iconv_h=yes
76112 else
76113   ac_has_iconv_h=no
76114 fi
76115
76116
76117     if test "${ac_cv_header_langinfo_h+set}" = set; then
76118   echo "$as_me:$LINENO: checking for langinfo.h" >&5
76119 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76120 if test "${ac_cv_header_langinfo_h+set}" = set; then
76121   echo $ECHO_N "(cached) $ECHO_C" >&6
76122 fi
76123 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76124 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76125 else
76126   # Is the header compilable?
76127 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
76128 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
76129 cat >conftest.$ac_ext <<_ACEOF
76130 /* confdefs.h.  */
76131 _ACEOF
76132 cat confdefs.h >>conftest.$ac_ext
76133 cat >>conftest.$ac_ext <<_ACEOF
76134 /* end confdefs.h.  */
76135 $ac_includes_default
76136 #include <langinfo.h>
76137 _ACEOF
76138 rm -f conftest.$ac_objext
76139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76140   (eval $ac_compile) 2>conftest.er1
76141   ac_status=$?
76142   grep -v '^ *+' conftest.er1 >conftest.err
76143   rm -f conftest.er1
76144   cat conftest.err >&5
76145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76146   (exit $ac_status); } &&
76147          { ac_try='test -z "$ac_c_werror_flag"
76148                          || test ! -s conftest.err'
76149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76150   (eval $ac_try) 2>&5
76151   ac_status=$?
76152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76153   (exit $ac_status); }; } &&
76154          { ac_try='test -s conftest.$ac_objext'
76155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76156   (eval $ac_try) 2>&5
76157   ac_status=$?
76158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76159   (exit $ac_status); }; }; then
76160   ac_header_compiler=yes
76161 else
76162   echo "$as_me: failed program was:" >&5
76163 sed 's/^/| /' conftest.$ac_ext >&5
76164
76165 ac_header_compiler=no
76166 fi
76167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76168 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76169 echo "${ECHO_T}$ac_header_compiler" >&6
76170
76171 # Is the header present?
76172 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
76173 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
76174 cat >conftest.$ac_ext <<_ACEOF
76175 /* confdefs.h.  */
76176 _ACEOF
76177 cat confdefs.h >>conftest.$ac_ext
76178 cat >>conftest.$ac_ext <<_ACEOF
76179 /* end confdefs.h.  */
76180 #include <langinfo.h>
76181 _ACEOF
76182 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76183   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76184   ac_status=$?
76185   grep -v '^ *+' conftest.er1 >conftest.err
76186   rm -f conftest.er1
76187   cat conftest.err >&5
76188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76189   (exit $ac_status); } >/dev/null; then
76190   if test -s conftest.err; then
76191     ac_cpp_err=$ac_c_preproc_warn_flag
76192     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76193   else
76194     ac_cpp_err=
76195   fi
76196 else
76197   ac_cpp_err=yes
76198 fi
76199 if test -z "$ac_cpp_err"; then
76200   ac_header_preproc=yes
76201 else
76202   echo "$as_me: failed program was:" >&5
76203 sed 's/^/| /' conftest.$ac_ext >&5
76204
76205   ac_header_preproc=no
76206 fi
76207 rm -f conftest.err conftest.$ac_ext
76208 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76209 echo "${ECHO_T}$ac_header_preproc" >&6
76210
76211 # So?  What about this header?
76212 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76213   yes:no: )
76214     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
76215 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76216     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
76217 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
76218     ac_header_preproc=yes
76219     ;;
76220   no:yes:* )
76221     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
76222 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
76223     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
76224 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
76225     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
76226 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
76227     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
76228 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
76229     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
76230 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
76231     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
76232 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
76233     (
76234       cat <<\_ASBOX
76235 ## ----------------------------------------- ##
76236 ## Report this to the package-unused lists.  ##
76237 ## ----------------------------------------- ##
76238 _ASBOX
76239     ) |
76240       sed "s/^/$as_me: WARNING:     /" >&2
76241     ;;
76242 esac
76243 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76244 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76245 if test "${ac_cv_header_langinfo_h+set}" = set; then
76246   echo $ECHO_N "(cached) $ECHO_C" >&6
76247 else
76248   ac_cv_header_langinfo_h=$ac_header_preproc
76249 fi
76250 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76251 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76252
76253 fi
76254 if test $ac_cv_header_langinfo_h = yes; then
76255   ac_has_langinfo_h=yes
76256 else
76257   ac_has_langinfo_h=no
76258 fi
76259
76260
76261
76262     # Check for existence of libiconv.a providing XPG2 wchar_t support.
76263     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
76264 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
76265 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
76266   echo $ECHO_N "(cached) $ECHO_C" >&6
76267 else
76268   ac_check_lib_save_LIBS=$LIBS
76269 LIBS="-liconv  $LIBS"
76270 if test x$gcc_no_link = xyes; then
76271   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76273    { (exit 1); exit 1; }; }
76274 fi
76275 cat >conftest.$ac_ext <<_ACEOF
76276 /* confdefs.h.  */
76277 _ACEOF
76278 cat confdefs.h >>conftest.$ac_ext
76279 cat >>conftest.$ac_ext <<_ACEOF
76280 /* end confdefs.h.  */
76281
76282 /* Override any gcc2 internal prototype to avoid an error.  */
76283 #ifdef __cplusplus
76284 extern "C"
76285 #endif
76286 /* We use char because int might match the return type of a gcc2
76287    builtin and then its argument prototype would still apply.  */
76288 char iconv ();
76289 int
76290 main ()
76291 {
76292 iconv ();
76293   ;
76294   return 0;
76295 }
76296 _ACEOF
76297 rm -f conftest.$ac_objext conftest$ac_exeext
76298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76299   (eval $ac_link) 2>conftest.er1
76300   ac_status=$?
76301   grep -v '^ *+' conftest.er1 >conftest.err
76302   rm -f conftest.er1
76303   cat conftest.err >&5
76304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76305   (exit $ac_status); } &&
76306          { ac_try='test -z "$ac_c_werror_flag"
76307                          || test ! -s conftest.err'
76308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76309   (eval $ac_try) 2>&5
76310   ac_status=$?
76311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76312   (exit $ac_status); }; } &&
76313          { ac_try='test -s conftest$ac_exeext'
76314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76315   (eval $ac_try) 2>&5
76316   ac_status=$?
76317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76318   (exit $ac_status); }; }; then
76319   ac_cv_lib_iconv_iconv=yes
76320 else
76321   echo "$as_me: failed program was:" >&5
76322 sed 's/^/| /' conftest.$ac_ext >&5
76323
76324 ac_cv_lib_iconv_iconv=no
76325 fi
76326 rm -f conftest.err conftest.$ac_objext \
76327       conftest$ac_exeext conftest.$ac_ext
76328 LIBS=$ac_check_lib_save_LIBS
76329 fi
76330 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
76331 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
76332 if test $ac_cv_lib_iconv_iconv = yes; then
76333   LIBICONV="-liconv"
76334 fi
76335
76336     ac_save_LIBS="$LIBS"
76337     LIBS="$LIBS $LIBICONV"
76338
76339
76340
76341
76342
76343
76344 for ac_func in iconv_open iconv_close iconv nl_langinfo
76345 do
76346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76347 echo "$as_me:$LINENO: checking for $ac_func" >&5
76348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76349 if eval "test \"\${$as_ac_var+set}\" = set"; then
76350   echo $ECHO_N "(cached) $ECHO_C" >&6
76351 else
76352   if test x$gcc_no_link = xyes; then
76353   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76354 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76355    { (exit 1); exit 1; }; }
76356 fi
76357 cat >conftest.$ac_ext <<_ACEOF
76358 /* confdefs.h.  */
76359 _ACEOF
76360 cat confdefs.h >>conftest.$ac_ext
76361 cat >>conftest.$ac_ext <<_ACEOF
76362 /* end confdefs.h.  */
76363 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76364    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76365 #define $ac_func innocuous_$ac_func
76366
76367 /* System header to define __stub macros and hopefully few prototypes,
76368     which can conflict with char $ac_func (); below.
76369     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76370     <limits.h> exists even on freestanding compilers.  */
76371
76372 #ifdef __STDC__
76373 # include <limits.h>
76374 #else
76375 # include <assert.h>
76376 #endif
76377
76378 #undef $ac_func
76379
76380 /* Override any gcc2 internal prototype to avoid an error.  */
76381 #ifdef __cplusplus
76382 extern "C"
76383 {
76384 #endif
76385 /* We use char because int might match the return type of a gcc2
76386    builtin and then its argument prototype would still apply.  */
76387 char $ac_func ();
76388 /* The GNU C library defines this for functions which it implements
76389     to always fail with ENOSYS.  Some functions are actually named
76390     something starting with __ and the normal name is an alias.  */
76391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76392 choke me
76393 #else
76394 char (*f) () = $ac_func;
76395 #endif
76396 #ifdef __cplusplus
76397 }
76398 #endif
76399
76400 int
76401 main ()
76402 {
76403 return f != $ac_func;
76404   ;
76405   return 0;
76406 }
76407 _ACEOF
76408 rm -f conftest.$ac_objext conftest$ac_exeext
76409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76410   (eval $ac_link) 2>conftest.er1
76411   ac_status=$?
76412   grep -v '^ *+' conftest.er1 >conftest.err
76413   rm -f conftest.er1
76414   cat conftest.err >&5
76415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76416   (exit $ac_status); } &&
76417          { ac_try='test -z "$ac_c_werror_flag"
76418                          || test ! -s conftest.err'
76419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76420   (eval $ac_try) 2>&5
76421   ac_status=$?
76422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76423   (exit $ac_status); }; } &&
76424          { ac_try='test -s conftest$ac_exeext'
76425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76426   (eval $ac_try) 2>&5
76427   ac_status=$?
76428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76429   (exit $ac_status); }; }; then
76430   eval "$as_ac_var=yes"
76431 else
76432   echo "$as_me: failed program was:" >&5
76433 sed 's/^/| /' conftest.$ac_ext >&5
76434
76435 eval "$as_ac_var=no"
76436 fi
76437 rm -f conftest.err conftest.$ac_objext \
76438       conftest$ac_exeext conftest.$ac_ext
76439 fi
76440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76442 if test `eval echo '${'$as_ac_var'}'` = yes; then
76443   cat >>confdefs.h <<_ACEOF
76444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76445 _ACEOF
76446  ac_XPG2funcs=yes
76447 else
76448   ac_XPG2funcs=no
76449 fi
76450 done
76451
76452
76453     LIBS="$ac_save_LIBS"
76454
76455     if test x"$ac_has_iconv_h" = xyes &&
76456        test x"$ac_has_langinfo_h" = xyes &&
76457        test x"$ac_XPG2funcs" = xyes;
76458     then
76459
76460 cat >>confdefs.h <<\_ACEOF
76461 #define _GLIBCXX_USE_ICONV 1
76462 _ACEOF
76463
76464       enable_iconv=yes
76465     fi
76466   fi
76467   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
76468 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
76469   echo "$as_me:$LINENO: result: $enable_iconv" >&5
76470 echo "${ECHO_T}$enable_iconv" >&6
76471
76472     cat >>confdefs.h <<\_ACEOF
76473 #define HAVE_LC_MESSAGES 1
76474 _ACEOF
76475
76476     cat >>confdefs.h <<\_ACEOF
76477 #define HAVE_GETPAGESIZE 1
76478 _ACEOF
76479
76480     cat >>confdefs.h <<\_ACEOF
76481 #define HAVE_SETENV 1
76482 _ACEOF
76483
76484     cat >>confdefs.h <<\_ACEOF
76485 #define HAVE_SIGSETJMP 1
76486 _ACEOF
76487
76488     cat >>confdefs.h <<\_ACEOF
76489 #define HAVE_COPYSIGN 1
76490 _ACEOF
76491
76492     cat >>confdefs.h <<\_ACEOF
76493 #define HAVE_COPYSIGNF 1
76494 _ACEOF
76495
76496     cat >>confdefs.h <<\_ACEOF
76497 #define HAVE_FINITEF 1
76498 _ACEOF
76499
76500     cat >>confdefs.h <<\_ACEOF
76501 #define HAVE_FINITE 1
76502 _ACEOF
76503
76504     cat >>confdefs.h <<\_ACEOF
76505 #define HAVE_FREXPF 1
76506 _ACEOF
76507
76508     cat >>confdefs.h <<\_ACEOF
76509 #define HAVE_HYPOT 1
76510 _ACEOF
76511
76512     cat >>confdefs.h <<\_ACEOF
76513 #define HAVE_HYPOTF 1
76514 _ACEOF
76515
76516     cat >>confdefs.h <<\_ACEOF
76517 #define HAVE_ISINF 1
76518 _ACEOF
76519
76520     cat >>confdefs.h <<\_ACEOF
76521 #define HAVE_ISNAN 1
76522 _ACEOF
76523
76524     cat >>confdefs.h <<\_ACEOF
76525 #define HAVE_ISNANF 1
76526 _ACEOF
76527
76528
76529     cat >>confdefs.h <<\_ACEOF
76530 #define HAVE_MMAP 1
76531 _ACEOF
76532
76533     cat >>confdefs.h <<\_ACEOF
76534 #define HAVE_ACOSF 1
76535 _ACEOF
76536
76537     cat >>confdefs.h <<\_ACEOF
76538 #define HAVE_ASINF 1
76539 _ACEOF
76540
76541     cat >>confdefs.h <<\_ACEOF
76542 #define HAVE_ATAN2F 1
76543 _ACEOF
76544
76545     cat >>confdefs.h <<\_ACEOF
76546 #define HAVE_ATANF 1
76547 _ACEOF
76548
76549     cat >>confdefs.h <<\_ACEOF
76550 #define HAVE_CEILF 1
76551 _ACEOF
76552
76553     cat >>confdefs.h <<\_ACEOF
76554 #define HAVE_COPYSIGN 1
76555 _ACEOF
76556
76557     cat >>confdefs.h <<\_ACEOF
76558 #define HAVE_COPYSIGNF 1
76559 _ACEOF
76560
76561     cat >>confdefs.h <<\_ACEOF
76562 #define HAVE_COSF 1
76563 _ACEOF
76564
76565     cat >>confdefs.h <<\_ACEOF
76566 #define HAVE_COSHF 1
76567 _ACEOF
76568
76569     cat >>confdefs.h <<\_ACEOF
76570 #define HAVE_EXPF 1
76571 _ACEOF
76572
76573     cat >>confdefs.h <<\_ACEOF
76574 #define HAVE_FABSF 1
76575 _ACEOF
76576
76577     cat >>confdefs.h <<\_ACEOF
76578 #define HAVE_FLOORF 1
76579 _ACEOF
76580
76581     cat >>confdefs.h <<\_ACEOF
76582 #define HAVE_FMODF 1
76583 _ACEOF
76584
76585     cat >>confdefs.h <<\_ACEOF
76586 #define HAVE_FREXPF 1
76587 _ACEOF
76588
76589     cat >>confdefs.h <<\_ACEOF
76590 #define HAVE_LDEXPF 1
76591 _ACEOF
76592
76593     cat >>confdefs.h <<\_ACEOF
76594 #define HAVE_LOG10F 1
76595 _ACEOF
76596
76597     cat >>confdefs.h <<\_ACEOF
76598 #define HAVE_LOGF 1
76599 _ACEOF
76600
76601     cat >>confdefs.h <<\_ACEOF
76602 #define HAVE_MODFF 1
76603 _ACEOF
76604
76605     cat >>confdefs.h <<\_ACEOF
76606 #define HAVE_POWF 1
76607 _ACEOF
76608
76609     cat >>confdefs.h <<\_ACEOF
76610 #define HAVE_SINF 1
76611 _ACEOF
76612
76613     cat >>confdefs.h <<\_ACEOF
76614 #define HAVE_SINHF 1
76615 _ACEOF
76616
76617     cat >>confdefs.h <<\_ACEOF
76618 #define HAVE_SQRTF 1
76619 _ACEOF
76620
76621     cat >>confdefs.h <<\_ACEOF
76622 #define HAVE_TANF 1
76623 _ACEOF
76624
76625     cat >>confdefs.h <<\_ACEOF
76626 #define HAVE_TANHF 1
76627 _ACEOF
76628
76629     if test x"long_double_math_on_this_cpu" = x"yes"; then
76630       cat >>confdefs.h <<\_ACEOF
76631 #define HAVE_FINITEL 1
76632 _ACEOF
76633
76634       cat >>confdefs.h <<\_ACEOF
76635 #define HAVE_ISINFL 1
76636 _ACEOF
76637
76638       cat >>confdefs.h <<\_ACEOF
76639 #define HAVE_ISNANL 1
76640 _ACEOF
76641
76642     fi
76643     ;;
76644   *-hpux*)
76645
76646
76647
76648
76649
76650
76651
76652
76653
76654
76655
76656
76657 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
76658       machine/endian.h machine/param.h sys/machine.h sys/types.h \
76659       fp.h locale.h float.h inttypes.h
76660 do
76661 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
76662 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76663   echo "$as_me:$LINENO: checking for $ac_header" >&5
76664 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76665 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76666   echo $ECHO_N "(cached) $ECHO_C" >&6
76667 fi
76668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76669 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76670 else
76671   # Is the header compilable?
76672 echo "$as_me:$LINENO: checking $ac_header usability" >&5
76673 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
76674 cat >conftest.$ac_ext <<_ACEOF
76675 /* confdefs.h.  */
76676 _ACEOF
76677 cat confdefs.h >>conftest.$ac_ext
76678 cat >>conftest.$ac_ext <<_ACEOF
76679 /* end confdefs.h.  */
76680 $ac_includes_default
76681 #include <$ac_header>
76682 _ACEOF
76683 rm -f conftest.$ac_objext
76684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76685   (eval $ac_compile) 2>conftest.er1
76686   ac_status=$?
76687   grep -v '^ *+' conftest.er1 >conftest.err
76688   rm -f conftest.er1
76689   cat conftest.err >&5
76690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76691   (exit $ac_status); } &&
76692          { ac_try='test -z "$ac_c_werror_flag"
76693                          || test ! -s conftest.err'
76694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76695   (eval $ac_try) 2>&5
76696   ac_status=$?
76697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76698   (exit $ac_status); }; } &&
76699          { ac_try='test -s conftest.$ac_objext'
76700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76701   (eval $ac_try) 2>&5
76702   ac_status=$?
76703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76704   (exit $ac_status); }; }; then
76705   ac_header_compiler=yes
76706 else
76707   echo "$as_me: failed program was:" >&5
76708 sed 's/^/| /' conftest.$ac_ext >&5
76709
76710 ac_header_compiler=no
76711 fi
76712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76713 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76714 echo "${ECHO_T}$ac_header_compiler" >&6
76715
76716 # Is the header present?
76717 echo "$as_me:$LINENO: checking $ac_header presence" >&5
76718 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
76719 cat >conftest.$ac_ext <<_ACEOF
76720 /* confdefs.h.  */
76721 _ACEOF
76722 cat confdefs.h >>conftest.$ac_ext
76723 cat >>conftest.$ac_ext <<_ACEOF
76724 /* end confdefs.h.  */
76725 #include <$ac_header>
76726 _ACEOF
76727 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76728   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76729   ac_status=$?
76730   grep -v '^ *+' conftest.er1 >conftest.err
76731   rm -f conftest.er1
76732   cat conftest.err >&5
76733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76734   (exit $ac_status); } >/dev/null; then
76735   if test -s conftest.err; then
76736     ac_cpp_err=$ac_c_preproc_warn_flag
76737     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76738   else
76739     ac_cpp_err=
76740   fi
76741 else
76742   ac_cpp_err=yes
76743 fi
76744 if test -z "$ac_cpp_err"; then
76745   ac_header_preproc=yes
76746 else
76747   echo "$as_me: failed program was:" >&5
76748 sed 's/^/| /' conftest.$ac_ext >&5
76749
76750   ac_header_preproc=no
76751 fi
76752 rm -f conftest.err conftest.$ac_ext
76753 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76754 echo "${ECHO_T}$ac_header_preproc" >&6
76755
76756 # So?  What about this header?
76757 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76758   yes:no: )
76759     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
76760 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
76761     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
76762 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
76763     ac_header_preproc=yes
76764     ;;
76765   no:yes:* )
76766     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
76767 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
76768     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
76769 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
76770     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
76771 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
76772     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
76773 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
76774     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
76775 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
76776     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
76777 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
76778     (
76779       cat <<\_ASBOX
76780 ## ----------------------------------------- ##
76781 ## Report this to the package-unused lists.  ##
76782 ## ----------------------------------------- ##
76783 _ASBOX
76784     ) |
76785       sed "s/^/$as_me: WARNING:     /" >&2
76786     ;;
76787 esac
76788 echo "$as_me:$LINENO: checking for $ac_header" >&5
76789 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76790 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76791   echo $ECHO_N "(cached) $ECHO_C" >&6
76792 else
76793   eval "$as_ac_Header=\$ac_header_preproc"
76794 fi
76795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76796 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76797
76798 fi
76799 if test `eval echo '${'$as_ac_Header'}'` = yes; then
76800   cat >>confdefs.h <<_ACEOF
76801 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
76802 _ACEOF
76803
76804 fi
76805
76806 done
76807
76808     SECTION_FLAGS='-ffunction-sections -fdata-sections'
76809
76810
76811   # If we're not using GNU ld, then there's no point in even trying these
76812   # tests.  Check for that first.  We should have already tested for gld
76813   # by now (in libtool), but require it now just to be safe...
76814   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
76815   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
76816
76817
76818
76819   # The name set by libtool depends on the version of libtool.  Shame on us
76820   # for depending on an impl detail, but c'est la vie.  Older versions used
76821   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
76822   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
76823   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
76824   # set (hence we're using an older libtool), then set it.
76825   if test x${with_gnu_ld+set} != xset; then
76826     if test x${ac_cv_prog_gnu_ld+set} != xset; then
76827       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
76828       with_gnu_ld=no
76829     else
76830       with_gnu_ld=$ac_cv_prog_gnu_ld
76831     fi
76832   fi
76833
76834   # Start by getting the version number.  I think the libtool test already
76835   # does some of this, but throws away the result.
76836   echo "$as_me:$LINENO: checking for ld version" >&5
76837 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
76838
76839   ldver=`$LD --version 2>/dev/null | head -1 | \
76840          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
76841
76842   glibcxx_gnu_ld_version=`echo $ldver | \
76843          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
76844   echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
76845 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
76846
76847   # Set --gc-sections.
76848   glibcxx_gcsections_min_ld=21602
76849   if test x"$with_gnu_ld" = x"yes" &&
76850         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
76851
76852     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
76853     # NB: This flag only works reliably after 2.16.1. Configure tests
76854     # for this are difficult, so hard wire a value that should work.
76855
76856     # All these tests are for C++, but run with the "C" compiler driver.
76857     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
76858     ac_test_CFLAGS="${CFLAGS+set}"
76859     ac_save_CFLAGS="$CFLAGS"
76860     CFLAGS='-x c++ -Wl,--gc-sections'
76861
76862     # Check for -Wl,--gc-sections
76863     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
76864 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
76865     if test x$gcc_no_link = xyes; then
76866   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76868    { (exit 1); exit 1; }; }
76869 fi
76870 cat >conftest.$ac_ext <<_ACEOF
76871 /* confdefs.h.  */
76872 _ACEOF
76873 cat confdefs.h >>conftest.$ac_ext
76874 cat >>conftest.$ac_ext <<_ACEOF
76875 /* end confdefs.h.  */
76876  int one(void) { return 1; }
76877      int two(void) { return 2; }
76878
76879 int
76880 main ()
76881 {
76882  two();
76883   ;
76884   return 0;
76885 }
76886 _ACEOF
76887 rm -f conftest.$ac_objext conftest$ac_exeext
76888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76889   (eval $ac_link) 2>conftest.er1
76890   ac_status=$?
76891   grep -v '^ *+' conftest.er1 >conftest.err
76892   rm -f conftest.er1
76893   cat conftest.err >&5
76894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76895   (exit $ac_status); } &&
76896          { ac_try='test -z "$ac_c_werror_flag"
76897                          || test ! -s conftest.err'
76898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76899   (eval $ac_try) 2>&5
76900   ac_status=$?
76901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76902   (exit $ac_status); }; } &&
76903          { ac_try='test -s conftest$ac_exeext'
76904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76905   (eval $ac_try) 2>&5
76906   ac_status=$?
76907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76908   (exit $ac_status); }; }; then
76909   ac_gcsections=yes
76910 else
76911   echo "$as_me: failed program was:" >&5
76912 sed 's/^/| /' conftest.$ac_ext >&5
76913
76914 ac_gcsections=no
76915 fi
76916 rm -f conftest.err conftest.$ac_objext \
76917       conftest$ac_exeext conftest.$ac_ext
76918     if test "$ac_gcsections" = "yes"; then
76919       rm -f conftest.c
76920       touch conftest.c
76921       if $CC -c conftest.c; then
76922         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
76923            grep "Warning: gc-sections option ignored" > /dev/null; then
76924           ac_gcsections=no
76925         fi
76926       fi
76927       rm -f conftest.c conftest.o conftest
76928     fi
76929     if test "$ac_gcsections" = "yes"; then
76930       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
76931     fi
76932     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
76933 echo "${ECHO_T}$ac_gcsections" >&6
76934
76935     if test "$ac_test_CFLAGS" = set; then
76936       CFLAGS="$ac_save_CFLAGS"
76937     else
76938       # this is the suspicious part
76939       CFLAGS=''
76940     fi
76941   fi
76942
76943   # Set -z,relro.
76944   # Note this is only for shared objects.
76945   ac_ld_relro=no
76946   if test x"$with_gnu_ld" = x"yes"; then
76947     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
76948 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
76949     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
76950     if test -n "$cxx_z_relo"; then
76951       OPT_LDFLAGS="-Wl,-z,relro"
76952       ac_ld_relro=yes
76953     fi
76954     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
76955 echo "${ECHO_T}$ac_ld_relro" >&6
76956   fi
76957
76958   # Set linker optimization flags.
76959   if test x"$with_gnu_ld" = x"yes"; then
76960     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
76961   fi
76962
76963
76964
76965
76966
76967
76968 echo "$as_me:$LINENO: checking for main in -lm" >&5
76969 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
76970 if test "${ac_cv_lib_m_main+set}" = set; then
76971   echo $ECHO_N "(cached) $ECHO_C" >&6
76972 else
76973   ac_check_lib_save_LIBS=$LIBS
76974 LIBS="-lm  $LIBS"
76975 if test x$gcc_no_link = xyes; then
76976   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76977 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76978    { (exit 1); exit 1; }; }
76979 fi
76980 cat >conftest.$ac_ext <<_ACEOF
76981 /* confdefs.h.  */
76982 _ACEOF
76983 cat confdefs.h >>conftest.$ac_ext
76984 cat >>conftest.$ac_ext <<_ACEOF
76985 /* end confdefs.h.  */
76986
76987
76988 int
76989 main ()
76990 {
76991 main ();
76992   ;
76993   return 0;
76994 }
76995 _ACEOF
76996 rm -f conftest.$ac_objext conftest$ac_exeext
76997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76998   (eval $ac_link) 2>conftest.er1
76999   ac_status=$?
77000   grep -v '^ *+' conftest.er1 >conftest.err
77001   rm -f conftest.er1
77002   cat conftest.err >&5
77003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77004   (exit $ac_status); } &&
77005          { ac_try='test -z "$ac_c_werror_flag"
77006                          || test ! -s conftest.err'
77007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77008   (eval $ac_try) 2>&5
77009   ac_status=$?
77010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77011   (exit $ac_status); }; } &&
77012          { ac_try='test -s conftest$ac_exeext'
77013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77014   (eval $ac_try) 2>&5
77015   ac_status=$?
77016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77017   (exit $ac_status); }; }; then
77018   ac_cv_lib_m_main=yes
77019 else
77020   echo "$as_me: failed program was:" >&5
77021 sed 's/^/| /' conftest.$ac_ext >&5
77022
77023 ac_cv_lib_m_main=no
77024 fi
77025 rm -f conftest.err conftest.$ac_objext \
77026       conftest$ac_exeext conftest.$ac_ext
77027 LIBS=$ac_check_lib_save_LIBS
77028 fi
77029 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
77030 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
77031 if test $ac_cv_lib_m_main = yes; then
77032   cat >>confdefs.h <<_ACEOF
77033 #define HAVE_LIBM 1
77034 _ACEOF
77035
77036   LIBS="-lm $LIBS"
77037
77038 fi
77039
77040
77041 for ac_func in copysignf
77042 do
77043 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77044 echo "$as_me:$LINENO: checking for $ac_func" >&5
77045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77046 if eval "test \"\${$as_ac_var+set}\" = set"; then
77047   echo $ECHO_N "(cached) $ECHO_C" >&6
77048 else
77049   if test x$gcc_no_link = xyes; then
77050   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77052    { (exit 1); exit 1; }; }
77053 fi
77054 cat >conftest.$ac_ext <<_ACEOF
77055 /* confdefs.h.  */
77056 _ACEOF
77057 cat confdefs.h >>conftest.$ac_ext
77058 cat >>conftest.$ac_ext <<_ACEOF
77059 /* end confdefs.h.  */
77060 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77061    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77062 #define $ac_func innocuous_$ac_func
77063
77064 /* System header to define __stub macros and hopefully few prototypes,
77065     which can conflict with char $ac_func (); below.
77066     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77067     <limits.h> exists even on freestanding compilers.  */
77068
77069 #ifdef __STDC__
77070 # include <limits.h>
77071 #else
77072 # include <assert.h>
77073 #endif
77074
77075 #undef $ac_func
77076
77077 /* Override any gcc2 internal prototype to avoid an error.  */
77078 #ifdef __cplusplus
77079 extern "C"
77080 {
77081 #endif
77082 /* We use char because int might match the return type of a gcc2
77083    builtin and then its argument prototype would still apply.  */
77084 char $ac_func ();
77085 /* The GNU C library defines this for functions which it implements
77086     to always fail with ENOSYS.  Some functions are actually named
77087     something starting with __ and the normal name is an alias.  */
77088 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77089 choke me
77090 #else
77091 char (*f) () = $ac_func;
77092 #endif
77093 #ifdef __cplusplus
77094 }
77095 #endif
77096
77097 int
77098 main ()
77099 {
77100 return f != $ac_func;
77101   ;
77102   return 0;
77103 }
77104 _ACEOF
77105 rm -f conftest.$ac_objext conftest$ac_exeext
77106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77107   (eval $ac_link) 2>conftest.er1
77108   ac_status=$?
77109   grep -v '^ *+' conftest.er1 >conftest.err
77110   rm -f conftest.er1
77111   cat conftest.err >&5
77112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77113   (exit $ac_status); } &&
77114          { ac_try='test -z "$ac_c_werror_flag"
77115                          || test ! -s conftest.err'
77116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77117   (eval $ac_try) 2>&5
77118   ac_status=$?
77119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77120   (exit $ac_status); }; } &&
77121          { ac_try='test -s conftest$ac_exeext'
77122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77123   (eval $ac_try) 2>&5
77124   ac_status=$?
77125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77126   (exit $ac_status); }; }; then
77127   eval "$as_ac_var=yes"
77128 else
77129   echo "$as_me: failed program was:" >&5
77130 sed 's/^/| /' conftest.$ac_ext >&5
77131
77132 eval "$as_ac_var=no"
77133 fi
77134 rm -f conftest.err conftest.$ac_objext \
77135       conftest$ac_exeext conftest.$ac_ext
77136 fi
77137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77138 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77139 if test `eval echo '${'$as_ac_var'}'` = yes; then
77140   cat >>confdefs.h <<_ACEOF
77141 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77142 _ACEOF
77143
77144 else
77145   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
77146 fi
77147 done
77148
77149
77150
77151 for ac_func in __signbit
77152 do
77153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77154 echo "$as_me:$LINENO: checking for $ac_func" >&5
77155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77156 if eval "test \"\${$as_ac_var+set}\" = set"; then
77157   echo $ECHO_N "(cached) $ECHO_C" >&6
77158 else
77159   if test x$gcc_no_link = xyes; then
77160   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77162    { (exit 1); exit 1; }; }
77163 fi
77164 cat >conftest.$ac_ext <<_ACEOF
77165 /* confdefs.h.  */
77166 _ACEOF
77167 cat confdefs.h >>conftest.$ac_ext
77168 cat >>conftest.$ac_ext <<_ACEOF
77169 /* end confdefs.h.  */
77170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77171    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77172 #define $ac_func innocuous_$ac_func
77173
77174 /* System header to define __stub macros and hopefully few prototypes,
77175     which can conflict with char $ac_func (); below.
77176     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77177     <limits.h> exists even on freestanding compilers.  */
77178
77179 #ifdef __STDC__
77180 # include <limits.h>
77181 #else
77182 # include <assert.h>
77183 #endif
77184
77185 #undef $ac_func
77186
77187 /* Override any gcc2 internal prototype to avoid an error.  */
77188 #ifdef __cplusplus
77189 extern "C"
77190 {
77191 #endif
77192 /* We use char because int might match the return type of a gcc2
77193    builtin and then its argument prototype would still apply.  */
77194 char $ac_func ();
77195 /* The GNU C library defines this for functions which it implements
77196     to always fail with ENOSYS.  Some functions are actually named
77197     something starting with __ and the normal name is an alias.  */
77198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77199 choke me
77200 #else
77201 char (*f) () = $ac_func;
77202 #endif
77203 #ifdef __cplusplus
77204 }
77205 #endif
77206
77207 int
77208 main ()
77209 {
77210 return f != $ac_func;
77211   ;
77212   return 0;
77213 }
77214 _ACEOF
77215 rm -f conftest.$ac_objext conftest$ac_exeext
77216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77217   (eval $ac_link) 2>conftest.er1
77218   ac_status=$?
77219   grep -v '^ *+' conftest.er1 >conftest.err
77220   rm -f conftest.er1
77221   cat conftest.err >&5
77222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77223   (exit $ac_status); } &&
77224          { ac_try='test -z "$ac_c_werror_flag"
77225                          || test ! -s conftest.err'
77226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77227   (eval $ac_try) 2>&5
77228   ac_status=$?
77229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77230   (exit $ac_status); }; } &&
77231          { ac_try='test -s conftest$ac_exeext'
77232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77233   (eval $ac_try) 2>&5
77234   ac_status=$?
77235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77236   (exit $ac_status); }; }; then
77237   eval "$as_ac_var=yes"
77238 else
77239   echo "$as_me: failed program was:" >&5
77240 sed 's/^/| /' conftest.$ac_ext >&5
77241
77242 eval "$as_ac_var=no"
77243 fi
77244 rm -f conftest.err conftest.$ac_objext \
77245       conftest$ac_exeext conftest.$ac_ext
77246 fi
77247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77249 if test `eval echo '${'$as_ac_var'}'` = yes; then
77250   cat >>confdefs.h <<_ACEOF
77251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77252 _ACEOF
77253
77254 else
77255   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
77256 fi
77257 done
77258
77259
77260
77261 for ac_func in __signbitf
77262 do
77263 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77264 echo "$as_me:$LINENO: checking for $ac_func" >&5
77265 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77266 if eval "test \"\${$as_ac_var+set}\" = set"; then
77267   echo $ECHO_N "(cached) $ECHO_C" >&6
77268 else
77269   if test x$gcc_no_link = xyes; then
77270   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77272    { (exit 1); exit 1; }; }
77273 fi
77274 cat >conftest.$ac_ext <<_ACEOF
77275 /* confdefs.h.  */
77276 _ACEOF
77277 cat confdefs.h >>conftest.$ac_ext
77278 cat >>conftest.$ac_ext <<_ACEOF
77279 /* end confdefs.h.  */
77280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77281    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77282 #define $ac_func innocuous_$ac_func
77283
77284 /* System header to define __stub macros and hopefully few prototypes,
77285     which can conflict with char $ac_func (); below.
77286     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77287     <limits.h> exists even on freestanding compilers.  */
77288
77289 #ifdef __STDC__
77290 # include <limits.h>
77291 #else
77292 # include <assert.h>
77293 #endif
77294
77295 #undef $ac_func
77296
77297 /* Override any gcc2 internal prototype to avoid an error.  */
77298 #ifdef __cplusplus
77299 extern "C"
77300 {
77301 #endif
77302 /* We use char because int might match the return type of a gcc2
77303    builtin and then its argument prototype would still apply.  */
77304 char $ac_func ();
77305 /* The GNU C library defines this for functions which it implements
77306     to always fail with ENOSYS.  Some functions are actually named
77307     something starting with __ and the normal name is an alias.  */
77308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77309 choke me
77310 #else
77311 char (*f) () = $ac_func;
77312 #endif
77313 #ifdef __cplusplus
77314 }
77315 #endif
77316
77317 int
77318 main ()
77319 {
77320 return f != $ac_func;
77321   ;
77322   return 0;
77323 }
77324 _ACEOF
77325 rm -f conftest.$ac_objext conftest$ac_exeext
77326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77327   (eval $ac_link) 2>conftest.er1
77328   ac_status=$?
77329   grep -v '^ *+' conftest.er1 >conftest.err
77330   rm -f conftest.er1
77331   cat conftest.err >&5
77332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77333   (exit $ac_status); } &&
77334          { ac_try='test -z "$ac_c_werror_flag"
77335                          || test ! -s conftest.err'
77336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77337   (eval $ac_try) 2>&5
77338   ac_status=$?
77339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77340   (exit $ac_status); }; } &&
77341          { ac_try='test -s conftest$ac_exeext'
77342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77343   (eval $ac_try) 2>&5
77344   ac_status=$?
77345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77346   (exit $ac_status); }; }; then
77347   eval "$as_ac_var=yes"
77348 else
77349   echo "$as_me: failed program was:" >&5
77350 sed 's/^/| /' conftest.$ac_ext >&5
77351
77352 eval "$as_ac_var=no"
77353 fi
77354 rm -f conftest.err conftest.$ac_objext \
77355       conftest$ac_exeext conftest.$ac_ext
77356 fi
77357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77358 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77359 if test `eval echo '${'$as_ac_var'}'` = yes; then
77360   cat >>confdefs.h <<_ACEOF
77361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77362 _ACEOF
77363
77364 else
77365   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
77366 fi
77367 done
77368
77369
77370           if test x$ac_cv_func_copysignl = x"yes"; then
77371
77372 for ac_func in __signbitl
77373 do
77374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77375 echo "$as_me:$LINENO: checking for $ac_func" >&5
77376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77377 if eval "test \"\${$as_ac_var+set}\" = set"; then
77378   echo $ECHO_N "(cached) $ECHO_C" >&6
77379 else
77380   if test x$gcc_no_link = xyes; then
77381   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77383    { (exit 1); exit 1; }; }
77384 fi
77385 cat >conftest.$ac_ext <<_ACEOF
77386 /* confdefs.h.  */
77387 _ACEOF
77388 cat confdefs.h >>conftest.$ac_ext
77389 cat >>conftest.$ac_ext <<_ACEOF
77390 /* end confdefs.h.  */
77391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77392    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77393 #define $ac_func innocuous_$ac_func
77394
77395 /* System header to define __stub macros and hopefully few prototypes,
77396     which can conflict with char $ac_func (); below.
77397     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77398     <limits.h> exists even on freestanding compilers.  */
77399
77400 #ifdef __STDC__
77401 # include <limits.h>
77402 #else
77403 # include <assert.h>
77404 #endif
77405
77406 #undef $ac_func
77407
77408 /* Override any gcc2 internal prototype to avoid an error.  */
77409 #ifdef __cplusplus
77410 extern "C"
77411 {
77412 #endif
77413 /* We use char because int might match the return type of a gcc2
77414    builtin and then its argument prototype would still apply.  */
77415 char $ac_func ();
77416 /* The GNU C library defines this for functions which it implements
77417     to always fail with ENOSYS.  Some functions are actually named
77418     something starting with __ and the normal name is an alias.  */
77419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77420 choke me
77421 #else
77422 char (*f) () = $ac_func;
77423 #endif
77424 #ifdef __cplusplus
77425 }
77426 #endif
77427
77428 int
77429 main ()
77430 {
77431 return f != $ac_func;
77432   ;
77433   return 0;
77434 }
77435 _ACEOF
77436 rm -f conftest.$ac_objext conftest$ac_exeext
77437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77438   (eval $ac_link) 2>conftest.er1
77439   ac_status=$?
77440   grep -v '^ *+' conftest.er1 >conftest.err
77441   rm -f conftest.er1
77442   cat conftest.err >&5
77443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77444   (exit $ac_status); } &&
77445          { ac_try='test -z "$ac_c_werror_flag"
77446                          || test ! -s conftest.err'
77447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77448   (eval $ac_try) 2>&5
77449   ac_status=$?
77450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77451   (exit $ac_status); }; } &&
77452          { ac_try='test -s conftest$ac_exeext'
77453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77454   (eval $ac_try) 2>&5
77455   ac_status=$?
77456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77457   (exit $ac_status); }; }; then
77458   eval "$as_ac_var=yes"
77459 else
77460   echo "$as_me: failed program was:" >&5
77461 sed 's/^/| /' conftest.$ac_ext >&5
77462
77463 eval "$as_ac_var=no"
77464 fi
77465 rm -f conftest.err conftest.$ac_objext \
77466       conftest$ac_exeext conftest.$ac_ext
77467 fi
77468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77470 if test `eval echo '${'$as_ac_var'}'` = yes; then
77471   cat >>confdefs.h <<_ACEOF
77472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77473 _ACEOF
77474
77475 else
77476   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
77477 fi
77478 done
77479
77480   fi
77481
77482   # Used in libmath/Makefile.am.
77483   if test -n "$LIBMATHOBJS"; then
77484     need_libmath=yes
77485   fi
77486
77487
77488
77489
77490   enable_iconv=no
77491   # Only continue checking if the ISO C99 headers exist and support is on.
77492   if test x"$enable_wchar_t" = xyes; then
77493
77494     # Use iconv for wchar_t to char conversions. As such, check for
77495     # X/Open Portability Guide, version 2 features (XPG2).
77496     if test "${ac_cv_header_iconv_h+set}" = set; then
77497   echo "$as_me:$LINENO: checking for iconv.h" >&5
77498 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77499 if test "${ac_cv_header_iconv_h+set}" = set; then
77500   echo $ECHO_N "(cached) $ECHO_C" >&6
77501 fi
77502 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
77503 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
77504 else
77505   # Is the header compilable?
77506 echo "$as_me:$LINENO: checking iconv.h usability" >&5
77507 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
77508 cat >conftest.$ac_ext <<_ACEOF
77509 /* confdefs.h.  */
77510 _ACEOF
77511 cat confdefs.h >>conftest.$ac_ext
77512 cat >>conftest.$ac_ext <<_ACEOF
77513 /* end confdefs.h.  */
77514 $ac_includes_default
77515 #include <iconv.h>
77516 _ACEOF
77517 rm -f conftest.$ac_objext
77518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77519   (eval $ac_compile) 2>conftest.er1
77520   ac_status=$?
77521   grep -v '^ *+' conftest.er1 >conftest.err
77522   rm -f conftest.er1
77523   cat conftest.err >&5
77524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77525   (exit $ac_status); } &&
77526          { ac_try='test -z "$ac_c_werror_flag"
77527                          || test ! -s conftest.err'
77528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77529   (eval $ac_try) 2>&5
77530   ac_status=$?
77531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77532   (exit $ac_status); }; } &&
77533          { ac_try='test -s conftest.$ac_objext'
77534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77535   (eval $ac_try) 2>&5
77536   ac_status=$?
77537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77538   (exit $ac_status); }; }; then
77539   ac_header_compiler=yes
77540 else
77541   echo "$as_me: failed program was:" >&5
77542 sed 's/^/| /' conftest.$ac_ext >&5
77543
77544 ac_header_compiler=no
77545 fi
77546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77547 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77548 echo "${ECHO_T}$ac_header_compiler" >&6
77549
77550 # Is the header present?
77551 echo "$as_me:$LINENO: checking iconv.h presence" >&5
77552 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
77553 cat >conftest.$ac_ext <<_ACEOF
77554 /* confdefs.h.  */
77555 _ACEOF
77556 cat confdefs.h >>conftest.$ac_ext
77557 cat >>conftest.$ac_ext <<_ACEOF
77558 /* end confdefs.h.  */
77559 #include <iconv.h>
77560 _ACEOF
77561 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77562   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77563   ac_status=$?
77564   grep -v '^ *+' conftest.er1 >conftest.err
77565   rm -f conftest.er1
77566   cat conftest.err >&5
77567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77568   (exit $ac_status); } >/dev/null; then
77569   if test -s conftest.err; then
77570     ac_cpp_err=$ac_c_preproc_warn_flag
77571     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77572   else
77573     ac_cpp_err=
77574   fi
77575 else
77576   ac_cpp_err=yes
77577 fi
77578 if test -z "$ac_cpp_err"; then
77579   ac_header_preproc=yes
77580 else
77581   echo "$as_me: failed program was:" >&5
77582 sed 's/^/| /' conftest.$ac_ext >&5
77583
77584   ac_header_preproc=no
77585 fi
77586 rm -f conftest.err conftest.$ac_ext
77587 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77588 echo "${ECHO_T}$ac_header_preproc" >&6
77589
77590 # So?  What about this header?
77591 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77592   yes:no: )
77593     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
77594 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
77595     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
77596 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
77597     ac_header_preproc=yes
77598     ;;
77599   no:yes:* )
77600     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
77601 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
77602     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
77603 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
77604     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
77605 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
77606     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
77607 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
77608     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
77609 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
77610     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
77611 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
77612     (
77613       cat <<\_ASBOX
77614 ## ----------------------------------------- ##
77615 ## Report this to the package-unused lists.  ##
77616 ## ----------------------------------------- ##
77617 _ASBOX
77618     ) |
77619       sed "s/^/$as_me: WARNING:     /" >&2
77620     ;;
77621 esac
77622 echo "$as_me:$LINENO: checking for iconv.h" >&5
77623 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77624 if test "${ac_cv_header_iconv_h+set}" = set; then
77625   echo $ECHO_N "(cached) $ECHO_C" >&6
77626 else
77627   ac_cv_header_iconv_h=$ac_header_preproc
77628 fi
77629 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
77630 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
77631
77632 fi
77633 if test $ac_cv_header_iconv_h = yes; then
77634   ac_has_iconv_h=yes
77635 else
77636   ac_has_iconv_h=no
77637 fi
77638
77639
77640     if test "${ac_cv_header_langinfo_h+set}" = set; then
77641   echo "$as_me:$LINENO: checking for langinfo.h" >&5
77642 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
77643 if test "${ac_cv_header_langinfo_h+set}" = set; then
77644   echo $ECHO_N "(cached) $ECHO_C" >&6
77645 fi
77646 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
77647 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
77648 else
77649   # Is the header compilable?
77650 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
77651 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
77652 cat >conftest.$ac_ext <<_ACEOF
77653 /* confdefs.h.  */
77654 _ACEOF
77655 cat confdefs.h >>conftest.$ac_ext
77656 cat >>conftest.$ac_ext <<_ACEOF
77657 /* end confdefs.h.  */
77658 $ac_includes_default
77659 #include <langinfo.h>
77660 _ACEOF
77661 rm -f conftest.$ac_objext
77662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77663   (eval $ac_compile) 2>conftest.er1
77664   ac_status=$?
77665   grep -v '^ *+' conftest.er1 >conftest.err
77666   rm -f conftest.er1
77667   cat conftest.err >&5
77668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77669   (exit $ac_status); } &&
77670          { ac_try='test -z "$ac_c_werror_flag"
77671                          || test ! -s conftest.err'
77672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77673   (eval $ac_try) 2>&5
77674   ac_status=$?
77675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77676   (exit $ac_status); }; } &&
77677          { ac_try='test -s conftest.$ac_objext'
77678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77679   (eval $ac_try) 2>&5
77680   ac_status=$?
77681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77682   (exit $ac_status); }; }; then
77683   ac_header_compiler=yes
77684 else
77685   echo "$as_me: failed program was:" >&5
77686 sed 's/^/| /' conftest.$ac_ext >&5
77687
77688 ac_header_compiler=no
77689 fi
77690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77691 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77692 echo "${ECHO_T}$ac_header_compiler" >&6
77693
77694 # Is the header present?
77695 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
77696 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
77697 cat >conftest.$ac_ext <<_ACEOF
77698 /* confdefs.h.  */
77699 _ACEOF
77700 cat confdefs.h >>conftest.$ac_ext
77701 cat >>conftest.$ac_ext <<_ACEOF
77702 /* end confdefs.h.  */
77703 #include <langinfo.h>
77704 _ACEOF
77705 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77706   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77707   ac_status=$?
77708   grep -v '^ *+' conftest.er1 >conftest.err
77709   rm -f conftest.er1
77710   cat conftest.err >&5
77711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77712   (exit $ac_status); } >/dev/null; then
77713   if test -s conftest.err; then
77714     ac_cpp_err=$ac_c_preproc_warn_flag
77715     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77716   else
77717     ac_cpp_err=
77718   fi
77719 else
77720   ac_cpp_err=yes
77721 fi
77722 if test -z "$ac_cpp_err"; then
77723   ac_header_preproc=yes
77724 else
77725   echo "$as_me: failed program was:" >&5
77726 sed 's/^/| /' conftest.$ac_ext >&5
77727
77728   ac_header_preproc=no
77729 fi
77730 rm -f conftest.err conftest.$ac_ext
77731 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77732 echo "${ECHO_T}$ac_header_preproc" >&6
77733
77734 # So?  What about this header?
77735 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77736   yes:no: )
77737     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
77738 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
77739     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
77740 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
77741     ac_header_preproc=yes
77742     ;;
77743   no:yes:* )
77744     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
77745 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
77746     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
77747 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
77748     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
77749 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
77750     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
77751 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
77752     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
77753 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
77754     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
77755 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
77756     (
77757       cat <<\_ASBOX
77758 ## ----------------------------------------- ##
77759 ## Report this to the package-unused lists.  ##
77760 ## ----------------------------------------- ##
77761 _ASBOX
77762     ) |
77763       sed "s/^/$as_me: WARNING:     /" >&2
77764     ;;
77765 esac
77766 echo "$as_me:$LINENO: checking for langinfo.h" >&5
77767 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
77768 if test "${ac_cv_header_langinfo_h+set}" = set; then
77769   echo $ECHO_N "(cached) $ECHO_C" >&6
77770 else
77771   ac_cv_header_langinfo_h=$ac_header_preproc
77772 fi
77773 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
77774 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
77775
77776 fi
77777 if test $ac_cv_header_langinfo_h = yes; then
77778   ac_has_langinfo_h=yes
77779 else
77780   ac_has_langinfo_h=no
77781 fi
77782
77783
77784
77785     # Check for existence of libiconv.a providing XPG2 wchar_t support.
77786     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
77787 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
77788 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
77789   echo $ECHO_N "(cached) $ECHO_C" >&6
77790 else
77791   ac_check_lib_save_LIBS=$LIBS
77792 LIBS="-liconv  $LIBS"
77793 if test x$gcc_no_link = xyes; then
77794   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77796    { (exit 1); exit 1; }; }
77797 fi
77798 cat >conftest.$ac_ext <<_ACEOF
77799 /* confdefs.h.  */
77800 _ACEOF
77801 cat confdefs.h >>conftest.$ac_ext
77802 cat >>conftest.$ac_ext <<_ACEOF
77803 /* end confdefs.h.  */
77804
77805 /* Override any gcc2 internal prototype to avoid an error.  */
77806 #ifdef __cplusplus
77807 extern "C"
77808 #endif
77809 /* We use char because int might match the return type of a gcc2
77810    builtin and then its argument prototype would still apply.  */
77811 char iconv ();
77812 int
77813 main ()
77814 {
77815 iconv ();
77816   ;
77817   return 0;
77818 }
77819 _ACEOF
77820 rm -f conftest.$ac_objext conftest$ac_exeext
77821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77822   (eval $ac_link) 2>conftest.er1
77823   ac_status=$?
77824   grep -v '^ *+' conftest.er1 >conftest.err
77825   rm -f conftest.er1
77826   cat conftest.err >&5
77827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77828   (exit $ac_status); } &&
77829          { ac_try='test -z "$ac_c_werror_flag"
77830                          || test ! -s conftest.err'
77831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77832   (eval $ac_try) 2>&5
77833   ac_status=$?
77834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77835   (exit $ac_status); }; } &&
77836          { ac_try='test -s conftest$ac_exeext'
77837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77838   (eval $ac_try) 2>&5
77839   ac_status=$?
77840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77841   (exit $ac_status); }; }; then
77842   ac_cv_lib_iconv_iconv=yes
77843 else
77844   echo "$as_me: failed program was:" >&5
77845 sed 's/^/| /' conftest.$ac_ext >&5
77846
77847 ac_cv_lib_iconv_iconv=no
77848 fi
77849 rm -f conftest.err conftest.$ac_objext \
77850       conftest$ac_exeext conftest.$ac_ext
77851 LIBS=$ac_check_lib_save_LIBS
77852 fi
77853 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
77854 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
77855 if test $ac_cv_lib_iconv_iconv = yes; then
77856   LIBICONV="-liconv"
77857 fi
77858
77859     ac_save_LIBS="$LIBS"
77860     LIBS="$LIBS $LIBICONV"
77861
77862
77863
77864
77865
77866
77867 for ac_func in iconv_open iconv_close iconv nl_langinfo
77868 do
77869 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77870 echo "$as_me:$LINENO: checking for $ac_func" >&5
77871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77872 if eval "test \"\${$as_ac_var+set}\" = set"; then
77873   echo $ECHO_N "(cached) $ECHO_C" >&6
77874 else
77875   if test x$gcc_no_link = xyes; then
77876   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77877 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77878    { (exit 1); exit 1; }; }
77879 fi
77880 cat >conftest.$ac_ext <<_ACEOF
77881 /* confdefs.h.  */
77882 _ACEOF
77883 cat confdefs.h >>conftest.$ac_ext
77884 cat >>conftest.$ac_ext <<_ACEOF
77885 /* end confdefs.h.  */
77886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77887    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77888 #define $ac_func innocuous_$ac_func
77889
77890 /* System header to define __stub macros and hopefully few prototypes,
77891     which can conflict with char $ac_func (); below.
77892     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77893     <limits.h> exists even on freestanding compilers.  */
77894
77895 #ifdef __STDC__
77896 # include <limits.h>
77897 #else
77898 # include <assert.h>
77899 #endif
77900
77901 #undef $ac_func
77902
77903 /* Override any gcc2 internal prototype to avoid an error.  */
77904 #ifdef __cplusplus
77905 extern "C"
77906 {
77907 #endif
77908 /* We use char because int might match the return type of a gcc2
77909    builtin and then its argument prototype would still apply.  */
77910 char $ac_func ();
77911 /* The GNU C library defines this for functions which it implements
77912     to always fail with ENOSYS.  Some functions are actually named
77913     something starting with __ and the normal name is an alias.  */
77914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77915 choke me
77916 #else
77917 char (*f) () = $ac_func;
77918 #endif
77919 #ifdef __cplusplus
77920 }
77921 #endif
77922
77923 int
77924 main ()
77925 {
77926 return f != $ac_func;
77927   ;
77928   return 0;
77929 }
77930 _ACEOF
77931 rm -f conftest.$ac_objext conftest$ac_exeext
77932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77933   (eval $ac_link) 2>conftest.er1
77934   ac_status=$?
77935   grep -v '^ *+' conftest.er1 >conftest.err
77936   rm -f conftest.er1
77937   cat conftest.err >&5
77938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77939   (exit $ac_status); } &&
77940          { ac_try='test -z "$ac_c_werror_flag"
77941                          || test ! -s conftest.err'
77942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77943   (eval $ac_try) 2>&5
77944   ac_status=$?
77945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77946   (exit $ac_status); }; } &&
77947          { ac_try='test -s conftest$ac_exeext'
77948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77949   (eval $ac_try) 2>&5
77950   ac_status=$?
77951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77952   (exit $ac_status); }; }; then
77953   eval "$as_ac_var=yes"
77954 else
77955   echo "$as_me: failed program was:" >&5
77956 sed 's/^/| /' conftest.$ac_ext >&5
77957
77958 eval "$as_ac_var=no"
77959 fi
77960 rm -f conftest.err conftest.$ac_objext \
77961       conftest$ac_exeext conftest.$ac_ext
77962 fi
77963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77964 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77965 if test `eval echo '${'$as_ac_var'}'` = yes; then
77966   cat >>confdefs.h <<_ACEOF
77967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77968 _ACEOF
77969  ac_XPG2funcs=yes
77970 else
77971   ac_XPG2funcs=no
77972 fi
77973 done
77974
77975
77976     LIBS="$ac_save_LIBS"
77977
77978     if test x"$ac_has_iconv_h" = xyes &&
77979        test x"$ac_has_langinfo_h" = xyes &&
77980        test x"$ac_XPG2funcs" = xyes;
77981     then
77982
77983 cat >>confdefs.h <<\_ACEOF
77984 #define _GLIBCXX_USE_ICONV 1
77985 _ACEOF
77986
77987       enable_iconv=yes
77988     fi
77989   fi
77990   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
77991 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
77992   echo "$as_me:$LINENO: result: $enable_iconv" >&5
77993 echo "${ECHO_T}$enable_iconv" >&6
77994
77995     cat >>confdefs.h <<\_ACEOF
77996 #define HAVE_COPYSIGN 1
77997 _ACEOF
77998
77999     cat >>confdefs.h <<\_ACEOF
78000 #define HAVE_COPYSIGNF 1
78001 _ACEOF
78002
78003     cat >>confdefs.h <<\_ACEOF
78004 #define HAVE_FREXPF 1
78005 _ACEOF
78006
78007     cat >>confdefs.h <<\_ACEOF
78008 #define HAVE_HYPOT 1
78009 _ACEOF
78010
78011     case "$target" in
78012       *-hpux10*)
78013         cat >>confdefs.h <<\_ACEOF
78014 #define HAVE_FINITE 1
78015 _ACEOF
78016
78017         cat >>confdefs.h <<\_ACEOF
78018 #define HAVE_FINITEF 1
78019 _ACEOF
78020
78021         cat >>confdefs.h <<\_ACEOF
78022 #define HAVE_ISINF 1
78023 _ACEOF
78024
78025         cat >>confdefs.h <<\_ACEOF
78026 #define HAVE_ISINFF 1
78027 _ACEOF
78028
78029         cat >>confdefs.h <<\_ACEOF
78030 #define HAVE_ISNAN 1
78031 _ACEOF
78032
78033         cat >>confdefs.h <<\_ACEOF
78034 #define HAVE_ISNANF 1
78035 _ACEOF
78036
78037         ;;
78038     esac
78039     ;;
78040   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
78041
78042
78043
78044
78045
78046
78047
78048
78049
78050
78051
78052
78053
78054
78055
78056 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
78057       machine/endian.h machine/param.h sys/machine.h sys/types.h \
78058       fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
78059 do
78060 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78061 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78062   echo "$as_me:$LINENO: checking for $ac_header" >&5
78063 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78064 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78065   echo $ECHO_N "(cached) $ECHO_C" >&6
78066 fi
78067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78068 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78069 else
78070   # Is the header compilable?
78071 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78072 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78073 cat >conftest.$ac_ext <<_ACEOF
78074 /* confdefs.h.  */
78075 _ACEOF
78076 cat confdefs.h >>conftest.$ac_ext
78077 cat >>conftest.$ac_ext <<_ACEOF
78078 /* end confdefs.h.  */
78079 $ac_includes_default
78080 #include <$ac_header>
78081 _ACEOF
78082 rm -f conftest.$ac_objext
78083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78084   (eval $ac_compile) 2>conftest.er1
78085   ac_status=$?
78086   grep -v '^ *+' conftest.er1 >conftest.err
78087   rm -f conftest.er1
78088   cat conftest.err >&5
78089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78090   (exit $ac_status); } &&
78091          { ac_try='test -z "$ac_c_werror_flag"
78092                          || test ! -s conftest.err'
78093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78094   (eval $ac_try) 2>&5
78095   ac_status=$?
78096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78097   (exit $ac_status); }; } &&
78098          { ac_try='test -s conftest.$ac_objext'
78099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78100   (eval $ac_try) 2>&5
78101   ac_status=$?
78102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78103   (exit $ac_status); }; }; then
78104   ac_header_compiler=yes
78105 else
78106   echo "$as_me: failed program was:" >&5
78107 sed 's/^/| /' conftest.$ac_ext >&5
78108
78109 ac_header_compiler=no
78110 fi
78111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78112 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78113 echo "${ECHO_T}$ac_header_compiler" >&6
78114
78115 # Is the header present?
78116 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78117 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78118 cat >conftest.$ac_ext <<_ACEOF
78119 /* confdefs.h.  */
78120 _ACEOF
78121 cat confdefs.h >>conftest.$ac_ext
78122 cat >>conftest.$ac_ext <<_ACEOF
78123 /* end confdefs.h.  */
78124 #include <$ac_header>
78125 _ACEOF
78126 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78127   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78128   ac_status=$?
78129   grep -v '^ *+' conftest.er1 >conftest.err
78130   rm -f conftest.er1
78131   cat conftest.err >&5
78132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78133   (exit $ac_status); } >/dev/null; then
78134   if test -s conftest.err; then
78135     ac_cpp_err=$ac_c_preproc_warn_flag
78136     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78137   else
78138     ac_cpp_err=
78139   fi
78140 else
78141   ac_cpp_err=yes
78142 fi
78143 if test -z "$ac_cpp_err"; then
78144   ac_header_preproc=yes
78145 else
78146   echo "$as_me: failed program was:" >&5
78147 sed 's/^/| /' conftest.$ac_ext >&5
78148
78149   ac_header_preproc=no
78150 fi
78151 rm -f conftest.err conftest.$ac_ext
78152 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78153 echo "${ECHO_T}$ac_header_preproc" >&6
78154
78155 # So?  What about this header?
78156 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78157   yes:no: )
78158     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78159 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78160     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78161 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78162     ac_header_preproc=yes
78163     ;;
78164   no:yes:* )
78165     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78166 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78167     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
78168 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
78169     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78170 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78171     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
78172 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
78173     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78174 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78175     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78176 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78177     (
78178       cat <<\_ASBOX
78179 ## ----------------------------------------- ##
78180 ## Report this to the package-unused lists.  ##
78181 ## ----------------------------------------- ##
78182 _ASBOX
78183     ) |
78184       sed "s/^/$as_me: WARNING:     /" >&2
78185     ;;
78186 esac
78187 echo "$as_me:$LINENO: checking for $ac_header" >&5
78188 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78189 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78190   echo $ECHO_N "(cached) $ECHO_C" >&6
78191 else
78192   eval "$as_ac_Header=\$ac_header_preproc"
78193 fi
78194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78195 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78196
78197 fi
78198 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78199   cat >>confdefs.h <<_ACEOF
78200 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78201 _ACEOF
78202
78203 fi
78204
78205 done
78206
78207     SECTION_FLAGS='-ffunction-sections -fdata-sections'
78208
78209
78210   # If we're not using GNU ld, then there's no point in even trying these
78211   # tests.  Check for that first.  We should have already tested for gld
78212   # by now (in libtool), but require it now just to be safe...
78213   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
78214   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
78215
78216
78217
78218   # The name set by libtool depends on the version of libtool.  Shame on us
78219   # for depending on an impl detail, but c'est la vie.  Older versions used
78220   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
78221   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
78222   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
78223   # set (hence we're using an older libtool), then set it.
78224   if test x${with_gnu_ld+set} != xset; then
78225     if test x${ac_cv_prog_gnu_ld+set} != xset; then
78226       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
78227       with_gnu_ld=no
78228     else
78229       with_gnu_ld=$ac_cv_prog_gnu_ld
78230     fi
78231   fi
78232
78233   # Start by getting the version number.  I think the libtool test already
78234   # does some of this, but throws away the result.
78235   echo "$as_me:$LINENO: checking for ld version" >&5
78236 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
78237
78238   ldver=`$LD --version 2>/dev/null | head -1 | \
78239          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
78240
78241   glibcxx_gnu_ld_version=`echo $ldver | \
78242          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
78243   echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
78244 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
78245
78246   # Set --gc-sections.
78247   glibcxx_gcsections_min_ld=21602
78248   if test x"$with_gnu_ld" = x"yes" &&
78249         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
78250
78251     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
78252     # NB: This flag only works reliably after 2.16.1. Configure tests
78253     # for this are difficult, so hard wire a value that should work.
78254
78255     # All these tests are for C++, but run with the "C" compiler driver.
78256     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
78257     ac_test_CFLAGS="${CFLAGS+set}"
78258     ac_save_CFLAGS="$CFLAGS"
78259     CFLAGS='-x c++ -Wl,--gc-sections'
78260
78261     # Check for -Wl,--gc-sections
78262     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
78263 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
78264     if test x$gcc_no_link = xyes; then
78265   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78267    { (exit 1); exit 1; }; }
78268 fi
78269 cat >conftest.$ac_ext <<_ACEOF
78270 /* confdefs.h.  */
78271 _ACEOF
78272 cat confdefs.h >>conftest.$ac_ext
78273 cat >>conftest.$ac_ext <<_ACEOF
78274 /* end confdefs.h.  */
78275  int one(void) { return 1; }
78276      int two(void) { return 2; }
78277
78278 int
78279 main ()
78280 {
78281  two();
78282   ;
78283   return 0;
78284 }
78285 _ACEOF
78286 rm -f conftest.$ac_objext conftest$ac_exeext
78287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78288   (eval $ac_link) 2>conftest.er1
78289   ac_status=$?
78290   grep -v '^ *+' conftest.er1 >conftest.err
78291   rm -f conftest.er1
78292   cat conftest.err >&5
78293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78294   (exit $ac_status); } &&
78295          { ac_try='test -z "$ac_c_werror_flag"
78296                          || test ! -s conftest.err'
78297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78298   (eval $ac_try) 2>&5
78299   ac_status=$?
78300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78301   (exit $ac_status); }; } &&
78302          { ac_try='test -s conftest$ac_exeext'
78303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78304   (eval $ac_try) 2>&5
78305   ac_status=$?
78306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78307   (exit $ac_status); }; }; then
78308   ac_gcsections=yes
78309 else
78310   echo "$as_me: failed program was:" >&5
78311 sed 's/^/| /' conftest.$ac_ext >&5
78312
78313 ac_gcsections=no
78314 fi
78315 rm -f conftest.err conftest.$ac_objext \
78316       conftest$ac_exeext conftest.$ac_ext
78317     if test "$ac_gcsections" = "yes"; then
78318       rm -f conftest.c
78319       touch conftest.c
78320       if $CC -c conftest.c; then
78321         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
78322            grep "Warning: gc-sections option ignored" > /dev/null; then
78323           ac_gcsections=no
78324         fi
78325       fi
78326       rm -f conftest.c conftest.o conftest
78327     fi
78328     if test "$ac_gcsections" = "yes"; then
78329       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
78330     fi
78331     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
78332 echo "${ECHO_T}$ac_gcsections" >&6
78333
78334     if test "$ac_test_CFLAGS" = set; then
78335       CFLAGS="$ac_save_CFLAGS"
78336     else
78337       # this is the suspicious part
78338       CFLAGS=''
78339     fi
78340   fi
78341
78342   # Set -z,relro.
78343   # Note this is only for shared objects.
78344   ac_ld_relro=no
78345   if test x"$with_gnu_ld" = x"yes"; then
78346     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
78347 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
78348     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
78349     if test -n "$cxx_z_relo"; then
78350       OPT_LDFLAGS="-Wl,-z,relro"
78351       ac_ld_relro=yes
78352     fi
78353     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
78354 echo "${ECHO_T}$ac_ld_relro" >&6
78355   fi
78356
78357   # Set linker optimization flags.
78358   if test x"$with_gnu_ld" = x"yes"; then
78359     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
78360   fi
78361
78362
78363
78364
78365
78366
78367 echo "$as_me:$LINENO: checking for main in -lm" >&5
78368 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
78369 if test "${ac_cv_lib_m_main+set}" = set; then
78370   echo $ECHO_N "(cached) $ECHO_C" >&6
78371 else
78372   ac_check_lib_save_LIBS=$LIBS
78373 LIBS="-lm  $LIBS"
78374 if test x$gcc_no_link = xyes; then
78375   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78377    { (exit 1); exit 1; }; }
78378 fi
78379 cat >conftest.$ac_ext <<_ACEOF
78380 /* confdefs.h.  */
78381 _ACEOF
78382 cat confdefs.h >>conftest.$ac_ext
78383 cat >>conftest.$ac_ext <<_ACEOF
78384 /* end confdefs.h.  */
78385
78386
78387 int
78388 main ()
78389 {
78390 main ();
78391   ;
78392   return 0;
78393 }
78394 _ACEOF
78395 rm -f conftest.$ac_objext conftest$ac_exeext
78396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78397   (eval $ac_link) 2>conftest.er1
78398   ac_status=$?
78399   grep -v '^ *+' conftest.er1 >conftest.err
78400   rm -f conftest.er1
78401   cat conftest.err >&5
78402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78403   (exit $ac_status); } &&
78404          { ac_try='test -z "$ac_c_werror_flag"
78405                          || test ! -s conftest.err'
78406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78407   (eval $ac_try) 2>&5
78408   ac_status=$?
78409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78410   (exit $ac_status); }; } &&
78411          { ac_try='test -s conftest$ac_exeext'
78412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78413   (eval $ac_try) 2>&5
78414   ac_status=$?
78415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78416   (exit $ac_status); }; }; then
78417   ac_cv_lib_m_main=yes
78418 else
78419   echo "$as_me: failed program was:" >&5
78420 sed 's/^/| /' conftest.$ac_ext >&5
78421
78422 ac_cv_lib_m_main=no
78423 fi
78424 rm -f conftest.err conftest.$ac_objext \
78425       conftest$ac_exeext conftest.$ac_ext
78426 LIBS=$ac_check_lib_save_LIBS
78427 fi
78428 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
78429 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
78430 if test $ac_cv_lib_m_main = yes; then
78431   cat >>confdefs.h <<_ACEOF
78432 #define HAVE_LIBM 1
78433 _ACEOF
78434
78435   LIBS="-lm $LIBS"
78436
78437 fi
78438
78439
78440 for ac_func in copysignf
78441 do
78442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78443 echo "$as_me:$LINENO: checking for $ac_func" >&5
78444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78445 if eval "test \"\${$as_ac_var+set}\" = set"; then
78446   echo $ECHO_N "(cached) $ECHO_C" >&6
78447 else
78448   if test x$gcc_no_link = xyes; then
78449   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78451    { (exit 1); exit 1; }; }
78452 fi
78453 cat >conftest.$ac_ext <<_ACEOF
78454 /* confdefs.h.  */
78455 _ACEOF
78456 cat confdefs.h >>conftest.$ac_ext
78457 cat >>conftest.$ac_ext <<_ACEOF
78458 /* end confdefs.h.  */
78459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78460    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78461 #define $ac_func innocuous_$ac_func
78462
78463 /* System header to define __stub macros and hopefully few prototypes,
78464     which can conflict with char $ac_func (); below.
78465     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78466     <limits.h> exists even on freestanding compilers.  */
78467
78468 #ifdef __STDC__
78469 # include <limits.h>
78470 #else
78471 # include <assert.h>
78472 #endif
78473
78474 #undef $ac_func
78475
78476 /* Override any gcc2 internal prototype to avoid an error.  */
78477 #ifdef __cplusplus
78478 extern "C"
78479 {
78480 #endif
78481 /* We use char because int might match the return type of a gcc2
78482    builtin and then its argument prototype would still apply.  */
78483 char $ac_func ();
78484 /* The GNU C library defines this for functions which it implements
78485     to always fail with ENOSYS.  Some functions are actually named
78486     something starting with __ and the normal name is an alias.  */
78487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78488 choke me
78489 #else
78490 char (*f) () = $ac_func;
78491 #endif
78492 #ifdef __cplusplus
78493 }
78494 #endif
78495
78496 int
78497 main ()
78498 {
78499 return f != $ac_func;
78500   ;
78501   return 0;
78502 }
78503 _ACEOF
78504 rm -f conftest.$ac_objext conftest$ac_exeext
78505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78506   (eval $ac_link) 2>conftest.er1
78507   ac_status=$?
78508   grep -v '^ *+' conftest.er1 >conftest.err
78509   rm -f conftest.er1
78510   cat conftest.err >&5
78511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78512   (exit $ac_status); } &&
78513          { ac_try='test -z "$ac_c_werror_flag"
78514                          || test ! -s conftest.err'
78515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78516   (eval $ac_try) 2>&5
78517   ac_status=$?
78518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78519   (exit $ac_status); }; } &&
78520          { ac_try='test -s conftest$ac_exeext'
78521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78522   (eval $ac_try) 2>&5
78523   ac_status=$?
78524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78525   (exit $ac_status); }; }; then
78526   eval "$as_ac_var=yes"
78527 else
78528   echo "$as_me: failed program was:" >&5
78529 sed 's/^/| /' conftest.$ac_ext >&5
78530
78531 eval "$as_ac_var=no"
78532 fi
78533 rm -f conftest.err conftest.$ac_objext \
78534       conftest$ac_exeext conftest.$ac_ext
78535 fi
78536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78537 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78538 if test `eval echo '${'$as_ac_var'}'` = yes; then
78539   cat >>confdefs.h <<_ACEOF
78540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78541 _ACEOF
78542
78543 else
78544   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
78545 fi
78546 done
78547
78548
78549
78550 for ac_func in __signbit
78551 do
78552 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78553 echo "$as_me:$LINENO: checking for $ac_func" >&5
78554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78555 if eval "test \"\${$as_ac_var+set}\" = set"; then
78556   echo $ECHO_N "(cached) $ECHO_C" >&6
78557 else
78558   if test x$gcc_no_link = xyes; then
78559   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78561    { (exit 1); exit 1; }; }
78562 fi
78563 cat >conftest.$ac_ext <<_ACEOF
78564 /* confdefs.h.  */
78565 _ACEOF
78566 cat confdefs.h >>conftest.$ac_ext
78567 cat >>conftest.$ac_ext <<_ACEOF
78568 /* end confdefs.h.  */
78569 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78570    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78571 #define $ac_func innocuous_$ac_func
78572
78573 /* System header to define __stub macros and hopefully few prototypes,
78574     which can conflict with char $ac_func (); below.
78575     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78576     <limits.h> exists even on freestanding compilers.  */
78577
78578 #ifdef __STDC__
78579 # include <limits.h>
78580 #else
78581 # include <assert.h>
78582 #endif
78583
78584 #undef $ac_func
78585
78586 /* Override any gcc2 internal prototype to avoid an error.  */
78587 #ifdef __cplusplus
78588 extern "C"
78589 {
78590 #endif
78591 /* We use char because int might match the return type of a gcc2
78592    builtin and then its argument prototype would still apply.  */
78593 char $ac_func ();
78594 /* The GNU C library defines this for functions which it implements
78595     to always fail with ENOSYS.  Some functions are actually named
78596     something starting with __ and the normal name is an alias.  */
78597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78598 choke me
78599 #else
78600 char (*f) () = $ac_func;
78601 #endif
78602 #ifdef __cplusplus
78603 }
78604 #endif
78605
78606 int
78607 main ()
78608 {
78609 return f != $ac_func;
78610   ;
78611   return 0;
78612 }
78613 _ACEOF
78614 rm -f conftest.$ac_objext conftest$ac_exeext
78615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78616   (eval $ac_link) 2>conftest.er1
78617   ac_status=$?
78618   grep -v '^ *+' conftest.er1 >conftest.err
78619   rm -f conftest.er1
78620   cat conftest.err >&5
78621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78622   (exit $ac_status); } &&
78623          { ac_try='test -z "$ac_c_werror_flag"
78624                          || test ! -s conftest.err'
78625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78626   (eval $ac_try) 2>&5
78627   ac_status=$?
78628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78629   (exit $ac_status); }; } &&
78630          { ac_try='test -s conftest$ac_exeext'
78631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78632   (eval $ac_try) 2>&5
78633   ac_status=$?
78634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78635   (exit $ac_status); }; }; then
78636   eval "$as_ac_var=yes"
78637 else
78638   echo "$as_me: failed program was:" >&5
78639 sed 's/^/| /' conftest.$ac_ext >&5
78640
78641 eval "$as_ac_var=no"
78642 fi
78643 rm -f conftest.err conftest.$ac_objext \
78644       conftest$ac_exeext conftest.$ac_ext
78645 fi
78646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78647 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78648 if test `eval echo '${'$as_ac_var'}'` = yes; then
78649   cat >>confdefs.h <<_ACEOF
78650 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78651 _ACEOF
78652
78653 else
78654   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
78655 fi
78656 done
78657
78658
78659
78660 for ac_func in __signbitf
78661 do
78662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78663 echo "$as_me:$LINENO: checking for $ac_func" >&5
78664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78665 if eval "test \"\${$as_ac_var+set}\" = set"; then
78666   echo $ECHO_N "(cached) $ECHO_C" >&6
78667 else
78668   if test x$gcc_no_link = xyes; then
78669   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78671    { (exit 1); exit 1; }; }
78672 fi
78673 cat >conftest.$ac_ext <<_ACEOF
78674 /* confdefs.h.  */
78675 _ACEOF
78676 cat confdefs.h >>conftest.$ac_ext
78677 cat >>conftest.$ac_ext <<_ACEOF
78678 /* end confdefs.h.  */
78679 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78680    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78681 #define $ac_func innocuous_$ac_func
78682
78683 /* System header to define __stub macros and hopefully few prototypes,
78684     which can conflict with char $ac_func (); below.
78685     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78686     <limits.h> exists even on freestanding compilers.  */
78687
78688 #ifdef __STDC__
78689 # include <limits.h>
78690 #else
78691 # include <assert.h>
78692 #endif
78693
78694 #undef $ac_func
78695
78696 /* Override any gcc2 internal prototype to avoid an error.  */
78697 #ifdef __cplusplus
78698 extern "C"
78699 {
78700 #endif
78701 /* We use char because int might match the return type of a gcc2
78702    builtin and then its argument prototype would still apply.  */
78703 char $ac_func ();
78704 /* The GNU C library defines this for functions which it implements
78705     to always fail with ENOSYS.  Some functions are actually named
78706     something starting with __ and the normal name is an alias.  */
78707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78708 choke me
78709 #else
78710 char (*f) () = $ac_func;
78711 #endif
78712 #ifdef __cplusplus
78713 }
78714 #endif
78715
78716 int
78717 main ()
78718 {
78719 return f != $ac_func;
78720   ;
78721   return 0;
78722 }
78723 _ACEOF
78724 rm -f conftest.$ac_objext conftest$ac_exeext
78725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78726   (eval $ac_link) 2>conftest.er1
78727   ac_status=$?
78728   grep -v '^ *+' conftest.er1 >conftest.err
78729   rm -f conftest.er1
78730   cat conftest.err >&5
78731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78732   (exit $ac_status); } &&
78733          { ac_try='test -z "$ac_c_werror_flag"
78734                          || test ! -s conftest.err'
78735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78736   (eval $ac_try) 2>&5
78737   ac_status=$?
78738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78739   (exit $ac_status); }; } &&
78740          { ac_try='test -s conftest$ac_exeext'
78741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78742   (eval $ac_try) 2>&5
78743   ac_status=$?
78744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78745   (exit $ac_status); }; }; then
78746   eval "$as_ac_var=yes"
78747 else
78748   echo "$as_me: failed program was:" >&5
78749 sed 's/^/| /' conftest.$ac_ext >&5
78750
78751 eval "$as_ac_var=no"
78752 fi
78753 rm -f conftest.err conftest.$ac_objext \
78754       conftest$ac_exeext conftest.$ac_ext
78755 fi
78756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78757 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78758 if test `eval echo '${'$as_ac_var'}'` = yes; then
78759   cat >>confdefs.h <<_ACEOF
78760 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78761 _ACEOF
78762
78763 else
78764   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
78765 fi
78766 done
78767
78768
78769           if test x$ac_cv_func_copysignl = x"yes"; then
78770
78771 for ac_func in __signbitl
78772 do
78773 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78774 echo "$as_me:$LINENO: checking for $ac_func" >&5
78775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78776 if eval "test \"\${$as_ac_var+set}\" = set"; then
78777   echo $ECHO_N "(cached) $ECHO_C" >&6
78778 else
78779   if test x$gcc_no_link = xyes; then
78780   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78782    { (exit 1); exit 1; }; }
78783 fi
78784 cat >conftest.$ac_ext <<_ACEOF
78785 /* confdefs.h.  */
78786 _ACEOF
78787 cat confdefs.h >>conftest.$ac_ext
78788 cat >>conftest.$ac_ext <<_ACEOF
78789 /* end confdefs.h.  */
78790 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78791    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78792 #define $ac_func innocuous_$ac_func
78793
78794 /* System header to define __stub macros and hopefully few prototypes,
78795     which can conflict with char $ac_func (); below.
78796     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78797     <limits.h> exists even on freestanding compilers.  */
78798
78799 #ifdef __STDC__
78800 # include <limits.h>
78801 #else
78802 # include <assert.h>
78803 #endif
78804
78805 #undef $ac_func
78806
78807 /* Override any gcc2 internal prototype to avoid an error.  */
78808 #ifdef __cplusplus
78809 extern "C"
78810 {
78811 #endif
78812 /* We use char because int might match the return type of a gcc2
78813    builtin and then its argument prototype would still apply.  */
78814 char $ac_func ();
78815 /* The GNU C library defines this for functions which it implements
78816     to always fail with ENOSYS.  Some functions are actually named
78817     something starting with __ and the normal name is an alias.  */
78818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78819 choke me
78820 #else
78821 char (*f) () = $ac_func;
78822 #endif
78823 #ifdef __cplusplus
78824 }
78825 #endif
78826
78827 int
78828 main ()
78829 {
78830 return f != $ac_func;
78831   ;
78832   return 0;
78833 }
78834 _ACEOF
78835 rm -f conftest.$ac_objext conftest$ac_exeext
78836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78837   (eval $ac_link) 2>conftest.er1
78838   ac_status=$?
78839   grep -v '^ *+' conftest.er1 >conftest.err
78840   rm -f conftest.er1
78841   cat conftest.err >&5
78842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78843   (exit $ac_status); } &&
78844          { ac_try='test -z "$ac_c_werror_flag"
78845                          || test ! -s conftest.err'
78846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78847   (eval $ac_try) 2>&5
78848   ac_status=$?
78849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78850   (exit $ac_status); }; } &&
78851          { ac_try='test -s conftest$ac_exeext'
78852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78853   (eval $ac_try) 2>&5
78854   ac_status=$?
78855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78856   (exit $ac_status); }; }; then
78857   eval "$as_ac_var=yes"
78858 else
78859   echo "$as_me: failed program was:" >&5
78860 sed 's/^/| /' conftest.$ac_ext >&5
78861
78862 eval "$as_ac_var=no"
78863 fi
78864 rm -f conftest.err conftest.$ac_objext \
78865       conftest$ac_exeext conftest.$ac_ext
78866 fi
78867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78868 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78869 if test `eval echo '${'$as_ac_var'}'` = yes; then
78870   cat >>confdefs.h <<_ACEOF
78871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78872 _ACEOF
78873
78874 else
78875   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
78876 fi
78877 done
78878
78879   fi
78880
78881   # Used in libmath/Makefile.am.
78882   if test -n "$LIBMATHOBJS"; then
78883     need_libmath=yes
78884   fi
78885
78886
78887
78888
78889   enable_iconv=no
78890   # Only continue checking if the ISO C99 headers exist and support is on.
78891   if test x"$enable_wchar_t" = xyes; then
78892
78893     # Use iconv for wchar_t to char conversions. As such, check for
78894     # X/Open Portability Guide, version 2 features (XPG2).
78895     if test "${ac_cv_header_iconv_h+set}" = set; then
78896   echo "$as_me:$LINENO: checking for iconv.h" >&5
78897 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
78898 if test "${ac_cv_header_iconv_h+set}" = set; then
78899   echo $ECHO_N "(cached) $ECHO_C" >&6
78900 fi
78901 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
78902 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
78903 else
78904   # Is the header compilable?
78905 echo "$as_me:$LINENO: checking iconv.h usability" >&5
78906 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
78907 cat >conftest.$ac_ext <<_ACEOF
78908 /* confdefs.h.  */
78909 _ACEOF
78910 cat confdefs.h >>conftest.$ac_ext
78911 cat >>conftest.$ac_ext <<_ACEOF
78912 /* end confdefs.h.  */
78913 $ac_includes_default
78914 #include <iconv.h>
78915 _ACEOF
78916 rm -f conftest.$ac_objext
78917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78918   (eval $ac_compile) 2>conftest.er1
78919   ac_status=$?
78920   grep -v '^ *+' conftest.er1 >conftest.err
78921   rm -f conftest.er1
78922   cat conftest.err >&5
78923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78924   (exit $ac_status); } &&
78925          { ac_try='test -z "$ac_c_werror_flag"
78926                          || test ! -s conftest.err'
78927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78928   (eval $ac_try) 2>&5
78929   ac_status=$?
78930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78931   (exit $ac_status); }; } &&
78932          { ac_try='test -s conftest.$ac_objext'
78933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78934   (eval $ac_try) 2>&5
78935   ac_status=$?
78936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78937   (exit $ac_status); }; }; then
78938   ac_header_compiler=yes
78939 else
78940   echo "$as_me: failed program was:" >&5
78941 sed 's/^/| /' conftest.$ac_ext >&5
78942
78943 ac_header_compiler=no
78944 fi
78945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78946 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78947 echo "${ECHO_T}$ac_header_compiler" >&6
78948
78949 # Is the header present?
78950 echo "$as_me:$LINENO: checking iconv.h presence" >&5
78951 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
78952 cat >conftest.$ac_ext <<_ACEOF
78953 /* confdefs.h.  */
78954 _ACEOF
78955 cat confdefs.h >>conftest.$ac_ext
78956 cat >>conftest.$ac_ext <<_ACEOF
78957 /* end confdefs.h.  */
78958 #include <iconv.h>
78959 _ACEOF
78960 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78961   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78962   ac_status=$?
78963   grep -v '^ *+' conftest.er1 >conftest.err
78964   rm -f conftest.er1
78965   cat conftest.err >&5
78966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78967   (exit $ac_status); } >/dev/null; then
78968   if test -s conftest.err; then
78969     ac_cpp_err=$ac_c_preproc_warn_flag
78970     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78971   else
78972     ac_cpp_err=
78973   fi
78974 else
78975   ac_cpp_err=yes
78976 fi
78977 if test -z "$ac_cpp_err"; then
78978   ac_header_preproc=yes
78979 else
78980   echo "$as_me: failed program was:" >&5
78981 sed 's/^/| /' conftest.$ac_ext >&5
78982
78983   ac_header_preproc=no
78984 fi
78985 rm -f conftest.err conftest.$ac_ext
78986 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78987 echo "${ECHO_T}$ac_header_preproc" >&6
78988
78989 # So?  What about this header?
78990 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78991   yes:no: )
78992     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
78993 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
78994     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
78995 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
78996     ac_header_preproc=yes
78997     ;;
78998   no:yes:* )
78999     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
79000 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
79001     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
79002 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
79003     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
79004 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
79005     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
79006 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
79007     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
79008 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
79009     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
79010 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
79011     (
79012       cat <<\_ASBOX
79013 ## ----------------------------------------- ##
79014 ## Report this to the package-unused lists.  ##
79015 ## ----------------------------------------- ##
79016 _ASBOX
79017     ) |
79018       sed "s/^/$as_me: WARNING:     /" >&2
79019     ;;
79020 esac
79021 echo "$as_me:$LINENO: checking for iconv.h" >&5
79022 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79023 if test "${ac_cv_header_iconv_h+set}" = set; then
79024   echo $ECHO_N "(cached) $ECHO_C" >&6
79025 else
79026   ac_cv_header_iconv_h=$ac_header_preproc
79027 fi
79028 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79029 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79030
79031 fi
79032 if test $ac_cv_header_iconv_h = yes; then
79033   ac_has_iconv_h=yes
79034 else
79035   ac_has_iconv_h=no
79036 fi
79037
79038
79039     if test "${ac_cv_header_langinfo_h+set}" = set; then
79040   echo "$as_me:$LINENO: checking for langinfo.h" >&5
79041 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
79042 if test "${ac_cv_header_langinfo_h+set}" = set; then
79043   echo $ECHO_N "(cached) $ECHO_C" >&6
79044 fi
79045 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
79046 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
79047 else
79048   # Is the header compilable?
79049 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
79050 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
79051 cat >conftest.$ac_ext <<_ACEOF
79052 /* confdefs.h.  */
79053 _ACEOF
79054 cat confdefs.h >>conftest.$ac_ext
79055 cat >>conftest.$ac_ext <<_ACEOF
79056 /* end confdefs.h.  */
79057 $ac_includes_default
79058 #include <langinfo.h>
79059 _ACEOF
79060 rm -f conftest.$ac_objext
79061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79062   (eval $ac_compile) 2>conftest.er1
79063   ac_status=$?
79064   grep -v '^ *+' conftest.er1 >conftest.err
79065   rm -f conftest.er1
79066   cat conftest.err >&5
79067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79068   (exit $ac_status); } &&
79069          { ac_try='test -z "$ac_c_werror_flag"
79070                          || test ! -s conftest.err'
79071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79072   (eval $ac_try) 2>&5
79073   ac_status=$?
79074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79075   (exit $ac_status); }; } &&
79076          { ac_try='test -s conftest.$ac_objext'
79077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79078   (eval $ac_try) 2>&5
79079   ac_status=$?
79080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79081   (exit $ac_status); }; }; then
79082   ac_header_compiler=yes
79083 else
79084   echo "$as_me: failed program was:" >&5
79085 sed 's/^/| /' conftest.$ac_ext >&5
79086
79087 ac_header_compiler=no
79088 fi
79089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79090 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79091 echo "${ECHO_T}$ac_header_compiler" >&6
79092
79093 # Is the header present?
79094 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
79095 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
79096 cat >conftest.$ac_ext <<_ACEOF
79097 /* confdefs.h.  */
79098 _ACEOF
79099 cat confdefs.h >>conftest.$ac_ext
79100 cat >>conftest.$ac_ext <<_ACEOF
79101 /* end confdefs.h.  */
79102 #include <langinfo.h>
79103 _ACEOF
79104 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79105   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79106   ac_status=$?
79107   grep -v '^ *+' conftest.er1 >conftest.err
79108   rm -f conftest.er1
79109   cat conftest.err >&5
79110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79111   (exit $ac_status); } >/dev/null; then
79112   if test -s conftest.err; then
79113     ac_cpp_err=$ac_c_preproc_warn_flag
79114     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79115   else
79116     ac_cpp_err=
79117   fi
79118 else
79119   ac_cpp_err=yes
79120 fi
79121 if test -z "$ac_cpp_err"; then
79122   ac_header_preproc=yes
79123 else
79124   echo "$as_me: failed program was:" >&5
79125 sed 's/^/| /' conftest.$ac_ext >&5
79126
79127   ac_header_preproc=no
79128 fi
79129 rm -f conftest.err conftest.$ac_ext
79130 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79131 echo "${ECHO_T}$ac_header_preproc" >&6
79132
79133 # So?  What about this header?
79134 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79135   yes:no: )
79136     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
79137 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79138     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
79139 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
79140     ac_header_preproc=yes
79141     ;;
79142   no:yes:* )
79143     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
79144 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
79145     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
79146 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
79147     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
79148 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
79149     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
79150 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
79151     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
79152 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
79153     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
79154 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
79155     (
79156       cat <<\_ASBOX
79157 ## ----------------------------------------- ##
79158 ## Report this to the package-unused lists.  ##
79159 ## ----------------------------------------- ##
79160 _ASBOX
79161     ) |
79162       sed "s/^/$as_me: WARNING:     /" >&2
79163     ;;
79164 esac
79165 echo "$as_me:$LINENO: checking for langinfo.h" >&5
79166 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
79167 if test "${ac_cv_header_langinfo_h+set}" = set; then
79168   echo $ECHO_N "(cached) $ECHO_C" >&6
79169 else
79170   ac_cv_header_langinfo_h=$ac_header_preproc
79171 fi
79172 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
79173 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
79174
79175 fi
79176 if test $ac_cv_header_langinfo_h = yes; then
79177   ac_has_langinfo_h=yes
79178 else
79179   ac_has_langinfo_h=no
79180 fi
79181
79182
79183
79184     # Check for existence of libiconv.a providing XPG2 wchar_t support.
79185     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
79186 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
79187 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
79188   echo $ECHO_N "(cached) $ECHO_C" >&6
79189 else
79190   ac_check_lib_save_LIBS=$LIBS
79191 LIBS="-liconv  $LIBS"
79192 if test x$gcc_no_link = xyes; then
79193   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79195    { (exit 1); exit 1; }; }
79196 fi
79197 cat >conftest.$ac_ext <<_ACEOF
79198 /* confdefs.h.  */
79199 _ACEOF
79200 cat confdefs.h >>conftest.$ac_ext
79201 cat >>conftest.$ac_ext <<_ACEOF
79202 /* end confdefs.h.  */
79203
79204 /* Override any gcc2 internal prototype to avoid an error.  */
79205 #ifdef __cplusplus
79206 extern "C"
79207 #endif
79208 /* We use char because int might match the return type of a gcc2
79209    builtin and then its argument prototype would still apply.  */
79210 char iconv ();
79211 int
79212 main ()
79213 {
79214 iconv ();
79215   ;
79216   return 0;
79217 }
79218 _ACEOF
79219 rm -f conftest.$ac_objext conftest$ac_exeext
79220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79221   (eval $ac_link) 2>conftest.er1
79222   ac_status=$?
79223   grep -v '^ *+' conftest.er1 >conftest.err
79224   rm -f conftest.er1
79225   cat conftest.err >&5
79226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79227   (exit $ac_status); } &&
79228          { ac_try='test -z "$ac_c_werror_flag"
79229                          || test ! -s conftest.err'
79230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79231   (eval $ac_try) 2>&5
79232   ac_status=$?
79233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79234   (exit $ac_status); }; } &&
79235          { ac_try='test -s conftest$ac_exeext'
79236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79237   (eval $ac_try) 2>&5
79238   ac_status=$?
79239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79240   (exit $ac_status); }; }; then
79241   ac_cv_lib_iconv_iconv=yes
79242 else
79243   echo "$as_me: failed program was:" >&5
79244 sed 's/^/| /' conftest.$ac_ext >&5
79245
79246 ac_cv_lib_iconv_iconv=no
79247 fi
79248 rm -f conftest.err conftest.$ac_objext \
79249       conftest$ac_exeext conftest.$ac_ext
79250 LIBS=$ac_check_lib_save_LIBS
79251 fi
79252 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
79253 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
79254 if test $ac_cv_lib_iconv_iconv = yes; then
79255   LIBICONV="-liconv"
79256 fi
79257
79258     ac_save_LIBS="$LIBS"
79259     LIBS="$LIBS $LIBICONV"
79260
79261
79262
79263
79264
79265
79266 for ac_func in iconv_open iconv_close iconv nl_langinfo
79267 do
79268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79269 echo "$as_me:$LINENO: checking for $ac_func" >&5
79270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79271 if eval "test \"\${$as_ac_var+set}\" = set"; then
79272   echo $ECHO_N "(cached) $ECHO_C" >&6
79273 else
79274   if test x$gcc_no_link = xyes; then
79275   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79277    { (exit 1); exit 1; }; }
79278 fi
79279 cat >conftest.$ac_ext <<_ACEOF
79280 /* confdefs.h.  */
79281 _ACEOF
79282 cat confdefs.h >>conftest.$ac_ext
79283 cat >>conftest.$ac_ext <<_ACEOF
79284 /* end confdefs.h.  */
79285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79286    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79287 #define $ac_func innocuous_$ac_func
79288
79289 /* System header to define __stub macros and hopefully few prototypes,
79290     which can conflict with char $ac_func (); below.
79291     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79292     <limits.h> exists even on freestanding compilers.  */
79293
79294 #ifdef __STDC__
79295 # include <limits.h>
79296 #else
79297 # include <assert.h>
79298 #endif
79299
79300 #undef $ac_func
79301
79302 /* Override any gcc2 internal prototype to avoid an error.  */
79303 #ifdef __cplusplus
79304 extern "C"
79305 {
79306 #endif
79307 /* We use char because int might match the return type of a gcc2
79308    builtin and then its argument prototype would still apply.  */
79309 char $ac_func ();
79310 /* The GNU C library defines this for functions which it implements
79311     to always fail with ENOSYS.  Some functions are actually named
79312     something starting with __ and the normal name is an alias.  */
79313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79314 choke me
79315 #else
79316 char (*f) () = $ac_func;
79317 #endif
79318 #ifdef __cplusplus
79319 }
79320 #endif
79321
79322 int
79323 main ()
79324 {
79325 return f != $ac_func;
79326   ;
79327   return 0;
79328 }
79329 _ACEOF
79330 rm -f conftest.$ac_objext conftest$ac_exeext
79331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79332   (eval $ac_link) 2>conftest.er1
79333   ac_status=$?
79334   grep -v '^ *+' conftest.er1 >conftest.err
79335   rm -f conftest.er1
79336   cat conftest.err >&5
79337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79338   (exit $ac_status); } &&
79339          { ac_try='test -z "$ac_c_werror_flag"
79340                          || test ! -s conftest.err'
79341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79342   (eval $ac_try) 2>&5
79343   ac_status=$?
79344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79345   (exit $ac_status); }; } &&
79346          { ac_try='test -s conftest$ac_exeext'
79347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79348   (eval $ac_try) 2>&5
79349   ac_status=$?
79350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79351   (exit $ac_status); }; }; then
79352   eval "$as_ac_var=yes"
79353 else
79354   echo "$as_me: failed program was:" >&5
79355 sed 's/^/| /' conftest.$ac_ext >&5
79356
79357 eval "$as_ac_var=no"
79358 fi
79359 rm -f conftest.err conftest.$ac_objext \
79360       conftest$ac_exeext conftest.$ac_ext
79361 fi
79362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79364 if test `eval echo '${'$as_ac_var'}'` = yes; then
79365   cat >>confdefs.h <<_ACEOF
79366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79367 _ACEOF
79368  ac_XPG2funcs=yes
79369 else
79370   ac_XPG2funcs=no
79371 fi
79372 done
79373
79374
79375     LIBS="$ac_save_LIBS"
79376
79377     if test x"$ac_has_iconv_h" = xyes &&
79378        test x"$ac_has_langinfo_h" = xyes &&
79379        test x"$ac_XPG2funcs" = xyes;
79380     then
79381
79382 cat >>confdefs.h <<\_ACEOF
79383 #define _GLIBCXX_USE_ICONV 1
79384 _ACEOF
79385
79386       enable_iconv=yes
79387     fi
79388   fi
79389   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
79390 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
79391   echo "$as_me:$LINENO: result: $enable_iconv" >&5
79392 echo "${ECHO_T}$enable_iconv" >&6
79393
79394
79395     # For LFS.
79396     cat >>confdefs.h <<\_ACEOF
79397 #define HAVE_INT64_T 1
79398 _ACEOF
79399
79400     case "$target" in
79401       *-uclinux*)
79402         # Don't enable LFS with uClibc
79403         ;;
79404       *)
79405         cat >>confdefs.h <<\_ACEOF
79406 #define _GLIBCXX_USE_LFS 1
79407 _ACEOF
79408
79409     esac
79410
79411     # For showmanyc_helper().
79412
79413
79414 for ac_header in sys/ioctl.h sys/filio.h
79415 do
79416 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
79417 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79418   echo "$as_me:$LINENO: checking for $ac_header" >&5
79419 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79420 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79421   echo $ECHO_N "(cached) $ECHO_C" >&6
79422 fi
79423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79424 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79425 else
79426   # Is the header compilable?
79427 echo "$as_me:$LINENO: checking $ac_header usability" >&5
79428 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
79429 cat >conftest.$ac_ext <<_ACEOF
79430 /* confdefs.h.  */
79431 _ACEOF
79432 cat confdefs.h >>conftest.$ac_ext
79433 cat >>conftest.$ac_ext <<_ACEOF
79434 /* end confdefs.h.  */
79435 $ac_includes_default
79436 #include <$ac_header>
79437 _ACEOF
79438 rm -f conftest.$ac_objext
79439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79440   (eval $ac_compile) 2>conftest.er1
79441   ac_status=$?
79442   grep -v '^ *+' conftest.er1 >conftest.err
79443   rm -f conftest.er1
79444   cat conftest.err >&5
79445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79446   (exit $ac_status); } &&
79447          { ac_try='test -z "$ac_c_werror_flag"
79448                          || test ! -s conftest.err'
79449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79450   (eval $ac_try) 2>&5
79451   ac_status=$?
79452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79453   (exit $ac_status); }; } &&
79454          { ac_try='test -s conftest.$ac_objext'
79455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79456   (eval $ac_try) 2>&5
79457   ac_status=$?
79458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79459   (exit $ac_status); }; }; then
79460   ac_header_compiler=yes
79461 else
79462   echo "$as_me: failed program was:" >&5
79463 sed 's/^/| /' conftest.$ac_ext >&5
79464
79465 ac_header_compiler=no
79466 fi
79467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79468 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79469 echo "${ECHO_T}$ac_header_compiler" >&6
79470
79471 # Is the header present?
79472 echo "$as_me:$LINENO: checking $ac_header presence" >&5
79473 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
79474 cat >conftest.$ac_ext <<_ACEOF
79475 /* confdefs.h.  */
79476 _ACEOF
79477 cat confdefs.h >>conftest.$ac_ext
79478 cat >>conftest.$ac_ext <<_ACEOF
79479 /* end confdefs.h.  */
79480 #include <$ac_header>
79481 _ACEOF
79482 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79483   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79484   ac_status=$?
79485   grep -v '^ *+' conftest.er1 >conftest.err
79486   rm -f conftest.er1
79487   cat conftest.err >&5
79488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79489   (exit $ac_status); } >/dev/null; then
79490   if test -s conftest.err; then
79491     ac_cpp_err=$ac_c_preproc_warn_flag
79492     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79493   else
79494     ac_cpp_err=
79495   fi
79496 else
79497   ac_cpp_err=yes
79498 fi
79499 if test -z "$ac_cpp_err"; then
79500   ac_header_preproc=yes
79501 else
79502   echo "$as_me: failed program was:" >&5
79503 sed 's/^/| /' conftest.$ac_ext >&5
79504
79505   ac_header_preproc=no
79506 fi
79507 rm -f conftest.err conftest.$ac_ext
79508 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79509 echo "${ECHO_T}$ac_header_preproc" >&6
79510
79511 # So?  What about this header?
79512 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79513   yes:no: )
79514     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
79515 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
79516     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
79517 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
79518     ac_header_preproc=yes
79519     ;;
79520   no:yes:* )
79521     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
79522 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
79523     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
79524 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
79525     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
79526 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
79527     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
79528 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
79529     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
79530 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
79531     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
79532 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
79533     (
79534       cat <<\_ASBOX
79535 ## ----------------------------------------- ##
79536 ## Report this to the package-unused lists.  ##
79537 ## ----------------------------------------- ##
79538 _ASBOX
79539     ) |
79540       sed "s/^/$as_me: WARNING:     /" >&2
79541     ;;
79542 esac
79543 echo "$as_me:$LINENO: checking for $ac_header" >&5
79544 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79545 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79546   echo $ECHO_N "(cached) $ECHO_C" >&6
79547 else
79548   eval "$as_ac_Header=\$ac_header_preproc"
79549 fi
79550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79551 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79552
79553 fi
79554 if test `eval echo '${'$as_ac_Header'}'` = yes; then
79555   cat >>confdefs.h <<_ACEOF
79556 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
79557 _ACEOF
79558
79559 fi
79560
79561 done
79562
79563
79564   echo "$as_me:$LINENO: checking for poll" >&5
79565 echo $ECHO_N "checking for poll... $ECHO_C" >&6
79566   if test "${glibcxx_cv_POLL+set}" = set; then
79567   echo $ECHO_N "(cached) $ECHO_C" >&6
79568 else
79569
79570     if test x$gcc_no_link = xyes; then
79571   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79573    { (exit 1); exit 1; }; }
79574 fi
79575 cat >conftest.$ac_ext <<_ACEOF
79576 /* confdefs.h.  */
79577 _ACEOF
79578 cat confdefs.h >>conftest.$ac_ext
79579 cat >>conftest.$ac_ext <<_ACEOF
79580 /* end confdefs.h.  */
79581 #include <poll.h>
79582 int
79583 main ()
79584 {
79585 struct pollfd pfd[1];
79586        pfd[0].events = POLLIN;
79587        poll(pfd, 1, 0);
79588   ;
79589   return 0;
79590 }
79591 _ACEOF
79592 rm -f conftest.$ac_objext conftest$ac_exeext
79593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79594   (eval $ac_link) 2>conftest.er1
79595   ac_status=$?
79596   grep -v '^ *+' conftest.er1 >conftest.err
79597   rm -f conftest.er1
79598   cat conftest.err >&5
79599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79600   (exit $ac_status); } &&
79601          { ac_try='test -z "$ac_c_werror_flag"
79602                          || test ! -s conftest.err'
79603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79604   (eval $ac_try) 2>&5
79605   ac_status=$?
79606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79607   (exit $ac_status); }; } &&
79608          { ac_try='test -s conftest$ac_exeext'
79609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79610   (eval $ac_try) 2>&5
79611   ac_status=$?
79612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79613   (exit $ac_status); }; }; then
79614   glibcxx_cv_POLL=yes
79615 else
79616   echo "$as_me: failed program was:" >&5
79617 sed 's/^/| /' conftest.$ac_ext >&5
79618
79619 glibcxx_cv_POLL=no
79620 fi
79621 rm -f conftest.err conftest.$ac_objext \
79622       conftest$ac_exeext conftest.$ac_ext
79623
79624 fi
79625
79626   if test $glibcxx_cv_POLL = yes; then
79627
79628 cat >>confdefs.h <<\_ACEOF
79629 #define HAVE_POLL 1
79630 _ACEOF
79631
79632   fi
79633   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
79634 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
79635
79636
79637   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
79638 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
79639   if test "${glibcxx_cv_S_ISREG+set}" = set; then
79640   echo $ECHO_N "(cached) $ECHO_C" >&6
79641 else
79642
79643     if test x$gcc_no_link = xyes; then
79644   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79646    { (exit 1); exit 1; }; }
79647 fi
79648 cat >conftest.$ac_ext <<_ACEOF
79649 /* confdefs.h.  */
79650 _ACEOF
79651 cat confdefs.h >>conftest.$ac_ext
79652 cat >>conftest.$ac_ext <<_ACEOF
79653 /* end confdefs.h.  */
79654 #include <sys/stat.h>
79655 int
79656 main ()
79657 {
79658 struct stat buffer;
79659        fstat(0, &buffer);
79660        S_ISREG(buffer.st_mode);
79661   ;
79662   return 0;
79663 }
79664 _ACEOF
79665 rm -f conftest.$ac_objext conftest$ac_exeext
79666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79667   (eval $ac_link) 2>conftest.er1
79668   ac_status=$?
79669   grep -v '^ *+' conftest.er1 >conftest.err
79670   rm -f conftest.er1
79671   cat conftest.err >&5
79672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79673   (exit $ac_status); } &&
79674          { ac_try='test -z "$ac_c_werror_flag"
79675                          || test ! -s conftest.err'
79676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79677   (eval $ac_try) 2>&5
79678   ac_status=$?
79679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79680   (exit $ac_status); }; } &&
79681          { ac_try='test -s conftest$ac_exeext'
79682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79683   (eval $ac_try) 2>&5
79684   ac_status=$?
79685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79686   (exit $ac_status); }; }; then
79687   glibcxx_cv_S_ISREG=yes
79688 else
79689   echo "$as_me: failed program was:" >&5
79690 sed 's/^/| /' conftest.$ac_ext >&5
79691
79692 glibcxx_cv_S_ISREG=no
79693 fi
79694 rm -f conftest.err conftest.$ac_objext \
79695       conftest$ac_exeext conftest.$ac_ext
79696
79697 fi
79698
79699   if test "${glibcxx_cv_S_IFREG+set}" = set; then
79700   echo $ECHO_N "(cached) $ECHO_C" >&6
79701 else
79702
79703     if test x$gcc_no_link = xyes; then
79704   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79706    { (exit 1); exit 1; }; }
79707 fi
79708 cat >conftest.$ac_ext <<_ACEOF
79709 /* confdefs.h.  */
79710 _ACEOF
79711 cat confdefs.h >>conftest.$ac_ext
79712 cat >>conftest.$ac_ext <<_ACEOF
79713 /* end confdefs.h.  */
79714 #include <sys/stat.h>
79715 int
79716 main ()
79717 {
79718 struct stat buffer;
79719        fstat(0, &buffer);
79720        S_IFREG & buffer.st_mode;
79721   ;
79722   return 0;
79723 }
79724 _ACEOF
79725 rm -f conftest.$ac_objext conftest$ac_exeext
79726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79727   (eval $ac_link) 2>conftest.er1
79728   ac_status=$?
79729   grep -v '^ *+' conftest.er1 >conftest.err
79730   rm -f conftest.er1
79731   cat conftest.err >&5
79732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79733   (exit $ac_status); } &&
79734          { ac_try='test -z "$ac_c_werror_flag"
79735                          || test ! -s conftest.err'
79736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79737   (eval $ac_try) 2>&5
79738   ac_status=$?
79739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79740   (exit $ac_status); }; } &&
79741          { ac_try='test -s conftest$ac_exeext'
79742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79743   (eval $ac_try) 2>&5
79744   ac_status=$?
79745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79746   (exit $ac_status); }; }; then
79747   glibcxx_cv_S_IFREG=yes
79748 else
79749   echo "$as_me: failed program was:" >&5
79750 sed 's/^/| /' conftest.$ac_ext >&5
79751
79752 glibcxx_cv_S_IFREG=no
79753 fi
79754 rm -f conftest.err conftest.$ac_objext \
79755       conftest$ac_exeext conftest.$ac_ext
79756
79757 fi
79758
79759   res=no
79760   if test $glibcxx_cv_S_ISREG = yes; then
79761
79762 cat >>confdefs.h <<\_ACEOF
79763 #define HAVE_S_ISREG 1
79764 _ACEOF
79765
79766     res=S_ISREG
79767   elif test $glibcxx_cv_S_IFREG = yes; then
79768
79769 cat >>confdefs.h <<\_ACEOF
79770 #define HAVE_S_IFREG 1
79771 _ACEOF
79772
79773     res=S_IFREG
79774   fi
79775   echo "$as_me:$LINENO: result: $res" >&5
79776 echo "${ECHO_T}$res" >&6
79777
79778
79779     # For xsputn_2().
79780
79781 for ac_header in sys/uio.h
79782 do
79783 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
79784 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79785   echo "$as_me:$LINENO: checking for $ac_header" >&5
79786 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79787 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79788   echo $ECHO_N "(cached) $ECHO_C" >&6
79789 fi
79790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79791 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79792 else
79793   # Is the header compilable?
79794 echo "$as_me:$LINENO: checking $ac_header usability" >&5
79795 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
79796 cat >conftest.$ac_ext <<_ACEOF
79797 /* confdefs.h.  */
79798 _ACEOF
79799 cat confdefs.h >>conftest.$ac_ext
79800 cat >>conftest.$ac_ext <<_ACEOF
79801 /* end confdefs.h.  */
79802 $ac_includes_default
79803 #include <$ac_header>
79804 _ACEOF
79805 rm -f conftest.$ac_objext
79806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79807   (eval $ac_compile) 2>conftest.er1
79808   ac_status=$?
79809   grep -v '^ *+' conftest.er1 >conftest.err
79810   rm -f conftest.er1
79811   cat conftest.err >&5
79812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79813   (exit $ac_status); } &&
79814          { ac_try='test -z "$ac_c_werror_flag"
79815                          || test ! -s conftest.err'
79816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79817   (eval $ac_try) 2>&5
79818   ac_status=$?
79819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79820   (exit $ac_status); }; } &&
79821          { ac_try='test -s conftest.$ac_objext'
79822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79823   (eval $ac_try) 2>&5
79824   ac_status=$?
79825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79826   (exit $ac_status); }; }; then
79827   ac_header_compiler=yes
79828 else
79829   echo "$as_me: failed program was:" >&5
79830 sed 's/^/| /' conftest.$ac_ext >&5
79831
79832 ac_header_compiler=no
79833 fi
79834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79835 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79836 echo "${ECHO_T}$ac_header_compiler" >&6
79837
79838 # Is the header present?
79839 echo "$as_me:$LINENO: checking $ac_header presence" >&5
79840 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
79841 cat >conftest.$ac_ext <<_ACEOF
79842 /* confdefs.h.  */
79843 _ACEOF
79844 cat confdefs.h >>conftest.$ac_ext
79845 cat >>conftest.$ac_ext <<_ACEOF
79846 /* end confdefs.h.  */
79847 #include <$ac_header>
79848 _ACEOF
79849 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79850   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79851   ac_status=$?
79852   grep -v '^ *+' conftest.er1 >conftest.err
79853   rm -f conftest.er1
79854   cat conftest.err >&5
79855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79856   (exit $ac_status); } >/dev/null; then
79857   if test -s conftest.err; then
79858     ac_cpp_err=$ac_c_preproc_warn_flag
79859     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79860   else
79861     ac_cpp_err=
79862   fi
79863 else
79864   ac_cpp_err=yes
79865 fi
79866 if test -z "$ac_cpp_err"; then
79867   ac_header_preproc=yes
79868 else
79869   echo "$as_me: failed program was:" >&5
79870 sed 's/^/| /' conftest.$ac_ext >&5
79871
79872   ac_header_preproc=no
79873 fi
79874 rm -f conftest.err conftest.$ac_ext
79875 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79876 echo "${ECHO_T}$ac_header_preproc" >&6
79877
79878 # So?  What about this header?
79879 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79880   yes:no: )
79881     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
79882 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
79883     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
79884 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
79885     ac_header_preproc=yes
79886     ;;
79887   no:yes:* )
79888     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
79889 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
79890     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
79891 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
79892     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
79893 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
79894     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
79895 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
79896     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
79897 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
79898     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
79899 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
79900     (
79901       cat <<\_ASBOX
79902 ## ----------------------------------------- ##
79903 ## Report this to the package-unused lists.  ##
79904 ## ----------------------------------------- ##
79905 _ASBOX
79906     ) |
79907       sed "s/^/$as_me: WARNING:     /" >&2
79908     ;;
79909 esac
79910 echo "$as_me:$LINENO: checking for $ac_header" >&5
79911 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79912 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79913   echo $ECHO_N "(cached) $ECHO_C" >&6
79914 else
79915   eval "$as_ac_Header=\$ac_header_preproc"
79916 fi
79917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79918 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79919
79920 fi
79921 if test `eval echo '${'$as_ac_Header'}'` = yes; then
79922   cat >>confdefs.h <<_ACEOF
79923 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
79924 _ACEOF
79925
79926 fi
79927
79928 done
79929
79930
79931   echo "$as_me:$LINENO: checking for writev" >&5
79932 echo $ECHO_N "checking for writev... $ECHO_C" >&6
79933   if test "${glibcxx_cv_WRITEV+set}" = set; then
79934   echo $ECHO_N "(cached) $ECHO_C" >&6
79935 else
79936
79937     if test x$gcc_no_link = xyes; then
79938   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79940    { (exit 1); exit 1; }; }
79941 fi
79942 cat >conftest.$ac_ext <<_ACEOF
79943 /* confdefs.h.  */
79944 _ACEOF
79945 cat confdefs.h >>conftest.$ac_ext
79946 cat >>conftest.$ac_ext <<_ACEOF
79947 /* end confdefs.h.  */
79948 #include <sys/uio.h>
79949 int
79950 main ()
79951 {
79952 struct iovec iov[2];
79953        writev(0, iov, 0);
79954   ;
79955   return 0;
79956 }
79957 _ACEOF
79958 rm -f conftest.$ac_objext conftest$ac_exeext
79959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79960   (eval $ac_link) 2>conftest.er1
79961   ac_status=$?
79962   grep -v '^ *+' conftest.er1 >conftest.err
79963   rm -f conftest.er1
79964   cat conftest.err >&5
79965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79966   (exit $ac_status); } &&
79967          { ac_try='test -z "$ac_c_werror_flag"
79968                          || test ! -s conftest.err'
79969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79970   (eval $ac_try) 2>&5
79971   ac_status=$?
79972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79973   (exit $ac_status); }; } &&
79974          { ac_try='test -s conftest$ac_exeext'
79975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79976   (eval $ac_try) 2>&5
79977   ac_status=$?
79978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79979   (exit $ac_status); }; }; then
79980   glibcxx_cv_WRITEV=yes
79981 else
79982   echo "$as_me: failed program was:" >&5
79983 sed 's/^/| /' conftest.$ac_ext >&5
79984
79985 glibcxx_cv_WRITEV=no
79986 fi
79987 rm -f conftest.err conftest.$ac_objext \
79988       conftest$ac_exeext conftest.$ac_ext
79989
79990 fi
79991
79992   if test $glibcxx_cv_WRITEV = yes; then
79993
79994 cat >>confdefs.h <<\_ACEOF
79995 #define HAVE_WRITEV 1
79996 _ACEOF
79997
79998   fi
79999   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
80000 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
80001
80002
80003     cat >>confdefs.h <<\_ACEOF
80004 #define HAVE_ACOSF 1
80005 _ACEOF
80006
80007     cat >>confdefs.h <<\_ACEOF
80008 #define HAVE_ASINF 1
80009 _ACEOF
80010
80011     cat >>confdefs.h <<\_ACEOF
80012 #define HAVE_ATANF 1
80013 _ACEOF
80014
80015     cat >>confdefs.h <<\_ACEOF
80016 #define HAVE_ATAN2F 1
80017 _ACEOF
80018
80019     cat >>confdefs.h <<\_ACEOF
80020 #define HAVE_CEILF 1
80021 _ACEOF
80022
80023     cat >>confdefs.h <<\_ACEOF
80024 #define HAVE_COPYSIGN 1
80025 _ACEOF
80026
80027     cat >>confdefs.h <<\_ACEOF
80028 #define HAVE_COPYSIGNF 1
80029 _ACEOF
80030
80031     cat >>confdefs.h <<\_ACEOF
80032 #define HAVE_COSF 1
80033 _ACEOF
80034
80035     cat >>confdefs.h <<\_ACEOF
80036 #define HAVE_COSHF 1
80037 _ACEOF
80038
80039     cat >>confdefs.h <<\_ACEOF
80040 #define HAVE_EXPF 1
80041 _ACEOF
80042
80043     cat >>confdefs.h <<\_ACEOF
80044 #define HAVE_FABSF 1
80045 _ACEOF
80046
80047     cat >>confdefs.h <<\_ACEOF
80048 #define HAVE_FINITE 1
80049 _ACEOF
80050
80051     cat >>confdefs.h <<\_ACEOF
80052 #define HAVE_FINITEF 1
80053 _ACEOF
80054
80055     cat >>confdefs.h <<\_ACEOF
80056 #define HAVE_FLOORF 1
80057 _ACEOF
80058
80059     cat >>confdefs.h <<\_ACEOF
80060 #define HAVE_FMODF 1
80061 _ACEOF
80062
80063     cat >>confdefs.h <<\_ACEOF
80064 #define HAVE_FREXPF 1
80065 _ACEOF
80066
80067     cat >>confdefs.h <<\_ACEOF
80068 #define HAVE_HYPOT 1
80069 _ACEOF
80070
80071     cat >>confdefs.h <<\_ACEOF
80072 #define HAVE_HYPOTF 1
80073 _ACEOF
80074
80075     cat >>confdefs.h <<\_ACEOF
80076 #define HAVE_ISINF 1
80077 _ACEOF
80078
80079     cat >>confdefs.h <<\_ACEOF
80080 #define HAVE_ISINFF 1
80081 _ACEOF
80082
80083     cat >>confdefs.h <<\_ACEOF
80084 #define HAVE_ISNAN 1
80085 _ACEOF
80086
80087     cat >>confdefs.h <<\_ACEOF
80088 #define HAVE_ISNANF 1
80089 _ACEOF
80090
80091     cat >>confdefs.h <<\_ACEOF
80092 #define HAVE_LOGF 1
80093 _ACEOF
80094
80095     cat >>confdefs.h <<\_ACEOF
80096 #define HAVE_LOG10F 1
80097 _ACEOF
80098
80099     cat >>confdefs.h <<\_ACEOF
80100 #define HAVE_MODFF 1
80101 _ACEOF
80102
80103     cat >>confdefs.h <<\_ACEOF
80104 #define HAVE_SINF 1
80105 _ACEOF
80106
80107     cat >>confdefs.h <<\_ACEOF
80108 #define HAVE_SINHF 1
80109 _ACEOF
80110
80111     cat >>confdefs.h <<\_ACEOF
80112 #define HAVE_SINCOS 1
80113 _ACEOF
80114
80115     cat >>confdefs.h <<\_ACEOF
80116 #define HAVE_SINCOSF 1
80117 _ACEOF
80118
80119     cat >>confdefs.h <<\_ACEOF
80120 #define HAVE_SQRTF 1
80121 _ACEOF
80122
80123     cat >>confdefs.h <<\_ACEOF
80124 #define HAVE_TANF 1
80125 _ACEOF
80126
80127     cat >>confdefs.h <<\_ACEOF
80128 #define HAVE_TANHF 1
80129 _ACEOF
80130
80131     if test x"long_double_math_on_this_cpu" = x"yes"; then
80132       cat >>confdefs.h <<\_ACEOF
80133 #define HAVE_ACOSL 1
80134 _ACEOF
80135
80136       cat >>confdefs.h <<\_ACEOF
80137 #define HAVE_ASINL 1
80138 _ACEOF
80139
80140       cat >>confdefs.h <<\_ACEOF
80141 #define HAVE_ATANL 1
80142 _ACEOF
80143
80144       cat >>confdefs.h <<\_ACEOF
80145 #define HAVE_ATAN2L 1
80146 _ACEOF
80147
80148       cat >>confdefs.h <<\_ACEOF
80149 #define HAVE_CEILL 1
80150 _ACEOF
80151
80152       cat >>confdefs.h <<\_ACEOF
80153 #define HAVE_COPYSIGNL 1
80154 _ACEOF
80155
80156       cat >>confdefs.h <<\_ACEOF
80157 #define HAVE_COSL 1
80158 _ACEOF
80159
80160       cat >>confdefs.h <<\_ACEOF
80161 #define HAVE_COSHL 1
80162 _ACEOF
80163
80164       cat >>confdefs.h <<\_ACEOF
80165 #define HAVE_EXPL 1
80166 _ACEOF
80167
80168       cat >>confdefs.h <<\_ACEOF
80169 #define HAVE_FABSL 1
80170 _ACEOF
80171
80172       cat >>confdefs.h <<\_ACEOF
80173 #define HAVE_FINITEL 1
80174 _ACEOF
80175
80176       cat >>confdefs.h <<\_ACEOF
80177 #define HAVE_FLOORL 1
80178 _ACEOF
80179
80180       cat >>confdefs.h <<\_ACEOF
80181 #define HAVE_FMODL 1
80182 _ACEOF
80183
80184       cat >>confdefs.h <<\_ACEOF
80185 #define HAVE_FREXPL 1
80186 _ACEOF
80187
80188       cat >>confdefs.h <<\_ACEOF
80189 #define HAVE_HYPOTL 1
80190 _ACEOF
80191
80192       cat >>confdefs.h <<\_ACEOF
80193 #define HAVE_ISINFL 1
80194 _ACEOF
80195
80196       cat >>confdefs.h <<\_ACEOF
80197 #define HAVE_ISNANL 1
80198 _ACEOF
80199
80200       cat >>confdefs.h <<\_ACEOF
80201 #define HAVE_LOGL 1
80202 _ACEOF
80203
80204       cat >>confdefs.h <<\_ACEOF
80205 #define HAVE_LOG10L 1
80206 _ACEOF
80207
80208       cat >>confdefs.h <<\_ACEOF
80209 #define HAVE_MODFL 1
80210 _ACEOF
80211
80212       cat >>confdefs.h <<\_ACEOF
80213 #define HAVE_POWL 1
80214 _ACEOF
80215
80216       cat >>confdefs.h <<\_ACEOF
80217 #define HAVE_SINL 1
80218 _ACEOF
80219
80220       cat >>confdefs.h <<\_ACEOF
80221 #define HAVE_SINHL 1
80222 _ACEOF
80223
80224       cat >>confdefs.h <<\_ACEOF
80225 #define HAVE_SINCOSL 1
80226 _ACEOF
80227
80228       cat >>confdefs.h <<\_ACEOF
80229 #define HAVE_SQRTL 1
80230 _ACEOF
80231
80232       cat >>confdefs.h <<\_ACEOF
80233 #define HAVE_TANL 1
80234 _ACEOF
80235
80236       cat >>confdefs.h <<\_ACEOF
80237 #define HAVE_TANHL 1
80238 _ACEOF
80239
80240     fi
80241     ;;
80242   *-mingw32*)
80243
80244
80245
80246 for ac_header in sys/types.h locale.h float.h
80247 do
80248 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80249 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80250   echo "$as_me:$LINENO: checking for $ac_header" >&5
80251 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80252 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80253   echo $ECHO_N "(cached) $ECHO_C" >&6
80254 fi
80255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80256 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80257 else
80258   # Is the header compilable?
80259 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80260 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80261 cat >conftest.$ac_ext <<_ACEOF
80262 /* confdefs.h.  */
80263 _ACEOF
80264 cat confdefs.h >>conftest.$ac_ext
80265 cat >>conftest.$ac_ext <<_ACEOF
80266 /* end confdefs.h.  */
80267 $ac_includes_default
80268 #include <$ac_header>
80269 _ACEOF
80270 rm -f conftest.$ac_objext
80271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80272   (eval $ac_compile) 2>conftest.er1
80273   ac_status=$?
80274   grep -v '^ *+' conftest.er1 >conftest.err
80275   rm -f conftest.er1
80276   cat conftest.err >&5
80277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80278   (exit $ac_status); } &&
80279          { ac_try='test -z "$ac_c_werror_flag"
80280                          || test ! -s conftest.err'
80281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80282   (eval $ac_try) 2>&5
80283   ac_status=$?
80284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80285   (exit $ac_status); }; } &&
80286          { ac_try='test -s conftest.$ac_objext'
80287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80288   (eval $ac_try) 2>&5
80289   ac_status=$?
80290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80291   (exit $ac_status); }; }; then
80292   ac_header_compiler=yes
80293 else
80294   echo "$as_me: failed program was:" >&5
80295 sed 's/^/| /' conftest.$ac_ext >&5
80296
80297 ac_header_compiler=no
80298 fi
80299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80300 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80301 echo "${ECHO_T}$ac_header_compiler" >&6
80302
80303 # Is the header present?
80304 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80305 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80306 cat >conftest.$ac_ext <<_ACEOF
80307 /* confdefs.h.  */
80308 _ACEOF
80309 cat confdefs.h >>conftest.$ac_ext
80310 cat >>conftest.$ac_ext <<_ACEOF
80311 /* end confdefs.h.  */
80312 #include <$ac_header>
80313 _ACEOF
80314 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80315   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80316   ac_status=$?
80317   grep -v '^ *+' conftest.er1 >conftest.err
80318   rm -f conftest.er1
80319   cat conftest.err >&5
80320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80321   (exit $ac_status); } >/dev/null; then
80322   if test -s conftest.err; then
80323     ac_cpp_err=$ac_c_preproc_warn_flag
80324     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80325   else
80326     ac_cpp_err=
80327   fi
80328 else
80329   ac_cpp_err=yes
80330 fi
80331 if test -z "$ac_cpp_err"; then
80332   ac_header_preproc=yes
80333 else
80334   echo "$as_me: failed program was:" >&5
80335 sed 's/^/| /' conftest.$ac_ext >&5
80336
80337   ac_header_preproc=no
80338 fi
80339 rm -f conftest.err conftest.$ac_ext
80340 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80341 echo "${ECHO_T}$ac_header_preproc" >&6
80342
80343 # So?  What about this header?
80344 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80345   yes:no: )
80346     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80347 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80348     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80349 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80350     ac_header_preproc=yes
80351     ;;
80352   no:yes:* )
80353     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80354 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80355     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
80356 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
80357     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80358 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80359     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
80360 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
80361     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80362 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80363     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80364 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80365     (
80366       cat <<\_ASBOX
80367 ## ----------------------------------------- ##
80368 ## Report this to the package-unused lists.  ##
80369 ## ----------------------------------------- ##
80370 _ASBOX
80371     ) |
80372       sed "s/^/$as_me: WARNING:     /" >&2
80373     ;;
80374 esac
80375 echo "$as_me:$LINENO: checking for $ac_header" >&5
80376 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80377 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80378   echo $ECHO_N "(cached) $ECHO_C" >&6
80379 else
80380   eval "$as_ac_Header=\$ac_header_preproc"
80381 fi
80382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80383 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80384
80385 fi
80386 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80387   cat >>confdefs.h <<_ACEOF
80388 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80389 _ACEOF
80390
80391 fi
80392
80393 done
80394
80395
80396   # If we're not using GNU ld, then there's no point in even trying these
80397   # tests.  Check for that first.  We should have already tested for gld
80398   # by now (in libtool), but require it now just to be safe...
80399   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
80400   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
80401
80402
80403
80404   # The name set by libtool depends on the version of libtool.  Shame on us
80405   # for depending on an impl detail, but c'est la vie.  Older versions used
80406   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
80407   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
80408   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
80409   # set (hence we're using an older libtool), then set it.
80410   if test x${with_gnu_ld+set} != xset; then
80411     if test x${ac_cv_prog_gnu_ld+set} != xset; then
80412       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
80413       with_gnu_ld=no
80414     else
80415       with_gnu_ld=$ac_cv_prog_gnu_ld
80416     fi
80417   fi
80418
80419   # Start by getting the version number.  I think the libtool test already
80420   # does some of this, but throws away the result.
80421   echo "$as_me:$LINENO: checking for ld version" >&5
80422 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
80423
80424   ldver=`$LD --version 2>/dev/null | head -1 | \
80425          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
80426
80427   glibcxx_gnu_ld_version=`echo $ldver | \
80428          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
80429   echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
80430 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
80431
80432   # Set --gc-sections.
80433   glibcxx_gcsections_min_ld=21602
80434   if test x"$with_gnu_ld" = x"yes" &&
80435         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
80436
80437     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
80438     # NB: This flag only works reliably after 2.16.1. Configure tests
80439     # for this are difficult, so hard wire a value that should work.
80440
80441     # All these tests are for C++, but run with the "C" compiler driver.
80442     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
80443     ac_test_CFLAGS="${CFLAGS+set}"
80444     ac_save_CFLAGS="$CFLAGS"
80445     CFLAGS='-x c++ -Wl,--gc-sections'
80446
80447     # Check for -Wl,--gc-sections
80448     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
80449 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
80450     if test x$gcc_no_link = xyes; then
80451   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80453    { (exit 1); exit 1; }; }
80454 fi
80455 cat >conftest.$ac_ext <<_ACEOF
80456 /* confdefs.h.  */
80457 _ACEOF
80458 cat confdefs.h >>conftest.$ac_ext
80459 cat >>conftest.$ac_ext <<_ACEOF
80460 /* end confdefs.h.  */
80461  int one(void) { return 1; }
80462      int two(void) { return 2; }
80463
80464 int
80465 main ()
80466 {
80467  two();
80468   ;
80469   return 0;
80470 }
80471 _ACEOF
80472 rm -f conftest.$ac_objext conftest$ac_exeext
80473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80474   (eval $ac_link) 2>conftest.er1
80475   ac_status=$?
80476   grep -v '^ *+' conftest.er1 >conftest.err
80477   rm -f conftest.er1
80478   cat conftest.err >&5
80479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80480   (exit $ac_status); } &&
80481          { ac_try='test -z "$ac_c_werror_flag"
80482                          || test ! -s conftest.err'
80483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80484   (eval $ac_try) 2>&5
80485   ac_status=$?
80486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80487   (exit $ac_status); }; } &&
80488          { ac_try='test -s conftest$ac_exeext'
80489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80490   (eval $ac_try) 2>&5
80491   ac_status=$?
80492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80493   (exit $ac_status); }; }; then
80494   ac_gcsections=yes
80495 else
80496   echo "$as_me: failed program was:" >&5
80497 sed 's/^/| /' conftest.$ac_ext >&5
80498
80499 ac_gcsections=no
80500 fi
80501 rm -f conftest.err conftest.$ac_objext \
80502       conftest$ac_exeext conftest.$ac_ext
80503     if test "$ac_gcsections" = "yes"; then
80504       rm -f conftest.c
80505       touch conftest.c
80506       if $CC -c conftest.c; then
80507         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
80508            grep "Warning: gc-sections option ignored" > /dev/null; then
80509           ac_gcsections=no
80510         fi
80511       fi
80512       rm -f conftest.c conftest.o conftest
80513     fi
80514     if test "$ac_gcsections" = "yes"; then
80515       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
80516     fi
80517     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
80518 echo "${ECHO_T}$ac_gcsections" >&6
80519
80520     if test "$ac_test_CFLAGS" = set; then
80521       CFLAGS="$ac_save_CFLAGS"
80522     else
80523       # this is the suspicious part
80524       CFLAGS=''
80525     fi
80526   fi
80527
80528   # Set -z,relro.
80529   # Note this is only for shared objects.
80530   ac_ld_relro=no
80531   if test x"$with_gnu_ld" = x"yes"; then
80532     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
80533 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
80534     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
80535     if test -n "$cxx_z_relo"; then
80536       OPT_LDFLAGS="-Wl,-z,relro"
80537       ac_ld_relro=yes
80538     fi
80539     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
80540 echo "${ECHO_T}$ac_ld_relro" >&6
80541   fi
80542
80543   # Set linker optimization flags.
80544   if test x"$with_gnu_ld" = x"yes"; then
80545     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
80546   fi
80547
80548
80549
80550
80551
80552
80553 echo "$as_me:$LINENO: checking for main in -lm" >&5
80554 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
80555 if test "${ac_cv_lib_m_main+set}" = set; then
80556   echo $ECHO_N "(cached) $ECHO_C" >&6
80557 else
80558   ac_check_lib_save_LIBS=$LIBS
80559 LIBS="-lm  $LIBS"
80560 if test x$gcc_no_link = xyes; then
80561   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80563    { (exit 1); exit 1; }; }
80564 fi
80565 cat >conftest.$ac_ext <<_ACEOF
80566 /* confdefs.h.  */
80567 _ACEOF
80568 cat confdefs.h >>conftest.$ac_ext
80569 cat >>conftest.$ac_ext <<_ACEOF
80570 /* end confdefs.h.  */
80571
80572
80573 int
80574 main ()
80575 {
80576 main ();
80577   ;
80578   return 0;
80579 }
80580 _ACEOF
80581 rm -f conftest.$ac_objext conftest$ac_exeext
80582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80583   (eval $ac_link) 2>conftest.er1
80584   ac_status=$?
80585   grep -v '^ *+' conftest.er1 >conftest.err
80586   rm -f conftest.er1
80587   cat conftest.err >&5
80588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80589   (exit $ac_status); } &&
80590          { ac_try='test -z "$ac_c_werror_flag"
80591                          || test ! -s conftest.err'
80592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80593   (eval $ac_try) 2>&5
80594   ac_status=$?
80595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80596   (exit $ac_status); }; } &&
80597          { ac_try='test -s conftest$ac_exeext'
80598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80599   (eval $ac_try) 2>&5
80600   ac_status=$?
80601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80602   (exit $ac_status); }; }; then
80603   ac_cv_lib_m_main=yes
80604 else
80605   echo "$as_me: failed program was:" >&5
80606 sed 's/^/| /' conftest.$ac_ext >&5
80607
80608 ac_cv_lib_m_main=no
80609 fi
80610 rm -f conftest.err conftest.$ac_objext \
80611       conftest$ac_exeext conftest.$ac_ext
80612 LIBS=$ac_check_lib_save_LIBS
80613 fi
80614 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
80615 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
80616 if test $ac_cv_lib_m_main = yes; then
80617   cat >>confdefs.h <<_ACEOF
80618 #define HAVE_LIBM 1
80619 _ACEOF
80620
80621   LIBS="-lm $LIBS"
80622
80623 fi
80624
80625
80626 for ac_func in copysignf
80627 do
80628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80629 echo "$as_me:$LINENO: checking for $ac_func" >&5
80630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80631 if eval "test \"\${$as_ac_var+set}\" = set"; then
80632   echo $ECHO_N "(cached) $ECHO_C" >&6
80633 else
80634   if test x$gcc_no_link = xyes; then
80635   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80637    { (exit 1); exit 1; }; }
80638 fi
80639 cat >conftest.$ac_ext <<_ACEOF
80640 /* confdefs.h.  */
80641 _ACEOF
80642 cat confdefs.h >>conftest.$ac_ext
80643 cat >>conftest.$ac_ext <<_ACEOF
80644 /* end confdefs.h.  */
80645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80646    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80647 #define $ac_func innocuous_$ac_func
80648
80649 /* System header to define __stub macros and hopefully few prototypes,
80650     which can conflict with char $ac_func (); below.
80651     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80652     <limits.h> exists even on freestanding compilers.  */
80653
80654 #ifdef __STDC__
80655 # include <limits.h>
80656 #else
80657 # include <assert.h>
80658 #endif
80659
80660 #undef $ac_func
80661
80662 /* Override any gcc2 internal prototype to avoid an error.  */
80663 #ifdef __cplusplus
80664 extern "C"
80665 {
80666 #endif
80667 /* We use char because int might match the return type of a gcc2
80668    builtin and then its argument prototype would still apply.  */
80669 char $ac_func ();
80670 /* The GNU C library defines this for functions which it implements
80671     to always fail with ENOSYS.  Some functions are actually named
80672     something starting with __ and the normal name is an alias.  */
80673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80674 choke me
80675 #else
80676 char (*f) () = $ac_func;
80677 #endif
80678 #ifdef __cplusplus
80679 }
80680 #endif
80681
80682 int
80683 main ()
80684 {
80685 return f != $ac_func;
80686   ;
80687   return 0;
80688 }
80689 _ACEOF
80690 rm -f conftest.$ac_objext conftest$ac_exeext
80691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80692   (eval $ac_link) 2>conftest.er1
80693   ac_status=$?
80694   grep -v '^ *+' conftest.er1 >conftest.err
80695   rm -f conftest.er1
80696   cat conftest.err >&5
80697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80698   (exit $ac_status); } &&
80699          { ac_try='test -z "$ac_c_werror_flag"
80700                          || test ! -s conftest.err'
80701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80702   (eval $ac_try) 2>&5
80703   ac_status=$?
80704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80705   (exit $ac_status); }; } &&
80706          { ac_try='test -s conftest$ac_exeext'
80707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80708   (eval $ac_try) 2>&5
80709   ac_status=$?
80710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80711   (exit $ac_status); }; }; then
80712   eval "$as_ac_var=yes"
80713 else
80714   echo "$as_me: failed program was:" >&5
80715 sed 's/^/| /' conftest.$ac_ext >&5
80716
80717 eval "$as_ac_var=no"
80718 fi
80719 rm -f conftest.err conftest.$ac_objext \
80720       conftest$ac_exeext conftest.$ac_ext
80721 fi
80722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80723 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80724 if test `eval echo '${'$as_ac_var'}'` = yes; then
80725   cat >>confdefs.h <<_ACEOF
80726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80727 _ACEOF
80728
80729 else
80730   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
80731 fi
80732 done
80733
80734
80735
80736 for ac_func in __signbit
80737 do
80738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80739 echo "$as_me:$LINENO: checking for $ac_func" >&5
80740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80741 if eval "test \"\${$as_ac_var+set}\" = set"; then
80742   echo $ECHO_N "(cached) $ECHO_C" >&6
80743 else
80744   if test x$gcc_no_link = xyes; then
80745   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80747    { (exit 1); exit 1; }; }
80748 fi
80749 cat >conftest.$ac_ext <<_ACEOF
80750 /* confdefs.h.  */
80751 _ACEOF
80752 cat confdefs.h >>conftest.$ac_ext
80753 cat >>conftest.$ac_ext <<_ACEOF
80754 /* end confdefs.h.  */
80755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80756    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80757 #define $ac_func innocuous_$ac_func
80758
80759 /* System header to define __stub macros and hopefully few prototypes,
80760     which can conflict with char $ac_func (); below.
80761     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80762     <limits.h> exists even on freestanding compilers.  */
80763
80764 #ifdef __STDC__
80765 # include <limits.h>
80766 #else
80767 # include <assert.h>
80768 #endif
80769
80770 #undef $ac_func
80771
80772 /* Override any gcc2 internal prototype to avoid an error.  */
80773 #ifdef __cplusplus
80774 extern "C"
80775 {
80776 #endif
80777 /* We use char because int might match the return type of a gcc2
80778    builtin and then its argument prototype would still apply.  */
80779 char $ac_func ();
80780 /* The GNU C library defines this for functions which it implements
80781     to always fail with ENOSYS.  Some functions are actually named
80782     something starting with __ and the normal name is an alias.  */
80783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80784 choke me
80785 #else
80786 char (*f) () = $ac_func;
80787 #endif
80788 #ifdef __cplusplus
80789 }
80790 #endif
80791
80792 int
80793 main ()
80794 {
80795 return f != $ac_func;
80796   ;
80797   return 0;
80798 }
80799 _ACEOF
80800 rm -f conftest.$ac_objext conftest$ac_exeext
80801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80802   (eval $ac_link) 2>conftest.er1
80803   ac_status=$?
80804   grep -v '^ *+' conftest.er1 >conftest.err
80805   rm -f conftest.er1
80806   cat conftest.err >&5
80807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80808   (exit $ac_status); } &&
80809          { ac_try='test -z "$ac_c_werror_flag"
80810                          || test ! -s conftest.err'
80811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80812   (eval $ac_try) 2>&5
80813   ac_status=$?
80814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80815   (exit $ac_status); }; } &&
80816          { ac_try='test -s conftest$ac_exeext'
80817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80818   (eval $ac_try) 2>&5
80819   ac_status=$?
80820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80821   (exit $ac_status); }; }; then
80822   eval "$as_ac_var=yes"
80823 else
80824   echo "$as_me: failed program was:" >&5
80825 sed 's/^/| /' conftest.$ac_ext >&5
80826
80827 eval "$as_ac_var=no"
80828 fi
80829 rm -f conftest.err conftest.$ac_objext \
80830       conftest$ac_exeext conftest.$ac_ext
80831 fi
80832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80834 if test `eval echo '${'$as_ac_var'}'` = yes; then
80835   cat >>confdefs.h <<_ACEOF
80836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80837 _ACEOF
80838
80839 else
80840   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
80841 fi
80842 done
80843
80844
80845
80846 for ac_func in __signbitf
80847 do
80848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80849 echo "$as_me:$LINENO: checking for $ac_func" >&5
80850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80851 if eval "test \"\${$as_ac_var+set}\" = set"; then
80852   echo $ECHO_N "(cached) $ECHO_C" >&6
80853 else
80854   if test x$gcc_no_link = xyes; then
80855   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80857    { (exit 1); exit 1; }; }
80858 fi
80859 cat >conftest.$ac_ext <<_ACEOF
80860 /* confdefs.h.  */
80861 _ACEOF
80862 cat confdefs.h >>conftest.$ac_ext
80863 cat >>conftest.$ac_ext <<_ACEOF
80864 /* end confdefs.h.  */
80865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80866    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80867 #define $ac_func innocuous_$ac_func
80868
80869 /* System header to define __stub macros and hopefully few prototypes,
80870     which can conflict with char $ac_func (); below.
80871     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80872     <limits.h> exists even on freestanding compilers.  */
80873
80874 #ifdef __STDC__
80875 # include <limits.h>
80876 #else
80877 # include <assert.h>
80878 #endif
80879
80880 #undef $ac_func
80881
80882 /* Override any gcc2 internal prototype to avoid an error.  */
80883 #ifdef __cplusplus
80884 extern "C"
80885 {
80886 #endif
80887 /* We use char because int might match the return type of a gcc2
80888    builtin and then its argument prototype would still apply.  */
80889 char $ac_func ();
80890 /* The GNU C library defines this for functions which it implements
80891     to always fail with ENOSYS.  Some functions are actually named
80892     something starting with __ and the normal name is an alias.  */
80893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80894 choke me
80895 #else
80896 char (*f) () = $ac_func;
80897 #endif
80898 #ifdef __cplusplus
80899 }
80900 #endif
80901
80902 int
80903 main ()
80904 {
80905 return f != $ac_func;
80906   ;
80907   return 0;
80908 }
80909 _ACEOF
80910 rm -f conftest.$ac_objext conftest$ac_exeext
80911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80912   (eval $ac_link) 2>conftest.er1
80913   ac_status=$?
80914   grep -v '^ *+' conftest.er1 >conftest.err
80915   rm -f conftest.er1
80916   cat conftest.err >&5
80917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80918   (exit $ac_status); } &&
80919          { ac_try='test -z "$ac_c_werror_flag"
80920                          || test ! -s conftest.err'
80921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80922   (eval $ac_try) 2>&5
80923   ac_status=$?
80924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80925   (exit $ac_status); }; } &&
80926          { ac_try='test -s conftest$ac_exeext'
80927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80928   (eval $ac_try) 2>&5
80929   ac_status=$?
80930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80931   (exit $ac_status); }; }; then
80932   eval "$as_ac_var=yes"
80933 else
80934   echo "$as_me: failed program was:" >&5
80935 sed 's/^/| /' conftest.$ac_ext >&5
80936
80937 eval "$as_ac_var=no"
80938 fi
80939 rm -f conftest.err conftest.$ac_objext \
80940       conftest$ac_exeext conftest.$ac_ext
80941 fi
80942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80943 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80944 if test `eval echo '${'$as_ac_var'}'` = yes; then
80945   cat >>confdefs.h <<_ACEOF
80946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80947 _ACEOF
80948
80949 else
80950   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
80951 fi
80952 done
80953
80954
80955           if test x$ac_cv_func_copysignl = x"yes"; then
80956
80957 for ac_func in __signbitl
80958 do
80959 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80960 echo "$as_me:$LINENO: checking for $ac_func" >&5
80961 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80962 if eval "test \"\${$as_ac_var+set}\" = set"; then
80963   echo $ECHO_N "(cached) $ECHO_C" >&6
80964 else
80965   if test x$gcc_no_link = xyes; then
80966   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80967 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80968    { (exit 1); exit 1; }; }
80969 fi
80970 cat >conftest.$ac_ext <<_ACEOF
80971 /* confdefs.h.  */
80972 _ACEOF
80973 cat confdefs.h >>conftest.$ac_ext
80974 cat >>conftest.$ac_ext <<_ACEOF
80975 /* end confdefs.h.  */
80976 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80977    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80978 #define $ac_func innocuous_$ac_func
80979
80980 /* System header to define __stub macros and hopefully few prototypes,
80981     which can conflict with char $ac_func (); below.
80982     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80983     <limits.h> exists even on freestanding compilers.  */
80984
80985 #ifdef __STDC__
80986 # include <limits.h>
80987 #else
80988 # include <assert.h>
80989 #endif
80990
80991 #undef $ac_func
80992
80993 /* Override any gcc2 internal prototype to avoid an error.  */
80994 #ifdef __cplusplus
80995 extern "C"
80996 {
80997 #endif
80998 /* We use char because int might match the return type of a gcc2
80999    builtin and then its argument prototype would still apply.  */
81000 char $ac_func ();
81001 /* The GNU C library defines this for functions which it implements
81002     to always fail with ENOSYS.  Some functions are actually named
81003     something starting with __ and the normal name is an alias.  */
81004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81005 choke me
81006 #else
81007 char (*f) () = $ac_func;
81008 #endif
81009 #ifdef __cplusplus
81010 }
81011 #endif
81012
81013 int
81014 main ()
81015 {
81016 return f != $ac_func;
81017   ;
81018   return 0;
81019 }
81020 _ACEOF
81021 rm -f conftest.$ac_objext conftest$ac_exeext
81022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81023   (eval $ac_link) 2>conftest.er1
81024   ac_status=$?
81025   grep -v '^ *+' conftest.er1 >conftest.err
81026   rm -f conftest.er1
81027   cat conftest.err >&5
81028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81029   (exit $ac_status); } &&
81030          { ac_try='test -z "$ac_c_werror_flag"
81031                          || test ! -s conftest.err'
81032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81033   (eval $ac_try) 2>&5
81034   ac_status=$?
81035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81036   (exit $ac_status); }; } &&
81037          { ac_try='test -s conftest$ac_exeext'
81038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81039   (eval $ac_try) 2>&5
81040   ac_status=$?
81041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81042   (exit $ac_status); }; }; then
81043   eval "$as_ac_var=yes"
81044 else
81045   echo "$as_me: failed program was:" >&5
81046 sed 's/^/| /' conftest.$ac_ext >&5
81047
81048 eval "$as_ac_var=no"
81049 fi
81050 rm -f conftest.err conftest.$ac_objext \
81051       conftest$ac_exeext conftest.$ac_ext
81052 fi
81053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81054 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81055 if test `eval echo '${'$as_ac_var'}'` = yes; then
81056   cat >>confdefs.h <<_ACEOF
81057 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81058 _ACEOF
81059
81060 else
81061   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
81062 fi
81063 done
81064
81065   fi
81066
81067   # Used in libmath/Makefile.am.
81068   if test -n "$LIBMATHOBJS"; then
81069     need_libmath=yes
81070   fi
81071
81072
81073
81074
81075   enable_iconv=no
81076   # Only continue checking if the ISO C99 headers exist and support is on.
81077   if test x"$enable_wchar_t" = xyes; then
81078
81079     # Use iconv for wchar_t to char conversions. As such, check for
81080     # X/Open Portability Guide, version 2 features (XPG2).
81081     if test "${ac_cv_header_iconv_h+set}" = set; then
81082   echo "$as_me:$LINENO: checking for iconv.h" >&5
81083 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81084 if test "${ac_cv_header_iconv_h+set}" = set; then
81085   echo $ECHO_N "(cached) $ECHO_C" >&6
81086 fi
81087 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81088 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81089 else
81090   # Is the header compilable?
81091 echo "$as_me:$LINENO: checking iconv.h usability" >&5
81092 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
81093 cat >conftest.$ac_ext <<_ACEOF
81094 /* confdefs.h.  */
81095 _ACEOF
81096 cat confdefs.h >>conftest.$ac_ext
81097 cat >>conftest.$ac_ext <<_ACEOF
81098 /* end confdefs.h.  */
81099 $ac_includes_default
81100 #include <iconv.h>
81101 _ACEOF
81102 rm -f conftest.$ac_objext
81103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81104   (eval $ac_compile) 2>conftest.er1
81105   ac_status=$?
81106   grep -v '^ *+' conftest.er1 >conftest.err
81107   rm -f conftest.er1
81108   cat conftest.err >&5
81109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81110   (exit $ac_status); } &&
81111          { ac_try='test -z "$ac_c_werror_flag"
81112                          || test ! -s conftest.err'
81113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81114   (eval $ac_try) 2>&5
81115   ac_status=$?
81116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81117   (exit $ac_status); }; } &&
81118          { ac_try='test -s conftest.$ac_objext'
81119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81120   (eval $ac_try) 2>&5
81121   ac_status=$?
81122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81123   (exit $ac_status); }; }; then
81124   ac_header_compiler=yes
81125 else
81126   echo "$as_me: failed program was:" >&5
81127 sed 's/^/| /' conftest.$ac_ext >&5
81128
81129 ac_header_compiler=no
81130 fi
81131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81132 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81133 echo "${ECHO_T}$ac_header_compiler" >&6
81134
81135 # Is the header present?
81136 echo "$as_me:$LINENO: checking iconv.h presence" >&5
81137 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
81138 cat >conftest.$ac_ext <<_ACEOF
81139 /* confdefs.h.  */
81140 _ACEOF
81141 cat confdefs.h >>conftest.$ac_ext
81142 cat >>conftest.$ac_ext <<_ACEOF
81143 /* end confdefs.h.  */
81144 #include <iconv.h>
81145 _ACEOF
81146 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81147   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81148   ac_status=$?
81149   grep -v '^ *+' conftest.er1 >conftest.err
81150   rm -f conftest.er1
81151   cat conftest.err >&5
81152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81153   (exit $ac_status); } >/dev/null; then
81154   if test -s conftest.err; then
81155     ac_cpp_err=$ac_c_preproc_warn_flag
81156     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81157   else
81158     ac_cpp_err=
81159   fi
81160 else
81161   ac_cpp_err=yes
81162 fi
81163 if test -z "$ac_cpp_err"; then
81164   ac_header_preproc=yes
81165 else
81166   echo "$as_me: failed program was:" >&5
81167 sed 's/^/| /' conftest.$ac_ext >&5
81168
81169   ac_header_preproc=no
81170 fi
81171 rm -f conftest.err conftest.$ac_ext
81172 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81173 echo "${ECHO_T}$ac_header_preproc" >&6
81174
81175 # So?  What about this header?
81176 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81177   yes:no: )
81178     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
81179 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81180     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
81181 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
81182     ac_header_preproc=yes
81183     ;;
81184   no:yes:* )
81185     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
81186 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
81187     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
81188 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
81189     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
81190 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
81191     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
81192 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
81193     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
81194 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
81195     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
81196 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
81197     (
81198       cat <<\_ASBOX
81199 ## ----------------------------------------- ##
81200 ## Report this to the package-unused lists.  ##
81201 ## ----------------------------------------- ##
81202 _ASBOX
81203     ) |
81204       sed "s/^/$as_me: WARNING:     /" >&2
81205     ;;
81206 esac
81207 echo "$as_me:$LINENO: checking for iconv.h" >&5
81208 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81209 if test "${ac_cv_header_iconv_h+set}" = set; then
81210   echo $ECHO_N "(cached) $ECHO_C" >&6
81211 else
81212   ac_cv_header_iconv_h=$ac_header_preproc
81213 fi
81214 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81215 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81216
81217 fi
81218 if test $ac_cv_header_iconv_h = yes; then
81219   ac_has_iconv_h=yes
81220 else
81221   ac_has_iconv_h=no
81222 fi
81223
81224
81225     if test "${ac_cv_header_langinfo_h+set}" = set; then
81226   echo "$as_me:$LINENO: checking for langinfo.h" >&5
81227 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81228 if test "${ac_cv_header_langinfo_h+set}" = set; then
81229   echo $ECHO_N "(cached) $ECHO_C" >&6
81230 fi
81231 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81232 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81233 else
81234   # Is the header compilable?
81235 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
81236 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
81237 cat >conftest.$ac_ext <<_ACEOF
81238 /* confdefs.h.  */
81239 _ACEOF
81240 cat confdefs.h >>conftest.$ac_ext
81241 cat >>conftest.$ac_ext <<_ACEOF
81242 /* end confdefs.h.  */
81243 $ac_includes_default
81244 #include <langinfo.h>
81245 _ACEOF
81246 rm -f conftest.$ac_objext
81247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81248   (eval $ac_compile) 2>conftest.er1
81249   ac_status=$?
81250   grep -v '^ *+' conftest.er1 >conftest.err
81251   rm -f conftest.er1
81252   cat conftest.err >&5
81253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81254   (exit $ac_status); } &&
81255          { ac_try='test -z "$ac_c_werror_flag"
81256                          || test ! -s conftest.err'
81257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81258   (eval $ac_try) 2>&5
81259   ac_status=$?
81260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81261   (exit $ac_status); }; } &&
81262          { ac_try='test -s conftest.$ac_objext'
81263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81264   (eval $ac_try) 2>&5
81265   ac_status=$?
81266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81267   (exit $ac_status); }; }; then
81268   ac_header_compiler=yes
81269 else
81270   echo "$as_me: failed program was:" >&5
81271 sed 's/^/| /' conftest.$ac_ext >&5
81272
81273 ac_header_compiler=no
81274 fi
81275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81276 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81277 echo "${ECHO_T}$ac_header_compiler" >&6
81278
81279 # Is the header present?
81280 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
81281 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
81282 cat >conftest.$ac_ext <<_ACEOF
81283 /* confdefs.h.  */
81284 _ACEOF
81285 cat confdefs.h >>conftest.$ac_ext
81286 cat >>conftest.$ac_ext <<_ACEOF
81287 /* end confdefs.h.  */
81288 #include <langinfo.h>
81289 _ACEOF
81290 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81291   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81292   ac_status=$?
81293   grep -v '^ *+' conftest.er1 >conftest.err
81294   rm -f conftest.er1
81295   cat conftest.err >&5
81296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81297   (exit $ac_status); } >/dev/null; then
81298   if test -s conftest.err; then
81299     ac_cpp_err=$ac_c_preproc_warn_flag
81300     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81301   else
81302     ac_cpp_err=
81303   fi
81304 else
81305   ac_cpp_err=yes
81306 fi
81307 if test -z "$ac_cpp_err"; then
81308   ac_header_preproc=yes
81309 else
81310   echo "$as_me: failed program was:" >&5
81311 sed 's/^/| /' conftest.$ac_ext >&5
81312
81313   ac_header_preproc=no
81314 fi
81315 rm -f conftest.err conftest.$ac_ext
81316 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81317 echo "${ECHO_T}$ac_header_preproc" >&6
81318
81319 # So?  What about this header?
81320 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81321   yes:no: )
81322     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
81323 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81324     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
81325 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
81326     ac_header_preproc=yes
81327     ;;
81328   no:yes:* )
81329     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
81330 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
81331     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
81332 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
81333     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
81334 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
81335     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
81336 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
81337     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
81338 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
81339     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
81340 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
81341     (
81342       cat <<\_ASBOX
81343 ## ----------------------------------------- ##
81344 ## Report this to the package-unused lists.  ##
81345 ## ----------------------------------------- ##
81346 _ASBOX
81347     ) |
81348       sed "s/^/$as_me: WARNING:     /" >&2
81349     ;;
81350 esac
81351 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81352 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81353 if test "${ac_cv_header_langinfo_h+set}" = set; then
81354   echo $ECHO_N "(cached) $ECHO_C" >&6
81355 else
81356   ac_cv_header_langinfo_h=$ac_header_preproc
81357 fi
81358 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81359 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81360
81361 fi
81362 if test $ac_cv_header_langinfo_h = yes; then
81363   ac_has_langinfo_h=yes
81364 else
81365   ac_has_langinfo_h=no
81366 fi
81367
81368
81369
81370     # Check for existence of libiconv.a providing XPG2 wchar_t support.
81371     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
81372 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
81373 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
81374   echo $ECHO_N "(cached) $ECHO_C" >&6
81375 else
81376   ac_check_lib_save_LIBS=$LIBS
81377 LIBS="-liconv  $LIBS"
81378 if test x$gcc_no_link = xyes; then
81379   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81381    { (exit 1); exit 1; }; }
81382 fi
81383 cat >conftest.$ac_ext <<_ACEOF
81384 /* confdefs.h.  */
81385 _ACEOF
81386 cat confdefs.h >>conftest.$ac_ext
81387 cat >>conftest.$ac_ext <<_ACEOF
81388 /* end confdefs.h.  */
81389
81390 /* Override any gcc2 internal prototype to avoid an error.  */
81391 #ifdef __cplusplus
81392 extern "C"
81393 #endif
81394 /* We use char because int might match the return type of a gcc2
81395    builtin and then its argument prototype would still apply.  */
81396 char iconv ();
81397 int
81398 main ()
81399 {
81400 iconv ();
81401   ;
81402   return 0;
81403 }
81404 _ACEOF
81405 rm -f conftest.$ac_objext conftest$ac_exeext
81406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81407   (eval $ac_link) 2>conftest.er1
81408   ac_status=$?
81409   grep -v '^ *+' conftest.er1 >conftest.err
81410   rm -f conftest.er1
81411   cat conftest.err >&5
81412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81413   (exit $ac_status); } &&
81414          { ac_try='test -z "$ac_c_werror_flag"
81415                          || test ! -s conftest.err'
81416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81417   (eval $ac_try) 2>&5
81418   ac_status=$?
81419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81420   (exit $ac_status); }; } &&
81421          { ac_try='test -s conftest$ac_exeext'
81422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81423   (eval $ac_try) 2>&5
81424   ac_status=$?
81425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81426   (exit $ac_status); }; }; then
81427   ac_cv_lib_iconv_iconv=yes
81428 else
81429   echo "$as_me: failed program was:" >&5
81430 sed 's/^/| /' conftest.$ac_ext >&5
81431
81432 ac_cv_lib_iconv_iconv=no
81433 fi
81434 rm -f conftest.err conftest.$ac_objext \
81435       conftest$ac_exeext conftest.$ac_ext
81436 LIBS=$ac_check_lib_save_LIBS
81437 fi
81438 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
81439 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
81440 if test $ac_cv_lib_iconv_iconv = yes; then
81441   LIBICONV="-liconv"
81442 fi
81443
81444     ac_save_LIBS="$LIBS"
81445     LIBS="$LIBS $LIBICONV"
81446
81447
81448
81449
81450
81451
81452 for ac_func in iconv_open iconv_close iconv nl_langinfo
81453 do
81454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81455 echo "$as_me:$LINENO: checking for $ac_func" >&5
81456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81457 if eval "test \"\${$as_ac_var+set}\" = set"; then
81458   echo $ECHO_N "(cached) $ECHO_C" >&6
81459 else
81460   if test x$gcc_no_link = xyes; then
81461   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81463    { (exit 1); exit 1; }; }
81464 fi
81465 cat >conftest.$ac_ext <<_ACEOF
81466 /* confdefs.h.  */
81467 _ACEOF
81468 cat confdefs.h >>conftest.$ac_ext
81469 cat >>conftest.$ac_ext <<_ACEOF
81470 /* end confdefs.h.  */
81471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81472    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81473 #define $ac_func innocuous_$ac_func
81474
81475 /* System header to define __stub macros and hopefully few prototypes,
81476     which can conflict with char $ac_func (); below.
81477     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81478     <limits.h> exists even on freestanding compilers.  */
81479
81480 #ifdef __STDC__
81481 # include <limits.h>
81482 #else
81483 # include <assert.h>
81484 #endif
81485
81486 #undef $ac_func
81487
81488 /* Override any gcc2 internal prototype to avoid an error.  */
81489 #ifdef __cplusplus
81490 extern "C"
81491 {
81492 #endif
81493 /* We use char because int might match the return type of a gcc2
81494    builtin and then its argument prototype would still apply.  */
81495 char $ac_func ();
81496 /* The GNU C library defines this for functions which it implements
81497     to always fail with ENOSYS.  Some functions are actually named
81498     something starting with __ and the normal name is an alias.  */
81499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81500 choke me
81501 #else
81502 char (*f) () = $ac_func;
81503 #endif
81504 #ifdef __cplusplus
81505 }
81506 #endif
81507
81508 int
81509 main ()
81510 {
81511 return f != $ac_func;
81512   ;
81513   return 0;
81514 }
81515 _ACEOF
81516 rm -f conftest.$ac_objext conftest$ac_exeext
81517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81518   (eval $ac_link) 2>conftest.er1
81519   ac_status=$?
81520   grep -v '^ *+' conftest.er1 >conftest.err
81521   rm -f conftest.er1
81522   cat conftest.err >&5
81523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81524   (exit $ac_status); } &&
81525          { ac_try='test -z "$ac_c_werror_flag"
81526                          || test ! -s conftest.err'
81527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81528   (eval $ac_try) 2>&5
81529   ac_status=$?
81530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81531   (exit $ac_status); }; } &&
81532          { ac_try='test -s conftest$ac_exeext'
81533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81534   (eval $ac_try) 2>&5
81535   ac_status=$?
81536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81537   (exit $ac_status); }; }; then
81538   eval "$as_ac_var=yes"
81539 else
81540   echo "$as_me: failed program was:" >&5
81541 sed 's/^/| /' conftest.$ac_ext >&5
81542
81543 eval "$as_ac_var=no"
81544 fi
81545 rm -f conftest.err conftest.$ac_objext \
81546       conftest$ac_exeext conftest.$ac_ext
81547 fi
81548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81550 if test `eval echo '${'$as_ac_var'}'` = yes; then
81551   cat >>confdefs.h <<_ACEOF
81552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81553 _ACEOF
81554  ac_XPG2funcs=yes
81555 else
81556   ac_XPG2funcs=no
81557 fi
81558 done
81559
81560
81561     LIBS="$ac_save_LIBS"
81562
81563     if test x"$ac_has_iconv_h" = xyes &&
81564        test x"$ac_has_langinfo_h" = xyes &&
81565        test x"$ac_XPG2funcs" = xyes;
81566     then
81567
81568 cat >>confdefs.h <<\_ACEOF
81569 #define _GLIBCXX_USE_ICONV 1
81570 _ACEOF
81571
81572       enable_iconv=yes
81573     fi
81574   fi
81575   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
81576 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
81577   echo "$as_me:$LINENO: result: $enable_iconv" >&5
81578 echo "${ECHO_T}$enable_iconv" >&6
81579
81580     ;;
81581   *-netbsd*)
81582
81583
81584
81585
81586
81587
81588
81589
81590
81591
81592
81593
81594 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
81595       machine/endian.h machine/param.h sys/machine.h sys/types.h \
81596       fp.h locale.h float.h inttypes.h
81597 do
81598 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
81599 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81600   echo "$as_me:$LINENO: checking for $ac_header" >&5
81601 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81602 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81603   echo $ECHO_N "(cached) $ECHO_C" >&6
81604 fi
81605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81606 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81607 else
81608   # Is the header compilable?
81609 echo "$as_me:$LINENO: checking $ac_header usability" >&5
81610 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
81611 cat >conftest.$ac_ext <<_ACEOF
81612 /* confdefs.h.  */
81613 _ACEOF
81614 cat confdefs.h >>conftest.$ac_ext
81615 cat >>conftest.$ac_ext <<_ACEOF
81616 /* end confdefs.h.  */
81617 $ac_includes_default
81618 #include <$ac_header>
81619 _ACEOF
81620 rm -f conftest.$ac_objext
81621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81622   (eval $ac_compile) 2>conftest.er1
81623   ac_status=$?
81624   grep -v '^ *+' conftest.er1 >conftest.err
81625   rm -f conftest.er1
81626   cat conftest.err >&5
81627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81628   (exit $ac_status); } &&
81629          { ac_try='test -z "$ac_c_werror_flag"
81630                          || test ! -s conftest.err'
81631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81632   (eval $ac_try) 2>&5
81633   ac_status=$?
81634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81635   (exit $ac_status); }; } &&
81636          { ac_try='test -s conftest.$ac_objext'
81637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81638   (eval $ac_try) 2>&5
81639   ac_status=$?
81640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81641   (exit $ac_status); }; }; then
81642   ac_header_compiler=yes
81643 else
81644   echo "$as_me: failed program was:" >&5
81645 sed 's/^/| /' conftest.$ac_ext >&5
81646
81647 ac_header_compiler=no
81648 fi
81649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81650 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81651 echo "${ECHO_T}$ac_header_compiler" >&6
81652
81653 # Is the header present?
81654 echo "$as_me:$LINENO: checking $ac_header presence" >&5
81655 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
81656 cat >conftest.$ac_ext <<_ACEOF
81657 /* confdefs.h.  */
81658 _ACEOF
81659 cat confdefs.h >>conftest.$ac_ext
81660 cat >>conftest.$ac_ext <<_ACEOF
81661 /* end confdefs.h.  */
81662 #include <$ac_header>
81663 _ACEOF
81664 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81665   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81666   ac_status=$?
81667   grep -v '^ *+' conftest.er1 >conftest.err
81668   rm -f conftest.er1
81669   cat conftest.err >&5
81670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81671   (exit $ac_status); } >/dev/null; then
81672   if test -s conftest.err; then
81673     ac_cpp_err=$ac_c_preproc_warn_flag
81674     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81675   else
81676     ac_cpp_err=
81677   fi
81678 else
81679   ac_cpp_err=yes
81680 fi
81681 if test -z "$ac_cpp_err"; then
81682   ac_header_preproc=yes
81683 else
81684   echo "$as_me: failed program was:" >&5
81685 sed 's/^/| /' conftest.$ac_ext >&5
81686
81687   ac_header_preproc=no
81688 fi
81689 rm -f conftest.err conftest.$ac_ext
81690 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81691 echo "${ECHO_T}$ac_header_preproc" >&6
81692
81693 # So?  What about this header?
81694 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81695   yes:no: )
81696     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
81697 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
81698     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
81699 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
81700     ac_header_preproc=yes
81701     ;;
81702   no:yes:* )
81703     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
81704 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
81705     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
81706 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
81707     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
81708 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
81709     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
81710 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
81711     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
81712 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
81713     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
81714 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
81715     (
81716       cat <<\_ASBOX
81717 ## ----------------------------------------- ##
81718 ## Report this to the package-unused lists.  ##
81719 ## ----------------------------------------- ##
81720 _ASBOX
81721     ) |
81722       sed "s/^/$as_me: WARNING:     /" >&2
81723     ;;
81724 esac
81725 echo "$as_me:$LINENO: checking for $ac_header" >&5
81726 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81727 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81728   echo $ECHO_N "(cached) $ECHO_C" >&6
81729 else
81730   eval "$as_ac_Header=\$ac_header_preproc"
81731 fi
81732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81733 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81734
81735 fi
81736 if test `eval echo '${'$as_ac_Header'}'` = yes; then
81737   cat >>confdefs.h <<_ACEOF
81738 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
81739 _ACEOF
81740
81741 fi
81742
81743 done
81744
81745     SECTION_FLAGS='-ffunction-sections -fdata-sections'
81746
81747
81748   # If we're not using GNU ld, then there's no point in even trying these
81749   # tests.  Check for that first.  We should have already tested for gld
81750   # by now (in libtool), but require it now just to be safe...
81751   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
81752   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
81753
81754
81755
81756   # The name set by libtool depends on the version of libtool.  Shame on us
81757   # for depending on an impl detail, but c'est la vie.  Older versions used
81758   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
81759   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
81760   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
81761   # set (hence we're using an older libtool), then set it.
81762   if test x${with_gnu_ld+set} != xset; then
81763     if test x${ac_cv_prog_gnu_ld+set} != xset; then
81764       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
81765       with_gnu_ld=no
81766     else
81767       with_gnu_ld=$ac_cv_prog_gnu_ld
81768     fi
81769   fi
81770
81771   # Start by getting the version number.  I think the libtool test already
81772   # does some of this, but throws away the result.
81773   echo "$as_me:$LINENO: checking for ld version" >&5
81774 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
81775
81776   ldver=`$LD --version 2>/dev/null | head -1 | \
81777          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
81778
81779   glibcxx_gnu_ld_version=`echo $ldver | \
81780          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
81781   echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
81782 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
81783
81784   # Set --gc-sections.
81785   glibcxx_gcsections_min_ld=21602
81786   if test x"$with_gnu_ld" = x"yes" &&
81787         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
81788
81789     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
81790     # NB: This flag only works reliably after 2.16.1. Configure tests
81791     # for this are difficult, so hard wire a value that should work.
81792
81793     # All these tests are for C++, but run with the "C" compiler driver.
81794     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
81795     ac_test_CFLAGS="${CFLAGS+set}"
81796     ac_save_CFLAGS="$CFLAGS"
81797     CFLAGS='-x c++ -Wl,--gc-sections'
81798
81799     # Check for -Wl,--gc-sections
81800     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
81801 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
81802     if test x$gcc_no_link = xyes; then
81803   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81805    { (exit 1); exit 1; }; }
81806 fi
81807 cat >conftest.$ac_ext <<_ACEOF
81808 /* confdefs.h.  */
81809 _ACEOF
81810 cat confdefs.h >>conftest.$ac_ext
81811 cat >>conftest.$ac_ext <<_ACEOF
81812 /* end confdefs.h.  */
81813  int one(void) { return 1; }
81814      int two(void) { return 2; }
81815
81816 int
81817 main ()
81818 {
81819  two();
81820   ;
81821   return 0;
81822 }
81823 _ACEOF
81824 rm -f conftest.$ac_objext conftest$ac_exeext
81825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81826   (eval $ac_link) 2>conftest.er1
81827   ac_status=$?
81828   grep -v '^ *+' conftest.er1 >conftest.err
81829   rm -f conftest.er1
81830   cat conftest.err >&5
81831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81832   (exit $ac_status); } &&
81833          { ac_try='test -z "$ac_c_werror_flag"
81834                          || test ! -s conftest.err'
81835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81836   (eval $ac_try) 2>&5
81837   ac_status=$?
81838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81839   (exit $ac_status); }; } &&
81840          { ac_try='test -s conftest$ac_exeext'
81841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81842   (eval $ac_try) 2>&5
81843   ac_status=$?
81844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81845   (exit $ac_status); }; }; then
81846   ac_gcsections=yes
81847 else
81848   echo "$as_me: failed program was:" >&5
81849 sed 's/^/| /' conftest.$ac_ext >&5
81850
81851 ac_gcsections=no
81852 fi
81853 rm -f conftest.err conftest.$ac_objext \
81854       conftest$ac_exeext conftest.$ac_ext
81855     if test "$ac_gcsections" = "yes"; then
81856       rm -f conftest.c
81857       touch conftest.c
81858       if $CC -c conftest.c; then
81859         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
81860            grep "Warning: gc-sections option ignored" > /dev/null; then
81861           ac_gcsections=no
81862         fi
81863       fi
81864       rm -f conftest.c conftest.o conftest
81865     fi
81866     if test "$ac_gcsections" = "yes"; then
81867       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
81868     fi
81869     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
81870 echo "${ECHO_T}$ac_gcsections" >&6
81871
81872     if test "$ac_test_CFLAGS" = set; then
81873       CFLAGS="$ac_save_CFLAGS"
81874     else
81875       # this is the suspicious part
81876       CFLAGS=''
81877     fi
81878   fi
81879
81880   # Set -z,relro.
81881   # Note this is only for shared objects.
81882   ac_ld_relro=no
81883   if test x"$with_gnu_ld" = x"yes"; then
81884     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
81885 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
81886     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
81887     if test -n "$cxx_z_relo"; then
81888       OPT_LDFLAGS="-Wl,-z,relro"
81889       ac_ld_relro=yes
81890     fi
81891     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
81892 echo "${ECHO_T}$ac_ld_relro" >&6
81893   fi
81894
81895   # Set linker optimization flags.
81896   if test x"$with_gnu_ld" = x"yes"; then
81897     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
81898   fi
81899
81900
81901
81902
81903
81904
81905 echo "$as_me:$LINENO: checking for main in -lm" >&5
81906 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
81907 if test "${ac_cv_lib_m_main+set}" = set; then
81908   echo $ECHO_N "(cached) $ECHO_C" >&6
81909 else
81910   ac_check_lib_save_LIBS=$LIBS
81911 LIBS="-lm  $LIBS"
81912 if test x$gcc_no_link = xyes; then
81913   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81915    { (exit 1); exit 1; }; }
81916 fi
81917 cat >conftest.$ac_ext <<_ACEOF
81918 /* confdefs.h.  */
81919 _ACEOF
81920 cat confdefs.h >>conftest.$ac_ext
81921 cat >>conftest.$ac_ext <<_ACEOF
81922 /* end confdefs.h.  */
81923
81924
81925 int
81926 main ()
81927 {
81928 main ();
81929   ;
81930   return 0;
81931 }
81932 _ACEOF
81933 rm -f conftest.$ac_objext conftest$ac_exeext
81934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81935   (eval $ac_link) 2>conftest.er1
81936   ac_status=$?
81937   grep -v '^ *+' conftest.er1 >conftest.err
81938   rm -f conftest.er1
81939   cat conftest.err >&5
81940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81941   (exit $ac_status); } &&
81942          { ac_try='test -z "$ac_c_werror_flag"
81943                          || test ! -s conftest.err'
81944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81945   (eval $ac_try) 2>&5
81946   ac_status=$?
81947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81948   (exit $ac_status); }; } &&
81949          { ac_try='test -s conftest$ac_exeext'
81950   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81951   (eval $ac_try) 2>&5
81952   ac_status=$?
81953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81954   (exit $ac_status); }; }; then
81955   ac_cv_lib_m_main=yes
81956 else
81957   echo "$as_me: failed program was:" >&5
81958 sed 's/^/| /' conftest.$ac_ext >&5
81959
81960 ac_cv_lib_m_main=no
81961 fi
81962 rm -f conftest.err conftest.$ac_objext \
81963       conftest$ac_exeext conftest.$ac_ext
81964 LIBS=$ac_check_lib_save_LIBS
81965 fi
81966 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
81967 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
81968 if test $ac_cv_lib_m_main = yes; then
81969   cat >>confdefs.h <<_ACEOF
81970 #define HAVE_LIBM 1
81971 _ACEOF
81972
81973   LIBS="-lm $LIBS"
81974
81975 fi
81976
81977
81978 for ac_func in copysignf
81979 do
81980 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81981 echo "$as_me:$LINENO: checking for $ac_func" >&5
81982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81983 if eval "test \"\${$as_ac_var+set}\" = set"; then
81984   echo $ECHO_N "(cached) $ECHO_C" >&6
81985 else
81986   if test x$gcc_no_link = xyes; then
81987   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81989    { (exit 1); exit 1; }; }
81990 fi
81991 cat >conftest.$ac_ext <<_ACEOF
81992 /* confdefs.h.  */
81993 _ACEOF
81994 cat confdefs.h >>conftest.$ac_ext
81995 cat >>conftest.$ac_ext <<_ACEOF
81996 /* end confdefs.h.  */
81997 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81998    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81999 #define $ac_func innocuous_$ac_func
82000
82001 /* System header to define __stub macros and hopefully few prototypes,
82002     which can conflict with char $ac_func (); below.
82003     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82004     <limits.h> exists even on freestanding compilers.  */
82005
82006 #ifdef __STDC__
82007 # include <limits.h>
82008 #else
82009 # include <assert.h>
82010 #endif
82011
82012 #undef $ac_func
82013
82014 /* Override any gcc2 internal prototype to avoid an error.  */
82015 #ifdef __cplusplus
82016 extern "C"
82017 {
82018 #endif
82019 /* We use char because int might match the return type of a gcc2
82020    builtin and then its argument prototype would still apply.  */
82021 char $ac_func ();
82022 /* The GNU C library defines this for functions which it implements
82023     to always fail with ENOSYS.  Some functions are actually named
82024     something starting with __ and the normal name is an alias.  */
82025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82026 choke me
82027 #else
82028 char (*f) () = $ac_func;
82029 #endif
82030 #ifdef __cplusplus
82031 }
82032 #endif
82033
82034 int
82035 main ()
82036 {
82037 return f != $ac_func;
82038   ;
82039   return 0;
82040 }
82041 _ACEOF
82042 rm -f conftest.$ac_objext conftest$ac_exeext
82043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82044   (eval $ac_link) 2>conftest.er1
82045   ac_status=$?
82046   grep -v '^ *+' conftest.er1 >conftest.err
82047   rm -f conftest.er1
82048   cat conftest.err >&5
82049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82050   (exit $ac_status); } &&
82051          { ac_try='test -z "$ac_c_werror_flag"
82052                          || test ! -s conftest.err'
82053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82054   (eval $ac_try) 2>&5
82055   ac_status=$?
82056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82057   (exit $ac_status); }; } &&
82058          { ac_try='test -s conftest$ac_exeext'
82059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82060   (eval $ac_try) 2>&5
82061   ac_status=$?
82062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82063   (exit $ac_status); }; }; then
82064   eval "$as_ac_var=yes"
82065 else
82066   echo "$as_me: failed program was:" >&5
82067 sed 's/^/| /' conftest.$ac_ext >&5
82068
82069 eval "$as_ac_var=no"
82070 fi
82071 rm -f conftest.err conftest.$ac_objext \
82072       conftest$ac_exeext conftest.$ac_ext
82073 fi
82074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82075 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82076 if test `eval echo '${'$as_ac_var'}'` = yes; then
82077   cat >>confdefs.h <<_ACEOF
82078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82079 _ACEOF
82080
82081 else
82082   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
82083 fi
82084 done
82085
82086
82087
82088 for ac_func in __signbit
82089 do
82090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82091 echo "$as_me:$LINENO: checking for $ac_func" >&5
82092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82093 if eval "test \"\${$as_ac_var+set}\" = set"; then
82094   echo $ECHO_N "(cached) $ECHO_C" >&6
82095 else
82096   if test x$gcc_no_link = xyes; then
82097   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82099    { (exit 1); exit 1; }; }
82100 fi
82101 cat >conftest.$ac_ext <<_ACEOF
82102 /* confdefs.h.  */
82103 _ACEOF
82104 cat confdefs.h >>conftest.$ac_ext
82105 cat >>conftest.$ac_ext <<_ACEOF
82106 /* end confdefs.h.  */
82107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82108    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82109 #define $ac_func innocuous_$ac_func
82110
82111 /* System header to define __stub macros and hopefully few prototypes,
82112     which can conflict with char $ac_func (); below.
82113     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82114     <limits.h> exists even on freestanding compilers.  */
82115
82116 #ifdef __STDC__
82117 # include <limits.h>
82118 #else
82119 # include <assert.h>
82120 #endif
82121
82122 #undef $ac_func
82123
82124 /* Override any gcc2 internal prototype to avoid an error.  */
82125 #ifdef __cplusplus
82126 extern "C"
82127 {
82128 #endif
82129 /* We use char because int might match the return type of a gcc2
82130    builtin and then its argument prototype would still apply.  */
82131 char $ac_func ();
82132 /* The GNU C library defines this for functions which it implements
82133     to always fail with ENOSYS.  Some functions are actually named
82134     something starting with __ and the normal name is an alias.  */
82135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82136 choke me
82137 #else
82138 char (*f) () = $ac_func;
82139 #endif
82140 #ifdef __cplusplus
82141 }
82142 #endif
82143
82144 int
82145 main ()
82146 {
82147 return f != $ac_func;
82148   ;
82149   return 0;
82150 }
82151 _ACEOF
82152 rm -f conftest.$ac_objext conftest$ac_exeext
82153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82154   (eval $ac_link) 2>conftest.er1
82155   ac_status=$?
82156   grep -v '^ *+' conftest.er1 >conftest.err
82157   rm -f conftest.er1
82158   cat conftest.err >&5
82159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82160   (exit $ac_status); } &&
82161          { ac_try='test -z "$ac_c_werror_flag"
82162                          || test ! -s conftest.err'
82163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82164   (eval $ac_try) 2>&5
82165   ac_status=$?
82166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82167   (exit $ac_status); }; } &&
82168          { ac_try='test -s conftest$ac_exeext'
82169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82170   (eval $ac_try) 2>&5
82171   ac_status=$?
82172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82173   (exit $ac_status); }; }; then
82174   eval "$as_ac_var=yes"
82175 else
82176   echo "$as_me: failed program was:" >&5
82177 sed 's/^/| /' conftest.$ac_ext >&5
82178
82179 eval "$as_ac_var=no"
82180 fi
82181 rm -f conftest.err conftest.$ac_objext \
82182       conftest$ac_exeext conftest.$ac_ext
82183 fi
82184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82186 if test `eval echo '${'$as_ac_var'}'` = yes; then
82187   cat >>confdefs.h <<_ACEOF
82188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82189 _ACEOF
82190
82191 else
82192   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
82193 fi
82194 done
82195
82196
82197
82198 for ac_func in __signbitf
82199 do
82200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82201 echo "$as_me:$LINENO: checking for $ac_func" >&5
82202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82203 if eval "test \"\${$as_ac_var+set}\" = set"; then
82204   echo $ECHO_N "(cached) $ECHO_C" >&6
82205 else
82206   if test x$gcc_no_link = xyes; then
82207   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82209    { (exit 1); exit 1; }; }
82210 fi
82211 cat >conftest.$ac_ext <<_ACEOF
82212 /* confdefs.h.  */
82213 _ACEOF
82214 cat confdefs.h >>conftest.$ac_ext
82215 cat >>conftest.$ac_ext <<_ACEOF
82216 /* end confdefs.h.  */
82217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82218    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82219 #define $ac_func innocuous_$ac_func
82220
82221 /* System header to define __stub macros and hopefully few prototypes,
82222     which can conflict with char $ac_func (); below.
82223     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82224     <limits.h> exists even on freestanding compilers.  */
82225
82226 #ifdef __STDC__
82227 # include <limits.h>
82228 #else
82229 # include <assert.h>
82230 #endif
82231
82232 #undef $ac_func
82233
82234 /* Override any gcc2 internal prototype to avoid an error.  */
82235 #ifdef __cplusplus
82236 extern "C"
82237 {
82238 #endif
82239 /* We use char because int might match the return type of a gcc2
82240    builtin and then its argument prototype would still apply.  */
82241 char $ac_func ();
82242 /* The GNU C library defines this for functions which it implements
82243     to always fail with ENOSYS.  Some functions are actually named
82244     something starting with __ and the normal name is an alias.  */
82245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82246 choke me
82247 #else
82248 char (*f) () = $ac_func;
82249 #endif
82250 #ifdef __cplusplus
82251 }
82252 #endif
82253
82254 int
82255 main ()
82256 {
82257 return f != $ac_func;
82258   ;
82259   return 0;
82260 }
82261 _ACEOF
82262 rm -f conftest.$ac_objext conftest$ac_exeext
82263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82264   (eval $ac_link) 2>conftest.er1
82265   ac_status=$?
82266   grep -v '^ *+' conftest.er1 >conftest.err
82267   rm -f conftest.er1
82268   cat conftest.err >&5
82269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82270   (exit $ac_status); } &&
82271          { ac_try='test -z "$ac_c_werror_flag"
82272                          || test ! -s conftest.err'
82273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82274   (eval $ac_try) 2>&5
82275   ac_status=$?
82276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82277   (exit $ac_status); }; } &&
82278          { ac_try='test -s conftest$ac_exeext'
82279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82280   (eval $ac_try) 2>&5
82281   ac_status=$?
82282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82283   (exit $ac_status); }; }; then
82284   eval "$as_ac_var=yes"
82285 else
82286   echo "$as_me: failed program was:" >&5
82287 sed 's/^/| /' conftest.$ac_ext >&5
82288
82289 eval "$as_ac_var=no"
82290 fi
82291 rm -f conftest.err conftest.$ac_objext \
82292       conftest$ac_exeext conftest.$ac_ext
82293 fi
82294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82296 if test `eval echo '${'$as_ac_var'}'` = yes; then
82297   cat >>confdefs.h <<_ACEOF
82298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82299 _ACEOF
82300
82301 else
82302   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
82303 fi
82304 done
82305
82306
82307           if test x$ac_cv_func_copysignl = x"yes"; then
82308
82309 for ac_func in __signbitl
82310 do
82311 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82312 echo "$as_me:$LINENO: checking for $ac_func" >&5
82313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82314 if eval "test \"\${$as_ac_var+set}\" = set"; then
82315   echo $ECHO_N "(cached) $ECHO_C" >&6
82316 else
82317   if test x$gcc_no_link = xyes; then
82318   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82320    { (exit 1); exit 1; }; }
82321 fi
82322 cat >conftest.$ac_ext <<_ACEOF
82323 /* confdefs.h.  */
82324 _ACEOF
82325 cat confdefs.h >>conftest.$ac_ext
82326 cat >>conftest.$ac_ext <<_ACEOF
82327 /* end confdefs.h.  */
82328 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82329    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82330 #define $ac_func innocuous_$ac_func
82331
82332 /* System header to define __stub macros and hopefully few prototypes,
82333     which can conflict with char $ac_func (); below.
82334     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82335     <limits.h> exists even on freestanding compilers.  */
82336
82337 #ifdef __STDC__
82338 # include <limits.h>
82339 #else
82340 # include <assert.h>
82341 #endif
82342
82343 #undef $ac_func
82344
82345 /* Override any gcc2 internal prototype to avoid an error.  */
82346 #ifdef __cplusplus
82347 extern "C"
82348 {
82349 #endif
82350 /* We use char because int might match the return type of a gcc2
82351    builtin and then its argument prototype would still apply.  */
82352 char $ac_func ();
82353 /* The GNU C library defines this for functions which it implements
82354     to always fail with ENOSYS.  Some functions are actually named
82355     something starting with __ and the normal name is an alias.  */
82356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82357 choke me
82358 #else
82359 char (*f) () = $ac_func;
82360 #endif
82361 #ifdef __cplusplus
82362 }
82363 #endif
82364
82365 int
82366 main ()
82367 {
82368 return f != $ac_func;
82369   ;
82370   return 0;
82371 }
82372 _ACEOF
82373 rm -f conftest.$ac_objext conftest$ac_exeext
82374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82375   (eval $ac_link) 2>conftest.er1
82376   ac_status=$?
82377   grep -v '^ *+' conftest.er1 >conftest.err
82378   rm -f conftest.er1
82379   cat conftest.err >&5
82380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82381   (exit $ac_status); } &&
82382          { ac_try='test -z "$ac_c_werror_flag"
82383                          || test ! -s conftest.err'
82384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82385   (eval $ac_try) 2>&5
82386   ac_status=$?
82387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82388   (exit $ac_status); }; } &&
82389          { ac_try='test -s conftest$ac_exeext'
82390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82391   (eval $ac_try) 2>&5
82392   ac_status=$?
82393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82394   (exit $ac_status); }; }; then
82395   eval "$as_ac_var=yes"
82396 else
82397   echo "$as_me: failed program was:" >&5
82398 sed 's/^/| /' conftest.$ac_ext >&5
82399
82400 eval "$as_ac_var=no"
82401 fi
82402 rm -f conftest.err conftest.$ac_objext \
82403       conftest$ac_exeext conftest.$ac_ext
82404 fi
82405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82406 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82407 if test `eval echo '${'$as_ac_var'}'` = yes; then
82408   cat >>confdefs.h <<_ACEOF
82409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82410 _ACEOF
82411
82412 else
82413   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
82414 fi
82415 done
82416
82417   fi
82418
82419   # Used in libmath/Makefile.am.
82420   if test -n "$LIBMATHOBJS"; then
82421     need_libmath=yes
82422   fi
82423
82424
82425
82426
82427   enable_iconv=no
82428   # Only continue checking if the ISO C99 headers exist and support is on.
82429   if test x"$enable_wchar_t" = xyes; then
82430
82431     # Use iconv for wchar_t to char conversions. As such, check for
82432     # X/Open Portability Guide, version 2 features (XPG2).
82433     if test "${ac_cv_header_iconv_h+set}" = set; then
82434   echo "$as_me:$LINENO: checking for iconv.h" >&5
82435 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
82436 if test "${ac_cv_header_iconv_h+set}" = set; then
82437   echo $ECHO_N "(cached) $ECHO_C" >&6
82438 fi
82439 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
82440 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
82441 else
82442   # Is the header compilable?
82443 echo "$as_me:$LINENO: checking iconv.h usability" >&5
82444 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
82445 cat >conftest.$ac_ext <<_ACEOF
82446 /* confdefs.h.  */
82447 _ACEOF
82448 cat confdefs.h >>conftest.$ac_ext
82449 cat >>conftest.$ac_ext <<_ACEOF
82450 /* end confdefs.h.  */
82451 $ac_includes_default
82452 #include <iconv.h>
82453 _ACEOF
82454 rm -f conftest.$ac_objext
82455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82456   (eval $ac_compile) 2>conftest.er1
82457   ac_status=$?
82458   grep -v '^ *+' conftest.er1 >conftest.err
82459   rm -f conftest.er1
82460   cat conftest.err >&5
82461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82462   (exit $ac_status); } &&
82463          { ac_try='test -z "$ac_c_werror_flag"
82464                          || test ! -s conftest.err'
82465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82466   (eval $ac_try) 2>&5
82467   ac_status=$?
82468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82469   (exit $ac_status); }; } &&
82470          { ac_try='test -s conftest.$ac_objext'
82471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82472   (eval $ac_try) 2>&5
82473   ac_status=$?
82474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82475   (exit $ac_status); }; }; then
82476   ac_header_compiler=yes
82477 else
82478   echo "$as_me: failed program was:" >&5
82479 sed 's/^/| /' conftest.$ac_ext >&5
82480
82481 ac_header_compiler=no
82482 fi
82483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82484 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82485 echo "${ECHO_T}$ac_header_compiler" >&6
82486
82487 # Is the header present?
82488 echo "$as_me:$LINENO: checking iconv.h presence" >&5
82489 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
82490 cat >conftest.$ac_ext <<_ACEOF
82491 /* confdefs.h.  */
82492 _ACEOF
82493 cat confdefs.h >>conftest.$ac_ext
82494 cat >>conftest.$ac_ext <<_ACEOF
82495 /* end confdefs.h.  */
82496 #include <iconv.h>
82497 _ACEOF
82498 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82499   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82500   ac_status=$?
82501   grep -v '^ *+' conftest.er1 >conftest.err
82502   rm -f conftest.er1
82503   cat conftest.err >&5
82504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82505   (exit $ac_status); } >/dev/null; then
82506   if test -s conftest.err; then
82507     ac_cpp_err=$ac_c_preproc_warn_flag
82508     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82509   else
82510     ac_cpp_err=
82511   fi
82512 else
82513   ac_cpp_err=yes
82514 fi
82515 if test -z "$ac_cpp_err"; then
82516   ac_header_preproc=yes
82517 else
82518   echo "$as_me: failed program was:" >&5
82519 sed 's/^/| /' conftest.$ac_ext >&5
82520
82521   ac_header_preproc=no
82522 fi
82523 rm -f conftest.err conftest.$ac_ext
82524 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82525 echo "${ECHO_T}$ac_header_preproc" >&6
82526
82527 # So?  What about this header?
82528 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82529   yes:no: )
82530     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
82531 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
82532     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
82533 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
82534     ac_header_preproc=yes
82535     ;;
82536   no:yes:* )
82537     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
82538 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
82539     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
82540 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
82541     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
82542 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
82543     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
82544 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
82545     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
82546 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
82547     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
82548 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
82549     (
82550       cat <<\_ASBOX
82551 ## ----------------------------------------- ##
82552 ## Report this to the package-unused lists.  ##
82553 ## ----------------------------------------- ##
82554 _ASBOX
82555     ) |
82556       sed "s/^/$as_me: WARNING:     /" >&2
82557     ;;
82558 esac
82559 echo "$as_me:$LINENO: checking for iconv.h" >&5
82560 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
82561 if test "${ac_cv_header_iconv_h+set}" = set; then
82562   echo $ECHO_N "(cached) $ECHO_C" >&6
82563 else
82564   ac_cv_header_iconv_h=$ac_header_preproc
82565 fi
82566 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
82567 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
82568
82569 fi
82570 if test $ac_cv_header_iconv_h = yes; then
82571   ac_has_iconv_h=yes
82572 else
82573   ac_has_iconv_h=no
82574 fi
82575
82576
82577     if test "${ac_cv_header_langinfo_h+set}" = set; then
82578   echo "$as_me:$LINENO: checking for langinfo.h" >&5
82579 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
82580 if test "${ac_cv_header_langinfo_h+set}" = set; then
82581   echo $ECHO_N "(cached) $ECHO_C" >&6
82582 fi
82583 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
82584 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
82585 else
82586   # Is the header compilable?
82587 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
82588 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
82589 cat >conftest.$ac_ext <<_ACEOF
82590 /* confdefs.h.  */
82591 _ACEOF
82592 cat confdefs.h >>conftest.$ac_ext
82593 cat >>conftest.$ac_ext <<_ACEOF
82594 /* end confdefs.h.  */
82595 $ac_includes_default
82596 #include <langinfo.h>
82597 _ACEOF
82598 rm -f conftest.$ac_objext
82599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82600   (eval $ac_compile) 2>conftest.er1
82601   ac_status=$?
82602   grep -v '^ *+' conftest.er1 >conftest.err
82603   rm -f conftest.er1
82604   cat conftest.err >&5
82605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82606   (exit $ac_status); } &&
82607          { ac_try='test -z "$ac_c_werror_flag"
82608                          || test ! -s conftest.err'
82609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82610   (eval $ac_try) 2>&5
82611   ac_status=$?
82612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82613   (exit $ac_status); }; } &&
82614          { ac_try='test -s conftest.$ac_objext'
82615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82616   (eval $ac_try) 2>&5
82617   ac_status=$?
82618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82619   (exit $ac_status); }; }; then
82620   ac_header_compiler=yes
82621 else
82622   echo "$as_me: failed program was:" >&5
82623 sed 's/^/| /' conftest.$ac_ext >&5
82624
82625 ac_header_compiler=no
82626 fi
82627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82628 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82629 echo "${ECHO_T}$ac_header_compiler" >&6
82630
82631 # Is the header present?
82632 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
82633 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
82634 cat >conftest.$ac_ext <<_ACEOF
82635 /* confdefs.h.  */
82636 _ACEOF
82637 cat confdefs.h >>conftest.$ac_ext
82638 cat >>conftest.$ac_ext <<_ACEOF
82639 /* end confdefs.h.  */
82640 #include <langinfo.h>
82641 _ACEOF
82642 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82643   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82644   ac_status=$?
82645   grep -v '^ *+' conftest.er1 >conftest.err
82646   rm -f conftest.er1
82647   cat conftest.err >&5
82648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82649   (exit $ac_status); } >/dev/null; then
82650   if test -s conftest.err; then
82651     ac_cpp_err=$ac_c_preproc_warn_flag
82652     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82653   else
82654     ac_cpp_err=
82655   fi
82656 else
82657   ac_cpp_err=yes
82658 fi
82659 if test -z "$ac_cpp_err"; then
82660   ac_header_preproc=yes
82661 else
82662   echo "$as_me: failed program was:" >&5
82663 sed 's/^/| /' conftest.$ac_ext >&5
82664
82665   ac_header_preproc=no
82666 fi
82667 rm -f conftest.err conftest.$ac_ext
82668 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82669 echo "${ECHO_T}$ac_header_preproc" >&6
82670
82671 # So?  What about this header?
82672 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82673   yes:no: )
82674     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
82675 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
82676     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
82677 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
82678     ac_header_preproc=yes
82679     ;;
82680   no:yes:* )
82681     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
82682 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
82683     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
82684 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
82685     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
82686 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
82687     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
82688 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
82689     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
82690 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
82691     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
82692 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
82693     (
82694       cat <<\_ASBOX
82695 ## ----------------------------------------- ##
82696 ## Report this to the package-unused lists.  ##
82697 ## ----------------------------------------- ##
82698 _ASBOX
82699     ) |
82700       sed "s/^/$as_me: WARNING:     /" >&2
82701     ;;
82702 esac
82703 echo "$as_me:$LINENO: checking for langinfo.h" >&5
82704 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
82705 if test "${ac_cv_header_langinfo_h+set}" = set; then
82706   echo $ECHO_N "(cached) $ECHO_C" >&6
82707 else
82708   ac_cv_header_langinfo_h=$ac_header_preproc
82709 fi
82710 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
82711 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
82712
82713 fi
82714 if test $ac_cv_header_langinfo_h = yes; then
82715   ac_has_langinfo_h=yes
82716 else
82717   ac_has_langinfo_h=no
82718 fi
82719
82720
82721
82722     # Check for existence of libiconv.a providing XPG2 wchar_t support.
82723     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
82724 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
82725 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
82726   echo $ECHO_N "(cached) $ECHO_C" >&6
82727 else
82728   ac_check_lib_save_LIBS=$LIBS
82729 LIBS="-liconv  $LIBS"
82730 if test x$gcc_no_link = xyes; then
82731   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82733    { (exit 1); exit 1; }; }
82734 fi
82735 cat >conftest.$ac_ext <<_ACEOF
82736 /* confdefs.h.  */
82737 _ACEOF
82738 cat confdefs.h >>conftest.$ac_ext
82739 cat >>conftest.$ac_ext <<_ACEOF
82740 /* end confdefs.h.  */
82741
82742 /* Override any gcc2 internal prototype to avoid an error.  */
82743 #ifdef __cplusplus
82744 extern "C"
82745 #endif
82746 /* We use char because int might match the return type of a gcc2
82747    builtin and then its argument prototype would still apply.  */
82748 char iconv ();
82749 int
82750 main ()
82751 {
82752 iconv ();
82753   ;
82754   return 0;
82755 }
82756 _ACEOF
82757 rm -f conftest.$ac_objext conftest$ac_exeext
82758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82759   (eval $ac_link) 2>conftest.er1
82760   ac_status=$?
82761   grep -v '^ *+' conftest.er1 >conftest.err
82762   rm -f conftest.er1
82763   cat conftest.err >&5
82764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82765   (exit $ac_status); } &&
82766          { ac_try='test -z "$ac_c_werror_flag"
82767                          || test ! -s conftest.err'
82768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82769   (eval $ac_try) 2>&5
82770   ac_status=$?
82771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82772   (exit $ac_status); }; } &&
82773          { ac_try='test -s conftest$ac_exeext'
82774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82775   (eval $ac_try) 2>&5
82776   ac_status=$?
82777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82778   (exit $ac_status); }; }; then
82779   ac_cv_lib_iconv_iconv=yes
82780 else
82781   echo "$as_me: failed program was:" >&5
82782 sed 's/^/| /' conftest.$ac_ext >&5
82783
82784 ac_cv_lib_iconv_iconv=no
82785 fi
82786 rm -f conftest.err conftest.$ac_objext \
82787       conftest$ac_exeext conftest.$ac_ext
82788 LIBS=$ac_check_lib_save_LIBS
82789 fi
82790 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
82791 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
82792 if test $ac_cv_lib_iconv_iconv = yes; then
82793   LIBICONV="-liconv"
82794 fi
82795
82796     ac_save_LIBS="$LIBS"
82797     LIBS="$LIBS $LIBICONV"
82798
82799
82800
82801
82802
82803
82804 for ac_func in iconv_open iconv_close iconv nl_langinfo
82805 do
82806 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82807 echo "$as_me:$LINENO: checking for $ac_func" >&5
82808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82809 if eval "test \"\${$as_ac_var+set}\" = set"; then
82810   echo $ECHO_N "(cached) $ECHO_C" >&6
82811 else
82812   if test x$gcc_no_link = xyes; then
82813   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82815    { (exit 1); exit 1; }; }
82816 fi
82817 cat >conftest.$ac_ext <<_ACEOF
82818 /* confdefs.h.  */
82819 _ACEOF
82820 cat confdefs.h >>conftest.$ac_ext
82821 cat >>conftest.$ac_ext <<_ACEOF
82822 /* end confdefs.h.  */
82823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82824    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82825 #define $ac_func innocuous_$ac_func
82826
82827 /* System header to define __stub macros and hopefully few prototypes,
82828     which can conflict with char $ac_func (); below.
82829     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82830     <limits.h> exists even on freestanding compilers.  */
82831
82832 #ifdef __STDC__
82833 # include <limits.h>
82834 #else
82835 # include <assert.h>
82836 #endif
82837
82838 #undef $ac_func
82839
82840 /* Override any gcc2 internal prototype to avoid an error.  */
82841 #ifdef __cplusplus
82842 extern "C"
82843 {
82844 #endif
82845 /* We use char because int might match the return type of a gcc2
82846    builtin and then its argument prototype would still apply.  */
82847 char $ac_func ();
82848 /* The GNU C library defines this for functions which it implements
82849     to always fail with ENOSYS.  Some functions are actually named
82850     something starting with __ and the normal name is an alias.  */
82851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82852 choke me
82853 #else
82854 char (*f) () = $ac_func;
82855 #endif
82856 #ifdef __cplusplus
82857 }
82858 #endif
82859
82860 int
82861 main ()
82862 {
82863 return f != $ac_func;
82864   ;
82865   return 0;
82866 }
82867 _ACEOF
82868 rm -f conftest.$ac_objext conftest$ac_exeext
82869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82870   (eval $ac_link) 2>conftest.er1
82871   ac_status=$?
82872   grep -v '^ *+' conftest.er1 >conftest.err
82873   rm -f conftest.er1
82874   cat conftest.err >&5
82875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82876   (exit $ac_status); } &&
82877          { ac_try='test -z "$ac_c_werror_flag"
82878                          || test ! -s conftest.err'
82879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82880   (eval $ac_try) 2>&5
82881   ac_status=$?
82882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82883   (exit $ac_status); }; } &&
82884          { ac_try='test -s conftest$ac_exeext'
82885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82886   (eval $ac_try) 2>&5
82887   ac_status=$?
82888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82889   (exit $ac_status); }; }; then
82890   eval "$as_ac_var=yes"
82891 else
82892   echo "$as_me: failed program was:" >&5
82893 sed 's/^/| /' conftest.$ac_ext >&5
82894
82895 eval "$as_ac_var=no"
82896 fi
82897 rm -f conftest.err conftest.$ac_objext \
82898       conftest$ac_exeext conftest.$ac_ext
82899 fi
82900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82902 if test `eval echo '${'$as_ac_var'}'` = yes; then
82903   cat >>confdefs.h <<_ACEOF
82904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82905 _ACEOF
82906  ac_XPG2funcs=yes
82907 else
82908   ac_XPG2funcs=no
82909 fi
82910 done
82911
82912
82913     LIBS="$ac_save_LIBS"
82914
82915     if test x"$ac_has_iconv_h" = xyes &&
82916        test x"$ac_has_langinfo_h" = xyes &&
82917        test x"$ac_XPG2funcs" = xyes;
82918     then
82919
82920 cat >>confdefs.h <<\_ACEOF
82921 #define _GLIBCXX_USE_ICONV 1
82922 _ACEOF
82923
82924       enable_iconv=yes
82925     fi
82926   fi
82927   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
82928 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
82929   echo "$as_me:$LINENO: result: $enable_iconv" >&5
82930 echo "${ECHO_T}$enable_iconv" >&6
82931
82932     cat >>confdefs.h <<\_ACEOF
82933 #define HAVE_COPYSIGN 1
82934 _ACEOF
82935
82936     cat >>confdefs.h <<\_ACEOF
82937 #define HAVE_COPYSIGNF 1
82938 _ACEOF
82939
82940     cat >>confdefs.h <<\_ACEOF
82941 #define HAVE_FINITEF 1
82942 _ACEOF
82943
82944     cat >>confdefs.h <<\_ACEOF
82945 #define HAVE_FINITE 1
82946 _ACEOF
82947
82948     cat >>confdefs.h <<\_ACEOF
82949 #define HAVE_FREXPF 1
82950 _ACEOF
82951
82952     cat >>confdefs.h <<\_ACEOF
82953 #define HAVE_HYPOTF 1
82954 _ACEOF
82955
82956     cat >>confdefs.h <<\_ACEOF
82957 #define HAVE_ISINF 1
82958 _ACEOF
82959
82960     cat >>confdefs.h <<\_ACEOF
82961 #define HAVE_ISINFF 1
82962 _ACEOF
82963
82964     cat >>confdefs.h <<\_ACEOF
82965 #define HAVE_ISNAN 1
82966 _ACEOF
82967
82968     cat >>confdefs.h <<\_ACEOF
82969 #define HAVE_ISNANF 1
82970 _ACEOF
82971
82972     if test x"long_double_math_on_this_cpu" = x"yes"; then
82973       cat >>confdefs.h <<\_ACEOF
82974 #define HAVE_FINITEL 1
82975 _ACEOF
82976
82977       cat >>confdefs.h <<\_ACEOF
82978 #define HAVE_ISINFL 1
82979 _ACEOF
82980
82981       cat >>confdefs.h <<\_ACEOF
82982 #define HAVE_ISNANL 1
82983 _ACEOF
82984
82985     fi
82986     ;;
82987   *-netware)
82988
82989
82990
82991
82992
82993
82994
82995
82996 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
82997       sys/types.h locale.h float.h inttypes.h
82998 do
82999 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83000 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83001   echo "$as_me:$LINENO: checking for $ac_header" >&5
83002 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83003 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83004   echo $ECHO_N "(cached) $ECHO_C" >&6
83005 fi
83006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83007 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83008 else
83009   # Is the header compilable?
83010 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83011 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83012 cat >conftest.$ac_ext <<_ACEOF
83013 /* confdefs.h.  */
83014 _ACEOF
83015 cat confdefs.h >>conftest.$ac_ext
83016 cat >>conftest.$ac_ext <<_ACEOF
83017 /* end confdefs.h.  */
83018 $ac_includes_default
83019 #include <$ac_header>
83020 _ACEOF
83021 rm -f conftest.$ac_objext
83022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83023   (eval $ac_compile) 2>conftest.er1
83024   ac_status=$?
83025   grep -v '^ *+' conftest.er1 >conftest.err
83026   rm -f conftest.er1
83027   cat conftest.err >&5
83028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83029   (exit $ac_status); } &&
83030          { ac_try='test -z "$ac_c_werror_flag"
83031                          || test ! -s conftest.err'
83032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83033   (eval $ac_try) 2>&5
83034   ac_status=$?
83035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83036   (exit $ac_status); }; } &&
83037          { ac_try='test -s conftest.$ac_objext'
83038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83039   (eval $ac_try) 2>&5
83040   ac_status=$?
83041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83042   (exit $ac_status); }; }; then
83043   ac_header_compiler=yes
83044 else
83045   echo "$as_me: failed program was:" >&5
83046 sed 's/^/| /' conftest.$ac_ext >&5
83047
83048 ac_header_compiler=no
83049 fi
83050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83051 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83052 echo "${ECHO_T}$ac_header_compiler" >&6
83053
83054 # Is the header present?
83055 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83056 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83057 cat >conftest.$ac_ext <<_ACEOF
83058 /* confdefs.h.  */
83059 _ACEOF
83060 cat confdefs.h >>conftest.$ac_ext
83061 cat >>conftest.$ac_ext <<_ACEOF
83062 /* end confdefs.h.  */
83063 #include <$ac_header>
83064 _ACEOF
83065 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83066   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83067   ac_status=$?
83068   grep -v '^ *+' conftest.er1 >conftest.err
83069   rm -f conftest.er1
83070   cat conftest.err >&5
83071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83072   (exit $ac_status); } >/dev/null; then
83073   if test -s conftest.err; then
83074     ac_cpp_err=$ac_c_preproc_warn_flag
83075     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83076   else
83077     ac_cpp_err=
83078   fi
83079 else
83080   ac_cpp_err=yes
83081 fi
83082 if test -z "$ac_cpp_err"; then
83083   ac_header_preproc=yes
83084 else
83085   echo "$as_me: failed program was:" >&5
83086 sed 's/^/| /' conftest.$ac_ext >&5
83087
83088   ac_header_preproc=no
83089 fi
83090 rm -f conftest.err conftest.$ac_ext
83091 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83092 echo "${ECHO_T}$ac_header_preproc" >&6
83093
83094 # So?  What about this header?
83095 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83096   yes:no: )
83097     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83098 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83099     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83100 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83101     ac_header_preproc=yes
83102     ;;
83103   no:yes:* )
83104     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83105 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83106     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
83107 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
83108     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83109 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83110     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
83111 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
83112     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83113 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83114     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83115 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83116     (
83117       cat <<\_ASBOX
83118 ## ----------------------------------------- ##
83119 ## Report this to the package-unused lists.  ##
83120 ## ----------------------------------------- ##
83121 _ASBOX
83122     ) |
83123       sed "s/^/$as_me: WARNING:     /" >&2
83124     ;;
83125 esac
83126 echo "$as_me:$LINENO: checking for $ac_header" >&5
83127 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83128 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83129   echo $ECHO_N "(cached) $ECHO_C" >&6
83130 else
83131   eval "$as_ac_Header=\$ac_header_preproc"
83132 fi
83133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83134 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83135
83136 fi
83137 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83138   cat >>confdefs.h <<_ACEOF
83139 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83140 _ACEOF
83141
83142 fi
83143
83144 done
83145
83146     SECTION_FLAGS='-ffunction-sections -fdata-sections'
83147
83148
83149   # If we're not using GNU ld, then there's no point in even trying these
83150   # tests.  Check for that first.  We should have already tested for gld
83151   # by now (in libtool), but require it now just to be safe...
83152   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
83153   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
83154
83155
83156
83157   # The name set by libtool depends on the version of libtool.  Shame on us
83158   # for depending on an impl detail, but c'est la vie.  Older versions used
83159   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
83160   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
83161   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
83162   # set (hence we're using an older libtool), then set it.
83163   if test x${with_gnu_ld+set} != xset; then
83164     if test x${ac_cv_prog_gnu_ld+set} != xset; then
83165       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
83166       with_gnu_ld=no
83167     else
83168       with_gnu_ld=$ac_cv_prog_gnu_ld
83169     fi
83170   fi
83171
83172   # Start by getting the version number.  I think the libtool test already
83173   # does some of this, but throws away the result.
83174   echo "$as_me:$LINENO: checking for ld version" >&5
83175 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
83176
83177   ldver=`$LD --version 2>/dev/null | head -1 | \
83178          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
83179
83180   glibcxx_gnu_ld_version=`echo $ldver | \
83181          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
83182   echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
83183 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
83184
83185   # Set --gc-sections.
83186   glibcxx_gcsections_min_ld=21602
83187   if test x"$with_gnu_ld" = x"yes" &&
83188         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
83189
83190     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
83191     # NB: This flag only works reliably after 2.16.1. Configure tests
83192     # for this are difficult, so hard wire a value that should work.
83193
83194     # All these tests are for C++, but run with the "C" compiler driver.
83195     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
83196     ac_test_CFLAGS="${CFLAGS+set}"
83197     ac_save_CFLAGS="$CFLAGS"
83198     CFLAGS='-x c++ -Wl,--gc-sections'
83199
83200     # Check for -Wl,--gc-sections
83201     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
83202 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
83203     if test x$gcc_no_link = xyes; then
83204   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83206    { (exit 1); exit 1; }; }
83207 fi
83208 cat >conftest.$ac_ext <<_ACEOF
83209 /* confdefs.h.  */
83210 _ACEOF
83211 cat confdefs.h >>conftest.$ac_ext
83212 cat >>conftest.$ac_ext <<_ACEOF
83213 /* end confdefs.h.  */
83214  int one(void) { return 1; }
83215      int two(void) { return 2; }
83216
83217 int
83218 main ()
83219 {
83220  two();
83221   ;
83222   return 0;
83223 }
83224 _ACEOF
83225 rm -f conftest.$ac_objext conftest$ac_exeext
83226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83227   (eval $ac_link) 2>conftest.er1
83228   ac_status=$?
83229   grep -v '^ *+' conftest.er1 >conftest.err
83230   rm -f conftest.er1
83231   cat conftest.err >&5
83232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83233   (exit $ac_status); } &&
83234          { ac_try='test -z "$ac_c_werror_flag"
83235                          || test ! -s conftest.err'
83236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83237   (eval $ac_try) 2>&5
83238   ac_status=$?
83239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83240   (exit $ac_status); }; } &&
83241          { ac_try='test -s conftest$ac_exeext'
83242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83243   (eval $ac_try) 2>&5
83244   ac_status=$?
83245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83246   (exit $ac_status); }; }; then
83247   ac_gcsections=yes
83248 else
83249   echo "$as_me: failed program was:" >&5
83250 sed 's/^/| /' conftest.$ac_ext >&5
83251
83252 ac_gcsections=no
83253 fi
83254 rm -f conftest.err conftest.$ac_objext \
83255       conftest$ac_exeext conftest.$ac_ext
83256     if test "$ac_gcsections" = "yes"; then
83257       rm -f conftest.c
83258       touch conftest.c
83259       if $CC -c conftest.c; then
83260         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
83261            grep "Warning: gc-sections option ignored" > /dev/null; then
83262           ac_gcsections=no
83263         fi
83264       fi
83265       rm -f conftest.c conftest.o conftest
83266     fi
83267     if test "$ac_gcsections" = "yes"; then
83268       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
83269     fi
83270     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
83271 echo "${ECHO_T}$ac_gcsections" >&6
83272
83273     if test "$ac_test_CFLAGS" = set; then
83274       CFLAGS="$ac_save_CFLAGS"
83275     else
83276       # this is the suspicious part
83277       CFLAGS=''
83278     fi
83279   fi
83280
83281   # Set -z,relro.
83282   # Note this is only for shared objects.
83283   ac_ld_relro=no
83284   if test x"$with_gnu_ld" = x"yes"; then
83285     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
83286 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
83287     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
83288     if test -n "$cxx_z_relo"; then
83289       OPT_LDFLAGS="-Wl,-z,relro"
83290       ac_ld_relro=yes
83291     fi
83292     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
83293 echo "${ECHO_T}$ac_ld_relro" >&6
83294   fi
83295
83296   # Set linker optimization flags.
83297   if test x"$with_gnu_ld" = x"yes"; then
83298     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
83299   fi
83300
83301
83302
83303
83304
83305
83306 echo "$as_me:$LINENO: checking for main in -lm" >&5
83307 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
83308 if test "${ac_cv_lib_m_main+set}" = set; then
83309   echo $ECHO_N "(cached) $ECHO_C" >&6
83310 else
83311   ac_check_lib_save_LIBS=$LIBS
83312 LIBS="-lm  $LIBS"
83313 if test x$gcc_no_link = xyes; then
83314   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83316    { (exit 1); exit 1; }; }
83317 fi
83318 cat >conftest.$ac_ext <<_ACEOF
83319 /* confdefs.h.  */
83320 _ACEOF
83321 cat confdefs.h >>conftest.$ac_ext
83322 cat >>conftest.$ac_ext <<_ACEOF
83323 /* end confdefs.h.  */
83324
83325
83326 int
83327 main ()
83328 {
83329 main ();
83330   ;
83331   return 0;
83332 }
83333 _ACEOF
83334 rm -f conftest.$ac_objext conftest$ac_exeext
83335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83336   (eval $ac_link) 2>conftest.er1
83337   ac_status=$?
83338   grep -v '^ *+' conftest.er1 >conftest.err
83339   rm -f conftest.er1
83340   cat conftest.err >&5
83341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83342   (exit $ac_status); } &&
83343          { ac_try='test -z "$ac_c_werror_flag"
83344                          || test ! -s conftest.err'
83345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83346   (eval $ac_try) 2>&5
83347   ac_status=$?
83348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83349   (exit $ac_status); }; } &&
83350          { ac_try='test -s conftest$ac_exeext'
83351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83352   (eval $ac_try) 2>&5
83353   ac_status=$?
83354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83355   (exit $ac_status); }; }; then
83356   ac_cv_lib_m_main=yes
83357 else
83358   echo "$as_me: failed program was:" >&5
83359 sed 's/^/| /' conftest.$ac_ext >&5
83360
83361 ac_cv_lib_m_main=no
83362 fi
83363 rm -f conftest.err conftest.$ac_objext \
83364       conftest$ac_exeext conftest.$ac_ext
83365 LIBS=$ac_check_lib_save_LIBS
83366 fi
83367 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
83368 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
83369 if test $ac_cv_lib_m_main = yes; then
83370   cat >>confdefs.h <<_ACEOF
83371 #define HAVE_LIBM 1
83372 _ACEOF
83373
83374   LIBS="-lm $LIBS"
83375
83376 fi
83377
83378
83379 for ac_func in copysignf
83380 do
83381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83382 echo "$as_me:$LINENO: checking for $ac_func" >&5
83383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83384 if eval "test \"\${$as_ac_var+set}\" = set"; then
83385   echo $ECHO_N "(cached) $ECHO_C" >&6
83386 else
83387   if test x$gcc_no_link = xyes; then
83388   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83390    { (exit 1); exit 1; }; }
83391 fi
83392 cat >conftest.$ac_ext <<_ACEOF
83393 /* confdefs.h.  */
83394 _ACEOF
83395 cat confdefs.h >>conftest.$ac_ext
83396 cat >>conftest.$ac_ext <<_ACEOF
83397 /* end confdefs.h.  */
83398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83399    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83400 #define $ac_func innocuous_$ac_func
83401
83402 /* System header to define __stub macros and hopefully few prototypes,
83403     which can conflict with char $ac_func (); below.
83404     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83405     <limits.h> exists even on freestanding compilers.  */
83406
83407 #ifdef __STDC__
83408 # include <limits.h>
83409 #else
83410 # include <assert.h>
83411 #endif
83412
83413 #undef $ac_func
83414
83415 /* Override any gcc2 internal prototype to avoid an error.  */
83416 #ifdef __cplusplus
83417 extern "C"
83418 {
83419 #endif
83420 /* We use char because int might match the return type of a gcc2
83421    builtin and then its argument prototype would still apply.  */
83422 char $ac_func ();
83423 /* The GNU C library defines this for functions which it implements
83424     to always fail with ENOSYS.  Some functions are actually named
83425     something starting with __ and the normal name is an alias.  */
83426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83427 choke me
83428 #else
83429 char (*f) () = $ac_func;
83430 #endif
83431 #ifdef __cplusplus
83432 }
83433 #endif
83434
83435 int
83436 main ()
83437 {
83438 return f != $ac_func;
83439   ;
83440   return 0;
83441 }
83442 _ACEOF
83443 rm -f conftest.$ac_objext conftest$ac_exeext
83444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83445   (eval $ac_link) 2>conftest.er1
83446   ac_status=$?
83447   grep -v '^ *+' conftest.er1 >conftest.err
83448   rm -f conftest.er1
83449   cat conftest.err >&5
83450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83451   (exit $ac_status); } &&
83452          { ac_try='test -z "$ac_c_werror_flag"
83453                          || test ! -s conftest.err'
83454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83455   (eval $ac_try) 2>&5
83456   ac_status=$?
83457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83458   (exit $ac_status); }; } &&
83459          { ac_try='test -s conftest$ac_exeext'
83460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83461   (eval $ac_try) 2>&5
83462   ac_status=$?
83463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83464   (exit $ac_status); }; }; then
83465   eval "$as_ac_var=yes"
83466 else
83467   echo "$as_me: failed program was:" >&5
83468 sed 's/^/| /' conftest.$ac_ext >&5
83469
83470 eval "$as_ac_var=no"
83471 fi
83472 rm -f conftest.err conftest.$ac_objext \
83473       conftest$ac_exeext conftest.$ac_ext
83474 fi
83475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83477 if test `eval echo '${'$as_ac_var'}'` = yes; then
83478   cat >>confdefs.h <<_ACEOF
83479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83480 _ACEOF
83481
83482 else
83483   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
83484 fi
83485 done
83486
83487
83488
83489 for ac_func in __signbit
83490 do
83491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83492 echo "$as_me:$LINENO: checking for $ac_func" >&5
83493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83494 if eval "test \"\${$as_ac_var+set}\" = set"; then
83495   echo $ECHO_N "(cached) $ECHO_C" >&6
83496 else
83497   if test x$gcc_no_link = xyes; then
83498   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83500    { (exit 1); exit 1; }; }
83501 fi
83502 cat >conftest.$ac_ext <<_ACEOF
83503 /* confdefs.h.  */
83504 _ACEOF
83505 cat confdefs.h >>conftest.$ac_ext
83506 cat >>conftest.$ac_ext <<_ACEOF
83507 /* end confdefs.h.  */
83508 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83509    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83510 #define $ac_func innocuous_$ac_func
83511
83512 /* System header to define __stub macros and hopefully few prototypes,
83513     which can conflict with char $ac_func (); below.
83514     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83515     <limits.h> exists even on freestanding compilers.  */
83516
83517 #ifdef __STDC__
83518 # include <limits.h>
83519 #else
83520 # include <assert.h>
83521 #endif
83522
83523 #undef $ac_func
83524
83525 /* Override any gcc2 internal prototype to avoid an error.  */
83526 #ifdef __cplusplus
83527 extern "C"
83528 {
83529 #endif
83530 /* We use char because int might match the return type of a gcc2
83531    builtin and then its argument prototype would still apply.  */
83532 char $ac_func ();
83533 /* The GNU C library defines this for functions which it implements
83534     to always fail with ENOSYS.  Some functions are actually named
83535     something starting with __ and the normal name is an alias.  */
83536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83537 choke me
83538 #else
83539 char (*f) () = $ac_func;
83540 #endif
83541 #ifdef __cplusplus
83542 }
83543 #endif
83544
83545 int
83546 main ()
83547 {
83548 return f != $ac_func;
83549   ;
83550   return 0;
83551 }
83552 _ACEOF
83553 rm -f conftest.$ac_objext conftest$ac_exeext
83554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83555   (eval $ac_link) 2>conftest.er1
83556   ac_status=$?
83557   grep -v '^ *+' conftest.er1 >conftest.err
83558   rm -f conftest.er1
83559   cat conftest.err >&5
83560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83561   (exit $ac_status); } &&
83562          { ac_try='test -z "$ac_c_werror_flag"
83563                          || test ! -s conftest.err'
83564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83565   (eval $ac_try) 2>&5
83566   ac_status=$?
83567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83568   (exit $ac_status); }; } &&
83569          { ac_try='test -s conftest$ac_exeext'
83570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83571   (eval $ac_try) 2>&5
83572   ac_status=$?
83573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83574   (exit $ac_status); }; }; then
83575   eval "$as_ac_var=yes"
83576 else
83577   echo "$as_me: failed program was:" >&5
83578 sed 's/^/| /' conftest.$ac_ext >&5
83579
83580 eval "$as_ac_var=no"
83581 fi
83582 rm -f conftest.err conftest.$ac_objext \
83583       conftest$ac_exeext conftest.$ac_ext
83584 fi
83585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83586 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83587 if test `eval echo '${'$as_ac_var'}'` = yes; then
83588   cat >>confdefs.h <<_ACEOF
83589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83590 _ACEOF
83591
83592 else
83593   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
83594 fi
83595 done
83596
83597
83598
83599 for ac_func in __signbitf
83600 do
83601 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83602 echo "$as_me:$LINENO: checking for $ac_func" >&5
83603 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83604 if eval "test \"\${$as_ac_var+set}\" = set"; then
83605   echo $ECHO_N "(cached) $ECHO_C" >&6
83606 else
83607   if test x$gcc_no_link = xyes; then
83608   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83609 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83610    { (exit 1); exit 1; }; }
83611 fi
83612 cat >conftest.$ac_ext <<_ACEOF
83613 /* confdefs.h.  */
83614 _ACEOF
83615 cat confdefs.h >>conftest.$ac_ext
83616 cat >>conftest.$ac_ext <<_ACEOF
83617 /* end confdefs.h.  */
83618 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83619    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83620 #define $ac_func innocuous_$ac_func
83621
83622 /* System header to define __stub macros and hopefully few prototypes,
83623     which can conflict with char $ac_func (); below.
83624     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83625     <limits.h> exists even on freestanding compilers.  */
83626
83627 #ifdef __STDC__
83628 # include <limits.h>
83629 #else
83630 # include <assert.h>
83631 #endif
83632
83633 #undef $ac_func
83634
83635 /* Override any gcc2 internal prototype to avoid an error.  */
83636 #ifdef __cplusplus
83637 extern "C"
83638 {
83639 #endif
83640 /* We use char because int might match the return type of a gcc2
83641    builtin and then its argument prototype would still apply.  */
83642 char $ac_func ();
83643 /* The GNU C library defines this for functions which it implements
83644     to always fail with ENOSYS.  Some functions are actually named
83645     something starting with __ and the normal name is an alias.  */
83646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83647 choke me
83648 #else
83649 char (*f) () = $ac_func;
83650 #endif
83651 #ifdef __cplusplus
83652 }
83653 #endif
83654
83655 int
83656 main ()
83657 {
83658 return f != $ac_func;
83659   ;
83660   return 0;
83661 }
83662 _ACEOF
83663 rm -f conftest.$ac_objext conftest$ac_exeext
83664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83665   (eval $ac_link) 2>conftest.er1
83666   ac_status=$?
83667   grep -v '^ *+' conftest.er1 >conftest.err
83668   rm -f conftest.er1
83669   cat conftest.err >&5
83670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83671   (exit $ac_status); } &&
83672          { ac_try='test -z "$ac_c_werror_flag"
83673                          || test ! -s conftest.err'
83674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83675   (eval $ac_try) 2>&5
83676   ac_status=$?
83677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83678   (exit $ac_status); }; } &&
83679          { ac_try='test -s conftest$ac_exeext'
83680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83681   (eval $ac_try) 2>&5
83682   ac_status=$?
83683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83684   (exit $ac_status); }; }; then
83685   eval "$as_ac_var=yes"
83686 else
83687   echo "$as_me: failed program was:" >&5
83688 sed 's/^/| /' conftest.$ac_ext >&5
83689
83690 eval "$as_ac_var=no"
83691 fi
83692 rm -f conftest.err conftest.$ac_objext \
83693       conftest$ac_exeext conftest.$ac_ext
83694 fi
83695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83696 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83697 if test `eval echo '${'$as_ac_var'}'` = yes; then
83698   cat >>confdefs.h <<_ACEOF
83699 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83700 _ACEOF
83701
83702 else
83703   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
83704 fi
83705 done
83706
83707
83708           if test x$ac_cv_func_copysignl = x"yes"; then
83709
83710 for ac_func in __signbitl
83711 do
83712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83713 echo "$as_me:$LINENO: checking for $ac_func" >&5
83714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83715 if eval "test \"\${$as_ac_var+set}\" = set"; then
83716   echo $ECHO_N "(cached) $ECHO_C" >&6
83717 else
83718   if test x$gcc_no_link = xyes; then
83719   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83721    { (exit 1); exit 1; }; }
83722 fi
83723 cat >conftest.$ac_ext <<_ACEOF
83724 /* confdefs.h.  */
83725 _ACEOF
83726 cat confdefs.h >>conftest.$ac_ext
83727 cat >>conftest.$ac_ext <<_ACEOF
83728 /* end confdefs.h.  */
83729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83730    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83731 #define $ac_func innocuous_$ac_func
83732
83733 /* System header to define __stub macros and hopefully few prototypes,
83734     which can conflict with char $ac_func (); below.
83735     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83736     <limits.h> exists even on freestanding compilers.  */
83737
83738 #ifdef __STDC__
83739 # include <limits.h>
83740 #else
83741 # include <assert.h>
83742 #endif
83743
83744 #undef $ac_func
83745
83746 /* Override any gcc2 internal prototype to avoid an error.  */
83747 #ifdef __cplusplus
83748 extern "C"
83749 {
83750 #endif
83751 /* We use char because int might match the return type of a gcc2
83752    builtin and then its argument prototype would still apply.  */
83753 char $ac_func ();
83754 /* The GNU C library defines this for functions which it implements
83755     to always fail with ENOSYS.  Some functions are actually named
83756     something starting with __ and the normal name is an alias.  */
83757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83758 choke me
83759 #else
83760 char (*f) () = $ac_func;
83761 #endif
83762 #ifdef __cplusplus
83763 }
83764 #endif
83765
83766 int
83767 main ()
83768 {
83769 return f != $ac_func;
83770   ;
83771   return 0;
83772 }
83773 _ACEOF
83774 rm -f conftest.$ac_objext conftest$ac_exeext
83775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83776   (eval $ac_link) 2>conftest.er1
83777   ac_status=$?
83778   grep -v '^ *+' conftest.er1 >conftest.err
83779   rm -f conftest.er1
83780   cat conftest.err >&5
83781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83782   (exit $ac_status); } &&
83783          { ac_try='test -z "$ac_c_werror_flag"
83784                          || test ! -s conftest.err'
83785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83786   (eval $ac_try) 2>&5
83787   ac_status=$?
83788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83789   (exit $ac_status); }; } &&
83790          { ac_try='test -s conftest$ac_exeext'
83791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83792   (eval $ac_try) 2>&5
83793   ac_status=$?
83794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83795   (exit $ac_status); }; }; then
83796   eval "$as_ac_var=yes"
83797 else
83798   echo "$as_me: failed program was:" >&5
83799 sed 's/^/| /' conftest.$ac_ext >&5
83800
83801 eval "$as_ac_var=no"
83802 fi
83803 rm -f conftest.err conftest.$ac_objext \
83804       conftest$ac_exeext conftest.$ac_ext
83805 fi
83806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83808 if test `eval echo '${'$as_ac_var'}'` = yes; then
83809   cat >>confdefs.h <<_ACEOF
83810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83811 _ACEOF
83812
83813 else
83814   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
83815 fi
83816 done
83817
83818   fi
83819
83820   # Used in libmath/Makefile.am.
83821   if test -n "$LIBMATHOBJS"; then
83822     need_libmath=yes
83823   fi
83824
83825
83826
83827
83828   enable_iconv=no
83829   # Only continue checking if the ISO C99 headers exist and support is on.
83830   if test x"$enable_wchar_t" = xyes; then
83831
83832     # Use iconv for wchar_t to char conversions. As such, check for
83833     # X/Open Portability Guide, version 2 features (XPG2).
83834     if test "${ac_cv_header_iconv_h+set}" = set; then
83835   echo "$as_me:$LINENO: checking for iconv.h" >&5
83836 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
83837 if test "${ac_cv_header_iconv_h+set}" = set; then
83838   echo $ECHO_N "(cached) $ECHO_C" >&6
83839 fi
83840 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
83841 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
83842 else
83843   # Is the header compilable?
83844 echo "$as_me:$LINENO: checking iconv.h usability" >&5
83845 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
83846 cat >conftest.$ac_ext <<_ACEOF
83847 /* confdefs.h.  */
83848 _ACEOF
83849 cat confdefs.h >>conftest.$ac_ext
83850 cat >>conftest.$ac_ext <<_ACEOF
83851 /* end confdefs.h.  */
83852 $ac_includes_default
83853 #include <iconv.h>
83854 _ACEOF
83855 rm -f conftest.$ac_objext
83856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83857   (eval $ac_compile) 2>conftest.er1
83858   ac_status=$?
83859   grep -v '^ *+' conftest.er1 >conftest.err
83860   rm -f conftest.er1
83861   cat conftest.err >&5
83862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83863   (exit $ac_status); } &&
83864          { ac_try='test -z "$ac_c_werror_flag"
83865                          || test ! -s conftest.err'
83866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83867   (eval $ac_try) 2>&5
83868   ac_status=$?
83869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83870   (exit $ac_status); }; } &&
83871          { ac_try='test -s conftest.$ac_objext'
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); }; }; then
83877   ac_header_compiler=yes
83878 else
83879   echo "$as_me: failed program was:" >&5
83880 sed 's/^/| /' conftest.$ac_ext >&5
83881
83882 ac_header_compiler=no
83883 fi
83884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83885 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83886 echo "${ECHO_T}$ac_header_compiler" >&6
83887
83888 # Is the header present?
83889 echo "$as_me:$LINENO: checking iconv.h presence" >&5
83890 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
83891 cat >conftest.$ac_ext <<_ACEOF
83892 /* confdefs.h.  */
83893 _ACEOF
83894 cat confdefs.h >>conftest.$ac_ext
83895 cat >>conftest.$ac_ext <<_ACEOF
83896 /* end confdefs.h.  */
83897 #include <iconv.h>
83898 _ACEOF
83899 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83900   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83901   ac_status=$?
83902   grep -v '^ *+' conftest.er1 >conftest.err
83903   rm -f conftest.er1
83904   cat conftest.err >&5
83905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83906   (exit $ac_status); } >/dev/null; then
83907   if test -s conftest.err; then
83908     ac_cpp_err=$ac_c_preproc_warn_flag
83909     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83910   else
83911     ac_cpp_err=
83912   fi
83913 else
83914   ac_cpp_err=yes
83915 fi
83916 if test -z "$ac_cpp_err"; then
83917   ac_header_preproc=yes
83918 else
83919   echo "$as_me: failed program was:" >&5
83920 sed 's/^/| /' conftest.$ac_ext >&5
83921
83922   ac_header_preproc=no
83923 fi
83924 rm -f conftest.err conftest.$ac_ext
83925 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83926 echo "${ECHO_T}$ac_header_preproc" >&6
83927
83928 # So?  What about this header?
83929 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83930   yes:no: )
83931     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
83932 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
83933     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
83934 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
83935     ac_header_preproc=yes
83936     ;;
83937   no:yes:* )
83938     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
83939 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
83940     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
83941 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
83942     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
83943 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
83944     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
83945 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
83946     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
83947 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
83948     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
83949 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
83950     (
83951       cat <<\_ASBOX
83952 ## ----------------------------------------- ##
83953 ## Report this to the package-unused lists.  ##
83954 ## ----------------------------------------- ##
83955 _ASBOX
83956     ) |
83957       sed "s/^/$as_me: WARNING:     /" >&2
83958     ;;
83959 esac
83960 echo "$as_me:$LINENO: checking for iconv.h" >&5
83961 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
83962 if test "${ac_cv_header_iconv_h+set}" = set; then
83963   echo $ECHO_N "(cached) $ECHO_C" >&6
83964 else
83965   ac_cv_header_iconv_h=$ac_header_preproc
83966 fi
83967 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
83968 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
83969
83970 fi
83971 if test $ac_cv_header_iconv_h = yes; then
83972   ac_has_iconv_h=yes
83973 else
83974   ac_has_iconv_h=no
83975 fi
83976
83977
83978     if test "${ac_cv_header_langinfo_h+set}" = set; then
83979   echo "$as_me:$LINENO: checking for langinfo.h" >&5
83980 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
83981 if test "${ac_cv_header_langinfo_h+set}" = set; then
83982   echo $ECHO_N "(cached) $ECHO_C" >&6
83983 fi
83984 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
83985 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
83986 else
83987   # Is the header compilable?
83988 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
83989 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
83990 cat >conftest.$ac_ext <<_ACEOF
83991 /* confdefs.h.  */
83992 _ACEOF
83993 cat confdefs.h >>conftest.$ac_ext
83994 cat >>conftest.$ac_ext <<_ACEOF
83995 /* end confdefs.h.  */
83996 $ac_includes_default
83997 #include <langinfo.h>
83998 _ACEOF
83999 rm -f conftest.$ac_objext
84000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84001   (eval $ac_compile) 2>conftest.er1
84002   ac_status=$?
84003   grep -v '^ *+' conftest.er1 >conftest.err
84004   rm -f conftest.er1
84005   cat conftest.err >&5
84006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84007   (exit $ac_status); } &&
84008          { ac_try='test -z "$ac_c_werror_flag"
84009                          || test ! -s conftest.err'
84010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84011   (eval $ac_try) 2>&5
84012   ac_status=$?
84013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84014   (exit $ac_status); }; } &&
84015          { ac_try='test -s conftest.$ac_objext'
84016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84017   (eval $ac_try) 2>&5
84018   ac_status=$?
84019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84020   (exit $ac_status); }; }; then
84021   ac_header_compiler=yes
84022 else
84023   echo "$as_me: failed program was:" >&5
84024 sed 's/^/| /' conftest.$ac_ext >&5
84025
84026 ac_header_compiler=no
84027 fi
84028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84029 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84030 echo "${ECHO_T}$ac_header_compiler" >&6
84031
84032 # Is the header present?
84033 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
84034 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
84035 cat >conftest.$ac_ext <<_ACEOF
84036 /* confdefs.h.  */
84037 _ACEOF
84038 cat confdefs.h >>conftest.$ac_ext
84039 cat >>conftest.$ac_ext <<_ACEOF
84040 /* end confdefs.h.  */
84041 #include <langinfo.h>
84042 _ACEOF
84043 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84044   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84045   ac_status=$?
84046   grep -v '^ *+' conftest.er1 >conftest.err
84047   rm -f conftest.er1
84048   cat conftest.err >&5
84049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84050   (exit $ac_status); } >/dev/null; then
84051   if test -s conftest.err; then
84052     ac_cpp_err=$ac_c_preproc_warn_flag
84053     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84054   else
84055     ac_cpp_err=
84056   fi
84057 else
84058   ac_cpp_err=yes
84059 fi
84060 if test -z "$ac_cpp_err"; then
84061   ac_header_preproc=yes
84062 else
84063   echo "$as_me: failed program was:" >&5
84064 sed 's/^/| /' conftest.$ac_ext >&5
84065
84066   ac_header_preproc=no
84067 fi
84068 rm -f conftest.err conftest.$ac_ext
84069 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84070 echo "${ECHO_T}$ac_header_preproc" >&6
84071
84072 # So?  What about this header?
84073 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84074   yes:no: )
84075     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
84076 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84077     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
84078 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
84079     ac_header_preproc=yes
84080     ;;
84081   no:yes:* )
84082     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
84083 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
84084     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
84085 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
84086     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
84087 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
84088     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
84089 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
84090     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
84091 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
84092     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
84093 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
84094     (
84095       cat <<\_ASBOX
84096 ## ----------------------------------------- ##
84097 ## Report this to the package-unused lists.  ##
84098 ## ----------------------------------------- ##
84099 _ASBOX
84100     ) |
84101       sed "s/^/$as_me: WARNING:     /" >&2
84102     ;;
84103 esac
84104 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84105 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84106 if test "${ac_cv_header_langinfo_h+set}" = set; then
84107   echo $ECHO_N "(cached) $ECHO_C" >&6
84108 else
84109   ac_cv_header_langinfo_h=$ac_header_preproc
84110 fi
84111 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84112 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84113
84114 fi
84115 if test $ac_cv_header_langinfo_h = yes; then
84116   ac_has_langinfo_h=yes
84117 else
84118   ac_has_langinfo_h=no
84119 fi
84120
84121
84122
84123     # Check for existence of libiconv.a providing XPG2 wchar_t support.
84124     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
84125 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
84126 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
84127   echo $ECHO_N "(cached) $ECHO_C" >&6
84128 else
84129   ac_check_lib_save_LIBS=$LIBS
84130 LIBS="-liconv  $LIBS"
84131 if test x$gcc_no_link = xyes; then
84132   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84134    { (exit 1); exit 1; }; }
84135 fi
84136 cat >conftest.$ac_ext <<_ACEOF
84137 /* confdefs.h.  */
84138 _ACEOF
84139 cat confdefs.h >>conftest.$ac_ext
84140 cat >>conftest.$ac_ext <<_ACEOF
84141 /* end confdefs.h.  */
84142
84143 /* Override any gcc2 internal prototype to avoid an error.  */
84144 #ifdef __cplusplus
84145 extern "C"
84146 #endif
84147 /* We use char because int might match the return type of a gcc2
84148    builtin and then its argument prototype would still apply.  */
84149 char iconv ();
84150 int
84151 main ()
84152 {
84153 iconv ();
84154   ;
84155   return 0;
84156 }
84157 _ACEOF
84158 rm -f conftest.$ac_objext conftest$ac_exeext
84159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84160   (eval $ac_link) 2>conftest.er1
84161   ac_status=$?
84162   grep -v '^ *+' conftest.er1 >conftest.err
84163   rm -f conftest.er1
84164   cat conftest.err >&5
84165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84166   (exit $ac_status); } &&
84167          { ac_try='test -z "$ac_c_werror_flag"
84168                          || test ! -s conftest.err'
84169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84170   (eval $ac_try) 2>&5
84171   ac_status=$?
84172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84173   (exit $ac_status); }; } &&
84174          { ac_try='test -s conftest$ac_exeext'
84175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84176   (eval $ac_try) 2>&5
84177   ac_status=$?
84178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84179   (exit $ac_status); }; }; then
84180   ac_cv_lib_iconv_iconv=yes
84181 else
84182   echo "$as_me: failed program was:" >&5
84183 sed 's/^/| /' conftest.$ac_ext >&5
84184
84185 ac_cv_lib_iconv_iconv=no
84186 fi
84187 rm -f conftest.err conftest.$ac_objext \
84188       conftest$ac_exeext conftest.$ac_ext
84189 LIBS=$ac_check_lib_save_LIBS
84190 fi
84191 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
84192 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
84193 if test $ac_cv_lib_iconv_iconv = yes; then
84194   LIBICONV="-liconv"
84195 fi
84196
84197     ac_save_LIBS="$LIBS"
84198     LIBS="$LIBS $LIBICONV"
84199
84200
84201
84202
84203
84204
84205 for ac_func in iconv_open iconv_close iconv nl_langinfo
84206 do
84207 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84208 echo "$as_me:$LINENO: checking for $ac_func" >&5
84209 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84210 if eval "test \"\${$as_ac_var+set}\" = set"; then
84211   echo $ECHO_N "(cached) $ECHO_C" >&6
84212 else
84213   if test x$gcc_no_link = xyes; then
84214   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84215 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84216    { (exit 1); exit 1; }; }
84217 fi
84218 cat >conftest.$ac_ext <<_ACEOF
84219 /* confdefs.h.  */
84220 _ACEOF
84221 cat confdefs.h >>conftest.$ac_ext
84222 cat >>conftest.$ac_ext <<_ACEOF
84223 /* end confdefs.h.  */
84224 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84225    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84226 #define $ac_func innocuous_$ac_func
84227
84228 /* System header to define __stub macros and hopefully few prototypes,
84229     which can conflict with char $ac_func (); below.
84230     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84231     <limits.h> exists even on freestanding compilers.  */
84232
84233 #ifdef __STDC__
84234 # include <limits.h>
84235 #else
84236 # include <assert.h>
84237 #endif
84238
84239 #undef $ac_func
84240
84241 /* Override any gcc2 internal prototype to avoid an error.  */
84242 #ifdef __cplusplus
84243 extern "C"
84244 {
84245 #endif
84246 /* We use char because int might match the return type of a gcc2
84247    builtin and then its argument prototype would still apply.  */
84248 char $ac_func ();
84249 /* The GNU C library defines this for functions which it implements
84250     to always fail with ENOSYS.  Some functions are actually named
84251     something starting with __ and the normal name is an alias.  */
84252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84253 choke me
84254 #else
84255 char (*f) () = $ac_func;
84256 #endif
84257 #ifdef __cplusplus
84258 }
84259 #endif
84260
84261 int
84262 main ()
84263 {
84264 return f != $ac_func;
84265   ;
84266   return 0;
84267 }
84268 _ACEOF
84269 rm -f conftest.$ac_objext conftest$ac_exeext
84270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84271   (eval $ac_link) 2>conftest.er1
84272   ac_status=$?
84273   grep -v '^ *+' conftest.er1 >conftest.err
84274   rm -f conftest.er1
84275   cat conftest.err >&5
84276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84277   (exit $ac_status); } &&
84278          { ac_try='test -z "$ac_c_werror_flag"
84279                          || test ! -s conftest.err'
84280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84281   (eval $ac_try) 2>&5
84282   ac_status=$?
84283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84284   (exit $ac_status); }; } &&
84285          { ac_try='test -s conftest$ac_exeext'
84286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84287   (eval $ac_try) 2>&5
84288   ac_status=$?
84289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84290   (exit $ac_status); }; }; then
84291   eval "$as_ac_var=yes"
84292 else
84293   echo "$as_me: failed program was:" >&5
84294 sed 's/^/| /' conftest.$ac_ext >&5
84295
84296 eval "$as_ac_var=no"
84297 fi
84298 rm -f conftest.err conftest.$ac_objext \
84299       conftest$ac_exeext conftest.$ac_ext
84300 fi
84301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84302 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84303 if test `eval echo '${'$as_ac_var'}'` = yes; then
84304   cat >>confdefs.h <<_ACEOF
84305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84306 _ACEOF
84307  ac_XPG2funcs=yes
84308 else
84309   ac_XPG2funcs=no
84310 fi
84311 done
84312
84313
84314     LIBS="$ac_save_LIBS"
84315
84316     if test x"$ac_has_iconv_h" = xyes &&
84317        test x"$ac_has_langinfo_h" = xyes &&
84318        test x"$ac_XPG2funcs" = xyes;
84319     then
84320
84321 cat >>confdefs.h <<\_ACEOF
84322 #define _GLIBCXX_USE_ICONV 1
84323 _ACEOF
84324
84325       enable_iconv=yes
84326     fi
84327   fi
84328   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
84329 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
84330   echo "$as_me:$LINENO: result: $enable_iconv" >&5
84331 echo "${ECHO_T}$enable_iconv" >&6
84332
84333     cat >>confdefs.h <<\_ACEOF
84334 #define HAVE_HYPOT 1
84335 _ACEOF
84336
84337     cat >>confdefs.h <<\_ACEOF
84338 #define HAVE_ISINF 1
84339 _ACEOF
84340
84341     cat >>confdefs.h <<\_ACEOF
84342 #define HAVE_ISNAN 1
84343 _ACEOF
84344
84345
84346     # For showmanyc_helper().
84347
84348
84349 for ac_header in sys/ioctl.h sys/filio.h
84350 do
84351 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84352 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84353   echo "$as_me:$LINENO: checking for $ac_header" >&5
84354 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84355 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84356   echo $ECHO_N "(cached) $ECHO_C" >&6
84357 fi
84358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84359 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84360 else
84361   # Is the header compilable?
84362 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84363 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84364 cat >conftest.$ac_ext <<_ACEOF
84365 /* confdefs.h.  */
84366 _ACEOF
84367 cat confdefs.h >>conftest.$ac_ext
84368 cat >>conftest.$ac_ext <<_ACEOF
84369 /* end confdefs.h.  */
84370 $ac_includes_default
84371 #include <$ac_header>
84372 _ACEOF
84373 rm -f conftest.$ac_objext
84374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84375   (eval $ac_compile) 2>conftest.er1
84376   ac_status=$?
84377   grep -v '^ *+' conftest.er1 >conftest.err
84378   rm -f conftest.er1
84379   cat conftest.err >&5
84380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84381   (exit $ac_status); } &&
84382          { ac_try='test -z "$ac_c_werror_flag"
84383                          || test ! -s conftest.err'
84384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84385   (eval $ac_try) 2>&5
84386   ac_status=$?
84387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84388   (exit $ac_status); }; } &&
84389          { ac_try='test -s conftest.$ac_objext'
84390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84391   (eval $ac_try) 2>&5
84392   ac_status=$?
84393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84394   (exit $ac_status); }; }; then
84395   ac_header_compiler=yes
84396 else
84397   echo "$as_me: failed program was:" >&5
84398 sed 's/^/| /' conftest.$ac_ext >&5
84399
84400 ac_header_compiler=no
84401 fi
84402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84403 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84404 echo "${ECHO_T}$ac_header_compiler" >&6
84405
84406 # Is the header present?
84407 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84408 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84409 cat >conftest.$ac_ext <<_ACEOF
84410 /* confdefs.h.  */
84411 _ACEOF
84412 cat confdefs.h >>conftest.$ac_ext
84413 cat >>conftest.$ac_ext <<_ACEOF
84414 /* end confdefs.h.  */
84415 #include <$ac_header>
84416 _ACEOF
84417 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84418   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84419   ac_status=$?
84420   grep -v '^ *+' conftest.er1 >conftest.err
84421   rm -f conftest.er1
84422   cat conftest.err >&5
84423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84424   (exit $ac_status); } >/dev/null; then
84425   if test -s conftest.err; then
84426     ac_cpp_err=$ac_c_preproc_warn_flag
84427     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84428   else
84429     ac_cpp_err=
84430   fi
84431 else
84432   ac_cpp_err=yes
84433 fi
84434 if test -z "$ac_cpp_err"; then
84435   ac_header_preproc=yes
84436 else
84437   echo "$as_me: failed program was:" >&5
84438 sed 's/^/| /' conftest.$ac_ext >&5
84439
84440   ac_header_preproc=no
84441 fi
84442 rm -f conftest.err conftest.$ac_ext
84443 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84444 echo "${ECHO_T}$ac_header_preproc" >&6
84445
84446 # So?  What about this header?
84447 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84448   yes:no: )
84449     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84450 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84451     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84452 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84453     ac_header_preproc=yes
84454     ;;
84455   no:yes:* )
84456     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84457 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84458     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
84459 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
84460     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84461 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84462     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
84463 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
84464     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84465 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84466     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84467 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84468     (
84469       cat <<\_ASBOX
84470 ## ----------------------------------------- ##
84471 ## Report this to the package-unused lists.  ##
84472 ## ----------------------------------------- ##
84473 _ASBOX
84474     ) |
84475       sed "s/^/$as_me: WARNING:     /" >&2
84476     ;;
84477 esac
84478 echo "$as_me:$LINENO: checking for $ac_header" >&5
84479 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84480 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84481   echo $ECHO_N "(cached) $ECHO_C" >&6
84482 else
84483   eval "$as_ac_Header=\$ac_header_preproc"
84484 fi
84485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84486 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84487
84488 fi
84489 if test `eval echo '${'$as_ac_Header'}'` = yes; then
84490   cat >>confdefs.h <<_ACEOF
84491 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
84492 _ACEOF
84493
84494 fi
84495
84496 done
84497
84498
84499   echo "$as_me:$LINENO: checking for poll" >&5
84500 echo $ECHO_N "checking for poll... $ECHO_C" >&6
84501   if test "${glibcxx_cv_POLL+set}" = set; then
84502   echo $ECHO_N "(cached) $ECHO_C" >&6
84503 else
84504
84505     if test x$gcc_no_link = xyes; then
84506   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84507 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84508    { (exit 1); exit 1; }; }
84509 fi
84510 cat >conftest.$ac_ext <<_ACEOF
84511 /* confdefs.h.  */
84512 _ACEOF
84513 cat confdefs.h >>conftest.$ac_ext
84514 cat >>conftest.$ac_ext <<_ACEOF
84515 /* end confdefs.h.  */
84516 #include <poll.h>
84517 int
84518 main ()
84519 {
84520 struct pollfd pfd[1];
84521        pfd[0].events = POLLIN;
84522        poll(pfd, 1, 0);
84523   ;
84524   return 0;
84525 }
84526 _ACEOF
84527 rm -f conftest.$ac_objext conftest$ac_exeext
84528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84529   (eval $ac_link) 2>conftest.er1
84530   ac_status=$?
84531   grep -v '^ *+' conftest.er1 >conftest.err
84532   rm -f conftest.er1
84533   cat conftest.err >&5
84534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84535   (exit $ac_status); } &&
84536          { ac_try='test -z "$ac_c_werror_flag"
84537                          || test ! -s conftest.err'
84538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84539   (eval $ac_try) 2>&5
84540   ac_status=$?
84541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84542   (exit $ac_status); }; } &&
84543          { ac_try='test -s conftest$ac_exeext'
84544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84545   (eval $ac_try) 2>&5
84546   ac_status=$?
84547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84548   (exit $ac_status); }; }; then
84549   glibcxx_cv_POLL=yes
84550 else
84551   echo "$as_me: failed program was:" >&5
84552 sed 's/^/| /' conftest.$ac_ext >&5
84553
84554 glibcxx_cv_POLL=no
84555 fi
84556 rm -f conftest.err conftest.$ac_objext \
84557       conftest$ac_exeext conftest.$ac_ext
84558
84559 fi
84560
84561   if test $glibcxx_cv_POLL = yes; then
84562
84563 cat >>confdefs.h <<\_ACEOF
84564 #define HAVE_POLL 1
84565 _ACEOF
84566
84567   fi
84568   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
84569 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
84570
84571
84572   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
84573 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
84574   if test "${glibcxx_cv_S_ISREG+set}" = set; then
84575   echo $ECHO_N "(cached) $ECHO_C" >&6
84576 else
84577
84578     if test x$gcc_no_link = xyes; then
84579   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84580 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84581    { (exit 1); exit 1; }; }
84582 fi
84583 cat >conftest.$ac_ext <<_ACEOF
84584 /* confdefs.h.  */
84585 _ACEOF
84586 cat confdefs.h >>conftest.$ac_ext
84587 cat >>conftest.$ac_ext <<_ACEOF
84588 /* end confdefs.h.  */
84589 #include <sys/stat.h>
84590 int
84591 main ()
84592 {
84593 struct stat buffer;
84594        fstat(0, &buffer);
84595        S_ISREG(buffer.st_mode);
84596   ;
84597   return 0;
84598 }
84599 _ACEOF
84600 rm -f conftest.$ac_objext conftest$ac_exeext
84601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84602   (eval $ac_link) 2>conftest.er1
84603   ac_status=$?
84604   grep -v '^ *+' conftest.er1 >conftest.err
84605   rm -f conftest.er1
84606   cat conftest.err >&5
84607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84608   (exit $ac_status); } &&
84609          { ac_try='test -z "$ac_c_werror_flag"
84610                          || test ! -s conftest.err'
84611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84612   (eval $ac_try) 2>&5
84613   ac_status=$?
84614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84615   (exit $ac_status); }; } &&
84616          { ac_try='test -s conftest$ac_exeext'
84617   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84618   (eval $ac_try) 2>&5
84619   ac_status=$?
84620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84621   (exit $ac_status); }; }; then
84622   glibcxx_cv_S_ISREG=yes
84623 else
84624   echo "$as_me: failed program was:" >&5
84625 sed 's/^/| /' conftest.$ac_ext >&5
84626
84627 glibcxx_cv_S_ISREG=no
84628 fi
84629 rm -f conftest.err conftest.$ac_objext \
84630       conftest$ac_exeext conftest.$ac_ext
84631
84632 fi
84633
84634   if test "${glibcxx_cv_S_IFREG+set}" = set; then
84635   echo $ECHO_N "(cached) $ECHO_C" >&6
84636 else
84637
84638     if test x$gcc_no_link = xyes; then
84639   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84641    { (exit 1); exit 1; }; }
84642 fi
84643 cat >conftest.$ac_ext <<_ACEOF
84644 /* confdefs.h.  */
84645 _ACEOF
84646 cat confdefs.h >>conftest.$ac_ext
84647 cat >>conftest.$ac_ext <<_ACEOF
84648 /* end confdefs.h.  */
84649 #include <sys/stat.h>
84650 int
84651 main ()
84652 {
84653 struct stat buffer;
84654        fstat(0, &buffer);
84655        S_IFREG & buffer.st_mode;
84656   ;
84657   return 0;
84658 }
84659 _ACEOF
84660 rm -f conftest.$ac_objext conftest$ac_exeext
84661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84662   (eval $ac_link) 2>conftest.er1
84663   ac_status=$?
84664   grep -v '^ *+' conftest.er1 >conftest.err
84665   rm -f conftest.er1
84666   cat conftest.err >&5
84667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84668   (exit $ac_status); } &&
84669          { ac_try='test -z "$ac_c_werror_flag"
84670                          || test ! -s conftest.err'
84671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84672   (eval $ac_try) 2>&5
84673   ac_status=$?
84674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84675   (exit $ac_status); }; } &&
84676          { ac_try='test -s conftest$ac_exeext'
84677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84678   (eval $ac_try) 2>&5
84679   ac_status=$?
84680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84681   (exit $ac_status); }; }; then
84682   glibcxx_cv_S_IFREG=yes
84683 else
84684   echo "$as_me: failed program was:" >&5
84685 sed 's/^/| /' conftest.$ac_ext >&5
84686
84687 glibcxx_cv_S_IFREG=no
84688 fi
84689 rm -f conftest.err conftest.$ac_objext \
84690       conftest$ac_exeext conftest.$ac_ext
84691
84692 fi
84693
84694   res=no
84695   if test $glibcxx_cv_S_ISREG = yes; then
84696
84697 cat >>confdefs.h <<\_ACEOF
84698 #define HAVE_S_ISREG 1
84699 _ACEOF
84700
84701     res=S_ISREG
84702   elif test $glibcxx_cv_S_IFREG = yes; then
84703
84704 cat >>confdefs.h <<\_ACEOF
84705 #define HAVE_S_IFREG 1
84706 _ACEOF
84707
84708     res=S_IFREG
84709   fi
84710   echo "$as_me:$LINENO: result: $res" >&5
84711 echo "${ECHO_T}$res" >&6
84712
84713
84714     # For xsputn_2().
84715
84716 for ac_header in sys/uio.h
84717 do
84718 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84719 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84720   echo "$as_me:$LINENO: checking for $ac_header" >&5
84721 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84722 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84723   echo $ECHO_N "(cached) $ECHO_C" >&6
84724 fi
84725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84726 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84727 else
84728   # Is the header compilable?
84729 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84730 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84731 cat >conftest.$ac_ext <<_ACEOF
84732 /* confdefs.h.  */
84733 _ACEOF
84734 cat confdefs.h >>conftest.$ac_ext
84735 cat >>conftest.$ac_ext <<_ACEOF
84736 /* end confdefs.h.  */
84737 $ac_includes_default
84738 #include <$ac_header>
84739 _ACEOF
84740 rm -f conftest.$ac_objext
84741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84742   (eval $ac_compile) 2>conftest.er1
84743   ac_status=$?
84744   grep -v '^ *+' conftest.er1 >conftest.err
84745   rm -f conftest.er1
84746   cat conftest.err >&5
84747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84748   (exit $ac_status); } &&
84749          { ac_try='test -z "$ac_c_werror_flag"
84750                          || test ! -s conftest.err'
84751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84752   (eval $ac_try) 2>&5
84753   ac_status=$?
84754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84755   (exit $ac_status); }; } &&
84756          { ac_try='test -s conftest.$ac_objext'
84757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84758   (eval $ac_try) 2>&5
84759   ac_status=$?
84760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84761   (exit $ac_status); }; }; then
84762   ac_header_compiler=yes
84763 else
84764   echo "$as_me: failed program was:" >&5
84765 sed 's/^/| /' conftest.$ac_ext >&5
84766
84767 ac_header_compiler=no
84768 fi
84769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84770 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84771 echo "${ECHO_T}$ac_header_compiler" >&6
84772
84773 # Is the header present?
84774 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84775 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84776 cat >conftest.$ac_ext <<_ACEOF
84777 /* confdefs.h.  */
84778 _ACEOF
84779 cat confdefs.h >>conftest.$ac_ext
84780 cat >>conftest.$ac_ext <<_ACEOF
84781 /* end confdefs.h.  */
84782 #include <$ac_header>
84783 _ACEOF
84784 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84785   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84786   ac_status=$?
84787   grep -v '^ *+' conftest.er1 >conftest.err
84788   rm -f conftest.er1
84789   cat conftest.err >&5
84790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84791   (exit $ac_status); } >/dev/null; then
84792   if test -s conftest.err; then
84793     ac_cpp_err=$ac_c_preproc_warn_flag
84794     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84795   else
84796     ac_cpp_err=
84797   fi
84798 else
84799   ac_cpp_err=yes
84800 fi
84801 if test -z "$ac_cpp_err"; then
84802   ac_header_preproc=yes
84803 else
84804   echo "$as_me: failed program was:" >&5
84805 sed 's/^/| /' conftest.$ac_ext >&5
84806
84807   ac_header_preproc=no
84808 fi
84809 rm -f conftest.err conftest.$ac_ext
84810 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84811 echo "${ECHO_T}$ac_header_preproc" >&6
84812
84813 # So?  What about this header?
84814 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84815   yes:no: )
84816     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84817 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84818     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84819 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84820     ac_header_preproc=yes
84821     ;;
84822   no:yes:* )
84823     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84824 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84825     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
84826 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
84827     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84828 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84829     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
84830 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
84831     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84832 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84833     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84834 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84835     (
84836       cat <<\_ASBOX
84837 ## ----------------------------------------- ##
84838 ## Report this to the package-unused lists.  ##
84839 ## ----------------------------------------- ##
84840 _ASBOX
84841     ) |
84842       sed "s/^/$as_me: WARNING:     /" >&2
84843     ;;
84844 esac
84845 echo "$as_me:$LINENO: checking for $ac_header" >&5
84846 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84847 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84848   echo $ECHO_N "(cached) $ECHO_C" >&6
84849 else
84850   eval "$as_ac_Header=\$ac_header_preproc"
84851 fi
84852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84853 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84854
84855 fi
84856 if test `eval echo '${'$as_ac_Header'}'` = yes; then
84857   cat >>confdefs.h <<_ACEOF
84858 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
84859 _ACEOF
84860
84861 fi
84862
84863 done
84864
84865
84866   echo "$as_me:$LINENO: checking for writev" >&5
84867 echo $ECHO_N "checking for writev... $ECHO_C" >&6
84868   if test "${glibcxx_cv_WRITEV+set}" = set; then
84869   echo $ECHO_N "(cached) $ECHO_C" >&6
84870 else
84871
84872     if test x$gcc_no_link = xyes; then
84873   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84874 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84875    { (exit 1); exit 1; }; }
84876 fi
84877 cat >conftest.$ac_ext <<_ACEOF
84878 /* confdefs.h.  */
84879 _ACEOF
84880 cat confdefs.h >>conftest.$ac_ext
84881 cat >>conftest.$ac_ext <<_ACEOF
84882 /* end confdefs.h.  */
84883 #include <sys/uio.h>
84884 int
84885 main ()
84886 {
84887 struct iovec iov[2];
84888        writev(0, iov, 0);
84889   ;
84890   return 0;
84891 }
84892 _ACEOF
84893 rm -f conftest.$ac_objext conftest$ac_exeext
84894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84895   (eval $ac_link) 2>conftest.er1
84896   ac_status=$?
84897   grep -v '^ *+' conftest.er1 >conftest.err
84898   rm -f conftest.er1
84899   cat conftest.err >&5
84900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84901   (exit $ac_status); } &&
84902          { ac_try='test -z "$ac_c_werror_flag"
84903                          || test ! -s conftest.err'
84904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84905   (eval $ac_try) 2>&5
84906   ac_status=$?
84907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84908   (exit $ac_status); }; } &&
84909          { ac_try='test -s conftest$ac_exeext'
84910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84911   (eval $ac_try) 2>&5
84912   ac_status=$?
84913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84914   (exit $ac_status); }; }; then
84915   glibcxx_cv_WRITEV=yes
84916 else
84917   echo "$as_me: failed program was:" >&5
84918 sed 's/^/| /' conftest.$ac_ext >&5
84919
84920 glibcxx_cv_WRITEV=no
84921 fi
84922 rm -f conftest.err conftest.$ac_objext \
84923       conftest$ac_exeext conftest.$ac_ext
84924
84925 fi
84926
84927   if test $glibcxx_cv_WRITEV = yes; then
84928
84929 cat >>confdefs.h <<\_ACEOF
84930 #define HAVE_WRITEV 1
84931 _ACEOF
84932
84933   fi
84934   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
84935 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
84936
84937     ;;
84938   *-qnx6.1* | *-qnx6.2*)
84939     SECTION_FLAGS='-ffunction-sections -fdata-sections'
84940
84941
84942   # If we're not using GNU ld, then there's no point in even trying these
84943   # tests.  Check for that first.  We should have already tested for gld
84944   # by now (in libtool), but require it now just to be safe...
84945   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
84946   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
84947
84948
84949
84950   # The name set by libtool depends on the version of libtool.  Shame on us
84951   # for depending on an impl detail, but c'est la vie.  Older versions used
84952   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
84953   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
84954   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
84955   # set (hence we're using an older libtool), then set it.
84956   if test x${with_gnu_ld+set} != xset; then
84957     if test x${ac_cv_prog_gnu_ld+set} != xset; then
84958       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
84959       with_gnu_ld=no
84960     else
84961       with_gnu_ld=$ac_cv_prog_gnu_ld
84962     fi
84963   fi
84964
84965   # Start by getting the version number.  I think the libtool test already
84966   # does some of this, but throws away the result.
84967   echo "$as_me:$LINENO: checking for ld version" >&5
84968 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
84969
84970   ldver=`$LD --version 2>/dev/null | head -1 | \
84971          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
84972
84973   glibcxx_gnu_ld_version=`echo $ldver | \
84974          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
84975   echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
84976 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
84977
84978   # Set --gc-sections.
84979   glibcxx_gcsections_min_ld=21602
84980   if test x"$with_gnu_ld" = x"yes" &&
84981         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
84982
84983     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
84984     # NB: This flag only works reliably after 2.16.1. Configure tests
84985     # for this are difficult, so hard wire a value that should work.
84986
84987     # All these tests are for C++, but run with the "C" compiler driver.
84988     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
84989     ac_test_CFLAGS="${CFLAGS+set}"
84990     ac_save_CFLAGS="$CFLAGS"
84991     CFLAGS='-x c++ -Wl,--gc-sections'
84992
84993     # Check for -Wl,--gc-sections
84994     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
84995 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
84996     if test x$gcc_no_link = xyes; then
84997   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84998 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84999    { (exit 1); exit 1; }; }
85000 fi
85001 cat >conftest.$ac_ext <<_ACEOF
85002 /* confdefs.h.  */
85003 _ACEOF
85004 cat confdefs.h >>conftest.$ac_ext
85005 cat >>conftest.$ac_ext <<_ACEOF
85006 /* end confdefs.h.  */
85007  int one(void) { return 1; }
85008      int two(void) { return 2; }
85009
85010 int
85011 main ()
85012 {
85013  two();
85014   ;
85015   return 0;
85016 }
85017 _ACEOF
85018 rm -f conftest.$ac_objext conftest$ac_exeext
85019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85020   (eval $ac_link) 2>conftest.er1
85021   ac_status=$?
85022   grep -v '^ *+' conftest.er1 >conftest.err
85023   rm -f conftest.er1
85024   cat conftest.err >&5
85025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85026   (exit $ac_status); } &&
85027          { ac_try='test -z "$ac_c_werror_flag"
85028                          || test ! -s conftest.err'
85029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85030   (eval $ac_try) 2>&5
85031   ac_status=$?
85032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85033   (exit $ac_status); }; } &&
85034          { ac_try='test -s conftest$ac_exeext'
85035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85036   (eval $ac_try) 2>&5
85037   ac_status=$?
85038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85039   (exit $ac_status); }; }; then
85040   ac_gcsections=yes
85041 else
85042   echo "$as_me: failed program was:" >&5
85043 sed 's/^/| /' conftest.$ac_ext >&5
85044
85045 ac_gcsections=no
85046 fi
85047 rm -f conftest.err conftest.$ac_objext \
85048       conftest$ac_exeext conftest.$ac_ext
85049     if test "$ac_gcsections" = "yes"; then
85050       rm -f conftest.c
85051       touch conftest.c
85052       if $CC -c conftest.c; then
85053         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
85054            grep "Warning: gc-sections option ignored" > /dev/null; then
85055           ac_gcsections=no
85056         fi
85057       fi
85058       rm -f conftest.c conftest.o conftest
85059     fi
85060     if test "$ac_gcsections" = "yes"; then
85061       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
85062     fi
85063     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
85064 echo "${ECHO_T}$ac_gcsections" >&6
85065
85066     if test "$ac_test_CFLAGS" = set; then
85067       CFLAGS="$ac_save_CFLAGS"
85068     else
85069       # this is the suspicious part
85070       CFLAGS=''
85071     fi
85072   fi
85073
85074   # Set -z,relro.
85075   # Note this is only for shared objects.
85076   ac_ld_relro=no
85077   if test x"$with_gnu_ld" = x"yes"; then
85078     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
85079 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
85080     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
85081     if test -n "$cxx_z_relo"; then
85082       OPT_LDFLAGS="-Wl,-z,relro"
85083       ac_ld_relro=yes
85084     fi
85085     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
85086 echo "${ECHO_T}$ac_ld_relro" >&6
85087   fi
85088
85089   # Set linker optimization flags.
85090   if test x"$with_gnu_ld" = x"yes"; then
85091     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
85092   fi
85093
85094
85095
85096
85097
85098
85099 echo "$as_me:$LINENO: checking for main in -lm" >&5
85100 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
85101 if test "${ac_cv_lib_m_main+set}" = set; then
85102   echo $ECHO_N "(cached) $ECHO_C" >&6
85103 else
85104   ac_check_lib_save_LIBS=$LIBS
85105 LIBS="-lm  $LIBS"
85106 if test x$gcc_no_link = xyes; then
85107   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85109    { (exit 1); exit 1; }; }
85110 fi
85111 cat >conftest.$ac_ext <<_ACEOF
85112 /* confdefs.h.  */
85113 _ACEOF
85114 cat confdefs.h >>conftest.$ac_ext
85115 cat >>conftest.$ac_ext <<_ACEOF
85116 /* end confdefs.h.  */
85117
85118
85119 int
85120 main ()
85121 {
85122 main ();
85123   ;
85124   return 0;
85125 }
85126 _ACEOF
85127 rm -f conftest.$ac_objext conftest$ac_exeext
85128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85129   (eval $ac_link) 2>conftest.er1
85130   ac_status=$?
85131   grep -v '^ *+' conftest.er1 >conftest.err
85132   rm -f conftest.er1
85133   cat conftest.err >&5
85134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85135   (exit $ac_status); } &&
85136          { ac_try='test -z "$ac_c_werror_flag"
85137                          || test ! -s conftest.err'
85138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85139   (eval $ac_try) 2>&5
85140   ac_status=$?
85141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85142   (exit $ac_status); }; } &&
85143          { ac_try='test -s conftest$ac_exeext'
85144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85145   (eval $ac_try) 2>&5
85146   ac_status=$?
85147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85148   (exit $ac_status); }; }; then
85149   ac_cv_lib_m_main=yes
85150 else
85151   echo "$as_me: failed program was:" >&5
85152 sed 's/^/| /' conftest.$ac_ext >&5
85153
85154 ac_cv_lib_m_main=no
85155 fi
85156 rm -f conftest.err conftest.$ac_objext \
85157       conftest$ac_exeext conftest.$ac_ext
85158 LIBS=$ac_check_lib_save_LIBS
85159 fi
85160 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
85161 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
85162 if test $ac_cv_lib_m_main = yes; then
85163   cat >>confdefs.h <<_ACEOF
85164 #define HAVE_LIBM 1
85165 _ACEOF
85166
85167   LIBS="-lm $LIBS"
85168
85169 fi
85170
85171
85172 for ac_func in copysignf
85173 do
85174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85175 echo "$as_me:$LINENO: checking for $ac_func" >&5
85176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85177 if eval "test \"\${$as_ac_var+set}\" = set"; then
85178   echo $ECHO_N "(cached) $ECHO_C" >&6
85179 else
85180   if test x$gcc_no_link = xyes; then
85181   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85183    { (exit 1); exit 1; }; }
85184 fi
85185 cat >conftest.$ac_ext <<_ACEOF
85186 /* confdefs.h.  */
85187 _ACEOF
85188 cat confdefs.h >>conftest.$ac_ext
85189 cat >>conftest.$ac_ext <<_ACEOF
85190 /* end confdefs.h.  */
85191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85192    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85193 #define $ac_func innocuous_$ac_func
85194
85195 /* System header to define __stub macros and hopefully few prototypes,
85196     which can conflict with char $ac_func (); below.
85197     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85198     <limits.h> exists even on freestanding compilers.  */
85199
85200 #ifdef __STDC__
85201 # include <limits.h>
85202 #else
85203 # include <assert.h>
85204 #endif
85205
85206 #undef $ac_func
85207
85208 /* Override any gcc2 internal prototype to avoid an error.  */
85209 #ifdef __cplusplus
85210 extern "C"
85211 {
85212 #endif
85213 /* We use char because int might match the return type of a gcc2
85214    builtin and then its argument prototype would still apply.  */
85215 char $ac_func ();
85216 /* The GNU C library defines this for functions which it implements
85217     to always fail with ENOSYS.  Some functions are actually named
85218     something starting with __ and the normal name is an alias.  */
85219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85220 choke me
85221 #else
85222 char (*f) () = $ac_func;
85223 #endif
85224 #ifdef __cplusplus
85225 }
85226 #endif
85227
85228 int
85229 main ()
85230 {
85231 return f != $ac_func;
85232   ;
85233   return 0;
85234 }
85235 _ACEOF
85236 rm -f conftest.$ac_objext conftest$ac_exeext
85237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85238   (eval $ac_link) 2>conftest.er1
85239   ac_status=$?
85240   grep -v '^ *+' conftest.er1 >conftest.err
85241   rm -f conftest.er1
85242   cat conftest.err >&5
85243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85244   (exit $ac_status); } &&
85245          { ac_try='test -z "$ac_c_werror_flag"
85246                          || test ! -s conftest.err'
85247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85248   (eval $ac_try) 2>&5
85249   ac_status=$?
85250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85251   (exit $ac_status); }; } &&
85252          { ac_try='test -s conftest$ac_exeext'
85253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85254   (eval $ac_try) 2>&5
85255   ac_status=$?
85256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85257   (exit $ac_status); }; }; then
85258   eval "$as_ac_var=yes"
85259 else
85260   echo "$as_me: failed program was:" >&5
85261 sed 's/^/| /' conftest.$ac_ext >&5
85262
85263 eval "$as_ac_var=no"
85264 fi
85265 rm -f conftest.err conftest.$ac_objext \
85266       conftest$ac_exeext conftest.$ac_ext
85267 fi
85268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85269 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85270 if test `eval echo '${'$as_ac_var'}'` = yes; then
85271   cat >>confdefs.h <<_ACEOF
85272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85273 _ACEOF
85274
85275 else
85276   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
85277 fi
85278 done
85279
85280
85281
85282 for ac_func in __signbit
85283 do
85284 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85285 echo "$as_me:$LINENO: checking for $ac_func" >&5
85286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85287 if eval "test \"\${$as_ac_var+set}\" = set"; then
85288   echo $ECHO_N "(cached) $ECHO_C" >&6
85289 else
85290   if test x$gcc_no_link = xyes; then
85291   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85293    { (exit 1); exit 1; }; }
85294 fi
85295 cat >conftest.$ac_ext <<_ACEOF
85296 /* confdefs.h.  */
85297 _ACEOF
85298 cat confdefs.h >>conftest.$ac_ext
85299 cat >>conftest.$ac_ext <<_ACEOF
85300 /* end confdefs.h.  */
85301 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85302    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85303 #define $ac_func innocuous_$ac_func
85304
85305 /* System header to define __stub macros and hopefully few prototypes,
85306     which can conflict with char $ac_func (); below.
85307     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85308     <limits.h> exists even on freestanding compilers.  */
85309
85310 #ifdef __STDC__
85311 # include <limits.h>
85312 #else
85313 # include <assert.h>
85314 #endif
85315
85316 #undef $ac_func
85317
85318 /* Override any gcc2 internal prototype to avoid an error.  */
85319 #ifdef __cplusplus
85320 extern "C"
85321 {
85322 #endif
85323 /* We use char because int might match the return type of a gcc2
85324    builtin and then its argument prototype would still apply.  */
85325 char $ac_func ();
85326 /* The GNU C library defines this for functions which it implements
85327     to always fail with ENOSYS.  Some functions are actually named
85328     something starting with __ and the normal name is an alias.  */
85329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85330 choke me
85331 #else
85332 char (*f) () = $ac_func;
85333 #endif
85334 #ifdef __cplusplus
85335 }
85336 #endif
85337
85338 int
85339 main ()
85340 {
85341 return f != $ac_func;
85342   ;
85343   return 0;
85344 }
85345 _ACEOF
85346 rm -f conftest.$ac_objext conftest$ac_exeext
85347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85348   (eval $ac_link) 2>conftest.er1
85349   ac_status=$?
85350   grep -v '^ *+' conftest.er1 >conftest.err
85351   rm -f conftest.er1
85352   cat conftest.err >&5
85353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85354   (exit $ac_status); } &&
85355          { ac_try='test -z "$ac_c_werror_flag"
85356                          || test ! -s conftest.err'
85357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85358   (eval $ac_try) 2>&5
85359   ac_status=$?
85360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85361   (exit $ac_status); }; } &&
85362          { ac_try='test -s conftest$ac_exeext'
85363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85364   (eval $ac_try) 2>&5
85365   ac_status=$?
85366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85367   (exit $ac_status); }; }; then
85368   eval "$as_ac_var=yes"
85369 else
85370   echo "$as_me: failed program was:" >&5
85371 sed 's/^/| /' conftest.$ac_ext >&5
85372
85373 eval "$as_ac_var=no"
85374 fi
85375 rm -f conftest.err conftest.$ac_objext \
85376       conftest$ac_exeext conftest.$ac_ext
85377 fi
85378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85379 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85380 if test `eval echo '${'$as_ac_var'}'` = yes; then
85381   cat >>confdefs.h <<_ACEOF
85382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85383 _ACEOF
85384
85385 else
85386   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
85387 fi
85388 done
85389
85390
85391
85392 for ac_func in __signbitf
85393 do
85394 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85395 echo "$as_me:$LINENO: checking for $ac_func" >&5
85396 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85397 if eval "test \"\${$as_ac_var+set}\" = set"; then
85398   echo $ECHO_N "(cached) $ECHO_C" >&6
85399 else
85400   if test x$gcc_no_link = xyes; then
85401   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85402 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85403    { (exit 1); exit 1; }; }
85404 fi
85405 cat >conftest.$ac_ext <<_ACEOF
85406 /* confdefs.h.  */
85407 _ACEOF
85408 cat confdefs.h >>conftest.$ac_ext
85409 cat >>conftest.$ac_ext <<_ACEOF
85410 /* end confdefs.h.  */
85411 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85412    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85413 #define $ac_func innocuous_$ac_func
85414
85415 /* System header to define __stub macros and hopefully few prototypes,
85416     which can conflict with char $ac_func (); below.
85417     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85418     <limits.h> exists even on freestanding compilers.  */
85419
85420 #ifdef __STDC__
85421 # include <limits.h>
85422 #else
85423 # include <assert.h>
85424 #endif
85425
85426 #undef $ac_func
85427
85428 /* Override any gcc2 internal prototype to avoid an error.  */
85429 #ifdef __cplusplus
85430 extern "C"
85431 {
85432 #endif
85433 /* We use char because int might match the return type of a gcc2
85434    builtin and then its argument prototype would still apply.  */
85435 char $ac_func ();
85436 /* The GNU C library defines this for functions which it implements
85437     to always fail with ENOSYS.  Some functions are actually named
85438     something starting with __ and the normal name is an alias.  */
85439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85440 choke me
85441 #else
85442 char (*f) () = $ac_func;
85443 #endif
85444 #ifdef __cplusplus
85445 }
85446 #endif
85447
85448 int
85449 main ()
85450 {
85451 return f != $ac_func;
85452   ;
85453   return 0;
85454 }
85455 _ACEOF
85456 rm -f conftest.$ac_objext conftest$ac_exeext
85457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85458   (eval $ac_link) 2>conftest.er1
85459   ac_status=$?
85460   grep -v '^ *+' conftest.er1 >conftest.err
85461   rm -f conftest.er1
85462   cat conftest.err >&5
85463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85464   (exit $ac_status); } &&
85465          { ac_try='test -z "$ac_c_werror_flag"
85466                          || test ! -s conftest.err'
85467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85468   (eval $ac_try) 2>&5
85469   ac_status=$?
85470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85471   (exit $ac_status); }; } &&
85472          { ac_try='test -s conftest$ac_exeext'
85473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85474   (eval $ac_try) 2>&5
85475   ac_status=$?
85476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85477   (exit $ac_status); }; }; then
85478   eval "$as_ac_var=yes"
85479 else
85480   echo "$as_me: failed program was:" >&5
85481 sed 's/^/| /' conftest.$ac_ext >&5
85482
85483 eval "$as_ac_var=no"
85484 fi
85485 rm -f conftest.err conftest.$ac_objext \
85486       conftest$ac_exeext conftest.$ac_ext
85487 fi
85488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85489 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85490 if test `eval echo '${'$as_ac_var'}'` = yes; then
85491   cat >>confdefs.h <<_ACEOF
85492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85493 _ACEOF
85494
85495 else
85496   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
85497 fi
85498 done
85499
85500
85501           if test x$ac_cv_func_copysignl = x"yes"; then
85502
85503 for ac_func in __signbitl
85504 do
85505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85506 echo "$as_me:$LINENO: checking for $ac_func" >&5
85507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85508 if eval "test \"\${$as_ac_var+set}\" = set"; then
85509   echo $ECHO_N "(cached) $ECHO_C" >&6
85510 else
85511   if test x$gcc_no_link = xyes; then
85512   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85514    { (exit 1); exit 1; }; }
85515 fi
85516 cat >conftest.$ac_ext <<_ACEOF
85517 /* confdefs.h.  */
85518 _ACEOF
85519 cat confdefs.h >>conftest.$ac_ext
85520 cat >>conftest.$ac_ext <<_ACEOF
85521 /* end confdefs.h.  */
85522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85523    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85524 #define $ac_func innocuous_$ac_func
85525
85526 /* System header to define __stub macros and hopefully few prototypes,
85527     which can conflict with char $ac_func (); below.
85528     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85529     <limits.h> exists even on freestanding compilers.  */
85530
85531 #ifdef __STDC__
85532 # include <limits.h>
85533 #else
85534 # include <assert.h>
85535 #endif
85536
85537 #undef $ac_func
85538
85539 /* Override any gcc2 internal prototype to avoid an error.  */
85540 #ifdef __cplusplus
85541 extern "C"
85542 {
85543 #endif
85544 /* We use char because int might match the return type of a gcc2
85545    builtin and then its argument prototype would still apply.  */
85546 char $ac_func ();
85547 /* The GNU C library defines this for functions which it implements
85548     to always fail with ENOSYS.  Some functions are actually named
85549     something starting with __ and the normal name is an alias.  */
85550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85551 choke me
85552 #else
85553 char (*f) () = $ac_func;
85554 #endif
85555 #ifdef __cplusplus
85556 }
85557 #endif
85558
85559 int
85560 main ()
85561 {
85562 return f != $ac_func;
85563   ;
85564   return 0;
85565 }
85566 _ACEOF
85567 rm -f conftest.$ac_objext conftest$ac_exeext
85568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85569   (eval $ac_link) 2>conftest.er1
85570   ac_status=$?
85571   grep -v '^ *+' conftest.er1 >conftest.err
85572   rm -f conftest.er1
85573   cat conftest.err >&5
85574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85575   (exit $ac_status); } &&
85576          { ac_try='test -z "$ac_c_werror_flag"
85577                          || test ! -s conftest.err'
85578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85579   (eval $ac_try) 2>&5
85580   ac_status=$?
85581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85582   (exit $ac_status); }; } &&
85583          { ac_try='test -s conftest$ac_exeext'
85584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85585   (eval $ac_try) 2>&5
85586   ac_status=$?
85587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85588   (exit $ac_status); }; }; then
85589   eval "$as_ac_var=yes"
85590 else
85591   echo "$as_me: failed program was:" >&5
85592 sed 's/^/| /' conftest.$ac_ext >&5
85593
85594 eval "$as_ac_var=no"
85595 fi
85596 rm -f conftest.err conftest.$ac_objext \
85597       conftest$ac_exeext conftest.$ac_ext
85598 fi
85599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85601 if test `eval echo '${'$as_ac_var'}'` = yes; then
85602   cat >>confdefs.h <<_ACEOF
85603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85604 _ACEOF
85605
85606 else
85607   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
85608 fi
85609 done
85610
85611   fi
85612
85613   # Used in libmath/Makefile.am.
85614   if test -n "$LIBMATHOBJS"; then
85615     need_libmath=yes
85616   fi
85617
85618
85619
85620
85621   enable_iconv=no
85622   # Only continue checking if the ISO C99 headers exist and support is on.
85623   if test x"$enable_wchar_t" = xyes; then
85624
85625     # Use iconv for wchar_t to char conversions. As such, check for
85626     # X/Open Portability Guide, version 2 features (XPG2).
85627     if test "${ac_cv_header_iconv_h+set}" = set; then
85628   echo "$as_me:$LINENO: checking for iconv.h" >&5
85629 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
85630 if test "${ac_cv_header_iconv_h+set}" = set; then
85631   echo $ECHO_N "(cached) $ECHO_C" >&6
85632 fi
85633 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
85634 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
85635 else
85636   # Is the header compilable?
85637 echo "$as_me:$LINENO: checking iconv.h usability" >&5
85638 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
85639 cat >conftest.$ac_ext <<_ACEOF
85640 /* confdefs.h.  */
85641 _ACEOF
85642 cat confdefs.h >>conftest.$ac_ext
85643 cat >>conftest.$ac_ext <<_ACEOF
85644 /* end confdefs.h.  */
85645 $ac_includes_default
85646 #include <iconv.h>
85647 _ACEOF
85648 rm -f conftest.$ac_objext
85649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85650   (eval $ac_compile) 2>conftest.er1
85651   ac_status=$?
85652   grep -v '^ *+' conftest.er1 >conftest.err
85653   rm -f conftest.er1
85654   cat conftest.err >&5
85655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85656   (exit $ac_status); } &&
85657          { ac_try='test -z "$ac_c_werror_flag"
85658                          || test ! -s conftest.err'
85659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85660   (eval $ac_try) 2>&5
85661   ac_status=$?
85662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85663   (exit $ac_status); }; } &&
85664          { ac_try='test -s conftest.$ac_objext'
85665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85666   (eval $ac_try) 2>&5
85667   ac_status=$?
85668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85669   (exit $ac_status); }; }; then
85670   ac_header_compiler=yes
85671 else
85672   echo "$as_me: failed program was:" >&5
85673 sed 's/^/| /' conftest.$ac_ext >&5
85674
85675 ac_header_compiler=no
85676 fi
85677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85678 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85679 echo "${ECHO_T}$ac_header_compiler" >&6
85680
85681 # Is the header present?
85682 echo "$as_me:$LINENO: checking iconv.h presence" >&5
85683 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
85684 cat >conftest.$ac_ext <<_ACEOF
85685 /* confdefs.h.  */
85686 _ACEOF
85687 cat confdefs.h >>conftest.$ac_ext
85688 cat >>conftest.$ac_ext <<_ACEOF
85689 /* end confdefs.h.  */
85690 #include <iconv.h>
85691 _ACEOF
85692 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85693   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85694   ac_status=$?
85695   grep -v '^ *+' conftest.er1 >conftest.err
85696   rm -f conftest.er1
85697   cat conftest.err >&5
85698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85699   (exit $ac_status); } >/dev/null; then
85700   if test -s conftest.err; then
85701     ac_cpp_err=$ac_c_preproc_warn_flag
85702     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85703   else
85704     ac_cpp_err=
85705   fi
85706 else
85707   ac_cpp_err=yes
85708 fi
85709 if test -z "$ac_cpp_err"; then
85710   ac_header_preproc=yes
85711 else
85712   echo "$as_me: failed program was:" >&5
85713 sed 's/^/| /' conftest.$ac_ext >&5
85714
85715   ac_header_preproc=no
85716 fi
85717 rm -f conftest.err conftest.$ac_ext
85718 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85719 echo "${ECHO_T}$ac_header_preproc" >&6
85720
85721 # So?  What about this header?
85722 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85723   yes:no: )
85724     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
85725 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
85726     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
85727 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
85728     ac_header_preproc=yes
85729     ;;
85730   no:yes:* )
85731     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
85732 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
85733     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
85734 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
85735     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
85736 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
85737     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
85738 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
85739     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
85740 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
85741     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
85742 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
85743     (
85744       cat <<\_ASBOX
85745 ## ----------------------------------------- ##
85746 ## Report this to the package-unused lists.  ##
85747 ## ----------------------------------------- ##
85748 _ASBOX
85749     ) |
85750       sed "s/^/$as_me: WARNING:     /" >&2
85751     ;;
85752 esac
85753 echo "$as_me:$LINENO: checking for iconv.h" >&5
85754 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
85755 if test "${ac_cv_header_iconv_h+set}" = set; then
85756   echo $ECHO_N "(cached) $ECHO_C" >&6
85757 else
85758   ac_cv_header_iconv_h=$ac_header_preproc
85759 fi
85760 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
85761 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
85762
85763 fi
85764 if test $ac_cv_header_iconv_h = yes; then
85765   ac_has_iconv_h=yes
85766 else
85767   ac_has_iconv_h=no
85768 fi
85769
85770
85771     if test "${ac_cv_header_langinfo_h+set}" = set; then
85772   echo "$as_me:$LINENO: checking for langinfo.h" >&5
85773 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
85774 if test "${ac_cv_header_langinfo_h+set}" = set; then
85775   echo $ECHO_N "(cached) $ECHO_C" >&6
85776 fi
85777 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
85778 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
85779 else
85780   # Is the header compilable?
85781 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
85782 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
85783 cat >conftest.$ac_ext <<_ACEOF
85784 /* confdefs.h.  */
85785 _ACEOF
85786 cat confdefs.h >>conftest.$ac_ext
85787 cat >>conftest.$ac_ext <<_ACEOF
85788 /* end confdefs.h.  */
85789 $ac_includes_default
85790 #include <langinfo.h>
85791 _ACEOF
85792 rm -f conftest.$ac_objext
85793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85794   (eval $ac_compile) 2>conftest.er1
85795   ac_status=$?
85796   grep -v '^ *+' conftest.er1 >conftest.err
85797   rm -f conftest.er1
85798   cat conftest.err >&5
85799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85800   (exit $ac_status); } &&
85801          { ac_try='test -z "$ac_c_werror_flag"
85802                          || test ! -s conftest.err'
85803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85804   (eval $ac_try) 2>&5
85805   ac_status=$?
85806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85807   (exit $ac_status); }; } &&
85808          { ac_try='test -s conftest.$ac_objext'
85809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85810   (eval $ac_try) 2>&5
85811   ac_status=$?
85812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85813   (exit $ac_status); }; }; then
85814   ac_header_compiler=yes
85815 else
85816   echo "$as_me: failed program was:" >&5
85817 sed 's/^/| /' conftest.$ac_ext >&5
85818
85819 ac_header_compiler=no
85820 fi
85821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85822 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85823 echo "${ECHO_T}$ac_header_compiler" >&6
85824
85825 # Is the header present?
85826 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
85827 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
85828 cat >conftest.$ac_ext <<_ACEOF
85829 /* confdefs.h.  */
85830 _ACEOF
85831 cat confdefs.h >>conftest.$ac_ext
85832 cat >>conftest.$ac_ext <<_ACEOF
85833 /* end confdefs.h.  */
85834 #include <langinfo.h>
85835 _ACEOF
85836 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85837   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85838   ac_status=$?
85839   grep -v '^ *+' conftest.er1 >conftest.err
85840   rm -f conftest.er1
85841   cat conftest.err >&5
85842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85843   (exit $ac_status); } >/dev/null; then
85844   if test -s conftest.err; then
85845     ac_cpp_err=$ac_c_preproc_warn_flag
85846     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85847   else
85848     ac_cpp_err=
85849   fi
85850 else
85851   ac_cpp_err=yes
85852 fi
85853 if test -z "$ac_cpp_err"; then
85854   ac_header_preproc=yes
85855 else
85856   echo "$as_me: failed program was:" >&5
85857 sed 's/^/| /' conftest.$ac_ext >&5
85858
85859   ac_header_preproc=no
85860 fi
85861 rm -f conftest.err conftest.$ac_ext
85862 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85863 echo "${ECHO_T}$ac_header_preproc" >&6
85864
85865 # So?  What about this header?
85866 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85867   yes:no: )
85868     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
85869 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
85870     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
85871 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
85872     ac_header_preproc=yes
85873     ;;
85874   no:yes:* )
85875     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
85876 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
85877     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
85878 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
85879     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
85880 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
85881     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
85882 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
85883     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
85884 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
85885     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
85886 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
85887     (
85888       cat <<\_ASBOX
85889 ## ----------------------------------------- ##
85890 ## Report this to the package-unused lists.  ##
85891 ## ----------------------------------------- ##
85892 _ASBOX
85893     ) |
85894       sed "s/^/$as_me: WARNING:     /" >&2
85895     ;;
85896 esac
85897 echo "$as_me:$LINENO: checking for langinfo.h" >&5
85898 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
85899 if test "${ac_cv_header_langinfo_h+set}" = set; then
85900   echo $ECHO_N "(cached) $ECHO_C" >&6
85901 else
85902   ac_cv_header_langinfo_h=$ac_header_preproc
85903 fi
85904 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
85905 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
85906
85907 fi
85908 if test $ac_cv_header_langinfo_h = yes; then
85909   ac_has_langinfo_h=yes
85910 else
85911   ac_has_langinfo_h=no
85912 fi
85913
85914
85915
85916     # Check for existence of libiconv.a providing XPG2 wchar_t support.
85917     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
85918 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
85919 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
85920   echo $ECHO_N "(cached) $ECHO_C" >&6
85921 else
85922   ac_check_lib_save_LIBS=$LIBS
85923 LIBS="-liconv  $LIBS"
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
85936 /* Override any gcc2 internal prototype to avoid an error.  */
85937 #ifdef __cplusplus
85938 extern "C"
85939 #endif
85940 /* We use char because int might match the return type of a gcc2
85941    builtin and then its argument prototype would still apply.  */
85942 char iconv ();
85943 int
85944 main ()
85945 {
85946 iconv ();
85947   ;
85948   return 0;
85949 }
85950 _ACEOF
85951 rm -f conftest.$ac_objext conftest$ac_exeext
85952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85953   (eval $ac_link) 2>conftest.er1
85954   ac_status=$?
85955   grep -v '^ *+' conftest.er1 >conftest.err
85956   rm -f conftest.er1
85957   cat conftest.err >&5
85958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85959   (exit $ac_status); } &&
85960          { ac_try='test -z "$ac_c_werror_flag"
85961                          || test ! -s conftest.err'
85962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85963   (eval $ac_try) 2>&5
85964   ac_status=$?
85965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85966   (exit $ac_status); }; } &&
85967          { ac_try='test -s conftest$ac_exeext'
85968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85969   (eval $ac_try) 2>&5
85970   ac_status=$?
85971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85972   (exit $ac_status); }; }; then
85973   ac_cv_lib_iconv_iconv=yes
85974 else
85975   echo "$as_me: failed program was:" >&5
85976 sed 's/^/| /' conftest.$ac_ext >&5
85977
85978 ac_cv_lib_iconv_iconv=no
85979 fi
85980 rm -f conftest.err conftest.$ac_objext \
85981       conftest$ac_exeext conftest.$ac_ext
85982 LIBS=$ac_check_lib_save_LIBS
85983 fi
85984 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
85985 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
85986 if test $ac_cv_lib_iconv_iconv = yes; then
85987   LIBICONV="-liconv"
85988 fi
85989
85990     ac_save_LIBS="$LIBS"
85991     LIBS="$LIBS $LIBICONV"
85992
85993
85994
85995
85996
85997
85998 for ac_func in iconv_open iconv_close iconv nl_langinfo
85999 do
86000 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86001 echo "$as_me:$LINENO: checking for $ac_func" >&5
86002 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86003 if eval "test \"\${$as_ac_var+set}\" = set"; then
86004   echo $ECHO_N "(cached) $ECHO_C" >&6
86005 else
86006   if test x$gcc_no_link = xyes; then
86007   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86009    { (exit 1); exit 1; }; }
86010 fi
86011 cat >conftest.$ac_ext <<_ACEOF
86012 /* confdefs.h.  */
86013 _ACEOF
86014 cat confdefs.h >>conftest.$ac_ext
86015 cat >>conftest.$ac_ext <<_ACEOF
86016 /* end confdefs.h.  */
86017 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86018    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86019 #define $ac_func innocuous_$ac_func
86020
86021 /* System header to define __stub macros and hopefully few prototypes,
86022     which can conflict with char $ac_func (); below.
86023     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86024     <limits.h> exists even on freestanding compilers.  */
86025
86026 #ifdef __STDC__
86027 # include <limits.h>
86028 #else
86029 # include <assert.h>
86030 #endif
86031
86032 #undef $ac_func
86033
86034 /* Override any gcc2 internal prototype to avoid an error.  */
86035 #ifdef __cplusplus
86036 extern "C"
86037 {
86038 #endif
86039 /* We use char because int might match the return type of a gcc2
86040    builtin and then its argument prototype would still apply.  */
86041 char $ac_func ();
86042 /* The GNU C library defines this for functions which it implements
86043     to always fail with ENOSYS.  Some functions are actually named
86044     something starting with __ and the normal name is an alias.  */
86045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86046 choke me
86047 #else
86048 char (*f) () = $ac_func;
86049 #endif
86050 #ifdef __cplusplus
86051 }
86052 #endif
86053
86054 int
86055 main ()
86056 {
86057 return f != $ac_func;
86058   ;
86059   return 0;
86060 }
86061 _ACEOF
86062 rm -f conftest.$ac_objext conftest$ac_exeext
86063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86064   (eval $ac_link) 2>conftest.er1
86065   ac_status=$?
86066   grep -v '^ *+' conftest.er1 >conftest.err
86067   rm -f conftest.er1
86068   cat conftest.err >&5
86069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86070   (exit $ac_status); } &&
86071          { ac_try='test -z "$ac_c_werror_flag"
86072                          || test ! -s conftest.err'
86073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86074   (eval $ac_try) 2>&5
86075   ac_status=$?
86076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86077   (exit $ac_status); }; } &&
86078          { ac_try='test -s conftest$ac_exeext'
86079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86080   (eval $ac_try) 2>&5
86081   ac_status=$?
86082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86083   (exit $ac_status); }; }; then
86084   eval "$as_ac_var=yes"
86085 else
86086   echo "$as_me: failed program was:" >&5
86087 sed 's/^/| /' conftest.$ac_ext >&5
86088
86089 eval "$as_ac_var=no"
86090 fi
86091 rm -f conftest.err conftest.$ac_objext \
86092       conftest$ac_exeext conftest.$ac_ext
86093 fi
86094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86095 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86096 if test `eval echo '${'$as_ac_var'}'` = yes; then
86097   cat >>confdefs.h <<_ACEOF
86098 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86099 _ACEOF
86100  ac_XPG2funcs=yes
86101 else
86102   ac_XPG2funcs=no
86103 fi
86104 done
86105
86106
86107     LIBS="$ac_save_LIBS"
86108
86109     if test x"$ac_has_iconv_h" = xyes &&
86110        test x"$ac_has_langinfo_h" = xyes &&
86111        test x"$ac_XPG2funcs" = xyes;
86112     then
86113
86114 cat >>confdefs.h <<\_ACEOF
86115 #define _GLIBCXX_USE_ICONV 1
86116 _ACEOF
86117
86118       enable_iconv=yes
86119     fi
86120   fi
86121   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
86122 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
86123   echo "$as_me:$LINENO: result: $enable_iconv" >&5
86124 echo "${ECHO_T}$enable_iconv" >&6
86125
86126     cat >>confdefs.h <<\_ACEOF
86127 #define HAVE_COSF 1
86128 _ACEOF
86129
86130     cat >>confdefs.h <<\_ACEOF
86131 #define HAVE_COSL 1
86132 _ACEOF
86133
86134     cat >>confdefs.h <<\_ACEOF
86135 #define HAVE_COSHF 1
86136 _ACEOF
86137
86138     cat >>confdefs.h <<\_ACEOF
86139 #define HAVE_COSHL 1
86140 _ACEOF
86141
86142     cat >>confdefs.h <<\_ACEOF
86143 #define HAVE_LOGF 1
86144 _ACEOF
86145
86146     cat >>confdefs.h <<\_ACEOF
86147 #define HAVE_LOGL 1
86148 _ACEOF
86149
86150     cat >>confdefs.h <<\_ACEOF
86151 #define HAVE_LOG10F 1
86152 _ACEOF
86153
86154     cat >>confdefs.h <<\_ACEOF
86155 #define HAVE_LOG10L 1
86156 _ACEOF
86157
86158     cat >>confdefs.h <<\_ACEOF
86159 #define HAVE_SINF 1
86160 _ACEOF
86161
86162     cat >>confdefs.h <<\_ACEOF
86163 #define HAVE_SINL 1
86164 _ACEOF
86165
86166     cat >>confdefs.h <<\_ACEOF
86167 #define HAVE_SINHF 1
86168 _ACEOF
86169
86170     cat >>confdefs.h <<\_ACEOF
86171 #define HAVE_SINHL 1
86172 _ACEOF
86173
86174     ;;
86175   *-solaris*)
86176     case "$target" in
86177     #  *-solaris2.5)
86178     #    os_include_dir="os/solaris/solaris2.5"
86179     #    ;;
86180     #  *-solaris2.6)
86181     #    os_include_dir="os/solaris/solaris2.6"
86182     #    ;;
86183       *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
86184          cat >>confdefs.h <<\_ACEOF
86185 #define HAVE_GETPAGESIZE 1
86186 _ACEOF
86187
86188          cat >>confdefs.h <<\_ACEOF
86189 #define HAVE_SIGSETJMP 1
86190 _ACEOF
86191
86192          cat >>confdefs.h <<\_ACEOF
86193 #define HAVE_MBSTATE_T 1
86194 _ACEOF
86195
86196          cat >>confdefs.h <<\_ACEOF
86197 #define HAVE_POLL 1
86198 _ACEOF
86199
86200          cat >>confdefs.h <<\_ACEOF
86201 #define HAVE_S_ISREG 1
86202 _ACEOF
86203
86204          cat >>confdefs.h <<\_ACEOF
86205 #define HAVE_LC_MESSAGES 1
86206 _ACEOF
86207
86208          cat >>confdefs.h <<\_ACEOF
86209 #define HAVE_FINITE 1
86210 _ACEOF
86211
86212          cat >>confdefs.h <<\_ACEOF
86213 #define HAVE_FPCLASS 1
86214 _ACEOF
86215
86216          cat >>confdefs.h <<\_ACEOF
86217 #define HAVE_GETPAGESIZE 1
86218 _ACEOF
86219
86220          cat >>confdefs.h <<\_ACEOF
86221 #define HAVE_NL_LANGINFO 1
86222 _ACEOF
86223
86224          cat >>confdefs.h <<\_ACEOF
86225 #define HAVE_ICONV 1
86226 _ACEOF
86227
86228          cat >>confdefs.h <<\_ACEOF
86229 #define HAVE_ICONV_CLOSE 1
86230 _ACEOF
86231
86232          cat >>confdefs.h <<\_ACEOF
86233 #define HAVE_ICONV_OPEN 1
86234 _ACEOF
86235
86236          # Look for the pieces required for wchar_t support in order to
86237          # get all the right HAVE_* macros defined.
86238
86239
86240   enable_iconv=no
86241   # Only continue checking if the ISO C99 headers exist and support is on.
86242   if test x"$enable_wchar_t" = xyes; then
86243
86244     # Use iconv for wchar_t to char conversions. As such, check for
86245     # X/Open Portability Guide, version 2 features (XPG2).
86246     if test "${ac_cv_header_iconv_h+set}" = set; then
86247   echo "$as_me:$LINENO: checking for iconv.h" >&5
86248 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86249 if test "${ac_cv_header_iconv_h+set}" = set; then
86250   echo $ECHO_N "(cached) $ECHO_C" >&6
86251 fi
86252 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86253 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86254 else
86255   # Is the header compilable?
86256 echo "$as_me:$LINENO: checking iconv.h usability" >&5
86257 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
86258 cat >conftest.$ac_ext <<_ACEOF
86259 /* confdefs.h.  */
86260 _ACEOF
86261 cat confdefs.h >>conftest.$ac_ext
86262 cat >>conftest.$ac_ext <<_ACEOF
86263 /* end confdefs.h.  */
86264 $ac_includes_default
86265 #include <iconv.h>
86266 _ACEOF
86267 rm -f conftest.$ac_objext
86268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86269   (eval $ac_compile) 2>conftest.er1
86270   ac_status=$?
86271   grep -v '^ *+' conftest.er1 >conftest.err
86272   rm -f conftest.er1
86273   cat conftest.err >&5
86274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86275   (exit $ac_status); } &&
86276          { ac_try='test -z "$ac_c_werror_flag"
86277                          || test ! -s conftest.err'
86278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86279   (eval $ac_try) 2>&5
86280   ac_status=$?
86281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86282   (exit $ac_status); }; } &&
86283          { ac_try='test -s conftest.$ac_objext'
86284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86285   (eval $ac_try) 2>&5
86286   ac_status=$?
86287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86288   (exit $ac_status); }; }; then
86289   ac_header_compiler=yes
86290 else
86291   echo "$as_me: failed program was:" >&5
86292 sed 's/^/| /' conftest.$ac_ext >&5
86293
86294 ac_header_compiler=no
86295 fi
86296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86297 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86298 echo "${ECHO_T}$ac_header_compiler" >&6
86299
86300 # Is the header present?
86301 echo "$as_me:$LINENO: checking iconv.h presence" >&5
86302 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
86303 cat >conftest.$ac_ext <<_ACEOF
86304 /* confdefs.h.  */
86305 _ACEOF
86306 cat confdefs.h >>conftest.$ac_ext
86307 cat >>conftest.$ac_ext <<_ACEOF
86308 /* end confdefs.h.  */
86309 #include <iconv.h>
86310 _ACEOF
86311 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86312   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86313   ac_status=$?
86314   grep -v '^ *+' conftest.er1 >conftest.err
86315   rm -f conftest.er1
86316   cat conftest.err >&5
86317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86318   (exit $ac_status); } >/dev/null; then
86319   if test -s conftest.err; then
86320     ac_cpp_err=$ac_c_preproc_warn_flag
86321     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86322   else
86323     ac_cpp_err=
86324   fi
86325 else
86326   ac_cpp_err=yes
86327 fi
86328 if test -z "$ac_cpp_err"; then
86329   ac_header_preproc=yes
86330 else
86331   echo "$as_me: failed program was:" >&5
86332 sed 's/^/| /' conftest.$ac_ext >&5
86333
86334   ac_header_preproc=no
86335 fi
86336 rm -f conftest.err conftest.$ac_ext
86337 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86338 echo "${ECHO_T}$ac_header_preproc" >&6
86339
86340 # So?  What about this header?
86341 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86342   yes:no: )
86343     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
86344 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86345     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
86346 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
86347     ac_header_preproc=yes
86348     ;;
86349   no:yes:* )
86350     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
86351 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
86352     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
86353 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
86354     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
86355 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
86356     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
86357 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
86358     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
86359 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
86360     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
86361 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
86362     (
86363       cat <<\_ASBOX
86364 ## ----------------------------------------- ##
86365 ## Report this to the package-unused lists.  ##
86366 ## ----------------------------------------- ##
86367 _ASBOX
86368     ) |
86369       sed "s/^/$as_me: WARNING:     /" >&2
86370     ;;
86371 esac
86372 echo "$as_me:$LINENO: checking for iconv.h" >&5
86373 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86374 if test "${ac_cv_header_iconv_h+set}" = set; then
86375   echo $ECHO_N "(cached) $ECHO_C" >&6
86376 else
86377   ac_cv_header_iconv_h=$ac_header_preproc
86378 fi
86379 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86380 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86381
86382 fi
86383 if test $ac_cv_header_iconv_h = yes; then
86384   ac_has_iconv_h=yes
86385 else
86386   ac_has_iconv_h=no
86387 fi
86388
86389
86390     if test "${ac_cv_header_langinfo_h+set}" = set; then
86391   echo "$as_me:$LINENO: checking for langinfo.h" >&5
86392 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86393 if test "${ac_cv_header_langinfo_h+set}" = set; then
86394   echo $ECHO_N "(cached) $ECHO_C" >&6
86395 fi
86396 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86397 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86398 else
86399   # Is the header compilable?
86400 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
86401 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
86402 cat >conftest.$ac_ext <<_ACEOF
86403 /* confdefs.h.  */
86404 _ACEOF
86405 cat confdefs.h >>conftest.$ac_ext
86406 cat >>conftest.$ac_ext <<_ACEOF
86407 /* end confdefs.h.  */
86408 $ac_includes_default
86409 #include <langinfo.h>
86410 _ACEOF
86411 rm -f conftest.$ac_objext
86412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86413   (eval $ac_compile) 2>conftest.er1
86414   ac_status=$?
86415   grep -v '^ *+' conftest.er1 >conftest.err
86416   rm -f conftest.er1
86417   cat conftest.err >&5
86418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86419   (exit $ac_status); } &&
86420          { ac_try='test -z "$ac_c_werror_flag"
86421                          || test ! -s conftest.err'
86422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86423   (eval $ac_try) 2>&5
86424   ac_status=$?
86425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86426   (exit $ac_status); }; } &&
86427          { ac_try='test -s conftest.$ac_objext'
86428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86429   (eval $ac_try) 2>&5
86430   ac_status=$?
86431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86432   (exit $ac_status); }; }; then
86433   ac_header_compiler=yes
86434 else
86435   echo "$as_me: failed program was:" >&5
86436 sed 's/^/| /' conftest.$ac_ext >&5
86437
86438 ac_header_compiler=no
86439 fi
86440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86441 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86442 echo "${ECHO_T}$ac_header_compiler" >&6
86443
86444 # Is the header present?
86445 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
86446 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
86447 cat >conftest.$ac_ext <<_ACEOF
86448 /* confdefs.h.  */
86449 _ACEOF
86450 cat confdefs.h >>conftest.$ac_ext
86451 cat >>conftest.$ac_ext <<_ACEOF
86452 /* end confdefs.h.  */
86453 #include <langinfo.h>
86454 _ACEOF
86455 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86456   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86457   ac_status=$?
86458   grep -v '^ *+' conftest.er1 >conftest.err
86459   rm -f conftest.er1
86460   cat conftest.err >&5
86461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86462   (exit $ac_status); } >/dev/null; then
86463   if test -s conftest.err; then
86464     ac_cpp_err=$ac_c_preproc_warn_flag
86465     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86466   else
86467     ac_cpp_err=
86468   fi
86469 else
86470   ac_cpp_err=yes
86471 fi
86472 if test -z "$ac_cpp_err"; then
86473   ac_header_preproc=yes
86474 else
86475   echo "$as_me: failed program was:" >&5
86476 sed 's/^/| /' conftest.$ac_ext >&5
86477
86478   ac_header_preproc=no
86479 fi
86480 rm -f conftest.err conftest.$ac_ext
86481 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86482 echo "${ECHO_T}$ac_header_preproc" >&6
86483
86484 # So?  What about this header?
86485 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86486   yes:no: )
86487     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
86488 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86489     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
86490 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
86491     ac_header_preproc=yes
86492     ;;
86493   no:yes:* )
86494     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
86495 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
86496     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
86497 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
86498     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
86499 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
86500     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
86501 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
86502     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
86503 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
86504     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
86505 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
86506     (
86507       cat <<\_ASBOX
86508 ## ----------------------------------------- ##
86509 ## Report this to the package-unused lists.  ##
86510 ## ----------------------------------------- ##
86511 _ASBOX
86512     ) |
86513       sed "s/^/$as_me: WARNING:     /" >&2
86514     ;;
86515 esac
86516 echo "$as_me:$LINENO: checking for langinfo.h" >&5
86517 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86518 if test "${ac_cv_header_langinfo_h+set}" = set; then
86519   echo $ECHO_N "(cached) $ECHO_C" >&6
86520 else
86521   ac_cv_header_langinfo_h=$ac_header_preproc
86522 fi
86523 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86524 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86525
86526 fi
86527 if test $ac_cv_header_langinfo_h = yes; then
86528   ac_has_langinfo_h=yes
86529 else
86530   ac_has_langinfo_h=no
86531 fi
86532
86533
86534
86535     # Check for existence of libiconv.a providing XPG2 wchar_t support.
86536     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
86537 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
86538 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
86539   echo $ECHO_N "(cached) $ECHO_C" >&6
86540 else
86541   ac_check_lib_save_LIBS=$LIBS
86542 LIBS="-liconv  $LIBS"
86543 if test x$gcc_no_link = xyes; then
86544   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86545 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86546    { (exit 1); exit 1; }; }
86547 fi
86548 cat >conftest.$ac_ext <<_ACEOF
86549 /* confdefs.h.  */
86550 _ACEOF
86551 cat confdefs.h >>conftest.$ac_ext
86552 cat >>conftest.$ac_ext <<_ACEOF
86553 /* end confdefs.h.  */
86554
86555 /* Override any gcc2 internal prototype to avoid an error.  */
86556 #ifdef __cplusplus
86557 extern "C"
86558 #endif
86559 /* We use char because int might match the return type of a gcc2
86560    builtin and then its argument prototype would still apply.  */
86561 char iconv ();
86562 int
86563 main ()
86564 {
86565 iconv ();
86566   ;
86567   return 0;
86568 }
86569 _ACEOF
86570 rm -f conftest.$ac_objext conftest$ac_exeext
86571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86572   (eval $ac_link) 2>conftest.er1
86573   ac_status=$?
86574   grep -v '^ *+' conftest.er1 >conftest.err
86575   rm -f conftest.er1
86576   cat conftest.err >&5
86577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86578   (exit $ac_status); } &&
86579          { ac_try='test -z "$ac_c_werror_flag"
86580                          || test ! -s conftest.err'
86581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86582   (eval $ac_try) 2>&5
86583   ac_status=$?
86584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86585   (exit $ac_status); }; } &&
86586          { ac_try='test -s conftest$ac_exeext'
86587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86588   (eval $ac_try) 2>&5
86589   ac_status=$?
86590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86591   (exit $ac_status); }; }; then
86592   ac_cv_lib_iconv_iconv=yes
86593 else
86594   echo "$as_me: failed program was:" >&5
86595 sed 's/^/| /' conftest.$ac_ext >&5
86596
86597 ac_cv_lib_iconv_iconv=no
86598 fi
86599 rm -f conftest.err conftest.$ac_objext \
86600       conftest$ac_exeext conftest.$ac_ext
86601 LIBS=$ac_check_lib_save_LIBS
86602 fi
86603 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
86604 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
86605 if test $ac_cv_lib_iconv_iconv = yes; then
86606   LIBICONV="-liconv"
86607 fi
86608
86609     ac_save_LIBS="$LIBS"
86610     LIBS="$LIBS $LIBICONV"
86611
86612
86613
86614
86615
86616
86617 for ac_func in iconv_open iconv_close iconv nl_langinfo
86618 do
86619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86620 echo "$as_me:$LINENO: checking for $ac_func" >&5
86621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86622 if eval "test \"\${$as_ac_var+set}\" = set"; then
86623   echo $ECHO_N "(cached) $ECHO_C" >&6
86624 else
86625   if test x$gcc_no_link = xyes; then
86626   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86628    { (exit 1); exit 1; }; }
86629 fi
86630 cat >conftest.$ac_ext <<_ACEOF
86631 /* confdefs.h.  */
86632 _ACEOF
86633 cat confdefs.h >>conftest.$ac_ext
86634 cat >>conftest.$ac_ext <<_ACEOF
86635 /* end confdefs.h.  */
86636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86637    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86638 #define $ac_func innocuous_$ac_func
86639
86640 /* System header to define __stub macros and hopefully few prototypes,
86641     which can conflict with char $ac_func (); below.
86642     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86643     <limits.h> exists even on freestanding compilers.  */
86644
86645 #ifdef __STDC__
86646 # include <limits.h>
86647 #else
86648 # include <assert.h>
86649 #endif
86650
86651 #undef $ac_func
86652
86653 /* Override any gcc2 internal prototype to avoid an error.  */
86654 #ifdef __cplusplus
86655 extern "C"
86656 {
86657 #endif
86658 /* We use char because int might match the return type of a gcc2
86659    builtin and then its argument prototype would still apply.  */
86660 char $ac_func ();
86661 /* The GNU C library defines this for functions which it implements
86662     to always fail with ENOSYS.  Some functions are actually named
86663     something starting with __ and the normal name is an alias.  */
86664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86665 choke me
86666 #else
86667 char (*f) () = $ac_func;
86668 #endif
86669 #ifdef __cplusplus
86670 }
86671 #endif
86672
86673 int
86674 main ()
86675 {
86676 return f != $ac_func;
86677   ;
86678   return 0;
86679 }
86680 _ACEOF
86681 rm -f conftest.$ac_objext conftest$ac_exeext
86682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86683   (eval $ac_link) 2>conftest.er1
86684   ac_status=$?
86685   grep -v '^ *+' conftest.er1 >conftest.err
86686   rm -f conftest.er1
86687   cat conftest.err >&5
86688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86689   (exit $ac_status); } &&
86690          { ac_try='test -z "$ac_c_werror_flag"
86691                          || test ! -s conftest.err'
86692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86693   (eval $ac_try) 2>&5
86694   ac_status=$?
86695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86696   (exit $ac_status); }; } &&
86697          { ac_try='test -s conftest$ac_exeext'
86698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86699   (eval $ac_try) 2>&5
86700   ac_status=$?
86701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86702   (exit $ac_status); }; }; then
86703   eval "$as_ac_var=yes"
86704 else
86705   echo "$as_me: failed program was:" >&5
86706 sed 's/^/| /' conftest.$ac_ext >&5
86707
86708 eval "$as_ac_var=no"
86709 fi
86710 rm -f conftest.err conftest.$ac_objext \
86711       conftest$ac_exeext conftest.$ac_ext
86712 fi
86713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86715 if test `eval echo '${'$as_ac_var'}'` = yes; then
86716   cat >>confdefs.h <<_ACEOF
86717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86718 _ACEOF
86719  ac_XPG2funcs=yes
86720 else
86721   ac_XPG2funcs=no
86722 fi
86723 done
86724
86725
86726     LIBS="$ac_save_LIBS"
86727
86728     if test x"$ac_has_iconv_h" = xyes &&
86729        test x"$ac_has_langinfo_h" = xyes &&
86730        test x"$ac_XPG2funcs" = xyes;
86731     then
86732
86733 cat >>confdefs.h <<\_ACEOF
86734 #define _GLIBCXX_USE_ICONV 1
86735 _ACEOF
86736
86737       enable_iconv=yes
86738     fi
86739   fi
86740   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
86741 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
86742   echo "$as_me:$LINENO: result: $enable_iconv" >&5
86743 echo "${ECHO_T}$enable_iconv" >&6
86744
86745          # All of the dependencies for wide character support are here, so
86746          # turn it on.  This requires some syncronization with the
86747          # GLIBCXX_CHECK_ICONV_SUPPORT in acinclude.m4
86748          cat >>confdefs.h <<\_ACEOF
86749 #define _GLIBCXX_USE_WCHAR_T 1
86750 _ACEOF
86751
86752          # Are these tested for even when cross?
86753          cat >>confdefs.h <<\_ACEOF
86754 #define HAVE_FLOAT_H 1
86755 _ACEOF
86756
86757          cat >>confdefs.h <<\_ACEOF
86758 #define HAVE_IEEEFP_H 1
86759 _ACEOF
86760
86761          cat >>confdefs.h <<\_ACEOF
86762 #define HAVE_INTTYPES_H 1
86763 _ACEOF
86764
86765          cat >>confdefs.h <<\_ACEOF
86766 #define HAVE_LOCALE_H 1
86767 _ACEOF
86768
86769          cat >>confdefs.h <<\_ACEOF
86770 #define HAVE_NAN_H 1
86771 _ACEOF
86772
86773          cat >>confdefs.h <<\_ACEOF
86774 #define HAVE_SYS_FILIO_H 1
86775 _ACEOF
86776
86777          cat >>confdefs.h <<\_ACEOF
86778 #define HAVE_SYS_IOCTL_H 1
86779 _ACEOF
86780
86781          cat >>confdefs.h <<\_ACEOF
86782 #define HAVE_SYS_ISA_DEFS_H 1
86783 _ACEOF
86784
86785          cat >>confdefs.h <<\_ACEOF
86786 #define HAVE_SYS_RESOURCE_H 1
86787 _ACEOF
86788
86789          cat >>confdefs.h <<\_ACEOF
86790 #define HAVE_SYS_TIME_H 1
86791 _ACEOF
86792
86793          cat >>confdefs.h <<\_ACEOF
86794 #define HAVE_SYS_TYPES_H 1
86795 _ACEOF
86796
86797          cat >>confdefs.h <<\_ACEOF
86798 #define HAVE_UNISTD_H 1
86799 _ACEOF
86800
86801          cat >>confdefs.h <<\_ACEOF
86802 #define HAVE_WCHAR_H 1
86803 _ACEOF
86804
86805          cat >>confdefs.h <<\_ACEOF
86806 #define HAVE_WCTYPE_H 1
86807 _ACEOF
86808
86809          cat >>confdefs.h <<\_ACEOF
86810 #define HAVE_LIBM 1
86811 _ACEOF
86812
86813         ;;
86814     esac
86815     case "$target" in
86816       sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
86817         # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
86818         cat >>confdefs.h <<\_ACEOF
86819 #define HAVE___BUILTIN_ABS 1
86820 _ACEOF
86821
86822         cat >>confdefs.h <<\_ACEOF
86823 #define HAVE___BUILTIN_LABS 1
86824 _ACEOF
86825
86826         cat >>confdefs.h <<\_ACEOF
86827 #define HAVE___BUILTIN_FABS 1
86828 _ACEOF
86829
86830         cat >>confdefs.h <<\_ACEOF
86831 #define HAVE___BUILTIN_FABSF 1
86832 _ACEOF
86833
86834         cat >>confdefs.h <<\_ACEOF
86835 #define HAVE___BUILTIN_FABSL 1
86836 _ACEOF
86837
86838         cat >>confdefs.h <<\_ACEOF
86839 #define HAVE___BUILTIN_COS 1
86840 _ACEOF
86841
86842         cat >>confdefs.h <<\_ACEOF
86843 #define HAVE___BUILTIN_COSF 1
86844 _ACEOF
86845
86846         cat >>confdefs.h <<\_ACEOF
86847 #define HAVE___BUILTIN_SIN 1
86848 _ACEOF
86849
86850         cat >>confdefs.h <<\_ACEOF
86851 #define HAVE___BUILTIN_SINF 1
86852 _ACEOF
86853
86854        ;;
86855     esac
86856     case "$target" in
86857       *-*-solaris2.10)
86858       # These two C99 functions are present only in Solaris >= 10
86859       cat >>confdefs.h <<\_ACEOF
86860 #define HAVE_STRTOF 1
86861 _ACEOF
86862
86863       cat >>confdefs.h <<\_ACEOF
86864 #define HAVE_STRTOLD 1
86865 _ACEOF
86866
86867      ;;
86868     esac
86869     cat >>confdefs.h <<\_ACEOF
86870 #define HAVE_MMAP 1
86871 _ACEOF
86872
86873     cat >>confdefs.h <<\_ACEOF
86874 #define HAVE_COPYSIGN 1
86875 _ACEOF
86876
86877     cat >>confdefs.h <<\_ACEOF
86878 #define HAVE_ISNAN 1
86879 _ACEOF
86880
86881     cat >>confdefs.h <<\_ACEOF
86882 #define HAVE_ISNANF 1
86883 _ACEOF
86884
86885     cat >>confdefs.h <<\_ACEOF
86886 #define HAVE_MODFF 1
86887 _ACEOF
86888
86889     cat >>confdefs.h <<\_ACEOF
86890 #define HAVE_HYPOT 1
86891 _ACEOF
86892
86893     ;;
86894   *-tpf)
86895
86896
86897
86898
86899
86900
86901
86902
86903 for ac_header in nan.h endian.h machine/endian.h  \
86904       sys/param.h sys/types.h locale.h float.h inttypes.h
86905 do
86906 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
86907 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86908   echo "$as_me:$LINENO: checking for $ac_header" >&5
86909 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86910 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86911   echo $ECHO_N "(cached) $ECHO_C" >&6
86912 fi
86913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86914 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86915 else
86916   # Is the header compilable?
86917 echo "$as_me:$LINENO: checking $ac_header usability" >&5
86918 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
86919 cat >conftest.$ac_ext <<_ACEOF
86920 /* confdefs.h.  */
86921 _ACEOF
86922 cat confdefs.h >>conftest.$ac_ext
86923 cat >>conftest.$ac_ext <<_ACEOF
86924 /* end confdefs.h.  */
86925 $ac_includes_default
86926 #include <$ac_header>
86927 _ACEOF
86928 rm -f conftest.$ac_objext
86929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86930   (eval $ac_compile) 2>conftest.er1
86931   ac_status=$?
86932   grep -v '^ *+' conftest.er1 >conftest.err
86933   rm -f conftest.er1
86934   cat conftest.err >&5
86935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86936   (exit $ac_status); } &&
86937          { ac_try='test -z "$ac_c_werror_flag"
86938                          || test ! -s conftest.err'
86939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86940   (eval $ac_try) 2>&5
86941   ac_status=$?
86942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86943   (exit $ac_status); }; } &&
86944          { ac_try='test -s conftest.$ac_objext'
86945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86946   (eval $ac_try) 2>&5
86947   ac_status=$?
86948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86949   (exit $ac_status); }; }; then
86950   ac_header_compiler=yes
86951 else
86952   echo "$as_me: failed program was:" >&5
86953 sed 's/^/| /' conftest.$ac_ext >&5
86954
86955 ac_header_compiler=no
86956 fi
86957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86958 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86959 echo "${ECHO_T}$ac_header_compiler" >&6
86960
86961 # Is the header present?
86962 echo "$as_me:$LINENO: checking $ac_header presence" >&5
86963 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
86964 cat >conftest.$ac_ext <<_ACEOF
86965 /* confdefs.h.  */
86966 _ACEOF
86967 cat confdefs.h >>conftest.$ac_ext
86968 cat >>conftest.$ac_ext <<_ACEOF
86969 /* end confdefs.h.  */
86970 #include <$ac_header>
86971 _ACEOF
86972 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86973   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86974   ac_status=$?
86975   grep -v '^ *+' conftest.er1 >conftest.err
86976   rm -f conftest.er1
86977   cat conftest.err >&5
86978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86979   (exit $ac_status); } >/dev/null; then
86980   if test -s conftest.err; then
86981     ac_cpp_err=$ac_c_preproc_warn_flag
86982     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86983   else
86984     ac_cpp_err=
86985   fi
86986 else
86987   ac_cpp_err=yes
86988 fi
86989 if test -z "$ac_cpp_err"; then
86990   ac_header_preproc=yes
86991 else
86992   echo "$as_me: failed program was:" >&5
86993 sed 's/^/| /' conftest.$ac_ext >&5
86994
86995   ac_header_preproc=no
86996 fi
86997 rm -f conftest.err conftest.$ac_ext
86998 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86999 echo "${ECHO_T}$ac_header_preproc" >&6
87000
87001 # So?  What about this header?
87002 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87003   yes:no: )
87004     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87005 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87006     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87007 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87008     ac_header_preproc=yes
87009     ;;
87010   no:yes:* )
87011     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87012 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87013     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
87014 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
87015     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87016 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87017     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
87018 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
87019     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87020 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87021     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87022 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87023     (
87024       cat <<\_ASBOX
87025 ## ----------------------------------------- ##
87026 ## Report this to the package-unused lists.  ##
87027 ## ----------------------------------------- ##
87028 _ASBOX
87029     ) |
87030       sed "s/^/$as_me: WARNING:     /" >&2
87031     ;;
87032 esac
87033 echo "$as_me:$LINENO: checking for $ac_header" >&5
87034 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87035 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87036   echo $ECHO_N "(cached) $ECHO_C" >&6
87037 else
87038   eval "$as_ac_Header=\$ac_header_preproc"
87039 fi
87040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87041 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87042
87043 fi
87044 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87045   cat >>confdefs.h <<_ACEOF
87046 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87047 _ACEOF
87048
87049 fi
87050
87051 done
87052
87053     SECTION_FLAGS='-ffunction-sections -fdata-sections'
87054
87055
87056   # If we're not using GNU ld, then there's no point in even trying these
87057   # tests.  Check for that first.  We should have already tested for gld
87058   # by now (in libtool), but require it now just to be safe...
87059   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
87060   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
87061
87062
87063
87064   # The name set by libtool depends on the version of libtool.  Shame on us
87065   # for depending on an impl detail, but c'est la vie.  Older versions used
87066   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
87067   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
87068   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
87069   # set (hence we're using an older libtool), then set it.
87070   if test x${with_gnu_ld+set} != xset; then
87071     if test x${ac_cv_prog_gnu_ld+set} != xset; then
87072       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
87073       with_gnu_ld=no
87074     else
87075       with_gnu_ld=$ac_cv_prog_gnu_ld
87076     fi
87077   fi
87078
87079   # Start by getting the version number.  I think the libtool test already
87080   # does some of this, but throws away the result.
87081   echo "$as_me:$LINENO: checking for ld version" >&5
87082 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
87083
87084   ldver=`$LD --version 2>/dev/null | head -1 | \
87085          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
87086
87087   glibcxx_gnu_ld_version=`echo $ldver | \
87088          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
87089   echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
87090 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
87091
87092   # Set --gc-sections.
87093   glibcxx_gcsections_min_ld=21602
87094   if test x"$with_gnu_ld" = x"yes" &&
87095         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
87096
87097     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
87098     # NB: This flag only works reliably after 2.16.1. Configure tests
87099     # for this are difficult, so hard wire a value that should work.
87100
87101     # All these tests are for C++, but run with the "C" compiler driver.
87102     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
87103     ac_test_CFLAGS="${CFLAGS+set}"
87104     ac_save_CFLAGS="$CFLAGS"
87105     CFLAGS='-x c++ -Wl,--gc-sections'
87106
87107     # Check for -Wl,--gc-sections
87108     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
87109 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
87110     if test x$gcc_no_link = xyes; then
87111   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87113    { (exit 1); exit 1; }; }
87114 fi
87115 cat >conftest.$ac_ext <<_ACEOF
87116 /* confdefs.h.  */
87117 _ACEOF
87118 cat confdefs.h >>conftest.$ac_ext
87119 cat >>conftest.$ac_ext <<_ACEOF
87120 /* end confdefs.h.  */
87121  int one(void) { return 1; }
87122      int two(void) { return 2; }
87123
87124 int
87125 main ()
87126 {
87127  two();
87128   ;
87129   return 0;
87130 }
87131 _ACEOF
87132 rm -f conftest.$ac_objext conftest$ac_exeext
87133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87134   (eval $ac_link) 2>conftest.er1
87135   ac_status=$?
87136   grep -v '^ *+' conftest.er1 >conftest.err
87137   rm -f conftest.er1
87138   cat conftest.err >&5
87139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87140   (exit $ac_status); } &&
87141          { ac_try='test -z "$ac_c_werror_flag"
87142                          || test ! -s conftest.err'
87143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87144   (eval $ac_try) 2>&5
87145   ac_status=$?
87146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87147   (exit $ac_status); }; } &&
87148          { ac_try='test -s conftest$ac_exeext'
87149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87150   (eval $ac_try) 2>&5
87151   ac_status=$?
87152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87153   (exit $ac_status); }; }; then
87154   ac_gcsections=yes
87155 else
87156   echo "$as_me: failed program was:" >&5
87157 sed 's/^/| /' conftest.$ac_ext >&5
87158
87159 ac_gcsections=no
87160 fi
87161 rm -f conftest.err conftest.$ac_objext \
87162       conftest$ac_exeext conftest.$ac_ext
87163     if test "$ac_gcsections" = "yes"; then
87164       rm -f conftest.c
87165       touch conftest.c
87166       if $CC -c conftest.c; then
87167         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
87168            grep "Warning: gc-sections option ignored" > /dev/null; then
87169           ac_gcsections=no
87170         fi
87171       fi
87172       rm -f conftest.c conftest.o conftest
87173     fi
87174     if test "$ac_gcsections" = "yes"; then
87175       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
87176     fi
87177     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
87178 echo "${ECHO_T}$ac_gcsections" >&6
87179
87180     if test "$ac_test_CFLAGS" = set; then
87181       CFLAGS="$ac_save_CFLAGS"
87182     else
87183       # this is the suspicious part
87184       CFLAGS=''
87185     fi
87186   fi
87187
87188   # Set -z,relro.
87189   # Note this is only for shared objects.
87190   ac_ld_relro=no
87191   if test x"$with_gnu_ld" = x"yes"; then
87192     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
87193 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
87194     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
87195     if test -n "$cxx_z_relo"; then
87196       OPT_LDFLAGS="-Wl,-z,relro"
87197       ac_ld_relro=yes
87198     fi
87199     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
87200 echo "${ECHO_T}$ac_ld_relro" >&6
87201   fi
87202
87203   # Set linker optimization flags.
87204   if test x"$with_gnu_ld" = x"yes"; then
87205     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
87206   fi
87207
87208
87209
87210
87211
87212
87213 echo "$as_me:$LINENO: checking for main in -lm" >&5
87214 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
87215 if test "${ac_cv_lib_m_main+set}" = set; then
87216   echo $ECHO_N "(cached) $ECHO_C" >&6
87217 else
87218   ac_check_lib_save_LIBS=$LIBS
87219 LIBS="-lm  $LIBS"
87220 if test x$gcc_no_link = xyes; then
87221   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87223    { (exit 1); exit 1; }; }
87224 fi
87225 cat >conftest.$ac_ext <<_ACEOF
87226 /* confdefs.h.  */
87227 _ACEOF
87228 cat confdefs.h >>conftest.$ac_ext
87229 cat >>conftest.$ac_ext <<_ACEOF
87230 /* end confdefs.h.  */
87231
87232
87233 int
87234 main ()
87235 {
87236 main ();
87237   ;
87238   return 0;
87239 }
87240 _ACEOF
87241 rm -f conftest.$ac_objext conftest$ac_exeext
87242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87243   (eval $ac_link) 2>conftest.er1
87244   ac_status=$?
87245   grep -v '^ *+' conftest.er1 >conftest.err
87246   rm -f conftest.er1
87247   cat conftest.err >&5
87248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87249   (exit $ac_status); } &&
87250          { ac_try='test -z "$ac_c_werror_flag"
87251                          || test ! -s conftest.err'
87252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87253   (eval $ac_try) 2>&5
87254   ac_status=$?
87255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87256   (exit $ac_status); }; } &&
87257          { ac_try='test -s conftest$ac_exeext'
87258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87259   (eval $ac_try) 2>&5
87260   ac_status=$?
87261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87262   (exit $ac_status); }; }; then
87263   ac_cv_lib_m_main=yes
87264 else
87265   echo "$as_me: failed program was:" >&5
87266 sed 's/^/| /' conftest.$ac_ext >&5
87267
87268 ac_cv_lib_m_main=no
87269 fi
87270 rm -f conftest.err conftest.$ac_objext \
87271       conftest$ac_exeext conftest.$ac_ext
87272 LIBS=$ac_check_lib_save_LIBS
87273 fi
87274 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
87275 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
87276 if test $ac_cv_lib_m_main = yes; then
87277   cat >>confdefs.h <<_ACEOF
87278 #define HAVE_LIBM 1
87279 _ACEOF
87280
87281   LIBS="-lm $LIBS"
87282
87283 fi
87284
87285
87286 for ac_func in copysignf
87287 do
87288 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87289 echo "$as_me:$LINENO: checking for $ac_func" >&5
87290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87291 if eval "test \"\${$as_ac_var+set}\" = set"; then
87292   echo $ECHO_N "(cached) $ECHO_C" >&6
87293 else
87294   if test x$gcc_no_link = xyes; then
87295   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87297    { (exit 1); exit 1; }; }
87298 fi
87299 cat >conftest.$ac_ext <<_ACEOF
87300 /* confdefs.h.  */
87301 _ACEOF
87302 cat confdefs.h >>conftest.$ac_ext
87303 cat >>conftest.$ac_ext <<_ACEOF
87304 /* end confdefs.h.  */
87305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87306    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87307 #define $ac_func innocuous_$ac_func
87308
87309 /* System header to define __stub macros and hopefully few prototypes,
87310     which can conflict with char $ac_func (); below.
87311     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87312     <limits.h> exists even on freestanding compilers.  */
87313
87314 #ifdef __STDC__
87315 # include <limits.h>
87316 #else
87317 # include <assert.h>
87318 #endif
87319
87320 #undef $ac_func
87321
87322 /* Override any gcc2 internal prototype to avoid an error.  */
87323 #ifdef __cplusplus
87324 extern "C"
87325 {
87326 #endif
87327 /* We use char because int might match the return type of a gcc2
87328    builtin and then its argument prototype would still apply.  */
87329 char $ac_func ();
87330 /* The GNU C library defines this for functions which it implements
87331     to always fail with ENOSYS.  Some functions are actually named
87332     something starting with __ and the normal name is an alias.  */
87333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87334 choke me
87335 #else
87336 char (*f) () = $ac_func;
87337 #endif
87338 #ifdef __cplusplus
87339 }
87340 #endif
87341
87342 int
87343 main ()
87344 {
87345 return f != $ac_func;
87346   ;
87347   return 0;
87348 }
87349 _ACEOF
87350 rm -f conftest.$ac_objext conftest$ac_exeext
87351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87352   (eval $ac_link) 2>conftest.er1
87353   ac_status=$?
87354   grep -v '^ *+' conftest.er1 >conftest.err
87355   rm -f conftest.er1
87356   cat conftest.err >&5
87357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87358   (exit $ac_status); } &&
87359          { ac_try='test -z "$ac_c_werror_flag"
87360                          || test ! -s conftest.err'
87361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87362   (eval $ac_try) 2>&5
87363   ac_status=$?
87364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87365   (exit $ac_status); }; } &&
87366          { ac_try='test -s conftest$ac_exeext'
87367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87368   (eval $ac_try) 2>&5
87369   ac_status=$?
87370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87371   (exit $ac_status); }; }; then
87372   eval "$as_ac_var=yes"
87373 else
87374   echo "$as_me: failed program was:" >&5
87375 sed 's/^/| /' conftest.$ac_ext >&5
87376
87377 eval "$as_ac_var=no"
87378 fi
87379 rm -f conftest.err conftest.$ac_objext \
87380       conftest$ac_exeext conftest.$ac_ext
87381 fi
87382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87383 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87384 if test `eval echo '${'$as_ac_var'}'` = yes; then
87385   cat >>confdefs.h <<_ACEOF
87386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87387 _ACEOF
87388
87389 else
87390   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
87391 fi
87392 done
87393
87394
87395
87396 for ac_func in __signbit
87397 do
87398 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87399 echo "$as_me:$LINENO: checking for $ac_func" >&5
87400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87401 if eval "test \"\${$as_ac_var+set}\" = set"; then
87402   echo $ECHO_N "(cached) $ECHO_C" >&6
87403 else
87404   if test x$gcc_no_link = xyes; then
87405   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87407    { (exit 1); exit 1; }; }
87408 fi
87409 cat >conftest.$ac_ext <<_ACEOF
87410 /* confdefs.h.  */
87411 _ACEOF
87412 cat confdefs.h >>conftest.$ac_ext
87413 cat >>conftest.$ac_ext <<_ACEOF
87414 /* end confdefs.h.  */
87415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87416    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87417 #define $ac_func innocuous_$ac_func
87418
87419 /* System header to define __stub macros and hopefully few prototypes,
87420     which can conflict with char $ac_func (); below.
87421     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87422     <limits.h> exists even on freestanding compilers.  */
87423
87424 #ifdef __STDC__
87425 # include <limits.h>
87426 #else
87427 # include <assert.h>
87428 #endif
87429
87430 #undef $ac_func
87431
87432 /* Override any gcc2 internal prototype to avoid an error.  */
87433 #ifdef __cplusplus
87434 extern "C"
87435 {
87436 #endif
87437 /* We use char because int might match the return type of a gcc2
87438    builtin and then its argument prototype would still apply.  */
87439 char $ac_func ();
87440 /* The GNU C library defines this for functions which it implements
87441     to always fail with ENOSYS.  Some functions are actually named
87442     something starting with __ and the normal name is an alias.  */
87443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87444 choke me
87445 #else
87446 char (*f) () = $ac_func;
87447 #endif
87448 #ifdef __cplusplus
87449 }
87450 #endif
87451
87452 int
87453 main ()
87454 {
87455 return f != $ac_func;
87456   ;
87457   return 0;
87458 }
87459 _ACEOF
87460 rm -f conftest.$ac_objext conftest$ac_exeext
87461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87462   (eval $ac_link) 2>conftest.er1
87463   ac_status=$?
87464   grep -v '^ *+' conftest.er1 >conftest.err
87465   rm -f conftest.er1
87466   cat conftest.err >&5
87467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87468   (exit $ac_status); } &&
87469          { ac_try='test -z "$ac_c_werror_flag"
87470                          || test ! -s conftest.err'
87471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87472   (eval $ac_try) 2>&5
87473   ac_status=$?
87474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87475   (exit $ac_status); }; } &&
87476          { ac_try='test -s conftest$ac_exeext'
87477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87478   (eval $ac_try) 2>&5
87479   ac_status=$?
87480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87481   (exit $ac_status); }; }; then
87482   eval "$as_ac_var=yes"
87483 else
87484   echo "$as_me: failed program was:" >&5
87485 sed 's/^/| /' conftest.$ac_ext >&5
87486
87487 eval "$as_ac_var=no"
87488 fi
87489 rm -f conftest.err conftest.$ac_objext \
87490       conftest$ac_exeext conftest.$ac_ext
87491 fi
87492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87494 if test `eval echo '${'$as_ac_var'}'` = yes; then
87495   cat >>confdefs.h <<_ACEOF
87496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87497 _ACEOF
87498
87499 else
87500   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
87501 fi
87502 done
87503
87504
87505
87506 for ac_func in __signbitf
87507 do
87508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87509 echo "$as_me:$LINENO: checking for $ac_func" >&5
87510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87511 if eval "test \"\${$as_ac_var+set}\" = set"; then
87512   echo $ECHO_N "(cached) $ECHO_C" >&6
87513 else
87514   if test x$gcc_no_link = xyes; then
87515   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87517    { (exit 1); exit 1; }; }
87518 fi
87519 cat >conftest.$ac_ext <<_ACEOF
87520 /* confdefs.h.  */
87521 _ACEOF
87522 cat confdefs.h >>conftest.$ac_ext
87523 cat >>conftest.$ac_ext <<_ACEOF
87524 /* end confdefs.h.  */
87525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87526    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87527 #define $ac_func innocuous_$ac_func
87528
87529 /* System header to define __stub macros and hopefully few prototypes,
87530     which can conflict with char $ac_func (); below.
87531     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87532     <limits.h> exists even on freestanding compilers.  */
87533
87534 #ifdef __STDC__
87535 # include <limits.h>
87536 #else
87537 # include <assert.h>
87538 #endif
87539
87540 #undef $ac_func
87541
87542 /* Override any gcc2 internal prototype to avoid an error.  */
87543 #ifdef __cplusplus
87544 extern "C"
87545 {
87546 #endif
87547 /* We use char because int might match the return type of a gcc2
87548    builtin and then its argument prototype would still apply.  */
87549 char $ac_func ();
87550 /* The GNU C library defines this for functions which it implements
87551     to always fail with ENOSYS.  Some functions are actually named
87552     something starting with __ and the normal name is an alias.  */
87553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87554 choke me
87555 #else
87556 char (*f) () = $ac_func;
87557 #endif
87558 #ifdef __cplusplus
87559 }
87560 #endif
87561
87562 int
87563 main ()
87564 {
87565 return f != $ac_func;
87566   ;
87567   return 0;
87568 }
87569 _ACEOF
87570 rm -f conftest.$ac_objext conftest$ac_exeext
87571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87572   (eval $ac_link) 2>conftest.er1
87573   ac_status=$?
87574   grep -v '^ *+' conftest.er1 >conftest.err
87575   rm -f conftest.er1
87576   cat conftest.err >&5
87577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87578   (exit $ac_status); } &&
87579          { ac_try='test -z "$ac_c_werror_flag"
87580                          || test ! -s conftest.err'
87581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87582   (eval $ac_try) 2>&5
87583   ac_status=$?
87584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87585   (exit $ac_status); }; } &&
87586          { ac_try='test -s conftest$ac_exeext'
87587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87588   (eval $ac_try) 2>&5
87589   ac_status=$?
87590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87591   (exit $ac_status); }; }; then
87592   eval "$as_ac_var=yes"
87593 else
87594   echo "$as_me: failed program was:" >&5
87595 sed 's/^/| /' conftest.$ac_ext >&5
87596
87597 eval "$as_ac_var=no"
87598 fi
87599 rm -f conftest.err conftest.$ac_objext \
87600       conftest$ac_exeext conftest.$ac_ext
87601 fi
87602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87604 if test `eval echo '${'$as_ac_var'}'` = yes; then
87605   cat >>confdefs.h <<_ACEOF
87606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87607 _ACEOF
87608
87609 else
87610   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
87611 fi
87612 done
87613
87614
87615           if test x$ac_cv_func_copysignl = x"yes"; then
87616
87617 for ac_func in __signbitl
87618 do
87619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87620 echo "$as_me:$LINENO: checking for $ac_func" >&5
87621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87622 if eval "test \"\${$as_ac_var+set}\" = set"; then
87623   echo $ECHO_N "(cached) $ECHO_C" >&6
87624 else
87625   if test x$gcc_no_link = xyes; then
87626   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87628    { (exit 1); exit 1; }; }
87629 fi
87630 cat >conftest.$ac_ext <<_ACEOF
87631 /* confdefs.h.  */
87632 _ACEOF
87633 cat confdefs.h >>conftest.$ac_ext
87634 cat >>conftest.$ac_ext <<_ACEOF
87635 /* end confdefs.h.  */
87636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87637    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87638 #define $ac_func innocuous_$ac_func
87639
87640 /* System header to define __stub macros and hopefully few prototypes,
87641     which can conflict with char $ac_func (); below.
87642     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87643     <limits.h> exists even on freestanding compilers.  */
87644
87645 #ifdef __STDC__
87646 # include <limits.h>
87647 #else
87648 # include <assert.h>
87649 #endif
87650
87651 #undef $ac_func
87652
87653 /* Override any gcc2 internal prototype to avoid an error.  */
87654 #ifdef __cplusplus
87655 extern "C"
87656 {
87657 #endif
87658 /* We use char because int might match the return type of a gcc2
87659    builtin and then its argument prototype would still apply.  */
87660 char $ac_func ();
87661 /* The GNU C library defines this for functions which it implements
87662     to always fail with ENOSYS.  Some functions are actually named
87663     something starting with __ and the normal name is an alias.  */
87664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87665 choke me
87666 #else
87667 char (*f) () = $ac_func;
87668 #endif
87669 #ifdef __cplusplus
87670 }
87671 #endif
87672
87673 int
87674 main ()
87675 {
87676 return f != $ac_func;
87677   ;
87678   return 0;
87679 }
87680 _ACEOF
87681 rm -f conftest.$ac_objext conftest$ac_exeext
87682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87683   (eval $ac_link) 2>conftest.er1
87684   ac_status=$?
87685   grep -v '^ *+' conftest.er1 >conftest.err
87686   rm -f conftest.er1
87687   cat conftest.err >&5
87688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87689   (exit $ac_status); } &&
87690          { ac_try='test -z "$ac_c_werror_flag"
87691                          || test ! -s conftest.err'
87692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87693   (eval $ac_try) 2>&5
87694   ac_status=$?
87695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87696   (exit $ac_status); }; } &&
87697          { ac_try='test -s conftest$ac_exeext'
87698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87699   (eval $ac_try) 2>&5
87700   ac_status=$?
87701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87702   (exit $ac_status); }; }; then
87703   eval "$as_ac_var=yes"
87704 else
87705   echo "$as_me: failed program was:" >&5
87706 sed 's/^/| /' conftest.$ac_ext >&5
87707
87708 eval "$as_ac_var=no"
87709 fi
87710 rm -f conftest.err conftest.$ac_objext \
87711       conftest$ac_exeext conftest.$ac_ext
87712 fi
87713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87715 if test `eval echo '${'$as_ac_var'}'` = yes; then
87716   cat >>confdefs.h <<_ACEOF
87717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87718 _ACEOF
87719
87720 else
87721   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
87722 fi
87723 done
87724
87725   fi
87726
87727   # Used in libmath/Makefile.am.
87728   if test -n "$LIBMATHOBJS"; then
87729     need_libmath=yes
87730   fi
87731
87732
87733
87734
87735   enable_iconv=no
87736   # Only continue checking if the ISO C99 headers exist and support is on.
87737   if test x"$enable_wchar_t" = xyes; then
87738
87739     # Use iconv for wchar_t to char conversions. As such, check for
87740     # X/Open Portability Guide, version 2 features (XPG2).
87741     if test "${ac_cv_header_iconv_h+set}" = set; then
87742   echo "$as_me:$LINENO: checking for iconv.h" >&5
87743 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
87744 if test "${ac_cv_header_iconv_h+set}" = set; then
87745   echo $ECHO_N "(cached) $ECHO_C" >&6
87746 fi
87747 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
87748 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
87749 else
87750   # Is the header compilable?
87751 echo "$as_me:$LINENO: checking iconv.h usability" >&5
87752 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
87753 cat >conftest.$ac_ext <<_ACEOF
87754 /* confdefs.h.  */
87755 _ACEOF
87756 cat confdefs.h >>conftest.$ac_ext
87757 cat >>conftest.$ac_ext <<_ACEOF
87758 /* end confdefs.h.  */
87759 $ac_includes_default
87760 #include <iconv.h>
87761 _ACEOF
87762 rm -f conftest.$ac_objext
87763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87764   (eval $ac_compile) 2>conftest.er1
87765   ac_status=$?
87766   grep -v '^ *+' conftest.er1 >conftest.err
87767   rm -f conftest.er1
87768   cat conftest.err >&5
87769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87770   (exit $ac_status); } &&
87771          { ac_try='test -z "$ac_c_werror_flag"
87772                          || test ! -s conftest.err'
87773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87774   (eval $ac_try) 2>&5
87775   ac_status=$?
87776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87777   (exit $ac_status); }; } &&
87778          { ac_try='test -s conftest.$ac_objext'
87779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87780   (eval $ac_try) 2>&5
87781   ac_status=$?
87782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87783   (exit $ac_status); }; }; then
87784   ac_header_compiler=yes
87785 else
87786   echo "$as_me: failed program was:" >&5
87787 sed 's/^/| /' conftest.$ac_ext >&5
87788
87789 ac_header_compiler=no
87790 fi
87791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87792 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87793 echo "${ECHO_T}$ac_header_compiler" >&6
87794
87795 # Is the header present?
87796 echo "$as_me:$LINENO: checking iconv.h presence" >&5
87797 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
87798 cat >conftest.$ac_ext <<_ACEOF
87799 /* confdefs.h.  */
87800 _ACEOF
87801 cat confdefs.h >>conftest.$ac_ext
87802 cat >>conftest.$ac_ext <<_ACEOF
87803 /* end confdefs.h.  */
87804 #include <iconv.h>
87805 _ACEOF
87806 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87807   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87808   ac_status=$?
87809   grep -v '^ *+' conftest.er1 >conftest.err
87810   rm -f conftest.er1
87811   cat conftest.err >&5
87812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87813   (exit $ac_status); } >/dev/null; then
87814   if test -s conftest.err; then
87815     ac_cpp_err=$ac_c_preproc_warn_flag
87816     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87817   else
87818     ac_cpp_err=
87819   fi
87820 else
87821   ac_cpp_err=yes
87822 fi
87823 if test -z "$ac_cpp_err"; then
87824   ac_header_preproc=yes
87825 else
87826   echo "$as_me: failed program was:" >&5
87827 sed 's/^/| /' conftest.$ac_ext >&5
87828
87829   ac_header_preproc=no
87830 fi
87831 rm -f conftest.err conftest.$ac_ext
87832 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87833 echo "${ECHO_T}$ac_header_preproc" >&6
87834
87835 # So?  What about this header?
87836 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87837   yes:no: )
87838     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
87839 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
87840     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
87841 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
87842     ac_header_preproc=yes
87843     ;;
87844   no:yes:* )
87845     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
87846 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
87847     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
87848 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
87849     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
87850 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
87851     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
87852 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
87853     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
87854 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
87855     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
87856 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
87857     (
87858       cat <<\_ASBOX
87859 ## ----------------------------------------- ##
87860 ## Report this to the package-unused lists.  ##
87861 ## ----------------------------------------- ##
87862 _ASBOX
87863     ) |
87864       sed "s/^/$as_me: WARNING:     /" >&2
87865     ;;
87866 esac
87867 echo "$as_me:$LINENO: checking for iconv.h" >&5
87868 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
87869 if test "${ac_cv_header_iconv_h+set}" = set; then
87870   echo $ECHO_N "(cached) $ECHO_C" >&6
87871 else
87872   ac_cv_header_iconv_h=$ac_header_preproc
87873 fi
87874 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
87875 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
87876
87877 fi
87878 if test $ac_cv_header_iconv_h = yes; then
87879   ac_has_iconv_h=yes
87880 else
87881   ac_has_iconv_h=no
87882 fi
87883
87884
87885     if test "${ac_cv_header_langinfo_h+set}" = set; then
87886   echo "$as_me:$LINENO: checking for langinfo.h" >&5
87887 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
87888 if test "${ac_cv_header_langinfo_h+set}" = set; then
87889   echo $ECHO_N "(cached) $ECHO_C" >&6
87890 fi
87891 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
87892 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
87893 else
87894   # Is the header compilable?
87895 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
87896 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
87897 cat >conftest.$ac_ext <<_ACEOF
87898 /* confdefs.h.  */
87899 _ACEOF
87900 cat confdefs.h >>conftest.$ac_ext
87901 cat >>conftest.$ac_ext <<_ACEOF
87902 /* end confdefs.h.  */
87903 $ac_includes_default
87904 #include <langinfo.h>
87905 _ACEOF
87906 rm -f conftest.$ac_objext
87907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87908   (eval $ac_compile) 2>conftest.er1
87909   ac_status=$?
87910   grep -v '^ *+' conftest.er1 >conftest.err
87911   rm -f conftest.er1
87912   cat conftest.err >&5
87913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87914   (exit $ac_status); } &&
87915          { ac_try='test -z "$ac_c_werror_flag"
87916                          || test ! -s conftest.err'
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); }; } &&
87922          { ac_try='test -s conftest.$ac_objext'
87923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87924   (eval $ac_try) 2>&5
87925   ac_status=$?
87926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87927   (exit $ac_status); }; }; then
87928   ac_header_compiler=yes
87929 else
87930   echo "$as_me: failed program was:" >&5
87931 sed 's/^/| /' conftest.$ac_ext >&5
87932
87933 ac_header_compiler=no
87934 fi
87935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87936 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87937 echo "${ECHO_T}$ac_header_compiler" >&6
87938
87939 # Is the header present?
87940 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
87941 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
87942 cat >conftest.$ac_ext <<_ACEOF
87943 /* confdefs.h.  */
87944 _ACEOF
87945 cat confdefs.h >>conftest.$ac_ext
87946 cat >>conftest.$ac_ext <<_ACEOF
87947 /* end confdefs.h.  */
87948 #include <langinfo.h>
87949 _ACEOF
87950 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87951   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87952   ac_status=$?
87953   grep -v '^ *+' conftest.er1 >conftest.err
87954   rm -f conftest.er1
87955   cat conftest.err >&5
87956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87957   (exit $ac_status); } >/dev/null; then
87958   if test -s conftest.err; then
87959     ac_cpp_err=$ac_c_preproc_warn_flag
87960     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87961   else
87962     ac_cpp_err=
87963   fi
87964 else
87965   ac_cpp_err=yes
87966 fi
87967 if test -z "$ac_cpp_err"; then
87968   ac_header_preproc=yes
87969 else
87970   echo "$as_me: failed program was:" >&5
87971 sed 's/^/| /' conftest.$ac_ext >&5
87972
87973   ac_header_preproc=no
87974 fi
87975 rm -f conftest.err conftest.$ac_ext
87976 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87977 echo "${ECHO_T}$ac_header_preproc" >&6
87978
87979 # So?  What about this header?
87980 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87981   yes:no: )
87982     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
87983 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
87984     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
87985 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
87986     ac_header_preproc=yes
87987     ;;
87988   no:yes:* )
87989     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
87990 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
87991     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
87992 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
87993     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
87994 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
87995     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
87996 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
87997     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
87998 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
87999     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
88000 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
88001     (
88002       cat <<\_ASBOX
88003 ## ----------------------------------------- ##
88004 ## Report this to the package-unused lists.  ##
88005 ## ----------------------------------------- ##
88006 _ASBOX
88007     ) |
88008       sed "s/^/$as_me: WARNING:     /" >&2
88009     ;;
88010 esac
88011 echo "$as_me:$LINENO: checking for langinfo.h" >&5
88012 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
88013 if test "${ac_cv_header_langinfo_h+set}" = set; then
88014   echo $ECHO_N "(cached) $ECHO_C" >&6
88015 else
88016   ac_cv_header_langinfo_h=$ac_header_preproc
88017 fi
88018 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
88019 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
88020
88021 fi
88022 if test $ac_cv_header_langinfo_h = yes; then
88023   ac_has_langinfo_h=yes
88024 else
88025   ac_has_langinfo_h=no
88026 fi
88027
88028
88029
88030     # Check for existence of libiconv.a providing XPG2 wchar_t support.
88031     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
88032 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
88033 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
88034   echo $ECHO_N "(cached) $ECHO_C" >&6
88035 else
88036   ac_check_lib_save_LIBS=$LIBS
88037 LIBS="-liconv  $LIBS"
88038 if test x$gcc_no_link = xyes; then
88039   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88040 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88041    { (exit 1); exit 1; }; }
88042 fi
88043 cat >conftest.$ac_ext <<_ACEOF
88044 /* confdefs.h.  */
88045 _ACEOF
88046 cat confdefs.h >>conftest.$ac_ext
88047 cat >>conftest.$ac_ext <<_ACEOF
88048 /* end confdefs.h.  */
88049
88050 /* Override any gcc2 internal prototype to avoid an error.  */
88051 #ifdef __cplusplus
88052 extern "C"
88053 #endif
88054 /* We use char because int might match the return type of a gcc2
88055    builtin and then its argument prototype would still apply.  */
88056 char iconv ();
88057 int
88058 main ()
88059 {
88060 iconv ();
88061   ;
88062   return 0;
88063 }
88064 _ACEOF
88065 rm -f conftest.$ac_objext conftest$ac_exeext
88066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88067   (eval $ac_link) 2>conftest.er1
88068   ac_status=$?
88069   grep -v '^ *+' conftest.er1 >conftest.err
88070   rm -f conftest.er1
88071   cat conftest.err >&5
88072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88073   (exit $ac_status); } &&
88074          { ac_try='test -z "$ac_c_werror_flag"
88075                          || test ! -s conftest.err'
88076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88077   (eval $ac_try) 2>&5
88078   ac_status=$?
88079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88080   (exit $ac_status); }; } &&
88081          { ac_try='test -s conftest$ac_exeext'
88082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88083   (eval $ac_try) 2>&5
88084   ac_status=$?
88085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88086   (exit $ac_status); }; }; then
88087   ac_cv_lib_iconv_iconv=yes
88088 else
88089   echo "$as_me: failed program was:" >&5
88090 sed 's/^/| /' conftest.$ac_ext >&5
88091
88092 ac_cv_lib_iconv_iconv=no
88093 fi
88094 rm -f conftest.err conftest.$ac_objext \
88095       conftest$ac_exeext conftest.$ac_ext
88096 LIBS=$ac_check_lib_save_LIBS
88097 fi
88098 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
88099 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
88100 if test $ac_cv_lib_iconv_iconv = yes; then
88101   LIBICONV="-liconv"
88102 fi
88103
88104     ac_save_LIBS="$LIBS"
88105     LIBS="$LIBS $LIBICONV"
88106
88107
88108
88109
88110
88111
88112 for ac_func in iconv_open iconv_close iconv nl_langinfo
88113 do
88114 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88115 echo "$as_me:$LINENO: checking for $ac_func" >&5
88116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88117 if eval "test \"\${$as_ac_var+set}\" = set"; then
88118   echo $ECHO_N "(cached) $ECHO_C" >&6
88119 else
88120   if test x$gcc_no_link = xyes; then
88121   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88123    { (exit 1); exit 1; }; }
88124 fi
88125 cat >conftest.$ac_ext <<_ACEOF
88126 /* confdefs.h.  */
88127 _ACEOF
88128 cat confdefs.h >>conftest.$ac_ext
88129 cat >>conftest.$ac_ext <<_ACEOF
88130 /* end confdefs.h.  */
88131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88132    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88133 #define $ac_func innocuous_$ac_func
88134
88135 /* System header to define __stub macros and hopefully few prototypes,
88136     which can conflict with char $ac_func (); below.
88137     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88138     <limits.h> exists even on freestanding compilers.  */
88139
88140 #ifdef __STDC__
88141 # include <limits.h>
88142 #else
88143 # include <assert.h>
88144 #endif
88145
88146 #undef $ac_func
88147
88148 /* Override any gcc2 internal prototype to avoid an error.  */
88149 #ifdef __cplusplus
88150 extern "C"
88151 {
88152 #endif
88153 /* We use char because int might match the return type of a gcc2
88154    builtin and then its argument prototype would still apply.  */
88155 char $ac_func ();
88156 /* The GNU C library defines this for functions which it implements
88157     to always fail with ENOSYS.  Some functions are actually named
88158     something starting with __ and the normal name is an alias.  */
88159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88160 choke me
88161 #else
88162 char (*f) () = $ac_func;
88163 #endif
88164 #ifdef __cplusplus
88165 }
88166 #endif
88167
88168 int
88169 main ()
88170 {
88171 return f != $ac_func;
88172   ;
88173   return 0;
88174 }
88175 _ACEOF
88176 rm -f conftest.$ac_objext conftest$ac_exeext
88177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88178   (eval $ac_link) 2>conftest.er1
88179   ac_status=$?
88180   grep -v '^ *+' conftest.er1 >conftest.err
88181   rm -f conftest.er1
88182   cat conftest.err >&5
88183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88184   (exit $ac_status); } &&
88185          { ac_try='test -z "$ac_c_werror_flag"
88186                          || test ! -s conftest.err'
88187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88188   (eval $ac_try) 2>&5
88189   ac_status=$?
88190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88191   (exit $ac_status); }; } &&
88192          { ac_try='test -s conftest$ac_exeext'
88193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88194   (eval $ac_try) 2>&5
88195   ac_status=$?
88196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88197   (exit $ac_status); }; }; then
88198   eval "$as_ac_var=yes"
88199 else
88200   echo "$as_me: failed program was:" >&5
88201 sed 's/^/| /' conftest.$ac_ext >&5
88202
88203 eval "$as_ac_var=no"
88204 fi
88205 rm -f conftest.err conftest.$ac_objext \
88206       conftest$ac_exeext conftest.$ac_ext
88207 fi
88208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88209 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88210 if test `eval echo '${'$as_ac_var'}'` = yes; then
88211   cat >>confdefs.h <<_ACEOF
88212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88213 _ACEOF
88214  ac_XPG2funcs=yes
88215 else
88216   ac_XPG2funcs=no
88217 fi
88218 done
88219
88220
88221     LIBS="$ac_save_LIBS"
88222
88223     if test x"$ac_has_iconv_h" = xyes &&
88224        test x"$ac_has_langinfo_h" = xyes &&
88225        test x"$ac_XPG2funcs" = xyes;
88226     then
88227
88228 cat >>confdefs.h <<\_ACEOF
88229 #define _GLIBCXX_USE_ICONV 1
88230 _ACEOF
88231
88232       enable_iconv=yes
88233     fi
88234   fi
88235   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
88236 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
88237   echo "$as_me:$LINENO: result: $enable_iconv" >&5
88238 echo "${ECHO_T}$enable_iconv" >&6
88239
88240     cat >>confdefs.h <<\_ACEOF
88241 #define HAVE_COPYSIGN 1
88242 _ACEOF
88243
88244     cat >>confdefs.h <<\_ACEOF
88245 #define HAVE_COPYSIGNF 1
88246 _ACEOF
88247
88248     cat >>confdefs.h <<\_ACEOF
88249 #define HAVE_FINITE 1
88250 _ACEOF
88251
88252     cat >>confdefs.h <<\_ACEOF
88253 #define HAVE_FINITEF 1
88254 _ACEOF
88255
88256     cat >>confdefs.h <<\_ACEOF
88257 #define HAVE_FREXPF 1
88258 _ACEOF
88259
88260     cat >>confdefs.h <<\_ACEOF
88261 #define HAVE_HYPOTF 1
88262 _ACEOF
88263
88264     cat >>confdefs.h <<\_ACEOF
88265 #define HAVE_ISINF 1
88266 _ACEOF
88267
88268     cat >>confdefs.h <<\_ACEOF
88269 #define HAVE_ISINFF 1
88270 _ACEOF
88271
88272     cat >>confdefs.h <<\_ACEOF
88273 #define HAVE_ISNAN 1
88274 _ACEOF
88275
88276     cat >>confdefs.h <<\_ACEOF
88277 #define HAVE_ISNANF 1
88278 _ACEOF
88279
88280     cat >>confdefs.h <<\_ACEOF
88281 #define HAVE_SINCOS 1
88282 _ACEOF
88283
88284     cat >>confdefs.h <<\_ACEOF
88285 #define HAVE_SINCOSF 1
88286 _ACEOF
88287
88288     if test x"long_double_math_on_this_cpu" = x"yes"; then
88289       cat >>confdefs.h <<\_ACEOF
88290 #define HAVE_FINITEL 1
88291 _ACEOF
88292
88293       cat >>confdefs.h <<\_ACEOF
88294 #define HAVE_HYPOTL 1
88295 _ACEOF
88296
88297       cat >>confdefs.h <<\_ACEOF
88298 #define HAVE_ISINFL 1
88299 _ACEOF
88300
88301       cat >>confdefs.h <<\_ACEOF
88302 #define HAVE_ISNANL 1
88303 _ACEOF
88304
88305     fi
88306     ;;
88307   *-vxworks)
88308     cat >>confdefs.h <<\_ACEOF
88309 #define HAVE_MMAP 1
88310 _ACEOF
88311
88312     cat >>confdefs.h <<\_ACEOF
88313 #define HAVE_ACOSF 1
88314 _ACEOF
88315
88316     cat >>confdefs.h <<\_ACEOF
88317 #define HAVE_ASINF 1
88318 _ACEOF
88319
88320     cat >>confdefs.h <<\_ACEOF
88321 #define HAVE_ATAN2F 1
88322 _ACEOF
88323
88324     cat >>confdefs.h <<\_ACEOF
88325 #define HAVE_ATANF 1
88326 _ACEOF
88327
88328     cat >>confdefs.h <<\_ACEOF
88329 #define HAVE_CEILF 1
88330 _ACEOF
88331
88332     cat >>confdefs.h <<\_ACEOF
88333 #define HAVE_COSF 1
88334 _ACEOF
88335
88336     cat >>confdefs.h <<\_ACEOF
88337 #define HAVE_COSHF 1
88338 _ACEOF
88339
88340     cat >>confdefs.h <<\_ACEOF
88341 #define HAVE_EXPF 1
88342 _ACEOF
88343
88344     cat >>confdefs.h <<\_ACEOF
88345 #define HAVE_FABSF 1
88346 _ACEOF
88347
88348     cat >>confdefs.h <<\_ACEOF
88349 #define HAVE_FLOORF 1
88350 _ACEOF
88351
88352     cat >>confdefs.h <<\_ACEOF
88353 #define HAVE_FMODF 1
88354 _ACEOF
88355
88356     cat >>confdefs.h <<\_ACEOF
88357 #define HAVE_HYPOT 1
88358 _ACEOF
88359
88360     cat >>confdefs.h <<\_ACEOF
88361 #define HAVE_LOG10F 1
88362 _ACEOF
88363
88364     cat >>confdefs.h <<\_ACEOF
88365 #define HAVE_LOGF 1
88366 _ACEOF
88367
88368     cat >>confdefs.h <<\_ACEOF
88369 #define HAVE_POWF 1
88370 _ACEOF
88371
88372     cat >>confdefs.h <<\_ACEOF
88373 #define HAVE_SINF 1
88374 _ACEOF
88375
88376     cat >>confdefs.h <<\_ACEOF
88377 #define HAVE_SINHF 1
88378 _ACEOF
88379
88380     cat >>confdefs.h <<\_ACEOF
88381 #define HAVE_SQRTF 1
88382 _ACEOF
88383
88384     cat >>confdefs.h <<\_ACEOF
88385 #define HAVE_TANF 1
88386 _ACEOF
88387
88388     cat >>confdefs.h <<\_ACEOF
88389 #define HAVE_TANHF 1
88390 _ACEOF
88391
88392     ;;
88393   *-windiss*)
88394     cat >>confdefs.h <<\_ACEOF
88395 #define HAVE_ACOSF 1
88396 _ACEOF
88397
88398     cat >>confdefs.h <<\_ACEOF
88399 #define HAVE_ACOSL 1
88400 _ACEOF
88401
88402     cat >>confdefs.h <<\_ACEOF
88403 #define HAVE_ASINF 1
88404 _ACEOF
88405
88406     cat >>confdefs.h <<\_ACEOF
88407 #define HAVE_ASINL 1
88408 _ACEOF
88409
88410     cat >>confdefs.h <<\_ACEOF
88411 #define HAVE_ATAN2F 1
88412 _ACEOF
88413
88414     cat >>confdefs.h <<\_ACEOF
88415 #define HAVE_ATAN2L 1
88416 _ACEOF
88417
88418     cat >>confdefs.h <<\_ACEOF
88419 #define HAVE_ATANF 1
88420 _ACEOF
88421
88422     cat >>confdefs.h <<\_ACEOF
88423 #define HAVE_ATANL 1
88424 _ACEOF
88425
88426     cat >>confdefs.h <<\_ACEOF
88427 #define HAVE_CEILF 1
88428 _ACEOF
88429
88430     cat >>confdefs.h <<\_ACEOF
88431 #define HAVE_CEILL 1
88432 _ACEOF
88433
88434     cat >>confdefs.h <<\_ACEOF
88435 #define HAVE_COPYSIGN 1
88436 _ACEOF
88437
88438     cat >>confdefs.h <<\_ACEOF
88439 #define HAVE_COPYSIGNF 1
88440 _ACEOF
88441
88442     cat >>confdefs.h <<\_ACEOF
88443 #define HAVE_COSF 1
88444 _ACEOF
88445
88446     cat >>confdefs.h <<\_ACEOF
88447 #define HAVE_COSL 1
88448 _ACEOF
88449
88450     cat >>confdefs.h <<\_ACEOF
88451 #define HAVE_COSHF 1
88452 _ACEOF
88453
88454     cat >>confdefs.h <<\_ACEOF
88455 #define HAVE_COSHL 1
88456 _ACEOF
88457
88458     cat >>confdefs.h <<\_ACEOF
88459 #define HAVE_EXPF 1
88460 _ACEOF
88461
88462     cat >>confdefs.h <<\_ACEOF
88463 #define HAVE_EXPL 1
88464 _ACEOF
88465
88466     cat >>confdefs.h <<\_ACEOF
88467 #define HAVE_FABSF 1
88468 _ACEOF
88469
88470     cat >>confdefs.h <<\_ACEOF
88471 #define HAVE_FABSL 1
88472 _ACEOF
88473
88474     cat >>confdefs.h <<\_ACEOF
88475 #define HAVE_FLOORF 1
88476 _ACEOF
88477
88478     cat >>confdefs.h <<\_ACEOF
88479 #define HAVE_FLOORL 1
88480 _ACEOF
88481
88482     cat >>confdefs.h <<\_ACEOF
88483 #define HAVE_FMODF 1
88484 _ACEOF
88485
88486     cat >>confdefs.h <<\_ACEOF
88487 #define HAVE_FMODL 1
88488 _ACEOF
88489
88490     cat >>confdefs.h <<\_ACEOF
88491 #define HAVE_FREXPF 1
88492 _ACEOF
88493
88494     cat >>confdefs.h <<\_ACEOF
88495 #define HAVE_FREXPL 1
88496 _ACEOF
88497
88498     cat >>confdefs.h <<\_ACEOF
88499 #define HAVE_LDEXPF 1
88500 _ACEOF
88501
88502     cat >>confdefs.h <<\_ACEOF
88503 #define HAVE_LDEXPL 1
88504 _ACEOF
88505
88506     cat >>confdefs.h <<\_ACEOF
88507 #define HAVE_LOG10F 1
88508 _ACEOF
88509
88510     cat >>confdefs.h <<\_ACEOF
88511 #define HAVE_LOG10L 1
88512 _ACEOF
88513
88514     cat >>confdefs.h <<\_ACEOF
88515 #define HAVE_LOGF 1
88516 _ACEOF
88517
88518     cat >>confdefs.h <<\_ACEOF
88519 #define HAVE_MODFF 1
88520 _ACEOF
88521
88522     cat >>confdefs.h <<\_ACEOF
88523 #define HAVE_MODFL 1
88524 _ACEOF
88525
88526     cat >>confdefs.h <<\_ACEOF
88527 #define HAVE_POWF 1
88528 _ACEOF
88529
88530     cat >>confdefs.h <<\_ACEOF
88531 #define HAVE_POWL 1
88532 _ACEOF
88533
88534     cat >>confdefs.h <<\_ACEOF
88535 #define HAVE_SINF 1
88536 _ACEOF
88537
88538     cat >>confdefs.h <<\_ACEOF
88539 #define HAVE_SINL 1
88540 _ACEOF
88541
88542     cat >>confdefs.h <<\_ACEOF
88543 #define HAVE_SINHF 1
88544 _ACEOF
88545
88546     cat >>confdefs.h <<\_ACEOF
88547 #define HAVE_SINHL 1
88548 _ACEOF
88549
88550     cat >>confdefs.h <<\_ACEOF
88551 #define HAVE_SQRTF 1
88552 _ACEOF
88553
88554     cat >>confdefs.h <<\_ACEOF
88555 #define HAVE_SQRTL 1
88556 _ACEOF
88557
88558     cat >>confdefs.h <<\_ACEOF
88559 #define HAVE_TANF 1
88560 _ACEOF
88561
88562     cat >>confdefs.h <<\_ACEOF
88563 #define HAVE_TANL 1
88564 _ACEOF
88565
88566     cat >>confdefs.h <<\_ACEOF
88567 #define HAVE_TANHF 1
88568 _ACEOF
88569
88570     cat >>confdefs.h <<\_ACEOF
88571 #define HAVE_TANHL 1
88572 _ACEOF
88573
88574     ;;
88575   *)
88576     { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
88577 echo "$as_me: error: No support for this host/target combination." >&2;}
88578    { (exit 1); exit 1; }; }
88579    ;;
88580 esac
88581
88582   fi
88583
88584   # At some point, we should differentiate between architectures
88585   # like x86, which have long double versions, and alpha/powerpc/etc.,
88586   # which don't. For the time being, punt.
88587   if test x"long_double_math_on_this_cpu" = x"yes"; then
88588     cat >>confdefs.h <<\_ACEOF
88589 #define HAVE_ACOSL 1
88590 _ACEOF
88591
88592     cat >>confdefs.h <<\_ACEOF
88593 #define HAVE_ASINL 1
88594 _ACEOF
88595
88596     cat >>confdefs.h <<\_ACEOF
88597 #define HAVE_ATAN2L 1
88598 _ACEOF
88599
88600     cat >>confdefs.h <<\_ACEOF
88601 #define HAVE_ATANL 1
88602 _ACEOF
88603
88604     cat >>confdefs.h <<\_ACEOF
88605 #define HAVE_CEILL 1
88606 _ACEOF
88607
88608     cat >>confdefs.h <<\_ACEOF
88609 #define HAVE_COPYSIGNL 1
88610 _ACEOF
88611
88612     cat >>confdefs.h <<\_ACEOF
88613 #define HAVE_COSL 1
88614 _ACEOF
88615
88616     cat >>confdefs.h <<\_ACEOF
88617 #define HAVE_COSHL 1
88618 _ACEOF
88619
88620     cat >>confdefs.h <<\_ACEOF
88621 #define HAVE_EXPL 1
88622 _ACEOF
88623
88624     cat >>confdefs.h <<\_ACEOF
88625 #define HAVE_FABSL 1
88626 _ACEOF
88627
88628     cat >>confdefs.h <<\_ACEOF
88629 #define HAVE_FLOORL 1
88630 _ACEOF
88631
88632     cat >>confdefs.h <<\_ACEOF
88633 #define HAVE_FMODL 1
88634 _ACEOF
88635
88636     cat >>confdefs.h <<\_ACEOF
88637 #define HAVE_FREXPL 1
88638 _ACEOF
88639
88640     cat >>confdefs.h <<\_ACEOF
88641 #define HAVE_LDEXPL 1
88642 _ACEOF
88643
88644     cat >>confdefs.h <<\_ACEOF
88645 #define HAVE_LOG10L 1
88646 _ACEOF
88647
88648     cat >>confdefs.h <<\_ACEOF
88649 #define HAVE_LOGL 1
88650 _ACEOF
88651
88652     cat >>confdefs.h <<\_ACEOF
88653 #define HAVE_MODFL 1
88654 _ACEOF
88655
88656     cat >>confdefs.h <<\_ACEOF
88657 #define HAVE_POWL 1
88658 _ACEOF
88659
88660     cat >>confdefs.h <<\_ACEOF
88661 #define HAVE_SINCOSL 1
88662 _ACEOF
88663
88664     cat >>confdefs.h <<\_ACEOF
88665 #define HAVE_SINL 1
88666 _ACEOF
88667
88668     cat >>confdefs.h <<\_ACEOF
88669 #define HAVE_SINHL 1
88670 _ACEOF
88671
88672     cat >>confdefs.h <<\_ACEOF
88673 #define HAVE_SQRTL 1
88674 _ACEOF
88675
88676     cat >>confdefs.h <<\_ACEOF
88677 #define HAVE_TANL 1
88678 _ACEOF
88679
88680     cat >>confdefs.h <<\_ACEOF
88681 #define HAVE_TANHL 1
88682 _ACEOF
88683
88684   fi
88685
88686 fi
88687
88688 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
88689
88690
88691  # Check whether --enable-symvers or --disable-symvers was given.
88692 if test "${enable_symvers+set}" = set; then
88693   enableval="$enable_symvers"
88694
88695       case "$enableval" in
88696        yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
88697        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
88698 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
88699    { (exit 1); exit 1; }; } ;;
88700                           esac
88701
88702 else
88703   enable_symvers=yes
88704 fi;
88705
88706
88707 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
88708 # don't know enough about $LD to do tricks...
88709
88710
88711 # Turn a 'yes' into a suitable default.
88712 if test x$enable_symvers = xyes ; then
88713   if test $enable_shared = no || test "x$LD" = x ; then
88714     enable_symvers=no
88715   else
88716     if test $with_gnu_ld = yes ; then
88717       enable_symvers=gnu
88718     else
88719       case ${target_os} in
88720         darwin*)
88721           enable_symvers=darwin ;;
88722         *)
88723           enable_symvers=no ;;
88724       esac
88725     fi
88726   fi
88727 fi
88728
88729 # Check to see if 'darwin' or 'darwin-export' can win.
88730 if test x$enable_symvers = xdarwin-export ; then
88731     enable_symvers=darwin
88732 fi
88733
88734 # Check to see if 'gnu' can win.
88735 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
88736   # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
88737   echo "$as_me:$LINENO: checking for shared libgcc" >&5
88738 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
88739   ac_save_CFLAGS="$CFLAGS"
88740   CFLAGS=' -lgcc_s'
88741   if test x$gcc_no_link = xyes; then
88742   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88744    { (exit 1); exit 1; }; }
88745 fi
88746 cat >conftest.$ac_ext <<_ACEOF
88747 /* confdefs.h.  */
88748 _ACEOF
88749 cat confdefs.h >>conftest.$ac_ext
88750 cat >>conftest.$ac_ext <<_ACEOF
88751 /* end confdefs.h.  */
88752
88753 int
88754 main ()
88755 {
88756 return 0;
88757   ;
88758   return 0;
88759 }
88760 _ACEOF
88761 rm -f conftest.$ac_objext conftest$ac_exeext
88762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88763   (eval $ac_link) 2>conftest.er1
88764   ac_status=$?
88765   grep -v '^ *+' conftest.er1 >conftest.err
88766   rm -f conftest.er1
88767   cat conftest.err >&5
88768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88769   (exit $ac_status); } &&
88770          { ac_try='test -z "$ac_c_werror_flag"
88771                          || test ! -s conftest.err'
88772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88773   (eval $ac_try) 2>&5
88774   ac_status=$?
88775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88776   (exit $ac_status); }; } &&
88777          { ac_try='test -s conftest$ac_exeext'
88778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88779   (eval $ac_try) 2>&5
88780   ac_status=$?
88781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88782   (exit $ac_status); }; }; then
88783   glibcxx_shared_libgcc=yes
88784 else
88785   echo "$as_me: failed program was:" >&5
88786 sed 's/^/| /' conftest.$ac_ext >&5
88787
88788 glibcxx_shared_libgcc=no
88789 fi
88790 rm -f conftest.err conftest.$ac_objext \
88791       conftest$ac_exeext conftest.$ac_ext
88792   CFLAGS="$ac_save_CFLAGS"
88793   if test $glibcxx_shared_libgcc = no; then
88794     cat > conftest.c <<EOF
88795 int main (void) { return 0; }
88796 EOF
88797     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
88798                              -shared -shared-libgcc -o conftest.so \
88799                              conftest.c -v 2>&1 >/dev/null \
88800                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
88801     rm -f conftest.c conftest.so
88802     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
88803       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
88804       if test x$gcc_no_link = xyes; then
88805   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88807    { (exit 1); exit 1; }; }
88808 fi
88809 cat >conftest.$ac_ext <<_ACEOF
88810 /* confdefs.h.  */
88811 _ACEOF
88812 cat confdefs.h >>conftest.$ac_ext
88813 cat >>conftest.$ac_ext <<_ACEOF
88814 /* end confdefs.h.  */
88815
88816 int
88817 main ()
88818 {
88819 return 0;
88820   ;
88821   return 0;
88822 }
88823 _ACEOF
88824 rm -f conftest.$ac_objext conftest$ac_exeext
88825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88826   (eval $ac_link) 2>conftest.er1
88827   ac_status=$?
88828   grep -v '^ *+' conftest.er1 >conftest.err
88829   rm -f conftest.er1
88830   cat conftest.err >&5
88831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88832   (exit $ac_status); } &&
88833          { ac_try='test -z "$ac_c_werror_flag"
88834                          || test ! -s conftest.err'
88835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88836   (eval $ac_try) 2>&5
88837   ac_status=$?
88838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88839   (exit $ac_status); }; } &&
88840          { ac_try='test -s conftest$ac_exeext'
88841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88842   (eval $ac_try) 2>&5
88843   ac_status=$?
88844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88845   (exit $ac_status); }; }; then
88846   glibcxx_shared_libgcc=yes
88847 else
88848   echo "$as_me: failed program was:" >&5
88849 sed 's/^/| /' conftest.$ac_ext >&5
88850
88851 fi
88852 rm -f conftest.err conftest.$ac_objext \
88853       conftest$ac_exeext conftest.$ac_ext
88854       CFLAGS="$ac_save_CFLAGS"
88855     fi
88856   fi
88857   echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
88858 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
88859
88860   # For GNU ld, we need at least this version.  The format is described in
88861   # GLIBCXX_CHECK_LINKER_FEATURES above.
88862   glibcxx_min_gnu_ld_version=21400
88863
88864   # If no shared libgcc, can't win.
88865   if test $glibcxx_shared_libgcc != yes; then
88866       { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
88867 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
88868       { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
88869 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
88870       { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
88871 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
88872       enable_symvers=no
88873   elif test $with_gnu_ld != yes ; then
88874     # just fail for now
88875     { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
88876 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
88877     { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
88878 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
88879     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
88880 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
88881     enable_symvers=no
88882   elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
88883     # The right tools, the right setup, but too old.  Fallbacks?
88884     { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
88885 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
88886     { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
88887 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
88888     { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
88889 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
88890     { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
88891 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
88892     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
88893 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
88894     enable_symvers=no
88895   fi
88896 fi
88897
88898 # Everything parsed; figure out what file to use.
88899 case $enable_symvers in
88900   no)
88901     SYMVER_FILE=config/abi/pre/none.ver
88902     ;;
88903   gnu)
88904     SYMVER_FILE=config/abi/pre/gnu.ver
88905
88906 cat >>confdefs.h <<\_ACEOF
88907 #define _GLIBCXX_SYMVER_GNU 1
88908 _ACEOF
88909
88910     ;;
88911   gnu-versioned-namespace)
88912     SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
88913
88914 cat >>confdefs.h <<\_ACEOF
88915 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
88916 _ACEOF
88917
88918     ;;
88919   darwin)
88920     SYMVER_FILE=config/abi/pre/gnu.ver
88921
88922 cat >>confdefs.h <<\_ACEOF
88923 #define _GLIBCXX_SYMVER_DARWIN 1
88924 _ACEOF
88925
88926     ;;
88927 esac
88928
88929 if test x$enable_symvers != xno ; then
88930
88931 cat >>confdefs.h <<\_ACEOF
88932 #define _GLIBCXX_SYMVER 1
88933 _ACEOF
88934
88935 fi
88936
88937
88938
88939
88940
88941
88942
88943 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
88944 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
88945
88946 # Now, set up compatibility support, if any.
88947 # In addition, need this to deal with std::size_t mangling in
88948 # src/compatibility.cc.  In a perfect world, could use
88949 # typeid(std::size_t).name()[0] to do direct substitution.
88950 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
88951 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
88952 ac_save_CFLAGS="$CFLAGS"
88953 CFLAGS="-Werror"
88954 cat >conftest.$ac_ext <<_ACEOF
88955 /* confdefs.h.  */
88956 _ACEOF
88957 cat confdefs.h >>conftest.$ac_ext
88958 cat >>conftest.$ac_ext <<_ACEOF
88959 /* end confdefs.h.  */
88960
88961 int
88962 main ()
88963 {
88964 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
88965   ;
88966   return 0;
88967 }
88968 _ACEOF
88969 rm -f conftest.$ac_objext
88970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88971   (eval $ac_compile) 2>conftest.er1
88972   ac_status=$?
88973   grep -v '^ *+' conftest.er1 >conftest.err
88974   rm -f conftest.er1
88975   cat conftest.err >&5
88976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88977   (exit $ac_status); } &&
88978          { ac_try='test -z "$ac_c_werror_flag"
88979                          || test ! -s conftest.err'
88980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88981   (eval $ac_try) 2>&5
88982   ac_status=$?
88983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88984   (exit $ac_status); }; } &&
88985          { ac_try='test -s conftest.$ac_objext'
88986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88987   (eval $ac_try) 2>&5
88988   ac_status=$?
88989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88990   (exit $ac_status); }; }; then
88991   glibcxx_size_t_is_i=yes
88992 else
88993   echo "$as_me: failed program was:" >&5
88994 sed 's/^/| /' conftest.$ac_ext >&5
88995
88996 glibcxx_size_t_is_i=no
88997 fi
88998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88999 CFLAGS=$ac_save_CFLAGS
89000 if test "$glibcxx_size_t_is_i" = yes; then
89001
89002 cat >>confdefs.h <<\_ACEOF
89003 #define _GLIBCXX_SIZE_T_IS_UINT 1
89004 _ACEOF
89005
89006 fi
89007 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
89008 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
89009
89010 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
89011 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
89012 ac_save_CFLAGS="$CFLAGS"
89013 CFLAGS="-Werror"
89014 cat >conftest.$ac_ext <<_ACEOF
89015 /* confdefs.h.  */
89016 _ACEOF
89017 cat confdefs.h >>conftest.$ac_ext
89018 cat >>conftest.$ac_ext <<_ACEOF
89019 /* end confdefs.h.  */
89020
89021 int
89022 main ()
89023 {
89024 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
89025   ;
89026   return 0;
89027 }
89028 _ACEOF
89029 rm -f conftest.$ac_objext
89030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89031   (eval $ac_compile) 2>conftest.er1
89032   ac_status=$?
89033   grep -v '^ *+' conftest.er1 >conftest.err
89034   rm -f conftest.er1
89035   cat conftest.err >&5
89036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89037   (exit $ac_status); } &&
89038          { ac_try='test -z "$ac_c_werror_flag"
89039                          || test ! -s conftest.err'
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); }; } &&
89045          { ac_try='test -s conftest.$ac_objext'
89046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89047   (eval $ac_try) 2>&5
89048   ac_status=$?
89049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89050   (exit $ac_status); }; }; then
89051   glibcxx_ptrdiff_t_is_i=yes
89052 else
89053   echo "$as_me: failed program was:" >&5
89054 sed 's/^/| /' conftest.$ac_ext >&5
89055
89056 glibcxx_ptrdiff_t_is_i=no
89057 fi
89058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89059 CFLAGS=$ac_save_CFLAGS
89060 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
89061
89062 cat >>confdefs.h <<\_ACEOF
89063 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
89064 _ACEOF
89065
89066 fi
89067 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
89068 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
89069
89070
89071 ac_ldbl_compat=no
89072 case "$target" in
89073   powerpc*-*-*gnu* | \
89074   sparc*-*-linux* | \
89075   s390*-*-linux* | \
89076   alpha*-*-linux*)
89077   cat >conftest.$ac_ext <<_ACEOF
89078 /* confdefs.h.  */
89079 _ACEOF
89080 cat confdefs.h >>conftest.$ac_ext
89081 cat >>conftest.$ac_ext <<_ACEOF
89082 /* end confdefs.h.  */
89083
89084 int
89085 main ()
89086 {
89087
89088 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
89089 #error no need for long double compatibility
89090 #endif
89091
89092   ;
89093   return 0;
89094 }
89095 _ACEOF
89096 rm -f conftest.$ac_objext
89097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89098   (eval $ac_compile) 2>conftest.er1
89099   ac_status=$?
89100   grep -v '^ *+' conftest.er1 >conftest.err
89101   rm -f conftest.er1
89102   cat conftest.err >&5
89103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89104   (exit $ac_status); } &&
89105          { ac_try='test -z "$ac_c_werror_flag"
89106                          || test ! -s conftest.err'
89107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89108   (eval $ac_try) 2>&5
89109   ac_status=$?
89110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89111   (exit $ac_status); }; } &&
89112          { ac_try='test -s conftest.$ac_objext'
89113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89114   (eval $ac_try) 2>&5
89115   ac_status=$?
89116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89117   (exit $ac_status); }; }; then
89118   ac_ldbl_compat=yes
89119 else
89120   echo "$as_me: failed program was:" >&5
89121 sed 's/^/| /' conftest.$ac_ext >&5
89122
89123 ac_ldbl_compat=no
89124 fi
89125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89126   if test "$ac_ldbl_compat" = yes; then
89127
89128 cat >>confdefs.h <<\_ACEOF
89129 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
89130 _ACEOF
89131
89132     port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
89133   fi
89134 esac
89135
89136
89137 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
89138
89139   if $GLIBCXX_IS_NATIVE ; then
89140     # Do checks for resource limit functions.
89141
89142   setrlimit_have_headers=yes
89143
89144
89145
89146 for ac_header in unistd.h sys/time.h sys/resource.h
89147 do
89148 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
89149 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89150   echo "$as_me:$LINENO: checking for $ac_header" >&5
89151 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89152 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89153   echo $ECHO_N "(cached) $ECHO_C" >&6
89154 fi
89155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89156 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89157 else
89158   # Is the header compilable?
89159 echo "$as_me:$LINENO: checking $ac_header usability" >&5
89160 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
89161 cat >conftest.$ac_ext <<_ACEOF
89162 /* confdefs.h.  */
89163 _ACEOF
89164 cat confdefs.h >>conftest.$ac_ext
89165 cat >>conftest.$ac_ext <<_ACEOF
89166 /* end confdefs.h.  */
89167 $ac_includes_default
89168 #include <$ac_header>
89169 _ACEOF
89170 rm -f conftest.$ac_objext
89171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89172   (eval $ac_compile) 2>conftest.er1
89173   ac_status=$?
89174   grep -v '^ *+' conftest.er1 >conftest.err
89175   rm -f conftest.er1
89176   cat conftest.err >&5
89177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89178   (exit $ac_status); } &&
89179          { ac_try='test -z "$ac_c_werror_flag"
89180                          || test ! -s conftest.err'
89181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89182   (eval $ac_try) 2>&5
89183   ac_status=$?
89184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89185   (exit $ac_status); }; } &&
89186          { ac_try='test -s conftest.$ac_objext'
89187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89188   (eval $ac_try) 2>&5
89189   ac_status=$?
89190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89191   (exit $ac_status); }; }; then
89192   ac_header_compiler=yes
89193 else
89194   echo "$as_me: failed program was:" >&5
89195 sed 's/^/| /' conftest.$ac_ext >&5
89196
89197 ac_header_compiler=no
89198 fi
89199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89200 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
89201 echo "${ECHO_T}$ac_header_compiler" >&6
89202
89203 # Is the header present?
89204 echo "$as_me:$LINENO: checking $ac_header presence" >&5
89205 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
89206 cat >conftest.$ac_ext <<_ACEOF
89207 /* confdefs.h.  */
89208 _ACEOF
89209 cat confdefs.h >>conftest.$ac_ext
89210 cat >>conftest.$ac_ext <<_ACEOF
89211 /* end confdefs.h.  */
89212 #include <$ac_header>
89213 _ACEOF
89214 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
89215   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
89216   ac_status=$?
89217   grep -v '^ *+' conftest.er1 >conftest.err
89218   rm -f conftest.er1
89219   cat conftest.err >&5
89220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89221   (exit $ac_status); } >/dev/null; then
89222   if test -s conftest.err; then
89223     ac_cpp_err=$ac_c_preproc_warn_flag
89224     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
89225   else
89226     ac_cpp_err=
89227   fi
89228 else
89229   ac_cpp_err=yes
89230 fi
89231 if test -z "$ac_cpp_err"; then
89232   ac_header_preproc=yes
89233 else
89234   echo "$as_me: failed program was:" >&5
89235 sed 's/^/| /' conftest.$ac_ext >&5
89236
89237   ac_header_preproc=no
89238 fi
89239 rm -f conftest.err conftest.$ac_ext
89240 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
89241 echo "${ECHO_T}$ac_header_preproc" >&6
89242
89243 # So?  What about this header?
89244 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
89245   yes:no: )
89246     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
89247 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
89248     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
89249 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
89250     ac_header_preproc=yes
89251     ;;
89252   no:yes:* )
89253     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
89254 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
89255     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
89256 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
89257     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
89258 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
89259     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
89260 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
89261     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
89262 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
89263     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
89264 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
89265     (
89266       cat <<\_ASBOX
89267 ## ----------------------------------------- ##
89268 ## Report this to the package-unused lists.  ##
89269 ## ----------------------------------------- ##
89270 _ASBOX
89271     ) |
89272       sed "s/^/$as_me: WARNING:     /" >&2
89273     ;;
89274 esac
89275 echo "$as_me:$LINENO: checking for $ac_header" >&5
89276 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89277 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89278   echo $ECHO_N "(cached) $ECHO_C" >&6
89279 else
89280   eval "$as_ac_Header=\$ac_header_preproc"
89281 fi
89282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89283 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89284
89285 fi
89286 if test `eval echo '${'$as_ac_Header'}'` = yes; then
89287   cat >>confdefs.h <<_ACEOF
89288 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
89289 _ACEOF
89290
89291 else
89292   setrlimit_have_headers=no
89293 fi
89294
89295 done
89296
89297   # If don't have the headers, then we can't run the tests now, and we
89298   # won't be seeing any of these during testsuite compilation.
89299   if test $setrlimit_have_headers = yes; then
89300     # Can't do these in a loop, else the resulting syntax is wrong.
89301
89302   echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
89303 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
89304   cat >conftest.$ac_ext <<_ACEOF
89305 /* confdefs.h.  */
89306 _ACEOF
89307 cat confdefs.h >>conftest.$ac_ext
89308 cat >>conftest.$ac_ext <<_ACEOF
89309 /* end confdefs.h.  */
89310 #include <unistd.h>
89311      #include <sys/time.h>
89312      #include <sys/resource.h>
89313
89314 int
89315 main ()
89316 {
89317  int f = RLIMIT_DATA ;
89318   ;
89319   return 0;
89320 }
89321 _ACEOF
89322 rm -f conftest.$ac_objext
89323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89324   (eval $ac_compile) 2>conftest.er1
89325   ac_status=$?
89326   grep -v '^ *+' conftest.er1 >conftest.err
89327   rm -f conftest.er1
89328   cat conftest.err >&5
89329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89330   (exit $ac_status); } &&
89331          { ac_try='test -z "$ac_c_werror_flag"
89332                          || test ! -s conftest.err'
89333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89334   (eval $ac_try) 2>&5
89335   ac_status=$?
89336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89337   (exit $ac_status); }; } &&
89338          { ac_try='test -s conftest.$ac_objext'
89339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89340   (eval $ac_try) 2>&5
89341   ac_status=$?
89342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89343   (exit $ac_status); }; }; then
89344   glibcxx_mresult=1
89345 else
89346   echo "$as_me: failed program was:" >&5
89347 sed 's/^/| /' conftest.$ac_ext >&5
89348
89349 glibcxx_mresult=0
89350 fi
89351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89352
89353 cat >>confdefs.h <<_ACEOF
89354 #define HAVE_LIMIT_DATA $glibcxx_mresult
89355 _ACEOF
89356
89357   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
89358   echo "$as_me:$LINENO: result: $res" >&5
89359 echo "${ECHO_T}$res" >&6
89360
89361
89362   echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
89363 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
89364   cat >conftest.$ac_ext <<_ACEOF
89365 /* confdefs.h.  */
89366 _ACEOF
89367 cat confdefs.h >>conftest.$ac_ext
89368 cat >>conftest.$ac_ext <<_ACEOF
89369 /* end confdefs.h.  */
89370 #include <unistd.h>
89371      #include <sys/time.h>
89372      #include <sys/resource.h>
89373
89374 int
89375 main ()
89376 {
89377  int f = RLIMIT_RSS ;
89378   ;
89379   return 0;
89380 }
89381 _ACEOF
89382 rm -f conftest.$ac_objext
89383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89384   (eval $ac_compile) 2>conftest.er1
89385   ac_status=$?
89386   grep -v '^ *+' conftest.er1 >conftest.err
89387   rm -f conftest.er1
89388   cat conftest.err >&5
89389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89390   (exit $ac_status); } &&
89391          { ac_try='test -z "$ac_c_werror_flag"
89392                          || test ! -s conftest.err'
89393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89394   (eval $ac_try) 2>&5
89395   ac_status=$?
89396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89397   (exit $ac_status); }; } &&
89398          { ac_try='test -s conftest.$ac_objext'
89399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89400   (eval $ac_try) 2>&5
89401   ac_status=$?
89402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89403   (exit $ac_status); }; }; then
89404   glibcxx_mresult=1
89405 else
89406   echo "$as_me: failed program was:" >&5
89407 sed 's/^/| /' conftest.$ac_ext >&5
89408
89409 glibcxx_mresult=0
89410 fi
89411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89412
89413 cat >>confdefs.h <<_ACEOF
89414 #define HAVE_LIMIT_RSS $glibcxx_mresult
89415 _ACEOF
89416
89417   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
89418   echo "$as_me:$LINENO: result: $res" >&5
89419 echo "${ECHO_T}$res" >&6
89420
89421
89422   echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
89423 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
89424   cat >conftest.$ac_ext <<_ACEOF
89425 /* confdefs.h.  */
89426 _ACEOF
89427 cat confdefs.h >>conftest.$ac_ext
89428 cat >>conftest.$ac_ext <<_ACEOF
89429 /* end confdefs.h.  */
89430 #include <unistd.h>
89431      #include <sys/time.h>
89432      #include <sys/resource.h>
89433
89434 int
89435 main ()
89436 {
89437  int f = RLIMIT_VMEM ;
89438   ;
89439   return 0;
89440 }
89441 _ACEOF
89442 rm -f conftest.$ac_objext
89443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89444   (eval $ac_compile) 2>conftest.er1
89445   ac_status=$?
89446   grep -v '^ *+' conftest.er1 >conftest.err
89447   rm -f conftest.er1
89448   cat conftest.err >&5
89449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89450   (exit $ac_status); } &&
89451          { ac_try='test -z "$ac_c_werror_flag"
89452                          || test ! -s conftest.err'
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); }; } &&
89458          { ac_try='test -s conftest.$ac_objext'
89459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89460   (eval $ac_try) 2>&5
89461   ac_status=$?
89462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89463   (exit $ac_status); }; }; then
89464   glibcxx_mresult=1
89465 else
89466   echo "$as_me: failed program was:" >&5
89467 sed 's/^/| /' conftest.$ac_ext >&5
89468
89469 glibcxx_mresult=0
89470 fi
89471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89472
89473 cat >>confdefs.h <<_ACEOF
89474 #define HAVE_LIMIT_VMEM $glibcxx_mresult
89475 _ACEOF
89476
89477   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
89478   echo "$as_me:$LINENO: result: $res" >&5
89479 echo "${ECHO_T}$res" >&6
89480
89481
89482   echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
89483 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
89484   cat >conftest.$ac_ext <<_ACEOF
89485 /* confdefs.h.  */
89486 _ACEOF
89487 cat confdefs.h >>conftest.$ac_ext
89488 cat >>conftest.$ac_ext <<_ACEOF
89489 /* end confdefs.h.  */
89490 #include <unistd.h>
89491      #include <sys/time.h>
89492      #include <sys/resource.h>
89493
89494 int
89495 main ()
89496 {
89497  int f = RLIMIT_AS ;
89498   ;
89499   return 0;
89500 }
89501 _ACEOF
89502 rm -f conftest.$ac_objext
89503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89504   (eval $ac_compile) 2>conftest.er1
89505   ac_status=$?
89506   grep -v '^ *+' conftest.er1 >conftest.err
89507   rm -f conftest.er1
89508   cat conftest.err >&5
89509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89510   (exit $ac_status); } &&
89511          { ac_try='test -z "$ac_c_werror_flag"
89512                          || test ! -s conftest.err'
89513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89514   (eval $ac_try) 2>&5
89515   ac_status=$?
89516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89517   (exit $ac_status); }; } &&
89518          { ac_try='test -s conftest.$ac_objext'
89519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89520   (eval $ac_try) 2>&5
89521   ac_status=$?
89522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89523   (exit $ac_status); }; }; then
89524   glibcxx_mresult=1
89525 else
89526   echo "$as_me: failed program was:" >&5
89527 sed 's/^/| /' conftest.$ac_ext >&5
89528
89529 glibcxx_mresult=0
89530 fi
89531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89532
89533 cat >>confdefs.h <<_ACEOF
89534 #define HAVE_LIMIT_AS $glibcxx_mresult
89535 _ACEOF
89536
89537   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
89538   echo "$as_me:$LINENO: result: $res" >&5
89539 echo "${ECHO_T}$res" >&6
89540
89541
89542   echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
89543 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
89544   cat >conftest.$ac_ext <<_ACEOF
89545 /* confdefs.h.  */
89546 _ACEOF
89547 cat confdefs.h >>conftest.$ac_ext
89548 cat >>conftest.$ac_ext <<_ACEOF
89549 /* end confdefs.h.  */
89550 #include <unistd.h>
89551      #include <sys/time.h>
89552      #include <sys/resource.h>
89553
89554 int
89555 main ()
89556 {
89557  int f = RLIMIT_FSIZE ;
89558   ;
89559   return 0;
89560 }
89561 _ACEOF
89562 rm -f conftest.$ac_objext
89563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89564   (eval $ac_compile) 2>conftest.er1
89565   ac_status=$?
89566   grep -v '^ *+' conftest.er1 >conftest.err
89567   rm -f conftest.er1
89568   cat conftest.err >&5
89569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89570   (exit $ac_status); } &&
89571          { ac_try='test -z "$ac_c_werror_flag"
89572                          || test ! -s conftest.err'
89573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89574   (eval $ac_try) 2>&5
89575   ac_status=$?
89576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89577   (exit $ac_status); }; } &&
89578          { ac_try='test -s conftest.$ac_objext'
89579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89580   (eval $ac_try) 2>&5
89581   ac_status=$?
89582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89583   (exit $ac_status); }; }; then
89584   glibcxx_mresult=1
89585 else
89586   echo "$as_me: failed program was:" >&5
89587 sed 's/^/| /' conftest.$ac_ext >&5
89588
89589 glibcxx_mresult=0
89590 fi
89591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89592
89593 cat >>confdefs.h <<_ACEOF
89594 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
89595 _ACEOF
89596
89597   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
89598   echo "$as_me:$LINENO: result: $res" >&5
89599 echo "${ECHO_T}$res" >&6
89600
89601
89602     # Check for rlimit, setrlimit.
89603     if test "${ac_setrlimit+set}" = set; then
89604   echo $ECHO_N "(cached) $ECHO_C" >&6
89605 else
89606
89607       cat >conftest.$ac_ext <<_ACEOF
89608 /* confdefs.h.  */
89609 _ACEOF
89610 cat confdefs.h >>conftest.$ac_ext
89611 cat >>conftest.$ac_ext <<_ACEOF
89612 /* end confdefs.h.  */
89613 #include <unistd.h>
89614          #include <sys/time.h>
89615          #include <sys/resource.h>
89616
89617 int
89618 main ()
89619 {
89620 struct rlimit r;
89621          setrlimit(0, &r);
89622   ;
89623   return 0;
89624 }
89625 _ACEOF
89626 rm -f conftest.$ac_objext
89627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89628   (eval $ac_compile) 2>conftest.er1
89629   ac_status=$?
89630   grep -v '^ *+' conftest.er1 >conftest.err
89631   rm -f conftest.er1
89632   cat conftest.err >&5
89633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89634   (exit $ac_status); } &&
89635          { ac_try='test -z "$ac_c_werror_flag"
89636                          || test ! -s conftest.err'
89637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89638   (eval $ac_try) 2>&5
89639   ac_status=$?
89640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89641   (exit $ac_status); }; } &&
89642          { ac_try='test -s conftest.$ac_objext'
89643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89644   (eval $ac_try) 2>&5
89645   ac_status=$?
89646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89647   (exit $ac_status); }; }; then
89648   ac_setrlimit=yes
89649 else
89650   echo "$as_me: failed program was:" >&5
89651 sed 's/^/| /' conftest.$ac_ext >&5
89652
89653 ac_setrlimit=no
89654 fi
89655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89656
89657 fi
89658
89659   fi
89660
89661   echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
89662 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
89663   if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
89664     ac_res_limits=yes
89665
89666 cat >>confdefs.h <<\_ACEOF
89667 #define _GLIBCXX_RES_LIMITS 1
89668 _ACEOF
89669
89670   else
89671     ac_res_limits=no
89672   fi
89673   echo "$as_me:$LINENO: result: $ac_res_limits" >&5
89674 echo "${ECHO_T}$ac_res_limits" >&6
89675
89676
89677     # Look for setenv, so that extended locale tests can be performed.
89678
89679   echo "$as_me:$LINENO: checking for setenv declaration" >&5
89680 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
89681   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
89682     if test "${glibcxx_cv_func_setenv_use+set}" = set; then
89683   echo $ECHO_N "(cached) $ECHO_C" >&6
89684 else
89685
89686
89687
89688       ac_ext=cc
89689 ac_cpp='$CXXCPP $CPPFLAGS'
89690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89693
89694       cat >conftest.$ac_ext <<_ACEOF
89695 /* confdefs.h.  */
89696 _ACEOF
89697 cat confdefs.h >>conftest.$ac_ext
89698 cat >>conftest.$ac_ext <<_ACEOF
89699 /* end confdefs.h.  */
89700 #include <stdlib.h>
89701 int
89702 main ()
89703 {
89704  setenv(0, 0, 0);
89705   ;
89706   return 0;
89707 }
89708 _ACEOF
89709 rm -f conftest.$ac_objext
89710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89711   (eval $ac_compile) 2>conftest.er1
89712   ac_status=$?
89713   grep -v '^ *+' conftest.er1 >conftest.err
89714   rm -f conftest.er1
89715   cat conftest.err >&5
89716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89717   (exit $ac_status); } &&
89718          { ac_try='test -z "$ac_cxx_werror_flag"
89719                          || test ! -s conftest.err'
89720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89721   (eval $ac_try) 2>&5
89722   ac_status=$?
89723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89724   (exit $ac_status); }; } &&
89725          { ac_try='test -s conftest.$ac_objext'
89726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89727   (eval $ac_try) 2>&5
89728   ac_status=$?
89729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89730   (exit $ac_status); }; }; then
89731   glibcxx_cv_func_setenv_use=yes
89732 else
89733   echo "$as_me: failed program was:" >&5
89734 sed 's/^/| /' conftest.$ac_ext >&5
89735
89736 glibcxx_cv_func_setenv_use=no
89737 fi
89738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89739       ac_ext=c
89740 ac_cpp='$CPP $CPPFLAGS'
89741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89744
89745
89746 fi
89747
89748   fi
89749   echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
89750 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
89751   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
89752
89753 for ac_func in setenv
89754 do
89755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89756 echo "$as_me:$LINENO: checking for $ac_func" >&5
89757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89758 if eval "test \"\${$as_ac_var+set}\" = set"; then
89759   echo $ECHO_N "(cached) $ECHO_C" >&6
89760 else
89761   if test x$gcc_no_link = xyes; then
89762   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89764    { (exit 1); exit 1; }; }
89765 fi
89766 cat >conftest.$ac_ext <<_ACEOF
89767 /* confdefs.h.  */
89768 _ACEOF
89769 cat confdefs.h >>conftest.$ac_ext
89770 cat >>conftest.$ac_ext <<_ACEOF
89771 /* end confdefs.h.  */
89772 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89773    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89774 #define $ac_func innocuous_$ac_func
89775
89776 /* System header to define __stub macros and hopefully few prototypes,
89777     which can conflict with char $ac_func (); below.
89778     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89779     <limits.h> exists even on freestanding compilers.  */
89780
89781 #ifdef __STDC__
89782 # include <limits.h>
89783 #else
89784 # include <assert.h>
89785 #endif
89786
89787 #undef $ac_func
89788
89789 /* Override any gcc2 internal prototype to avoid an error.  */
89790 #ifdef __cplusplus
89791 extern "C"
89792 {
89793 #endif
89794 /* We use char because int might match the return type of a gcc2
89795    builtin and then its argument prototype would still apply.  */
89796 char $ac_func ();
89797 /* The GNU C library defines this for functions which it implements
89798     to always fail with ENOSYS.  Some functions are actually named
89799     something starting with __ and the normal name is an alias.  */
89800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89801 choke me
89802 #else
89803 char (*f) () = $ac_func;
89804 #endif
89805 #ifdef __cplusplus
89806 }
89807 #endif
89808
89809 int
89810 main ()
89811 {
89812 return f != $ac_func;
89813   ;
89814   return 0;
89815 }
89816 _ACEOF
89817 rm -f conftest.$ac_objext conftest$ac_exeext
89818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89819   (eval $ac_link) 2>conftest.er1
89820   ac_status=$?
89821   grep -v '^ *+' conftest.er1 >conftest.err
89822   rm -f conftest.er1
89823   cat conftest.err >&5
89824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89825   (exit $ac_status); } &&
89826          { ac_try='test -z "$ac_c_werror_flag"
89827                          || test ! -s conftest.err'
89828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89829   (eval $ac_try) 2>&5
89830   ac_status=$?
89831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89832   (exit $ac_status); }; } &&
89833          { ac_try='test -s conftest$ac_exeext'
89834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89835   (eval $ac_try) 2>&5
89836   ac_status=$?
89837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89838   (exit $ac_status); }; }; then
89839   eval "$as_ac_var=yes"
89840 else
89841   echo "$as_me: failed program was:" >&5
89842 sed 's/^/| /' conftest.$ac_ext >&5
89843
89844 eval "$as_ac_var=no"
89845 fi
89846 rm -f conftest.err conftest.$ac_objext \
89847       conftest$ac_exeext conftest.$ac_ext
89848 fi
89849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89850 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89851 if test `eval echo '${'$as_ac_var'}'` = yes; then
89852   cat >>confdefs.h <<_ACEOF
89853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89854 _ACEOF
89855
89856 fi
89857 done
89858
89859   fi
89860
89861   fi
89862
89863   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
89864      test $enable_symvers != no; then
89865     case "$host" in
89866       *-*-cygwin*)
89867         enable_abi_check=no ;;
89868       *)
89869         enable_abi_check=yes ;;
89870     esac
89871   else
89872     # Only build this as native, since automake does not understand
89873     # CXX_FOR_BUILD.
89874     enable_abi_check=no
89875   fi
89876
89877   # Export file names for ABI checking.
89878   baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
89879
89880
89881
89882 # Propagate the target-specific source directories through the build chain.
89883 ATOMICITY_SRCDIR=config/${atomicity_dir}
89884 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
89885 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
89886 OS_INC_SRCDIR=config/${os_include_dir}
89887 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
89888
89889
89890
89891
89892
89893
89894 # Determine cross-compile flags and AM_CONDITIONALs.
89895 #AC_SUBST(GLIBCXX_IS_NATIVE)
89896 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
89897 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
89898 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH,  test $need_libmath = yes)
89899
89900
89901 if test $is_hosted = yes; then
89902   GLIBCXX_HOSTED_TRUE=
89903   GLIBCXX_HOSTED_FALSE='#'
89904 else
89905   GLIBCXX_HOSTED_TRUE='#'
89906   GLIBCXX_HOSTED_FALSE=
89907 fi
89908
89909
89910
89911
89912 if test $enable_libstdcxx_pch = yes; then
89913   GLIBCXX_BUILD_PCH_TRUE=
89914   GLIBCXX_BUILD_PCH_FALSE='#'
89915 else
89916   GLIBCXX_BUILD_PCH_TRUE='#'
89917   GLIBCXX_BUILD_PCH_FALSE=
89918 fi
89919
89920
89921
89922
89923 if test $enable_cheaders = c; then
89924   GLIBCXX_C_HEADERS_C_TRUE=
89925   GLIBCXX_C_HEADERS_C_FALSE='#'
89926 else
89927   GLIBCXX_C_HEADERS_C_TRUE='#'
89928   GLIBCXX_C_HEADERS_C_FALSE=
89929 fi
89930
89931
89932
89933
89934 if test $enable_cheaders = c_std; then
89935   GLIBCXX_C_HEADERS_C_STD_TRUE=
89936   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
89937 else
89938   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
89939   GLIBCXX_C_HEADERS_C_STD_FALSE=
89940 fi
89941
89942
89943
89944
89945 if test $c_compatibility = yes; then
89946   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
89947   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
89948 else
89949   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
89950   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
89951 fi
89952
89953
89954
89955
89956 if test $enable_libstdcxx_debug = yes; then
89957   GLIBCXX_BUILD_DEBUG_TRUE=
89958   GLIBCXX_BUILD_DEBUG_FALSE='#'
89959 else
89960   GLIBCXX_BUILD_DEBUG_TRUE='#'
89961   GLIBCXX_BUILD_DEBUG_FALSE=
89962 fi
89963
89964
89965
89966
89967 if test $enable_symvers != no; then
89968   ENABLE_SYMVERS_TRUE=
89969   ENABLE_SYMVERS_FALSE='#'
89970 else
89971   ENABLE_SYMVERS_TRUE='#'
89972   ENABLE_SYMVERS_FALSE=
89973 fi
89974
89975
89976
89977
89978 if test $enable_symvers = gnu; then
89979   ENABLE_SYMVERS_GNU_TRUE=
89980   ENABLE_SYMVERS_GNU_FALSE='#'
89981 else
89982   ENABLE_SYMVERS_GNU_TRUE='#'
89983   ENABLE_SYMVERS_GNU_FALSE=
89984 fi
89985
89986
89987
89988
89989 if test $enable_symvers = gnu-versioned-namespace; then
89990   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
89991   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
89992 else
89993   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
89994   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
89995 fi
89996
89997
89998
89999
90000 if test $enable_symvers = darwin; then
90001   ENABLE_SYMVERS_DARWIN_TRUE=
90002   ENABLE_SYMVERS_DARWIN_FALSE='#'
90003 else
90004   ENABLE_SYMVERS_DARWIN_TRUE='#'
90005   ENABLE_SYMVERS_DARWIN_FALSE=
90006 fi
90007
90008
90009
90010
90011 if test $ac_ldbl_compat = yes; then
90012   GLIBCXX_LDBL_COMPAT_TRUE=
90013   GLIBCXX_LDBL_COMPAT_FALSE='#'
90014 else
90015   GLIBCXX_LDBL_COMPAT_TRUE='#'
90016   GLIBCXX_LDBL_COMPAT_FALSE=
90017 fi
90018
90019
90020
90021
90022 cat >confcache <<\_ACEOF
90023 # This file is a shell script that caches the results of configure
90024 # tests run on this system so they can be shared between configure
90025 # scripts and configure runs, see configure's option --config-cache.
90026 # It is not useful on other systems.  If it contains results you don't
90027 # want to keep, you may remove or edit it.
90028 #
90029 # config.status only pays attention to the cache file if you give it
90030 # the --recheck option to rerun configure.
90031 #
90032 # `ac_cv_env_foo' variables (set or unset) will be overridden when
90033 # loading this file, other *unset* `ac_cv_foo' will be assigned the
90034 # following values.
90035
90036 _ACEOF
90037
90038 # The following way of writing the cache mishandles newlines in values,
90039 # but we know of no workaround that is simple, portable, and efficient.
90040 # So, don't put newlines in cache variables' values.
90041 # Ultrix sh set writes to stderr and can't be redirected directly,
90042 # and sets the high bit in the cache file unless we assign to the vars.
90043 {
90044   (set) 2>&1 |
90045     case `(ac_space=' '; set | grep ac_space) 2>&1` in
90046     *ac_space=\ *)
90047       # `set' does not quote correctly, so add quotes (double-quote
90048       # substitution turns \\\\ into \\, and sed turns \\ into \).
90049       sed -n \
90050         "s/'/'\\\\''/g;
90051           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
90052       ;;
90053     *)
90054       # `set' quotes correctly as required by POSIX, so do not add quotes.
90055       sed -n \
90056         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
90057       ;;
90058     esac;
90059 } |
90060   sed '
90061      t clear
90062      : clear
90063      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
90064      t end
90065      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
90066      : end' >>confcache
90067 if diff $cache_file confcache >/dev/null 2>&1; then :; else
90068   if test -w $cache_file; then
90069     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
90070     cat confcache >$cache_file
90071   else
90072     echo "not updating unwritable cache $cache_file"
90073   fi
90074 fi
90075 rm -f confcache
90076
90077 if test ${multilib} = yes; then
90078   multilib_arg="--enable-multilib"
90079 else
90080   multilib_arg=
90081 fi
90082
90083 # Export all the install information.
90084
90085   glibcxx_toolexecdir=no
90086   glibcxx_toolexeclibdir=no
90087   glibcxx_prefixdir=$prefix
90088
90089   echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
90090 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
90091
90092 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
90093 if test "${with_gxx_include_dir+set}" = set; then
90094   withval="$with_gxx_include_dir"
90095   case "$withval" in
90096       yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
90097 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
90098    { (exit 1); exit 1; }; } ;;
90099       no)  gxx_include_dir=no ;;
90100       *)   gxx_include_dir=$withval ;;
90101      esac
90102 else
90103   gxx_include_dir=no
90104 fi;
90105   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
90106 echo "${ECHO_T}$gxx_include_dir" >&6
90107
90108   echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
90109 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
90110   # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
90111 if test "${enable_version_specific_runtime_libs+set}" = set; then
90112   enableval="$enable_version_specific_runtime_libs"
90113   case "$enableval" in
90114       yes) version_specific_libs=yes ;;
90115       no)  version_specific_libs=no ;;
90116       *)   { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
90117 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
90118    { (exit 1); exit 1; }; };;
90119      esac
90120 else
90121   version_specific_libs=no
90122 fi;
90123   echo "$as_me:$LINENO: result: $version_specific_libs" >&5
90124 echo "${ECHO_T}$version_specific_libs" >&6
90125
90126   # Default case for install directory for include files.
90127   if test $version_specific_libs = no && test $gxx_include_dir = no; then
90128     gxx_include_dir='${prefix}/include/c++/${gcc_version}'
90129   fi
90130
90131   # Version-specific runtime libs processing.
90132   if test $version_specific_libs = yes; then
90133     # Need the gcc compiler version to know where to install libraries
90134     # and header files if --enable-version-specific-runtime-libs option
90135     # is selected.  FIXME: these variables are misnamed, there are
90136     # no executables installed in _toolexecdir or _toolexeclibdir.
90137     if test x"$gxx_include_dir" = x"no"; then
90138       gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
90139     fi
90140     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
90141     glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
90142   fi
90143
90144   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
90145   # Install a library built with a cross compiler in tooldir, not libdir.
90146   if test x"$glibcxx_toolexecdir" = x"no"; then
90147     if test -n "$with_cross_host" &&
90148        test x"$with_cross_host" != x"no"; then
90149       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
90150       glibcxx_toolexeclibdir='${toolexecdir}/lib'
90151     else
90152       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
90153       glibcxx_toolexeclibdir='${libdir}'
90154     fi
90155     multi_os_directory=`$CXX -print-multi-os-directory`
90156     case $multi_os_directory in
90157       .) ;; # Avoid trailing /.
90158       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
90159     esac
90160   fi
90161
90162   echo "$as_me:$LINENO: checking for install location" >&5
90163 echo $ECHO_N "checking for install location... $ECHO_C" >&6
90164   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
90165 echo "${ECHO_T}$gxx_include_dir" >&6
90166
90167
90168
90169
90170
90171
90172
90173 # Export all the include and flag information to Makefiles.
90174
90175   # Used for every C++ compile we perform.
90176   GLIBCXX_INCLUDES="\
90177 -I$glibcxx_builddir/include/$host_alias \
90178 -I$glibcxx_builddir/include \
90179 -I$glibcxx_srcdir/libsupc++"
90180
90181   # For Canadian crosses, pick this up too.
90182   if test $CANADIAN = yes; then
90183     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
90184   fi
90185
90186   # Stuff in the actual top level.  Currently only used by libsupc++ to
90187   # get unwind* headers from the gcc dir.
90188   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
90189   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
90190
90191   # Now, export this to all the little Makefiles....
90192
90193
90194
90195
90196   # Optimization flags that are probably a good idea for thrill-seekers. Just
90197   # uncomment the lines below and make, everything else is ready to go...
90198   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
90199   OPTIMIZE_CXXFLAGS=
90200
90201
90202   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
90203
90204
90205
90206 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
90207    grep "enable shared" > /dev/null;
90208 then
90209   LIBSUPCXX_PICFLAGS=-prefer-pic
90210 else
90211   LIBSUPCXX_PICFLAGS=
90212 fi
90213
90214
90215                                                                       ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
90216
90217           ac_config_files="$ac_config_files scripts/testsuite_flags"
90218
90219
90220           ac_config_commands="$ac_config_commands default"
90221
90222
90223 cat >confcache <<\_ACEOF
90224 # This file is a shell script that caches the results of configure
90225 # tests run on this system so they can be shared between configure
90226 # scripts and configure runs, see configure's option --config-cache.
90227 # It is not useful on other systems.  If it contains results you don't
90228 # want to keep, you may remove or edit it.
90229 #
90230 # config.status only pays attention to the cache file if you give it
90231 # the --recheck option to rerun configure.
90232 #
90233 # `ac_cv_env_foo' variables (set or unset) will be overridden when
90234 # loading this file, other *unset* `ac_cv_foo' will be assigned the
90235 # following values.
90236
90237 _ACEOF
90238
90239 # The following way of writing the cache mishandles newlines in values,
90240 # but we know of no workaround that is simple, portable, and efficient.
90241 # So, don't put newlines in cache variables' values.
90242 # Ultrix sh set writes to stderr and can't be redirected directly,
90243 # and sets the high bit in the cache file unless we assign to the vars.
90244 {
90245   (set) 2>&1 |
90246     case `(ac_space=' '; set | grep ac_space) 2>&1` in
90247     *ac_space=\ *)
90248       # `set' does not quote correctly, so add quotes (double-quote
90249       # substitution turns \\\\ into \\, and sed turns \\ into \).
90250       sed -n \
90251         "s/'/'\\\\''/g;
90252           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
90253       ;;
90254     *)
90255       # `set' quotes correctly as required by POSIX, so do not add quotes.
90256       sed -n \
90257         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
90258       ;;
90259     esac;
90260 } |
90261   sed '
90262      t clear
90263      : clear
90264      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
90265      t end
90266      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
90267      : end' >>confcache
90268 if diff $cache_file confcache >/dev/null 2>&1; then :; else
90269   if test -w $cache_file; then
90270     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
90271     cat confcache >$cache_file
90272   else
90273     echo "not updating unwritable cache $cache_file"
90274   fi
90275 fi
90276 rm -f confcache
90277
90278 test "x$prefix" = xNONE && prefix=$ac_default_prefix
90279 # Let make expand exec_prefix.
90280 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
90281
90282 # VPATH may cause trouble with some makes, so we remove $(srcdir),
90283 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
90284 # trailing colons and then remove the whole line if VPATH becomes empty
90285 # (actually we leave an empty line to preserve line numbers).
90286 if test "x$srcdir" = x.; then
90287   ac_vpsub='/^[  ]*VPATH[        ]*=/{
90288 s/:*\$(srcdir):*/:/;
90289 s/:*\${srcdir}:*/:/;
90290 s/:*@srcdir@:*/:/;
90291 s/^\([^=]*=[     ]*\):*/\1/;
90292 s/:*$//;
90293 s/^[^=]*=[       ]*$//;
90294 }'
90295 fi
90296
90297 DEFS=-DHAVE_CONFIG_H
90298
90299 ac_libobjs=
90300 ac_ltlibobjs=
90301 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
90302   # 1. Remove the extension, and $U if already installed.
90303   ac_i=`echo "$ac_i" |
90304          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
90305   # 2. Add them.
90306   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
90307   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
90308 done
90309 LIBOBJS=$ac_libobjs
90310
90311 LTLIBOBJS=$ac_ltlibobjs
90312
90313
90314 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
90315   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
90316 Usually this means the macro was only invoked conditionally." >&5
90317 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
90318 Usually this means the macro was only invoked conditionally." >&2;}
90319    { (exit 1); exit 1; }; }
90320 fi
90321 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
90322   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
90323 Usually this means the macro was only invoked conditionally." >&5
90324 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
90325 Usually this means the macro was only invoked conditionally." >&2;}
90326    { (exit 1); exit 1; }; }
90327 fi
90328 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
90329   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
90330 Usually this means the macro was only invoked conditionally." >&5
90331 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
90332 Usually this means the macro was only invoked conditionally." >&2;}
90333    { (exit 1); exit 1; }; }
90334 fi
90335 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
90336   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
90337 Usually this means the macro was only invoked conditionally." >&5
90338 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
90339 Usually this means the macro was only invoked conditionally." >&2;}
90340    { (exit 1); exit 1; }; }
90341 fi
90342 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
90343   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
90344 Usually this means the macro was only invoked conditionally." >&5
90345 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
90346 Usually this means the macro was only invoked conditionally." >&2;}
90347    { (exit 1); exit 1; }; }
90348 fi
90349 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
90350   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
90351 Usually this means the macro was only invoked conditionally." >&5
90352 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
90353 Usually this means the macro was only invoked conditionally." >&2;}
90354    { (exit 1); exit 1; }; }
90355 fi
90356 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
90357   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
90358 Usually this means the macro was only invoked conditionally." >&5
90359 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
90360 Usually this means the macro was only invoked conditionally." >&2;}
90361    { (exit 1); exit 1; }; }
90362 fi
90363 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
90364   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
90365 Usually this means the macro was only invoked conditionally." >&5
90366 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
90367 Usually this means the macro was only invoked conditionally." >&2;}
90368    { (exit 1); exit 1; }; }
90369 fi
90370 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
90371   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
90372 Usually this means the macro was only invoked conditionally." >&5
90373 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
90374 Usually this means the macro was only invoked conditionally." >&2;}
90375    { (exit 1); exit 1; }; }
90376 fi
90377 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
90378   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
90379 Usually this means the macro was only invoked conditionally." >&5
90380 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
90381 Usually this means the macro was only invoked conditionally." >&2;}
90382    { (exit 1); exit 1; }; }
90383 fi
90384 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
90385   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
90386 Usually this means the macro was only invoked conditionally." >&5
90387 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
90388 Usually this means the macro was only invoked conditionally." >&2;}
90389    { (exit 1); exit 1; }; }
90390 fi
90391 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
90392   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
90393 Usually this means the macro was only invoked conditionally." >&5
90394 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
90395 Usually this means the macro was only invoked conditionally." >&2;}
90396    { (exit 1); exit 1; }; }
90397 fi
90398
90399 : ${CONFIG_STATUS=./config.status}
90400 ac_clean_files_save=$ac_clean_files
90401 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
90402 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
90403 echo "$as_me: creating $CONFIG_STATUS" >&6;}
90404 cat >$CONFIG_STATUS <<_ACEOF
90405 #! $SHELL
90406 # Generated by $as_me.
90407 # Run this file to recreate the current configuration.
90408 # Compiler output produced by configure, useful for debugging
90409 # configure, is in config.log if it exists.
90410
90411 debug=false
90412 ac_cs_recheck=false
90413 ac_cs_silent=false
90414 SHELL=\${CONFIG_SHELL-$SHELL}
90415 _ACEOF
90416
90417 cat >>$CONFIG_STATUS <<\_ACEOF
90418 ## --------------------- ##
90419 ## M4sh Initialization.  ##
90420 ## --------------------- ##
90421
90422 # Be Bourne compatible
90423 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
90424   emulate sh
90425   NULLCMD=:
90426   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
90427   # is contrary to our usage.  Disable this feature.
90428   alias -g '${1+"$@"}'='"$@"'
90429 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
90430   set -o posix
90431 fi
90432 DUALCASE=1; export DUALCASE # for MKS sh
90433
90434 # Support unset when possible.
90435 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
90436   as_unset=unset
90437 else
90438   as_unset=false
90439 fi
90440
90441
90442 # Work around bugs in pre-3.0 UWIN ksh.
90443 $as_unset ENV MAIL MAILPATH
90444 PS1='$ '
90445 PS2='> '
90446 PS4='+ '
90447
90448 # NLS nuisances.
90449 for as_var in \
90450   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
90451   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
90452   LC_TELEPHONE LC_TIME
90453 do
90454   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
90455     eval $as_var=C; export $as_var
90456   else
90457     $as_unset $as_var
90458   fi
90459 done
90460
90461 # Required to use basename.
90462 if expr a : '\(a\)' >/dev/null 2>&1; then
90463   as_expr=expr
90464 else
90465   as_expr=false
90466 fi
90467
90468 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
90469   as_basename=basename
90470 else
90471   as_basename=false
90472 fi
90473
90474
90475 # Name of the executable.
90476 as_me=`$as_basename "$0" ||
90477 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
90478          X"$0" : 'X\(//\)$' \| \
90479          X"$0" : 'X\(/\)$' \| \
90480          .     : '\(.\)' 2>/dev/null ||
90481 echo X/"$0" |
90482     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
90483           /^X\/\(\/\/\)$/{ s//\1/; q; }
90484           /^X\/\(\/\).*/{ s//\1/; q; }
90485           s/.*/./; q'`
90486
90487
90488 # PATH needs CR, and LINENO needs CR and PATH.
90489 # Avoid depending upon Character Ranges.
90490 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
90491 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
90492 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
90493 as_cr_digits='0123456789'
90494 as_cr_alnum=$as_cr_Letters$as_cr_digits
90495
90496 # The user is always right.
90497 if test "${PATH_SEPARATOR+set}" != set; then
90498   echo "#! /bin/sh" >conf$$.sh
90499   echo  "exit 0"   >>conf$$.sh
90500   chmod +x conf$$.sh
90501   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
90502     PATH_SEPARATOR=';'
90503   else
90504     PATH_SEPARATOR=:
90505   fi
90506   rm -f conf$$.sh
90507 fi
90508
90509
90510   as_lineno_1=$LINENO
90511   as_lineno_2=$LINENO
90512   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
90513   test "x$as_lineno_1" != "x$as_lineno_2" &&
90514   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
90515   # Find who we are.  Look in the path if we contain no path at all
90516   # relative or not.
90517   case $0 in
90518     *[\\/]* ) as_myself=$0 ;;
90519     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
90520 for as_dir in $PATH
90521 do
90522   IFS=$as_save_IFS
90523   test -z "$as_dir" && as_dir=.
90524   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
90525 done
90526
90527        ;;
90528   esac
90529   # We did not find ourselves, most probably we were run as `sh COMMAND'
90530   # in which case we are not to be found in the path.
90531   if test "x$as_myself" = x; then
90532     as_myself=$0
90533   fi
90534   if test ! -f "$as_myself"; then
90535     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
90536 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
90537    { (exit 1); exit 1; }; }
90538   fi
90539   case $CONFIG_SHELL in
90540   '')
90541     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
90542 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
90543 do
90544   IFS=$as_save_IFS
90545   test -z "$as_dir" && as_dir=.
90546   for as_base in sh bash ksh sh5; do
90547          case $as_dir in
90548          /*)
90549            if ("$as_dir/$as_base" -c '
90550   as_lineno_1=$LINENO
90551   as_lineno_2=$LINENO
90552   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
90553   test "x$as_lineno_1" != "x$as_lineno_2" &&
90554   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
90555              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
90556              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
90557              CONFIG_SHELL=$as_dir/$as_base
90558              export CONFIG_SHELL
90559              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
90560            fi;;
90561          esac
90562        done
90563 done
90564 ;;
90565   esac
90566
90567   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
90568   # uniformly replaced by the line number.  The first 'sed' inserts a
90569   # line-number line before each line; the second 'sed' does the real
90570   # work.  The second script uses 'N' to pair each line-number line
90571   # with the numbered line, and appends trailing '-' during
90572   # substitution so that $LINENO is not a special case at line end.
90573   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
90574   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
90575   sed '=' <$as_myself |
90576     sed '
90577       N
90578       s,$,-,
90579       : loop
90580       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
90581       t loop
90582       s,-$,,
90583       s,^['$as_cr_digits']*\n,,
90584     ' >$as_me.lineno &&
90585   chmod +x $as_me.lineno ||
90586     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
90587 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
90588    { (exit 1); exit 1; }; }
90589
90590   # Don't try to exec as it changes $[0], causing all sort of problems
90591   # (the dirname of $[0] is not the place where we might find the
90592   # original and so on.  Autoconf is especially sensible to this).
90593   . ./$as_me.lineno
90594   # Exit status is that of the last command.
90595   exit
90596 }
90597
90598
90599 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
90600   *c*,-n*) ECHO_N= ECHO_C='
90601 ' ECHO_T='      ' ;;
90602   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
90603   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
90604 esac
90605
90606 if expr a : '\(a\)' >/dev/null 2>&1; then
90607   as_expr=expr
90608 else
90609   as_expr=false
90610 fi
90611
90612 rm -f conf$$ conf$$.exe conf$$.file
90613 echo >conf$$.file
90614 if ln -s conf$$.file conf$$ 2>/dev/null; then
90615   # We could just check for DJGPP; but this test a) works b) is more generic
90616   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
90617   if test -f conf$$.exe; then
90618     # Don't use ln at all; we don't have any links
90619     as_ln_s='cp -p'
90620   else
90621     as_ln_s='ln -s'
90622   fi
90623 elif ln conf$$.file conf$$ 2>/dev/null; then
90624   as_ln_s=ln
90625 else
90626   as_ln_s='cp -p'
90627 fi
90628 rm -f conf$$ conf$$.exe conf$$.file
90629
90630 if mkdir -p . 2>/dev/null; then
90631   as_mkdir_p=:
90632 else
90633   test -d ./-p && rmdir ./-p
90634   as_mkdir_p=false
90635 fi
90636
90637 as_executable_p="test -f"
90638
90639 # Sed expression to map a string onto a valid CPP name.
90640 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
90641
90642 # Sed expression to map a string onto a valid variable name.
90643 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
90644
90645
90646 # IFS
90647 # We need space, tab and new line, in precisely that order.
90648 as_nl='
90649 '
90650 IFS="   $as_nl"
90651
90652 # CDPATH.
90653 $as_unset CDPATH
90654
90655 exec 6>&1
90656
90657 # Open the log real soon, to keep \$[0] and so on meaningful, and to
90658 # report actual input values of CONFIG_FILES etc. instead of their
90659 # values after options handling.  Logging --version etc. is OK.
90660 exec 5>>config.log
90661 {
90662   echo
90663   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
90664 ## Running $as_me. ##
90665 _ASBOX
90666 } >&5
90667 cat >&5 <<_CSEOF
90668
90669 This file was extended by package-unused $as_me version-unused, which was
90670 generated by GNU Autoconf 2.59.  Invocation command line was
90671
90672   CONFIG_FILES    = $CONFIG_FILES
90673   CONFIG_HEADERS  = $CONFIG_HEADERS
90674   CONFIG_LINKS    = $CONFIG_LINKS
90675   CONFIG_COMMANDS = $CONFIG_COMMANDS
90676   $ $0 $@
90677
90678 _CSEOF
90679 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
90680 echo >&5
90681 _ACEOF
90682
90683 # Files that config.status was made for.
90684 if test -n "$ac_config_files"; then
90685   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
90686 fi
90687
90688 if test -n "$ac_config_headers"; then
90689   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
90690 fi
90691
90692 if test -n "$ac_config_links"; then
90693   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
90694 fi
90695
90696 if test -n "$ac_config_commands"; then
90697   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
90698 fi
90699
90700 cat >>$CONFIG_STATUS <<\_ACEOF
90701
90702 ac_cs_usage="\
90703 \`$as_me' instantiates files from templates according to the
90704 current configuration.
90705
90706 Usage: $0 [OPTIONS] [FILE]...
90707
90708   -h, --help       print this help, then exit
90709   -V, --version    print version number, then exit
90710   -q, --quiet      do not print progress messages
90711   -d, --debug      don't remove temporary files
90712       --recheck    update $as_me by reconfiguring in the same conditions
90713   --file=FILE[:TEMPLATE]
90714                    instantiate the configuration file FILE
90715   --header=FILE[:TEMPLATE]
90716                    instantiate the configuration header FILE
90717
90718 Configuration files:
90719 $config_files
90720
90721 Configuration headers:
90722 $config_headers
90723
90724 Configuration commands:
90725 $config_commands
90726
90727 Report bugs to <bug-autoconf@gnu.org>."
90728 _ACEOF
90729
90730 cat >>$CONFIG_STATUS <<_ACEOF
90731 ac_cs_version="\\
90732 package-unused config.status version-unused
90733 configured by $0, generated by GNU Autoconf 2.59,
90734   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
90735
90736 Copyright (C) 2003 Free Software Foundation, Inc.
90737 This config.status script is free software; the Free Software Foundation
90738 gives unlimited permission to copy, distribute and modify it."
90739 srcdir=$srcdir
90740 INSTALL="$INSTALL"
90741 _ACEOF
90742
90743 cat >>$CONFIG_STATUS <<\_ACEOF
90744 # If no file are specified by the user, then we need to provide default
90745 # value.  By we need to know if files were specified by the user.
90746 ac_need_defaults=:
90747 while test $# != 0
90748 do
90749   case $1 in
90750   --*=*)
90751     ac_option=`expr "x$1" : 'x\([^=]*\)='`
90752     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
90753     ac_shift=:
90754     ;;
90755   -*)
90756     ac_option=$1
90757     ac_optarg=$2
90758     ac_shift=shift
90759     ;;
90760   *) # This is not an option, so the user has probably given explicit
90761      # arguments.
90762      ac_option=$1
90763      ac_need_defaults=false;;
90764   esac
90765
90766   case $ac_option in
90767   # Handling of the options.
90768 _ACEOF
90769 cat >>$CONFIG_STATUS <<\_ACEOF
90770   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
90771     ac_cs_recheck=: ;;
90772   --version | --vers* | -V )
90773     echo "$ac_cs_version"; exit 0 ;;
90774   --he | --h)
90775     # Conflict between --help and --header
90776     { { echo "$as_me:$LINENO: error: ambiguous option: $1
90777 Try \`$0 --help' for more information." >&5
90778 echo "$as_me: error: ambiguous option: $1
90779 Try \`$0 --help' for more information." >&2;}
90780    { (exit 1); exit 1; }; };;
90781   --help | --hel | -h )
90782     echo "$ac_cs_usage"; exit 0 ;;
90783   --debug | --d* | -d )
90784     debug=: ;;
90785   --file | --fil | --fi | --f )
90786     $ac_shift
90787     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
90788     ac_need_defaults=false;;
90789   --header | --heade | --head | --hea )
90790     $ac_shift
90791     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
90792     ac_need_defaults=false;;
90793   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
90794   | -silent | --silent | --silen | --sile | --sil | --si | --s)
90795     ac_cs_silent=: ;;
90796
90797   # This is an error.
90798   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
90799 Try \`$0 --help' for more information." >&5
90800 echo "$as_me: error: unrecognized option: $1
90801 Try \`$0 --help' for more information." >&2;}
90802    { (exit 1); exit 1; }; } ;;
90803
90804   *) ac_config_targets="$ac_config_targets $1" ;;
90805
90806   esac
90807   shift
90808 done
90809
90810 ac_configure_extra_args=
90811
90812 if $ac_cs_silent; then
90813   exec 6>/dev/null
90814   ac_configure_extra_args="$ac_configure_extra_args --silent"
90815 fi
90816
90817 _ACEOF
90818 cat >>$CONFIG_STATUS <<_ACEOF
90819 if \$ac_cs_recheck; then
90820   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
90821   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
90822 fi
90823
90824 _ACEOF
90825
90826 cat >>$CONFIG_STATUS <<_ACEOF
90827 #
90828 # INIT-COMMANDS section.
90829 #
90830
90831
90832 srcdir="$srcdir"
90833 host="$host"
90834 target="$target"
90835 with_multisubdir="$with_multisubdir"
90836 with_multisrctop="$with_multisrctop"
90837 with_target_subdir="$with_target_subdir"
90838 ac_configure_args="${multilib_arg} ${ac_configure_args}"
90839 multi_basedir="$multi_basedir"
90840 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
90841 CC="$CC"
90842
90843 # Variables needed in config.status (file generation) which aren't already
90844 # passed by autoconf.
90845 SUBDIRS="$SUBDIRS"
90846
90847
90848 _ACEOF
90849
90850
90851
90852 cat >>$CONFIG_STATUS <<\_ACEOF
90853 for ac_config_target in $ac_config_targets
90854 do
90855   case "$ac_config_target" in
90856   # Handling of arguments.
90857   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
90858   "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
90859   "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
90860   "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
90861   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
90862   "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
90863   "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
90864   "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
90865   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
90866   "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
90867   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
90868   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
90869 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
90870    { (exit 1); exit 1; }; };;
90871   esac
90872 done
90873
90874 # If the user did not use the arguments to specify the items to instantiate,
90875 # then the envvar interface is used.  Set only those that are not.
90876 # We use the long form for the default assignment because of an extremely
90877 # bizarre bug on SunOS 4.1.3.
90878 if $ac_need_defaults; then
90879   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
90880   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
90881   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
90882 fi
90883
90884 # Have a temporary directory for convenience.  Make it in the build tree
90885 # simply because there is no reason to put it here, and in addition,
90886 # creating and moving files from /tmp can sometimes cause problems.
90887 # Create a temporary directory, and hook for its removal unless debugging.
90888 $debug ||
90889 {
90890   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
90891   trap '{ (exit 1); exit 1; }' 1 2 13 15
90892 }
90893
90894 # Create a (secure) tmp directory for tmp files.
90895
90896 {
90897   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
90898   test -n "$tmp" && test -d "$tmp"
90899 }  ||
90900 {
90901   tmp=./confstat$$-$RANDOM
90902   (umask 077 && mkdir $tmp)
90903 } ||
90904 {
90905    echo "$me: cannot create a temporary directory in ." >&2
90906    { (exit 1); exit 1; }
90907 }
90908
90909 _ACEOF
90910
90911 cat >>$CONFIG_STATUS <<_ACEOF
90912
90913 #
90914 # CONFIG_FILES section.
90915 #
90916
90917 # No need to generate the scripts if there are no CONFIG_FILES.
90918 # This happens for instance when ./config.status config.h
90919 if test -n "\$CONFIG_FILES"; then
90920   # Protect against being on the right side of a sed subst in config.status.
90921   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
90922    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
90923 s,@SHELL@,$SHELL,;t t
90924 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
90925 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
90926 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
90927 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
90928 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
90929 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
90930 s,@exec_prefix@,$exec_prefix,;t t
90931 s,@prefix@,$prefix,;t t
90932 s,@program_transform_name@,$program_transform_name,;t t
90933 s,@bindir@,$bindir,;t t
90934 s,@sbindir@,$sbindir,;t t
90935 s,@libexecdir@,$libexecdir,;t t
90936 s,@datadir@,$datadir,;t t
90937 s,@sysconfdir@,$sysconfdir,;t t
90938 s,@sharedstatedir@,$sharedstatedir,;t t
90939 s,@localstatedir@,$localstatedir,;t t
90940 s,@libdir@,$libdir,;t t
90941 s,@includedir@,$includedir,;t t
90942 s,@oldincludedir@,$oldincludedir,;t t
90943 s,@infodir@,$infodir,;t t
90944 s,@mandir@,$mandir,;t t
90945 s,@build_alias@,$build_alias,;t t
90946 s,@host_alias@,$host_alias,;t t
90947 s,@target_alias@,$target_alias,;t t
90948 s,@DEFS@,$DEFS,;t t
90949 s,@ECHO_C@,$ECHO_C,;t t
90950 s,@ECHO_N@,$ECHO_N,;t t
90951 s,@ECHO_T@,$ECHO_T,;t t
90952 s,@LIBS@,$LIBS,;t t
90953 s,@libtool_VERSION@,$libtool_VERSION,;t t
90954 s,@multi_basedir@,$multi_basedir,;t t
90955 s,@build@,$build,;t t
90956 s,@build_cpu@,$build_cpu,;t t
90957 s,@build_vendor@,$build_vendor,;t t
90958 s,@build_os@,$build_os,;t t
90959 s,@host@,$host,;t t
90960 s,@host_cpu@,$host_cpu,;t t
90961 s,@host_vendor@,$host_vendor,;t t
90962 s,@host_os@,$host_os,;t t
90963 s,@target@,$target,;t t
90964 s,@target_cpu@,$target_cpu,;t t
90965 s,@target_vendor@,$target_vendor,;t t
90966 s,@target_os@,$target_os,;t t
90967 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
90968 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
90969 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
90970 s,@CYGPATH_W@,$CYGPATH_W,;t t
90971 s,@PACKAGE@,$PACKAGE,;t t
90972 s,@VERSION@,$VERSION,;t t
90973 s,@ACLOCAL@,$ACLOCAL,;t t
90974 s,@AUTOCONF@,$AUTOCONF,;t t
90975 s,@AUTOMAKE@,$AUTOMAKE,;t t
90976 s,@AUTOHEADER@,$AUTOHEADER,;t t
90977 s,@MAKEINFO@,$MAKEINFO,;t t
90978 s,@install_sh@,$install_sh,;t t
90979 s,@STRIP@,$STRIP,;t t
90980 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
90981 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
90982 s,@mkdir_p@,$mkdir_p,;t t
90983 s,@AWK@,$AWK,;t t
90984 s,@SET_MAKE@,$SET_MAKE,;t t
90985 s,@am__leading_dot@,$am__leading_dot,;t t
90986 s,@AMTAR@,$AMTAR,;t t
90987 s,@am__tar@,$am__tar,;t t
90988 s,@am__untar@,$am__untar,;t t
90989 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
90990 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
90991 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
90992 s,@CC@,$CC,;t t
90993 s,@ac_ct_CC@,$ac_ct_CC,;t t
90994 s,@EXEEXT@,$EXEEXT,;t t
90995 s,@OBJEXT@,$OBJEXT,;t t
90996 s,@CXX@,$CXX,;t t
90997 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
90998 s,@CFLAGS@,$CFLAGS,;t t
90999 s,@CXXFLAGS@,$CXXFLAGS,;t t
91000 s,@LN_S@,$LN_S,;t t
91001 s,@AS@,$AS,;t t
91002 s,@ac_ct_AS@,$ac_ct_AS,;t t
91003 s,@AR@,$AR,;t t
91004 s,@ac_ct_AR@,$ac_ct_AR,;t t
91005 s,@RANLIB@,$RANLIB,;t t
91006 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
91007 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
91008 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
91009 s,@MAINT@,$MAINT,;t t
91010 s,@LIBTOOL@,$LIBTOOL,;t t
91011 s,@CXXCPP@,$CXXCPP,;t t
91012 s,@CPPFLAGS@,$CPPFLAGS,;t t
91013 s,@enable_shared@,$enable_shared,;t t
91014 s,@enable_static@,$enable_static,;t t
91015 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
91016 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
91017 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
91018 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
91019 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
91020 s,@CSTDIO_H@,$CSTDIO_H,;t t
91021 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
91022 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
91023 s,@CPP@,$CPP,;t t
91024 s,@EGREP@,$EGREP,;t t
91025 s,@check_msgfmt@,$check_msgfmt,;t t
91026 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
91027 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
91028 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
91029 s,@USE_NLS@,$USE_NLS,;t t
91030 s,@CLOCALE_H@,$CLOCALE_H,;t t
91031 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
91032 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
91033 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
91034 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
91035 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
91036 s,@CMONEY_CC@,$CMONEY_CC,;t t
91037 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
91038 s,@CTIME_H@,$CTIME_H,;t t
91039 s,@CTIME_CC@,$CTIME_CC,;t t
91040 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
91041 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
91042 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
91043 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
91044 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
91045 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
91046 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
91047 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
91048 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
91049 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
91050 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
91051 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
91052 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
91053 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
91054 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
91055 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
91056 s,@WERROR@,$WERROR,;t t
91057 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
91058 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
91059 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
91060 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
91061 s,@LIBICONV@,$LIBICONV,;t t
91062 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
91063 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
91064 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
91065 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
91066 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
91067 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
91068 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
91069 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
91070 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
91071 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
91072 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
91073 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
91074 s,@baseline_dir@,$baseline_dir,;t t
91075 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
91076 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
91077 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
91078 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
91079 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
91080 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
91081 s,@gxx_include_dir@,$gxx_include_dir,;t t
91082 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
91083 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
91084 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
91085 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
91086 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
91087 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
91088 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
91089 s,@LIBOBJS@,$LIBOBJS,;t t
91090 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
91091 CEOF
91092
91093 _ACEOF
91094
91095   cat >>$CONFIG_STATUS <<\_ACEOF
91096   # Split the substitutions into bite-sized pieces for seds with
91097   # small command number limits, like on Digital OSF/1 and HP-UX.
91098   ac_max_sed_lines=48
91099   ac_sed_frag=1 # Number of current file.
91100   ac_beg=1 # First line for current file.
91101   ac_end=$ac_max_sed_lines # Line after last line for current file.
91102   ac_more_lines=:
91103   ac_sed_cmds=
91104   while $ac_more_lines; do
91105     if test $ac_beg -gt 1; then
91106       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
91107     else
91108       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
91109     fi
91110     if test ! -s $tmp/subs.frag; then
91111       ac_more_lines=false
91112     else
91113       # The purpose of the label and of the branching condition is to
91114       # speed up the sed processing (if there are no `@' at all, there
91115       # is no need to browse any of the substitutions).
91116       # These are the two extra sed commands mentioned above.
91117       (echo ':t
91118   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
91119       if test -z "$ac_sed_cmds"; then
91120         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
91121       else
91122         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
91123       fi
91124       ac_sed_frag=`expr $ac_sed_frag + 1`
91125       ac_beg=$ac_end
91126       ac_end=`expr $ac_end + $ac_max_sed_lines`
91127     fi
91128   done
91129   if test -z "$ac_sed_cmds"; then
91130     ac_sed_cmds=cat
91131   fi
91132 fi # test -n "$CONFIG_FILES"
91133
91134 _ACEOF
91135 cat >>$CONFIG_STATUS <<\_ACEOF
91136 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
91137   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
91138   case $ac_file in
91139   - | *:- | *:-:* ) # input from stdin
91140         cat >$tmp/stdin
91141         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
91142         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
91143   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
91144         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
91145   * )   ac_file_in=$ac_file.in ;;
91146   esac
91147
91148   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
91149   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
91150 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
91151          X"$ac_file" : 'X\(//\)[^/]' \| \
91152          X"$ac_file" : 'X\(//\)$' \| \
91153          X"$ac_file" : 'X\(/\)' \| \
91154          .     : '\(.\)' 2>/dev/null ||
91155 echo X"$ac_file" |
91156     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
91157           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
91158           /^X\(\/\/\)$/{ s//\1/; q; }
91159           /^X\(\/\).*/{ s//\1/; q; }
91160           s/.*/./; q'`
91161   { if $as_mkdir_p; then
91162     mkdir -p "$ac_dir"
91163   else
91164     as_dir="$ac_dir"
91165     as_dirs=
91166     while test ! -d "$as_dir"; do
91167       as_dirs="$as_dir $as_dirs"
91168       as_dir=`(dirname "$as_dir") 2>/dev/null ||
91169 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
91170          X"$as_dir" : 'X\(//\)[^/]' \| \
91171          X"$as_dir" : 'X\(//\)$' \| \
91172          X"$as_dir" : 'X\(/\)' \| \
91173          .     : '\(.\)' 2>/dev/null ||
91174 echo X"$as_dir" |
91175     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
91176           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
91177           /^X\(\/\/\)$/{ s//\1/; q; }
91178           /^X\(\/\).*/{ s//\1/; q; }
91179           s/.*/./; q'`
91180     done
91181     test ! -n "$as_dirs" || mkdir $as_dirs
91182   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
91183 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
91184    { (exit 1); exit 1; }; }; }
91185
91186   ac_builddir=.
91187
91188 if test "$ac_dir" != .; then
91189   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
91190   # A "../" for each directory in $ac_dir_suffix.
91191   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
91192 else
91193   ac_dir_suffix= ac_top_builddir=
91194 fi
91195
91196 case $srcdir in
91197   .)  # No --srcdir option.  We are building in place.
91198     ac_srcdir=.
91199     if test -z "$ac_top_builddir"; then
91200        ac_top_srcdir=.
91201     else
91202        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
91203     fi ;;
91204   [\\/]* | ?:[\\/]* )  # Absolute path.
91205     ac_srcdir=$srcdir$ac_dir_suffix;
91206     ac_top_srcdir=$srcdir ;;
91207   *) # Relative path.
91208     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
91209     ac_top_srcdir=$ac_top_builddir$srcdir ;;
91210 esac
91211
91212 # Do not use `cd foo && pwd` to compute absolute paths, because
91213 # the directories may not exist.
91214 case `pwd` in
91215 .) ac_abs_builddir="$ac_dir";;
91216 *)
91217   case "$ac_dir" in
91218   .) ac_abs_builddir=`pwd`;;
91219   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
91220   *) ac_abs_builddir=`pwd`/"$ac_dir";;
91221   esac;;
91222 esac
91223 case $ac_abs_builddir in
91224 .) ac_abs_top_builddir=${ac_top_builddir}.;;
91225 *)
91226   case ${ac_top_builddir}. in
91227   .) ac_abs_top_builddir=$ac_abs_builddir;;
91228   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
91229   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
91230   esac;;
91231 esac
91232 case $ac_abs_builddir in
91233 .) ac_abs_srcdir=$ac_srcdir;;
91234 *)
91235   case $ac_srcdir in
91236   .) ac_abs_srcdir=$ac_abs_builddir;;
91237   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
91238   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
91239   esac;;
91240 esac
91241 case $ac_abs_builddir in
91242 .) ac_abs_top_srcdir=$ac_top_srcdir;;
91243 *)
91244   case $ac_top_srcdir in
91245   .) ac_abs_top_srcdir=$ac_abs_builddir;;
91246   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
91247   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
91248   esac;;
91249 esac
91250
91251
91252   case $INSTALL in
91253   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
91254   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
91255   esac
91256
91257   if test x"$ac_file" != x-; then
91258     { echo "$as_me:$LINENO: creating $ac_file" >&5
91259 echo "$as_me: creating $ac_file" >&6;}
91260     rm -f "$ac_file"
91261   fi
91262   # Let's still pretend it is `configure' which instantiates (i.e., don't
91263   # use $as_me), people would be surprised to read:
91264   #    /* config.h.  Generated by config.status.  */
91265   if test x"$ac_file" = x-; then
91266     configure_input=
91267   else
91268     configure_input="$ac_file.  "
91269   fi
91270   configure_input=$configure_input"Generated from `echo $ac_file_in |
91271                                      sed 's,.*/,,'` by configure."
91272
91273   # First look for the input files in the build tree, otherwise in the
91274   # src tree.
91275   ac_file_inputs=`IFS=:
91276     for f in $ac_file_in; do
91277       case $f in
91278       -) echo $tmp/stdin ;;
91279       [\\/$]*)
91280          # Absolute (can't be DOS-style, as IFS=:)
91281          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
91282 echo "$as_me: error: cannot find input file: $f" >&2;}
91283    { (exit 1); exit 1; }; }
91284          echo "$f";;
91285       *) # Relative
91286          if test -f "$f"; then
91287            # Build tree
91288            echo "$f"
91289          elif test -f "$srcdir/$f"; then
91290            # Source tree
91291            echo "$srcdir/$f"
91292          else
91293            # /dev/null tree
91294            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
91295 echo "$as_me: error: cannot find input file: $f" >&2;}
91296    { (exit 1); exit 1; }; }
91297          fi;;
91298       esac
91299     done` || { (exit 1); exit 1; }
91300 _ACEOF
91301 cat >>$CONFIG_STATUS <<_ACEOF
91302   sed "$ac_vpsub
91303 $extrasub
91304 _ACEOF
91305 cat >>$CONFIG_STATUS <<\_ACEOF
91306 :t
91307 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
91308 s,@configure_input@,$configure_input,;t t
91309 s,@srcdir@,$ac_srcdir,;t t
91310 s,@abs_srcdir@,$ac_abs_srcdir,;t t
91311 s,@top_srcdir@,$ac_top_srcdir,;t t
91312 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
91313 s,@builddir@,$ac_builddir,;t t
91314 s,@abs_builddir@,$ac_abs_builddir,;t t
91315 s,@top_builddir@,$ac_top_builddir,;t t
91316 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
91317 s,@INSTALL@,$ac_INSTALL,;t t
91318 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
91319   rm -f $tmp/stdin
91320   if test x"$ac_file" != x-; then
91321     mv $tmp/out $ac_file
91322   else
91323     cat $tmp/out
91324     rm -f $tmp/out
91325   fi
91326
91327   # Run the commands associated with the file.
91328   case $ac_file in
91329     scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
91330   esac
91331 done
91332 _ACEOF
91333 cat >>$CONFIG_STATUS <<\_ACEOF
91334
91335 #
91336 # CONFIG_HEADER section.
91337 #
91338
91339 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
91340 # NAME is the cpp macro being defined and VALUE is the value it is being given.
91341 #
91342 # ac_d sets the value in "#define NAME VALUE" lines.
91343 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
91344 ac_dB='[         ].*$,\1#\2'
91345 ac_dC=' '
91346 ac_dD=',;t'
91347 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
91348 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
91349 ac_uB='$,\1#\2define\3'
91350 ac_uC=' '
91351 ac_uD=',;t'
91352
91353 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
91354   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
91355   case $ac_file in
91356   - | *:- | *:-:* ) # input from stdin
91357         cat >$tmp/stdin
91358         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
91359         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
91360   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
91361         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
91362   * )   ac_file_in=$ac_file.in ;;
91363   esac
91364
91365   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
91366 echo "$as_me: creating $ac_file" >&6;}
91367
91368   # First look for the input files in the build tree, otherwise in the
91369   # src tree.
91370   ac_file_inputs=`IFS=:
91371     for f in $ac_file_in; do
91372       case $f in
91373       -) echo $tmp/stdin ;;
91374       [\\/$]*)
91375          # Absolute (can't be DOS-style, as IFS=:)
91376          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
91377 echo "$as_me: error: cannot find input file: $f" >&2;}
91378    { (exit 1); exit 1; }; }
91379          # Do quote $f, to prevent DOS paths from being IFS'd.
91380          echo "$f";;
91381       *) # Relative
91382          if test -f "$f"; then
91383            # Build tree
91384            echo "$f"
91385          elif test -f "$srcdir/$f"; then
91386            # Source tree
91387            echo "$srcdir/$f"
91388          else
91389            # /dev/null tree
91390            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
91391 echo "$as_me: error: cannot find input file: $f" >&2;}
91392    { (exit 1); exit 1; }; }
91393          fi;;
91394       esac
91395     done` || { (exit 1); exit 1; }
91396   # Remove the trailing spaces.
91397   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
91398
91399 _ACEOF
91400
91401 # Transform confdefs.h into two sed scripts, `conftest.defines' and
91402 # `conftest.undefs', that substitutes the proper values into
91403 # config.h.in to produce config.h.  The first handles `#define'
91404 # templates, and the second `#undef' templates.
91405 # And first: Protect against being on the right side of a sed subst in
91406 # config.status.  Protect against being in an unquoted here document
91407 # in config.status.
91408 rm -f conftest.defines conftest.undefs
91409 # Using a here document instead of a string reduces the quoting nightmare.
91410 # Putting comments in sed scripts is not portable.
91411 #
91412 # `end' is used to avoid that the second main sed command (meant for
91413 # 0-ary CPP macros) applies to n-ary macro definitions.
91414 # See the Autoconf documentation for `clear'.
91415 cat >confdef2sed.sed <<\_ACEOF
91416 s/[\\&,]/\\&/g
91417 s,[\\$`],\\&,g
91418 t clear
91419 : clear
91420 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
91421 t end
91422 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
91423 : end
91424 _ACEOF
91425 # If some macros were called several times there might be several times
91426 # the same #defines, which is useless.  Nevertheless, we may not want to
91427 # sort them, since we want the *last* AC-DEFINE to be honored.
91428 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
91429 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
91430 rm -f confdef2sed.sed
91431
91432 # This sed command replaces #undef with comments.  This is necessary, for
91433 # example, in the case of _POSIX_SOURCE, which is predefined and required
91434 # on some systems where configure will not decide to define it.
91435 cat >>conftest.undefs <<\_ACEOF
91436 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
91437 _ACEOF
91438
91439 # Break up conftest.defines because some shells have a limit on the size
91440 # of here documents, and old seds have small limits too (100 cmds).
91441 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
91442 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
91443 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
91444 echo '  :' >>$CONFIG_STATUS
91445 rm -f conftest.tail
91446 while grep . conftest.defines >/dev/null
91447 do
91448   # Write a limited-size here document to $tmp/defines.sed.
91449   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
91450   # Speed up: don't consider the non `#define' lines.
91451   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
91452   # Work around the forget-to-reset-the-flag bug.
91453   echo 't clr' >>$CONFIG_STATUS
91454   echo ': clr' >>$CONFIG_STATUS
91455   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
91456   echo 'CEOF
91457   sed -f $tmp/defines.sed $tmp/in >$tmp/out
91458   rm -f $tmp/in
91459   mv $tmp/out $tmp/in
91460 ' >>$CONFIG_STATUS
91461   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
91462   rm -f conftest.defines
91463   mv conftest.tail conftest.defines
91464 done
91465 rm -f conftest.defines
91466 echo '  fi # grep' >>$CONFIG_STATUS
91467 echo >>$CONFIG_STATUS
91468
91469 # Break up conftest.undefs because some shells have a limit on the size
91470 # of here documents, and old seds have small limits too (100 cmds).
91471 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
91472 rm -f conftest.tail
91473 while grep . conftest.undefs >/dev/null
91474 do
91475   # Write a limited-size here document to $tmp/undefs.sed.
91476   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
91477   # Speed up: don't consider the non `#undef'
91478   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
91479   # Work around the forget-to-reset-the-flag bug.
91480   echo 't clr' >>$CONFIG_STATUS
91481   echo ': clr' >>$CONFIG_STATUS
91482   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
91483   echo 'CEOF
91484   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
91485   rm -f $tmp/in
91486   mv $tmp/out $tmp/in
91487 ' >>$CONFIG_STATUS
91488   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
91489   rm -f conftest.undefs
91490   mv conftest.tail conftest.undefs
91491 done
91492 rm -f conftest.undefs
91493
91494 cat >>$CONFIG_STATUS <<\_ACEOF
91495   # Let's still pretend it is `configure' which instantiates (i.e., don't
91496   # use $as_me), people would be surprised to read:
91497   #    /* config.h.  Generated by config.status.  */
91498   if test x"$ac_file" = x-; then
91499     echo "/* Generated by configure.  */" >$tmp/config.h
91500   else
91501     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
91502   fi
91503   cat $tmp/in >>$tmp/config.h
91504   rm -f $tmp/in
91505   if test x"$ac_file" != x-; then
91506     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
91507       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
91508 echo "$as_me: $ac_file is unchanged" >&6;}
91509     else
91510       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
91511 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
91512          X"$ac_file" : 'X\(//\)[^/]' \| \
91513          X"$ac_file" : 'X\(//\)$' \| \
91514          X"$ac_file" : 'X\(/\)' \| \
91515          .     : '\(.\)' 2>/dev/null ||
91516 echo X"$ac_file" |
91517     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
91518           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
91519           /^X\(\/\/\)$/{ s//\1/; q; }
91520           /^X\(\/\).*/{ s//\1/; q; }
91521           s/.*/./; q'`
91522       { if $as_mkdir_p; then
91523     mkdir -p "$ac_dir"
91524   else
91525     as_dir="$ac_dir"
91526     as_dirs=
91527     while test ! -d "$as_dir"; do
91528       as_dirs="$as_dir $as_dirs"
91529       as_dir=`(dirname "$as_dir") 2>/dev/null ||
91530 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
91531          X"$as_dir" : 'X\(//\)[^/]' \| \
91532          X"$as_dir" : 'X\(//\)$' \| \
91533          X"$as_dir" : 'X\(/\)' \| \
91534          .     : '\(.\)' 2>/dev/null ||
91535 echo X"$as_dir" |
91536     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
91537           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
91538           /^X\(\/\/\)$/{ s//\1/; q; }
91539           /^X\(\/\).*/{ s//\1/; q; }
91540           s/.*/./; q'`
91541     done
91542     test ! -n "$as_dirs" || mkdir $as_dirs
91543   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
91544 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
91545    { (exit 1); exit 1; }; }; }
91546
91547       rm -f $ac_file
91548       mv $tmp/config.h $ac_file
91549     fi
91550   else
91551     cat $tmp/config.h
91552     rm -f $tmp/config.h
91553   fi
91554 # Compute $ac_file's index in $config_headers.
91555 _am_stamp_count=1
91556 for _am_header in $config_headers :; do
91557   case $_am_header in
91558     $ac_file | $ac_file:* )
91559       break ;;
91560     * )
91561       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
91562   esac
91563 done
91564 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
91565 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
91566          X$ac_file : 'X\(//\)[^/]' \| \
91567          X$ac_file : 'X\(//\)$' \| \
91568          X$ac_file : 'X\(/\)' \| \
91569          .     : '\(.\)' 2>/dev/null ||
91570 echo X$ac_file |
91571     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
91572           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
91573           /^X\(\/\/\)$/{ s//\1/; q; }
91574           /^X\(\/\).*/{ s//\1/; q; }
91575           s/.*/./; q'`/stamp-h$_am_stamp_count
91576 done
91577 _ACEOF
91578 cat >>$CONFIG_STATUS <<\_ACEOF
91579
91580 #
91581 # CONFIG_COMMANDS section.
91582 #
91583 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
91584   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
91585   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
91586   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
91587 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
91588          X"$ac_dest" : 'X\(//\)[^/]' \| \
91589          X"$ac_dest" : 'X\(//\)$' \| \
91590          X"$ac_dest" : 'X\(/\)' \| \
91591          .     : '\(.\)' 2>/dev/null ||
91592 echo X"$ac_dest" |
91593     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
91594           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
91595           /^X\(\/\/\)$/{ s//\1/; q; }
91596           /^X\(\/\).*/{ s//\1/; q; }
91597           s/.*/./; q'`
91598   { if $as_mkdir_p; then
91599     mkdir -p "$ac_dir"
91600   else
91601     as_dir="$ac_dir"
91602     as_dirs=
91603     while test ! -d "$as_dir"; do
91604       as_dirs="$as_dir $as_dirs"
91605       as_dir=`(dirname "$as_dir") 2>/dev/null ||
91606 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
91607          X"$as_dir" : 'X\(//\)[^/]' \| \
91608          X"$as_dir" : 'X\(//\)$' \| \
91609          X"$as_dir" : 'X\(/\)' \| \
91610          .     : '\(.\)' 2>/dev/null ||
91611 echo X"$as_dir" |
91612     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
91613           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
91614           /^X\(\/\/\)$/{ s//\1/; q; }
91615           /^X\(\/\).*/{ s//\1/; q; }
91616           s/.*/./; q'`
91617     done
91618     test ! -n "$as_dirs" || mkdir $as_dirs
91619   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
91620 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
91621    { (exit 1); exit 1; }; }; }
91622
91623   ac_builddir=.
91624
91625 if test "$ac_dir" != .; then
91626   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
91627   # A "../" for each directory in $ac_dir_suffix.
91628   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
91629 else
91630   ac_dir_suffix= ac_top_builddir=
91631 fi
91632
91633 case $srcdir in
91634   .)  # No --srcdir option.  We are building in place.
91635     ac_srcdir=.
91636     if test -z "$ac_top_builddir"; then
91637        ac_top_srcdir=.
91638     else
91639        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
91640     fi ;;
91641   [\\/]* | ?:[\\/]* )  # Absolute path.
91642     ac_srcdir=$srcdir$ac_dir_suffix;
91643     ac_top_srcdir=$srcdir ;;
91644   *) # Relative path.
91645     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
91646     ac_top_srcdir=$ac_top_builddir$srcdir ;;
91647 esac
91648
91649 # Do not use `cd foo && pwd` to compute absolute paths, because
91650 # the directories may not exist.
91651 case `pwd` in
91652 .) ac_abs_builddir="$ac_dir";;
91653 *)
91654   case "$ac_dir" in
91655   .) ac_abs_builddir=`pwd`;;
91656   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
91657   *) ac_abs_builddir=`pwd`/"$ac_dir";;
91658   esac;;
91659 esac
91660 case $ac_abs_builddir in
91661 .) ac_abs_top_builddir=${ac_top_builddir}.;;
91662 *)
91663   case ${ac_top_builddir}. in
91664   .) ac_abs_top_builddir=$ac_abs_builddir;;
91665   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
91666   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
91667   esac;;
91668 esac
91669 case $ac_abs_builddir in
91670 .) ac_abs_srcdir=$ac_srcdir;;
91671 *)
91672   case $ac_srcdir in
91673   .) ac_abs_srcdir=$ac_abs_builddir;;
91674   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
91675   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
91676   esac;;
91677 esac
91678 case $ac_abs_builddir in
91679 .) ac_abs_top_srcdir=$ac_top_srcdir;;
91680 *)
91681   case $ac_top_srcdir in
91682   .) ac_abs_top_srcdir=$ac_abs_builddir;;
91683   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
91684   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
91685   esac;;
91686 esac
91687
91688
91689   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
91690 echo "$as_me: executing $ac_dest commands" >&6;}
91691   case $ac_dest in
91692     default-1 )
91693 # Only add multilib support code if we just rebuilt the top-level
91694 # Makefile.
91695 case " $CONFIG_FILES " in
91696  *" Makefile "*)
91697    ac_file=Makefile . ${multi_basedir}/config-ml.in
91698    ;;
91699 esac ;;
91700     default ) if test -n "$CONFIG_FILES"; then
91701    # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
91702    # that multilib installs will end up installed in the correct place.
91703    # The testsuite needs it for multilib-aware ABI baseline files.
91704    # To work around this not being passed down from config-ml.in ->
91705    # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
91706    # append it here.  Only modify Makefiles that have just been created.
91707    #
91708    # Also, get rid of this simulated-VPATH thing that automake does.
91709    cat > vpsed << \_EOF
91710 s!`test -f '$<' || echo '$(srcdir)/'`!!
91711 _EOF
91712    for i in $SUBDIRS; do
91713     case $CONFIG_FILES in
91714      *${i}/Makefile*)
91715        #echo "Adding MULTISUBDIR to $i/Makefile"
91716        sed -f vpsed $i/Makefile > tmp
91717        grep '^MULTISUBDIR =' Makefile >> tmp
91718        mv tmp $i/Makefile
91719        ;;
91720     esac
91721    done
91722    rm vpsed
91723  fi
91724  (cd include && ${MAKE-make})
91725  ;;
91726   esac
91727 done
91728 _ACEOF
91729
91730 cat >>$CONFIG_STATUS <<\_ACEOF
91731
91732 { (exit 0); exit 0; }
91733 _ACEOF
91734 chmod +x $CONFIG_STATUS
91735 ac_clean_files=$ac_clean_files_save
91736
91737
91738 # configure is writing to config.log, and then calls config.status.
91739 # config.status does its own redirection, appending to config.log.
91740 # Unfortunately, on DOS this fails, as config.log is still kept open
91741 # by configure, so config.status won't be able to write to it; its
91742 # output is simply discarded.  So we exec the FD to /dev/null,
91743 # effectively closing config.log, so it can be properly (re)opened and
91744 # appended to by config.status.  When coming back to configure, we
91745 # need to make the FD available again.
91746 if test "$no_create" != yes; then
91747   ac_cs_success=:
91748   ac_config_status_args=
91749   test "$silent" = yes &&
91750     ac_config_status_args="$ac_config_status_args --quiet"
91751   exec 5>/dev/null
91752   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
91753   exec 5>>config.log
91754   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
91755   # would make configure fail if this is the last instruction.
91756   $ac_cs_success || { (exit 1); exit 1; }
91757 fi
91758